default.nix (798B)
1 { 2 lib, 3 python3Packages, 4 fetchFromGitHub, 5 }: 6 7 python3Packages.buildPythonPackage rec { 8 pname = "curses-menu"; 9 version = "0.7.0"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "pmbarrett314"; 14 repo = "curses-menu"; 15 tag = version; 16 hash = "sha256-l5KPBPODfeQdZIW3kjoj4ImhokFKjxyiB7r57Ryqj0g="; 17 }; 18 19 build-system = with python3Packages; [ poetry-core ]; 20 21 dependencies = with python3Packages; [ 22 deprecated 23 pexpect 24 pyte 25 ]; 26 27 nativeCheckInputs = with python3Packages; [ 28 pytestCheckHook 29 pytest-cov 30 ]; 31 32 doCheck = false; 33 34 meta = { 35 description = "A simple console menu system using curses"; 36 homepage = "https://github.com/pmbarrett314/curses-menu"; 37 license = lib.licenses.mit; 38 maintainers = [ lib.maintainers.sikmir ]; 39 }; 40 }