26 buildPythonPackage rec {
31 disabled = pythonOlder "3.9";
33 src = fetchFromGitHub {
36 rev = "refs/tags/${version}";
37 hash = "sha256-PQAQvjMi7pFgNhUbw20vc306aTyEbCQNHGef/pxxpXo=";
51 # Both uncertainties and numpy are not necessarily needed for every
52 # function of pint, but needed for the pint-convert executable which we
53 # necessarily distribute with this package as it is.
65 pytestFlagsArray = [ "--benchmark-disable" ];
68 export HOME=$(mktemp -d)
72 changelog = "https://github.com/hgrecco/pint/blob/${version}/CHANGES";
73 description = "Physical quantities module";
74 mainProgram = "pint-convert";
75 license = lib.licenses.bsd3;
76 homepage = "https://github.com/hgrecco/pint/";
77 maintainers = with lib.maintainers; [ doronbehar ];