Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at master 639 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hatch-vcs, 6 hatchling, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "hepunits"; 12 version = "2.3.6"; 13 format = "pyproject"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-z/wcggQLFbtTBULsl/PB+DquYFDKpMxcGgMJe+vjSTI="; 18 }; 19 20 nativeBuildInputs = [ 21 hatch-vcs 22 hatchling 23 ]; 24 25 nativeCheckInputs = [ pytestCheckHook ]; 26 27 meta = { 28 description = "Units and constants in the HEP system of units"; 29 homepage = "https://github.com/scikit-hep/hepunits"; 30 license = lib.licenses.bsd3; 31 maintainers = with lib.maintainers; [ doronbehar ]; 32 }; 33}