package.nix (788B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonApplication { 8 pname = "supermercado"; 9 version = "0.2.0"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "mapbox"; 14 repo = "supermercado"; 15 rev = "44841a07adff32665fae736f9ba7df8c7b24ac44"; 16 hash = "sha256-k2S1aOHQEJq//4mdWZ5GhJQJjKqJuDbBztoHi373s6w="; 17 }; 18 19 build-system = with python3Packages; [ setuptools ]; 20 21 dependencies = with python3Packages; [ 22 click-plugins 23 rasterio 24 mercantile 25 numpy 26 ]; 27 28 nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; 29 30 meta = { 31 description = "Supercharger for mercantile"; 32 homepage = "https://github.com/mapbox/supermercado"; 33 license = lib.licenses.mit; 34 maintainers = [ lib.maintainers.sikmir ]; 35 }; 36 }