default.nix (760B)
1 { lib, fetchFromGitHub, python3Packages, morecantile }: 2 3 python3Packages.buildPythonApplication rec { 4 pname = "supermorecado"; 5 version = "0.1.2"; 6 pyproject = true; 7 8 src = fetchFromGitHub { 9 owner = "developmentseed"; 10 repo = "supermorecado"; 11 rev = version; 12 hash = "sha256-CuuJ4B/f7JoGQuTo5LS3WqMD860tucZ6z/97atw94k0="; 13 }; 14 15 nativeBuildInputs = with python3Packages; [ flit ]; 16 17 propagatedBuildInputs = with python3Packages; [ morecantile rasterio ]; 18 19 nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; 20 21 meta = with lib; { 22 description = "Extend the functionality of morecantile with additional commands"; 23 inherit (src.meta) homepage; 24 license = licenses.mit; 25 maintainers = [ maintainers.sikmir ]; 26 }; 27 }