default.nix (663B)
1 { lib, stdenv, python3Packages, fetchFromGitHub }: 2 3 python3Packages.buildPythonPackage rec { 4 pname = "xyzservices"; 5 version = "2022.6.0"; 6 disabled = python3Packages.pythonOlder "3.7"; 7 8 src = fetchFromGitHub { 9 owner = "geopandas"; 10 repo = "xyzservices"; 11 rev = version; 12 hash = "sha256-zfLRJLDTitzzcg5LRqaNcrgnL8ruZcTgugso/5wqS9Q="; 13 }; 14 15 nativeCheckInputs = with python3Packages; [ 16 pytestCheckHook 17 requests 18 mercantile 19 ]; 20 21 meta = with lib; { 22 description = "Source of XYZ tiles providers"; 23 homepage = "https://xyzservices.readthedocs.io/"; 24 license = licenses.bsd3; 25 maintainers = [ maintainers.sikmir ]; 26 }; 27 }