depot/third_party/nixpkgs/pkgs/development/python-modules/hepunits/default.nix
Default email 4bac34ead1 Project import generated by Copybara.
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
2023-02-09 12:40:11 +01:00

35 lines
638 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, hatch-vcs
, hatchling
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "hepunits";
version = "2.3.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-sRdLuk1XW5k5wB80HiTZvb4ODNTMTOLn13aS2hkUXPs=";
};
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 ];
};
}