Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 51 lines 973 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 7 html5lib, 8 jsonschema, 9 pytest-cov-stub, 10 pytest-mock, 11 pytest-recording, 12 python-dateutil, 13 requests-mock, 14 setuptools, 15}: 16 17buildPythonPackage rec { 18 pname = "pystac"; 19 version = "1.14.3"; 20 pyproject = true; 21 22 src = fetchFromGitHub { 23 owner = "stac-utils"; 24 repo = "pystac"; 25 tag = "v${version}"; 26 hash = "sha256-O17KG8DRr7KpFpZYsl7zHBKDs5Ad0vigaThBnNP17rs="; 27 }; 28 29 build-system = [ setuptools ]; 30 31 propagatedBuildInputs = [ python-dateutil ]; 32 33 nativeCheckInputs = [ 34 html5lib 35 jsonschema 36 pytestCheckHook 37 pytest-cov-stub 38 pytest-mock 39 pytest-recording 40 requests-mock 41 ]; 42 43 pythonImportsCheck = [ "pystac" ]; 44 45 meta = { 46 description = "Python library for working with any SpatioTemporal Asset Catalog (STAC)"; 47 homepage = "https://github.com/stac-utils/pystac"; 48 license = lib.licenses.asl20; 49 teams = [ lib.teams.geospatial ]; 50 }; 51}