depot/third_party/nixpkgs/pkgs/development/python-modules/hepunits/default.nix
Default email 555cd8a8f9 Project import generated by Copybara.
GitOrigin-RevId: 5633bcff0c6162b9e4b5f1264264611e950c8ec7
2024-10-09 18:51:18 +02:00

33 lines
639 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
hatch-vcs,
hatchling,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "hepunits";
version = "2.3.5";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-lDTNLWpyLJSenp4ivQtZWH9pAlvTc1blxwY18bNwNtg=";
};
nativeBuildInputs = [
hatch-vcs
hatchling
];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Units and constants in the HEP system of units";
homepage = "https://github.com/scikit-hep/hepunits";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ doronbehar ];
};
}