python3Packages.quantiphy: init at 2.18

This commit is contained in:
jacobi petrucciani
2022-12-23 12:32:00 -05:00
parent 0ed791f015
commit bc20ca6f34
2 changed files with 51 additions and 0 deletions
@@ -0,0 +1,49 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, flitBuildHook
, pytestCheckHook
, pythonOlder
, inform
, parametrize-from-file
, setuptools
, voluptuous
, quantiphy-eval
, rkm-codes
}:
buildPythonPackage rec {
pname = "quantiphy";
version = "2.18";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "KenKundert";
repo = "quantiphy";
rev = "v${version}";
sha256 = "sha256-KXZQTal5EQDrMNV9QKeuLeYYDaMfAJlEDEagq2XG9/Q=";
};
format = "pyproject";
nativeBuildInputs = [
flitBuildHook
];
checkInputs = [
inform
parametrize-from-file
pytestCheckHook
setuptools
voluptuous
];
propagatedBuildInputs = [
quantiphy-eval
rkm-codes
];
meta = with lib; {
description = "Module for physical quantities (numbers with units)";
homepage = "https://quantiphy.readthedocs.io";
license = licenses.mit;
maintainers = with maintainers; [ jpetrucciani ];
};
}
+2
View File
@@ -9589,6 +9589,8 @@ self: super: with self; {
quantities = callPackage ../development/python-modules/quantities { };
quantiphy = callPackage ../development/python-modules/quantiphy { };
quantiphy-eval = callPackage ../development/python-modules/quantiphy-eval { };
quantum-gateway = callPackage ../development/python-modules/quantum-gateway { };