default.nix (769B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonPackage { 8 pname = "cogdumper"; 9 version = "0.5.0"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "mapbox"; 14 repo = "COGDumper"; 15 rev = "89a5f05fc0ed88c36f44e42dfe8d48e4c4ff389b"; 16 hash = "sha256-gLBBGP2AMKP8biSbMtrxGs7vLDXbP+Y6Ct82FiNdNjs="; 17 }; 18 19 build-system = with python3Packages; [ setuptools ]; 20 21 dependencies = with python3Packages; [ 22 boto3 23 click 24 requests 25 ]; 26 27 nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; 28 29 meta = { 30 description = "Dumps tiles out of a cloud optimized geotiff"; 31 homepage = "https://github.com/mapbox/COGDumper"; 32 license = lib.licenses.mit; 33 maintainers = [ lib.maintainers.sikmir ]; 34 }; 35 }