nixpkgs/pkgs/by-name/up/upiano/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
840 B
Nix
Raw Normal View History

{ lib
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonApplication rec {
pname = "upiano";
version = "0.1.2";
2024-03-19 08:57:08 +00:00
pyproject = true;
src = fetchFromGitHub {
owner = "eliasdorneles";
repo = "upiano";
2024-03-19 08:57:08 +00:00
rev = "refs/tags/v${version}";
hash = "sha256-5WhflvUCjzW4ZJ+PLUTMbKcUnQa3ChkDjl0R5YvjBWk=";
forceFetchGit = true;
fetchLFS = true;
};
2024-03-19 08:57:08 +00:00
pythonRelaxDeps = [
"textual"
];
nativeBuildInputs = with python3.pkgs; [
poetry-core
];
propagatedBuildInputs = with python3.pkgs; [
pyfluidsynth
textual
];
2024-03-19 08:57:08 +00:00
pythonImportsCheck = [
"upiano"
];
meta = with lib; {
description = "Piano in your terminal";
homepage = "https://github.com/eliasdorneles/upiano";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
mainProgram = "upiano";
};
}