nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

default.nix (780B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5 }:
      6 
      7 python3Packages.buildPythonPackage rec {
      8   pname = "geojson-pydantic";
      9   version = "1.1.0";
     10   pyproject = true;
     11 
     12   src = fetchFromGitHub {
     13     owner = "developmentseed";
     14     repo = "geojson-pydantic";
     15     rev = version;
     16     hash = "sha256-bNNLeHFIZYX34b0ceXPPMRIBR4MbMXpMO9gH2HBFKCY=";
     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 }