nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 52 lines 900 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 7 geopandas, 8 pooch, 9 pyogrio, 10 setuptools-scm, 11}: 12 13buildPythonPackage rec { 14 pname = "geodatasets"; 15 version = "2026.1.0"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "geopandas"; 20 repo = "geodatasets"; 21 tag = version; 22 hash = "sha256-fLhlXuqcArMb0PtFCKKqL78Z5A/j33Fzov8fg7PGvaQ="; 23 }; 24 25 build-system = [ setuptools-scm ]; 26 27 dependencies = [ pooch ]; 28 29 nativeCheckInputs = [ 30 geopandas 31 pyogrio 32 pytestCheckHook 33 ]; 34 35 preCheck = '' 36 export HOME=$TMPDIR 37 ''; 38 39 disabledTestMarks = [ 40 # disable tests which require network access 41 "request" 42 ]; 43 44 pythonImportsCheck = [ "geodatasets" ]; 45 46 meta = { 47 description = "Spatial data examples"; 48 homepage = "https://geodatasets.readthedocs.io/"; 49 license = lib.licenses.bsd3; 50 teams = [ lib.teams.geospatial ]; 51 }; 52}