nixpkgs/pkgs/development/python-modules/pint-pandas/default.nix
2023-06-22 16:45:00 +10:00

44 lines
755 B
Nix

{ stdenv
, lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, pint
, pandas
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pint-pandas";
version = "0.4";
format = "pyproject";
src = fetchFromGitHub {
owner = "hgrecco";
repo = "pint-pandas";
rev = version;
hash = "sha256-FuH6wksSCkkL2AyQN46hwTnfeAZFwkWRl6KEEhsxmUY=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
pint
pandas
];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
broken = stdenv.isDarwin;
description = "Pandas support for pint";
license = licenses.bsd3;
homepage = "https://github.com/hgrecco/pint-pandas";
maintainers = with maintainers; [ doronbehar ];
};
}