pianotrans: init at 1.0
This commit is contained in:
parent
540861c5f8
commit
e2fa5eea45
2 changed files with 40 additions and 0 deletions
38
pkgs/applications/audio/pianotrans/default.nix
Normal file
38
pkgs/applications/audio/pianotrans/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
, ffmpeg
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "pianotrans";
|
||||
version = "1.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "azuwis";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-6Otup1Yat1dBZdSoR4lDfpytUQ2RbDXC6ieo835Nw+U=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
piano-transcription-inference
|
||||
torch
|
||||
tkinter
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
makeWrapperArgs = [
|
||||
''--prefix PATH : "${lib.makeBinPath [ ffmpeg ]}"''
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple GUI for ByteDance's Piano Transcription with Pedals";
|
||||
homepage = "https://github.com/azuwis/pianotrans";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ azuwis ];
|
||||
};
|
||||
}
|
|
@ -31606,6 +31606,8 @@ with pkgs;
|
|||
|
||||
pianoteq = callPackage ../applications/audio/pianoteq { };
|
||||
|
||||
pianotrans = callPackage ../applications/audio/pianotrans { };
|
||||
|
||||
picard = callPackage ../applications/audio/picard { };
|
||||
|
||||
picocom = callPackage ../tools/misc/picocom {
|
||||
|
|
Loading…
Reference in a new issue