blob: 56c1d1d15e8a200cc8aeb1ccdf614c3b23d7acfa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pandas,
pyarrow,
geoarrow-pyarrow,
geoarrow-types,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "geoarrow-pandas";
version = "0.1.2";
pyproject = true;
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
geoarrow-types
pandas
pyarrow
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "geoarrow.pandas" ];
meta = {
description = "Python implementation of the GeoArrow specification";
homepage = "https://github.com/geoarrow/geoarrow-python";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
cpcloud
];
teams = [ lib.teams.geospatial ];
# its removal upstream is in question
# https://github.com/geoarrow/geoarrow-python/issues/75
# please unbreak it if the author decides to release a new version
broken = true;
};
}
|