From e900eb2a61994600096fe7b13442cd51c90e8234 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov Date: Wed, 17 Oct 2018 00:24:31 -0400 Subject: [PATCH] pythonPackages.pint: refactor move to python-modules --- .../python-modules/pint/default.nix | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pkgs/development/python-modules/pint/default.nix diff --git a/pkgs/development/python-modules/pint/default.nix b/pkgs/development/python-modules/pint/default.nix new file mode 100644 index 00000000000..74b6dd78bb3 --- /dev/null +++ b/pkgs/development/python-modules/pint/default.nix @@ -0,0 +1,21 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "pint"; + version = "0.7.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "1bbp5s34gcb9il2wyz4spznshahwbjvwi5bhjm7bnxk358spvf9q"; + }; + + meta = with stdenv.lib; { + description = "Physical quantities module"; + license = licenses.bsd3; + homepage = "https://github.com/hgrecco/pint/"; + }; + +}