Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv 2, lib 3, buildPythonPackage 4, fetchFromGitHub 5, fetchpatch 6, setuptools 7, pint 8, pandas 9, pytestCheckHook 10}: 11 12buildPythonPackage { 13 pname = "pint-pandas"; 14 # Latest release contains bugs and failing tests. 15 version = "unstable-2022-11-24"; 16 format = "pyproject"; 17 18 src = fetchFromGitHub { 19 owner = "hgrecco"; 20 repo = "pint-pandas"; 21 rev = "c58a7fcf9123eb65f5e78845077b205e20279b9d"; 22 hash = "sha256-gMZNJSJxtSZvgU4o71ws5ZA6tgD2M5c5oOrn62DRyMI="; 23 }; 24 25 nativeBuildInputs = [ 26 setuptools 27 ]; 28 29 propagatedBuildInputs = [ 30 pint 31 pandas 32 ]; 33 34 nativeCheckInputs = [ 35 pytestCheckHook 36 ]; 37 38 meta = with lib; { 39 broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin; 40 description = "Pandas support for pint"; 41 license = licenses.bsd3; 42 homepage = "https://github.com/hgrecco/pint-pandas"; 43 maintainers = with maintainers; [ doronbehar ]; 44 }; 45}