nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 45 lines 803 B view raw
1{ 2 lib, 3 python3, 4 fetchFromGitHub, 5}: 6 7python3.pkgs.buildPythonApplication rec { 8 pname = "upiano"; 9 version = "0.1.2"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "eliasdorneles"; 14 repo = "upiano"; 15 tag = "v${version}"; 16 hash = "sha256-5WhflvUCjzW4ZJ+PLUTMbKcUnQa3ChkDjl0R5YvjBWk="; 17 forceFetchGit = true; 18 fetchLFS = true; 19 }; 20 21 pythonRelaxDeps = [ 22 "textual" 23 ]; 24 25 nativeBuildInputs = with python3.pkgs; [ 26 poetry-core 27 ]; 28 29 propagatedBuildInputs = with python3.pkgs; [ 30 pyfluidsynth 31 textual 32 ]; 33 34 pythonImportsCheck = [ 35 "upiano" 36 ]; 37 38 meta = { 39 description = "Piano in your terminal"; 40 homepage = "https://github.com/eliasdorneles/upiano"; 41 license = lib.licenses.mit; 42 maintainers = [ ]; 43 mainProgram = "upiano"; 44 }; 45}