From 0cf2c6fcfe2055a255b0f20eb122ebecc68dbf4a Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov Date: Wed, 10 Oct 2018 18:13:07 -0400 Subject: [PATCH] pythonPackages.numericalunits: init at 1.16 --- .../python-modules/numericalunits/default.nix | 24 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/development/python-modules/numericalunits/default.nix diff --git a/pkgs/development/python-modules/numericalunits/default.nix b/pkgs/development/python-modules/numericalunits/default.nix new file mode 100644 index 00000000000..1212bf0039c --- /dev/null +++ b/pkgs/development/python-modules/numericalunits/default.nix @@ -0,0 +1,24 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + version = "1.16"; + pname = "numericalunits"; + + src = fetchPypi { + inherit pname version; + sha256 = "71ae8e236c7a223bccefffb670dca68be476dd63b7b9009641fc64099455da25"; + }; + + # no tests + doCheck = false; + + meta = with stdenv.lib; { + homepage = http://pypi.python.org/pypi/numericalunits; + description = "A package that lets you define quantities with unit"; + license = licenses.mit; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b2cff4940c1..c292c06fc3a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -428,6 +428,8 @@ in { nvchecker = callPackage ../development/python-modules/nvchecker { }; + numericalunits = callPackage ../development/python-modules/numericalunits { }; + oauthenticator = callPackage ../development/python-modules/oauthenticator { }; ordered-set = callPackage ../development/python-modules/ordered-set { };