1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 setuptools, 7 setuptools-scm, 8 wheel, 9 pint, 10 pandas, 11 packaging, 12 pytestCheckHook, 13}: 14 15buildPythonPackage rec { 16 pname = "pint-pandas"; 17 version = "0.7.1"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.9"; 21 22 src = fetchFromGitHub { 23 owner = "hgrecco"; 24 repo = "pint-pandas"; 25 tag = version; 26 hash = "sha256-B8nxGetnYpA+Nuhe//D8n+5g7rPO90Mm1iWswJ0+mPc="; 27 }; 28 29 build-system = [ 30 setuptools 31 setuptools-scm 32 wheel 33 ]; 34 35 dependencies = [ 36 pint 37 pandas 38 packaging 39 ]; 40 41 nativeCheckInputs = [ pytestCheckHook ]; 42 43 meta = { 44 description = "Pandas support for pint"; 45 license = lib.licenses.bsd3; 46 homepage = "https://github.com/hgrecco/pint-pandas"; 47 maintainers = with lib.maintainers; [ doronbehar ]; 48 }; 49}