mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 12:45:27 +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,
|
librosa,
|
||||||
matplotlib,
|
matplotlib,
|
||||||
mido,
|
mido,
|
||||||
|
setuptools,
|
||||||
torch,
|
torch,
|
||||||
torchlibrosa,
|
torchlibrosa,
|
||||||
}:
|
}:
|
||||||
|
@ -14,10 +15,11 @@
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "piano-transcription-inference";
|
pname = "piano-transcription-inference";
|
||||||
version = "0.0.6";
|
version = "0.0.6";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
pname = "piano_transcription_inference";
|
||||||
|
inherit version;
|
||||||
hash = "sha256-tt0A+bS8rLYUByXwO0E5peD0rNNaaeSSpdH3NOz70jE=";
|
hash = "sha256-tt0A+bS8rLYUByXwO0E5peD0rNNaaeSSpdH3NOz70jE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -29,7 +31,9 @@ buildPythonPackage rec {
|
||||||
hash = "sha256-w/qXMHJb9Kdi8cFLyAzVmG6s2gGwJvWkolJc1geHYUE=";
|
hash = "sha256-w/qXMHJb9Kdi8cFLyAzVmG6s2gGwJvWkolJc1geHYUE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
librosa
|
librosa
|
||||||
matplotlib
|
matplotlib
|
||||||
mido
|
mido
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue