default.nix (754B)
1 { lib, python3Packages, fetchFromGitHub }: 2 3 python3Packages.buildPythonPackage rec { 4 pname = "curses-menu"; 5 version = "0.7.0"; 6 pyproject = true; 7 8 src = fetchFromGitHub { 9 owner = "pmbarrett314"; 10 repo = "curses-menu"; 11 rev = version; 12 hash = "sha256-l5KPBPODfeQdZIW3kjoj4ImhokFKjxyiB7r57Ryqj0g="; 13 }; 14 15 nativeBuildInputs = with python3Packages; [ poetry-core ]; 16 17 propagatedBuildInputs = with python3Packages; [ deprecated pexpect pyte ]; 18 19 nativeCheckInputs = with python3Packages; [ pytestCheckHook pytest-cov ]; 20 21 doCheck = false; 22 23 meta = with lib; { 24 description = "A simple console menu system using curses"; 25 inherit (src.meta) homepage; 26 license = licenses.mit; 27 maintainers = [ maintainers.sikmir ]; 28 }; 29 }