pythonPackages.pint: 0.9 -> 0.11

This commit is contained in:
Drew Risinger 2020-04-03 12:20:41 -04:00
parent 8f9daf0e7b
commit 4b822bbd23

View file

@ -2,20 +2,40 @@
, buildPythonPackage
, fetchPypi
, isPy27
, pythonOlder
, funcsigs
, setuptools_scm
# Check Inputs
, pytestCheckHook
, numpy
, matplotlib
, uncertainties
}:
buildPythonPackage rec {
pname = "pint";
version = "0.9";
version = "0.11";
src = fetchPypi {
inherit version;
pname = "Pint";
sha256 = "32d8a9a9d63f4f81194c0014b3b742679dce81a26d45127d9810a68a561fe4e2";
sha256 = "0kfgnmcs6z9ndhzvwg2xzhpwxgyyagdsdz5dns1jy40fa1q113rh";
};
propagatedBuildInputs = lib.optional isPy27 funcsigs;
disabled = pythonOlder "3.6";
propagatedBuildInputs = [
setuptools_scm
] ++ lib.optional isPy27 funcsigs;
# Test suite explicitly requires pytest
checkInputs = [
pytestCheckHook
numpy
matplotlib
uncertainties
];
dontUseSetuptoolsCheck = true;
meta = with lib; {
description = "Physical quantities module";