mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
abdf5dc772
It is is now provided automatically, when `pythonRelaxDeps` or `pythonRemoveDeps` is defined through `mk-python-derivation`.
45 lines
840 B
Nix
45 lines
840 B
Nix
{ lib
|
|
, python3
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "upiano";
|
|
version = "0.1.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "eliasdorneles";
|
|
repo = "upiano";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-5WhflvUCjzW4ZJ+PLUTMbKcUnQa3ChkDjl0R5YvjBWk=";
|
|
forceFetchGit = true;
|
|
fetchLFS = true;
|
|
};
|
|
|
|
pythonRelaxDeps = [
|
|
"textual"
|
|
];
|
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
|
poetry-core
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
pyfluidsynth
|
|
textual
|
|
];
|
|
|
|
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";
|
|
};
|
|
}
|