default.nix (703B)
1 { lib, stdenv, fetchFromGitHub, python3Packages }: 2 3 python3Packages.buildPythonPackage rec { 4 pname = "cogdumper"; 5 version = "0.5.0"; 6 7 src = fetchFromGitHub { 8 owner = "mapbox"; 9 repo = "COGDumper"; 10 rev = "89a5f05fc0ed88c36f44e42dfe8d48e4c4ff389b"; 11 hash = "sha256-gLBBGP2AMKP8biSbMtrxGs7vLDXbP+Y6Ct82FiNdNjs="; 12 }; 13 14 nativeBuildInputs = with python3Packages; [ ]; 15 16 propagatedBuildInputs = with python3Packages; [ ]; 17 18 nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; 19 20 meta = with lib; { 21 description = "Dumps tiles out of a cloud optimized geotiff"; 22 inherit (src.meta) homepage; 23 license = licenses.mit; 24 maintainers = [ maintainers.sikmir ]; 25 }; 26 }