default.nix (800B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 python3Packages, 6 }: 7 8 python3Packages.buildPythonPackage rec { 9 pname = "rio-stac"; 10 version = "0.10.0"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "developmentseed"; 15 repo = "rio-stac"; 16 rev = version; 17 hash = "sha256-8VEN0f1CTI25fgbJZadJ7TLQcDNgwjxB1FMdyFhSgH4="; 18 }; 19 20 build-system = with python3Packages; [ flit ]; 21 22 dependencies = with python3Packages; [ 23 rasterio 24 pystac 25 ]; 26 27 nativeCheckInputs = with python3Packages; [ 28 pytestCheckHook 29 jsonschema 30 ]; 31 32 disabledTests = [ "test_create_item" ]; 33 34 meta = { 35 description = "Create STAC item from raster datasets"; 36 homepage = "https://developmentseed.org/rio-stac/"; 37 license = lib.licenses.mit; 38 maintainers = [ lib.maintainers.sikmir ]; 39 }; 40 }