nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 2b6e4a7c9e2069ba2c1442f50bd4263018d1b7ed
parent 5ef2871a29ab9bba8fb203c8a9c95e4f6d4f2b68
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sat, 29 Jan 2022 16:26:13 +0300

Add curses-menu

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/development/python-modules/curses-menu/default.nix | 25+++++++++++++++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -82,6 +82,7 @@ lib.makeScope newScope ( bson = callPackage ./development/python-modules/bson { }; click-6-7 = callPackage ./development/python-modules/click { }; contextily = callPackage ./development/python-modules/contextily { }; + curses-menu = callPackage ./development/python-modules/curses-menu { }; earthpy = callPackage ./development/python-modules/earthpy { }; geotiler = callPackage ./development/python-modules/geotiler { }; gpxelevations = callPackage ./development/python-modules/gpxelevations { }; diff --git a/pkgs/development/python-modules/curses-menu/default.nix b/pkgs/development/python-modules/curses-menu/default.nix @@ -0,0 +1,25 @@ +{ lib, python3Packages, fetchFromGitHub }: + +python3Packages.buildPythonPackage rec { + pname = "curses-menu"; + version = "2021-11-26"; + format = "pyproject"; + + src = fetchFromGitHub { + owner = "pmbarrett314"; + repo = pname; + rev = "574d2b32db937be9442ce9140c42368668bd7d77"; + hash = "sha256-0oBPhdigQ78RaVl0zLAdGN22cF7jXlH4xHXZzE6AedM="; + }; + + propagatedBuildInputs = with python3Packages; [ deprecated pexpect pyte ]; + + checkInputs = with python3Packages; [ pytestCheckHook ]; + + meta = with lib; { + description = "A simple console menu system using curses"; + inherit (src.meta) homepage; + license = licenses.mit; + maintainers = [ maintainers.sikmir ]; + }; +}