mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-04 03:03:42 +00:00
python3Packages.pint: 0.18 -> 0.19.2
This commit is contained in:
parent
ab0764388d
commit
fefa0e1c4e
@ -15,22 +15,21 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pint";
|
||||
version = "0.18";
|
||||
version = "0.19.2";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "Pint";
|
||||
sha256 = "sha256-jEvOiEwmkFH+t6vGnb/RhAPAx2SryD2hMuinIi+LqAE=";
|
||||
sha256 = "sha256-4dSYn/UQs3ja1k+RcR572r5cp411sGoYVprEVGeMS68=";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [ packaging ]
|
||||
++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
|
||||
|
||||
# Test suite explicitly requires pytest
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytest-subtests
|
||||
@ -38,13 +37,17 @@ buildPythonPackage rec {
|
||||
matplotlib
|
||||
uncertainties
|
||||
];
|
||||
|
||||
dontUseSetuptoolsCheck = true;
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Physical quantities module";
|
||||
license = licenses.bsd3;
|
||||
homepage = "https://github.com/hgrecco/pint/";
|
||||
maintainers = with maintainers; [ costrouc doronbehar ];
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user