Files
nixpkgs/pkgs/development/python-modules/geodatasets/default.nix
T
Fabian Affolter a62eb5dcfa python313Packages.geodatasets: remove disabled
- use dependecies
2025-12-14 12:25:53 +01:00

53 lines
901 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
geopandas,
pooch,
pyogrio,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "geodatasets";
version = "2025.12.0";
pyproject = true;
src = fetchFromGitHub {
owner = "geopandas";
repo = "geodatasets";
tag = version;
hash = "sha256-F5cGmcUKbIy35Lx50WFV7hVDmWwWCk66EScx8YW2OTE=";
};
build-system = [ setuptools-scm ];
dependencies = [ pooch ];
nativeCheckInputs = [
geopandas
pyogrio
pytestCheckHook
];
preCheck = ''
export HOME=$TMPDIR
'';
disabledTestMarks = [
# disable tests which require network access
"request"
];
pythonImportsCheck = [ "geodatasets" ];
meta = {
description = "Spatial data examples";
homepage = "https://geodatasets.readthedocs.io/";
license = lib.licenses.bsd3;
teams = [ lib.teams.geospatial ];
};
}