1{ lib
2, buildPythonPackage
3, fetchPypi
4, hatch-vcs
5, hatchling
6, pytestCheckHook
7}:
8
9buildPythonPackage rec {
10 pname = "hepunits";
11 version = "2.3.2";
12 format = "pyproject";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-ijNm+l1ywWrxFm7Vec2qge3SZ2rLj2of59opDO/KOwg=";
17 };
18
19 nativeBuildInputs = [
20 hatch-vcs
21 hatchling
22 ];
23
24 nativeCheckInputs = [
25 pytestCheckHook
26 ];
27
28 meta = {
29 description = "Units and constants in the HEP system of units";
30 homepage = "https://github.com/scikit-hep/hepunits";
31 license = lib.licenses.bsd3;
32 maintainers = with lib.maintainers; [ doronbehar ];
33 };
34}
35