From 3cbe64e9d15ef3f76ad8096c1dae1bdc45848378 Mon Sep 17 00:00:00 2001 From: Nicolas Goudry Date: Tue, 20 Feb 2024 09:40:14 +0100 Subject: [PATCH] python3Packages.oscscreen: init at unstable-2023-03-23 --- .../python-modules/oscscreen/default.nix | 33 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 4 ++- 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 pkgs/development/python-modules/oscscreen/default.nix diff --git a/pkgs/development/python-modules/oscscreen/default.nix b/pkgs/development/python-modules/oscscreen/default.nix new file mode 100644 index 000000000000..c0eab771d148 --- /dev/null +++ b/pkgs/development/python-modules/oscscreen/default.nix @@ -0,0 +1,33 @@ +{ + lib + , buildPythonPackage + , fetchFromGitHub + , setuptools +}: + +buildPythonPackage rec { + pname = "oscscreen"; + version = "unstable-2023-03-23"; + pyproject = true; + + src = fetchFromGitHub { + owner = "outscale"; + repo = "npyscreen"; + rev = "e2a97e4a201e2d7d5de3ee033071a7f93592b422"; + hash = "sha256-0Im1kVFa11AW+7Oe95XvkfxSlaux6bkKaHSQy6hJCN8="; + }; + + nativeBuildInputs = [ + setuptools + ]; + + pythonImportsCheck = [ "oscscreen" ]; + + meta = with lib; { + description = "Framework for developing console applications using Python and curses"; + homepage = "http://github.com/outscale/npyscreen"; + changelog = "https://github.com/outscale/npyscreen/blob/${src.rev}/CHANGELOG"; + license = licenses.bsd2; + maintainers = with maintainers; [ nicolas-goudry ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 317059621291..458cf2376305 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8948,9 +8948,11 @@ self: super: with self; { osc-lib = callPackage ../development/python-modules/osc-lib { }; + oscpy = callPackage ../development/python-modules/oscpy { }; + oscrypto = callPackage ../development/python-modules/oscrypto { }; - oscpy = callPackage ../development/python-modules/oscpy { }; + oscscreen = callPackage ../development/python-modules/oscscreen { }; oset = callPackage ../development/python-modules/oset { };