7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
49 lines
871 B
Nix
49 lines
871 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
setuptools,
|
|
setuptools-scm,
|
|
wheel,
|
|
pint,
|
|
pandas,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pint-pandas";
|
|
version = "0.6";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hgrecco";
|
|
repo = "pint-pandas";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-5/Qk6HZlfeKkfSqnVA8aADjJ99SUiurYCqSIUBPFIzc=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
setuptools-scm
|
|
wheel
|
|
];
|
|
|
|
dependencies = [
|
|
pint
|
|
pandas
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
meta = {
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
description = "Pandas support for pint";
|
|
license = lib.licenses.bsd3;
|
|
homepage = "https://github.com/hgrecco/pint-pandas";
|
|
maintainers = with lib.maintainers; [ doronbehar ];
|
|
};
|
|
}
|