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