package.nix (927B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonApplication rec { 8 pname = "supermorecado"; 9 version = "0.1.2"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "developmentseed"; 14 repo = "supermorecado"; 15 tag = version; 16 hash = "sha256-CuuJ4B/f7JoGQuTo5LS3WqMD860tucZ6z/97atw94k0="; 17 }; 18 19 build-system = with python3Packages; [ flit ]; 20 21 dependencies = with python3Packages; [ 22 morecantile 23 rasterio 24 ]; 25 26 nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; 27 28 disabledTests = [ 29 "test_burn_tile_center_point_roundtrip" 30 "test_burn_tile_center_lines_roundtrip" 31 "test_burn_cli_tile_shape" 32 ]; 33 34 meta = { 35 description = "Extend the functionality of morecantile with additional commands"; 36 homepage = "https://github.com/developmentseed/supermorecado"; 37 license = lib.licenses.mit; 38 maintainers = [ lib.maintainers.sikmir ]; 39 }; 40 }
