Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

54 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
pytestCheckHook,
pandas,
pyarrow,
geoarrow-pyarrow,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "geoarrow-pandas";
version = "0.1.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
repo = "geoarrow-python";
owner = "geoarrow";
tag = "geoarrow-pandas-${version}";
hash = "sha256-Ni+GKTRhRDRHip1us3OZPuUhHQCNU7Nap865T/+CU8Y=";
};
sourceRoot = "${src.name}/geoarrow-pandas";
build-system = [ setuptools-scm ];
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
dependencies = [
geoarrow-pyarrow
pandas
pyarrow
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "geoarrow.pandas" ];
meta = with lib; {
description = "Python implementation of the GeoArrow specification";
homepage = "https://github.com/geoarrow/geoarrow-python";
license = licenses.asl20;
maintainers = with maintainers; [
cpcloud
];
teams = [ lib.teams.geospatial ];
};
}