default.nix (780B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonPackage rec { 8 pname = "geojson-pydantic"; 9 version = "1.1.2"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "developmentseed"; 14 repo = "geojson-pydantic"; 15 rev = version; 16 hash = "sha256-QPVoIJLG/ICbaZZ0ZpySm2SGRtYXII7ldJDC3sWinRw="; 17 }; 18 19 build-system = with python3Packages; [ flit ]; 20 21 dependencies = with python3Packages; [ 22 pydantic 23 shapely 24 ]; 25 26 doCheck = false; 27 28 nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; 29 30 meta = { 31 description = "Pydantic data models for the GeoJSON spec"; 32 homepage = "https://github.com/developmentseed/geojson-pydantic"; 33 license = lib.licenses.mit; 34 maintainers = [ lib.maintainers.sikmir ]; 35 }; 36 }