mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
python3Packages.piano-transcription-inference: fix and modernize build
This commit is contained in:
parent
a9ab0b117a
commit
548ad6e334
1 changed files with 7 additions and 3 deletions
|
@ -7,6 +7,7 @@
|
|||
librosa,
|
||||
matplotlib,
|
||||
mido,
|
||||
setuptools,
|
||||
torch,
|
||||
torchlibrosa,
|
||||
}:
|
||||
|
@ -14,10 +15,11 @@
|
|||
buildPythonPackage rec {
|
||||
pname = "piano-transcription-inference";
|
||||
version = "0.0.6";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
pname = "piano_transcription_inference";
|
||||
inherit version;
|
||||
hash = "sha256-tt0A+bS8rLYUByXwO0E5peD0rNNaaeSSpdH3NOz70jE=";
|
||||
};
|
||||
|
||||
|
@ -29,7 +31,9 @@ buildPythonPackage rec {
|
|||
hash = "sha256-w/qXMHJb9Kdi8cFLyAzVmG6s2gGwJvWkolJc1geHYUE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
librosa
|
||||
matplotlib
|
||||
mido
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue