From 31c0f2f14375e570093887f9ecde0bc1e2173aad Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Thu, 30 May 2024 22:33:11 +0200 Subject: [PATCH] python312Packages.outspin: init at 0.3.2 --- .../python-modules/outspin/default.nix | 32 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/python-modules/outspin/default.nix diff --git a/pkgs/development/python-modules/outspin/default.nix b/pkgs/development/python-modules/outspin/default.nix new file mode 100644 index 000000000000..ae01566d9cd5 --- /dev/null +++ b/pkgs/development/python-modules/outspin/default.nix @@ -0,0 +1,32 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + poetry-core, + pytestCheckHook +}: + +buildPythonPackage rec { + pname = "outspin"; + version = "0.3.2"; + pyproject = true; + + src = fetchFromGitHub { + owner = "trag1c"; + repo = "outspin"; + rev = "refs/tags/v${version}"; + hash = "sha256-j+J3n/p+DcfnhGfC4/NDBDl5bF39L5kIPeGJW0Zm7ls="; + }; + + build-system = [ poetry-core ]; + pythonImportsCheck = [ "outspin" ]; + + nativeCheckInputs = [ pytestCheckHook ]; + + meta = with lib; { + changelog = "https://github.com/trag1c/outspin/blob/${src.rev}/CHANGELOG.md"; + description = "Conveniently read single char inputs in the console"; + license = licenses.mit; + maintainers = with maintainers; [ sigmanificient ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 16b8ff5cb46d..dde3071c873a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9381,6 +9381,8 @@ self: super: with self; { outcome = callPackage ../development/python-modules/outcome { }; + outspin = callPackage ../development/python-modules/outspin { }; + ovh = callPackage ../development/python-modules/ovh { }; ovmfvartool = callPackage ../development/python-modules/ovmfvartool { };