Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, buildPythonPackage, fetchPypi, hatch-vcs, hatchling, pint, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "hepunits"; version = "2.4.7"; pyproject = true;
src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-376enN8mWu6hiWNSyl61BgnhXUl6A8BGa6SpIHY/Yzc="; };
build-system = [ hatch-vcs hatchling ];
nativeCheckInputs = [ pytestCheckHook pint ];
pythonImportsCheck = [ "hepunits" ];
meta = { description = "Units and constants in the HEP system of units"; homepage = "https://github.com/scikit-hep/hepunits"; changelog = "https://github.com/scikit-hep/hepunits/releases/tag/v${finalAttrs.version}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ doronbehar ]; };})