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