nixpkgs/pkgs/development/python-modules/hepunits/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
639 B
Nix
Raw Normal View History

2022-03-27 10:43:01 +00:00
{
lib,
buildPythonPackage,
fetchPypi,
hatch-vcs,
hatchling,
2022-03-27 10:43:01 +00:00
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "hepunits";
version = "2.3.5";
format = "pyproject";
2022-03-27 10:43:01 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-lDTNLWpyLJSenp4ivQtZWH9pAlvTc1blxwY18bNwNtg=";
2022-03-27 10:43:01 +00:00
};
2022-03-27 10:43:01 +00:00
nativeBuildInputs = [
hatch-vcs
hatchling
2022-03-27 10:43:01 +00:00
];
nativeCheckInputs = [ pytestCheckHook ];
2022-03-27 10:43:01 +00:00
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 ];
};
}