From 7e814a288c3c9aba57403708a4cd7ded068df32f Mon Sep 17 00:00:00 2001 From: mupdt <25388474+mupdt@users.noreply.github.com> Date: Fri, 17 Jun 2022 15:31:18 -0400 Subject: [PATCH] python3Packages.infinity: init at 1.5 --- .../python-modules/infinity/default.nix | 28 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/development/python-modules/infinity/default.nix diff --git a/pkgs/development/python-modules/infinity/default.nix b/pkgs/development/python-modules/infinity/default.nix new file mode 100644 index 000000000000..1fe406e62ed8 --- /dev/null +++ b/pkgs/development/python-modules/infinity/default.nix @@ -0,0 +1,28 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pytestCheckHook +, six +}: + +buildPythonPackage rec { + pname = "infinity"; + version = "1.5"; + + src = fetchPypi { + inherit pname version; + sha256 = "1npcc4adcc3c9diw4kgmd5c0ikym1iz364p2zp6gs011rqaprald"; + }; + + checkInputs = [ + pytestCheckHook + six + ]; + + meta = with lib; { + description = "All-in-one infinity value for Python. Can be compared to any object."; + homepage = "https://github.com/kvesteri/infinity"; + license = licenses.bsd3; + maintainers = with maintainers; [ mupdt ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 04d1aa59ccef..667e6e2ee4db 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4249,6 +4249,8 @@ in { incremental = callPackage ../development/python-modules/incremental { }; + infinity = callPackage ../development/python-modules/infinity { }; + inflect = callPackage ../development/python-modules/inflect { }; inflection = callPackage ../development/python-modules/inflection { };