Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
956 B · 54 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder,
geopandas, pooch, pyogrio, setuptools-scm,}:
buildPythonPackage rec { pname = "geodatasets"; version = "2024.8.0"; pyproject = true; disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "geopandas"; repo = "geodatasets"; tag = version; hash = "sha256-GJ7RyFlohlRz0RbQ80EewZUmIX9CJkSfUMY/uMNTtEM="; };
build-system = [ setuptools-scm ];
propagatedBuildInputs = [ 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 ]; };}