1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools-scm 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "hepunits"; 10 version = "2.2.1"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "sha256-YJfmlUekg73Az+TRBuRHteuofFUBBg0xLNnWGqniJBQ="; 15 }; 16 nativeBuildInputs = [ 17 setuptools-scm 18 ]; 19 20 checkInputs = [ 21 pytestCheckHook 22 ]; 23 24 meta = { 25 description = "Units and constants in the HEP system of units"; 26 homepage = "https://github.com/scikit-hep/hepunits"; 27 license = lib.licenses.bsd3; 28 maintainers = with lib.maintainers; [ doronbehar ]; 29 }; 30} 31