parent
c4603d9746
commit
91ba9e809f
1 changed files with 38 additions and 0 deletions
38
pkgs/by-name/up/upiano/package.nix
Normal file
38
pkgs/by-name/up/upiano/package.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "upiano";
|
||||
version = "0.1.2";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eliasdorneles";
|
||||
repo = "upiano";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-5WhflvUCjzW4ZJ+PLUTMbKcUnQa3ChkDjl0R5YvjBWk=";
|
||||
forceFetchGit = true;
|
||||
fetchLFS = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
python3.pkgs.poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
pyfluidsynth
|
||||
textual
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "upiano" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Piano in your terminal";
|
||||
homepage = "https://github.com/eliasdorneles/upiano";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
mainProgram = "upiano";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue