nur-packages

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

default.nix (740B)


      1 { lib, python3Packages, fetchFromGitHub }:
      2 
      3 python3Packages.buildPythonApplication rec {
      4   pname = "arcgis2geojson";
      5   version = "3.0.2";
      6   pyproject = true;
      7 
      8   src = fetchFromGitHub {
      9     owner = "chris48s";
     10     repo = "arcgis2geojson";
     11     rev = version;
     12     hash = "sha256-w3teY/CLNGF3h+8R6KoYCvjat8q6ellet1awEPOXpac=";
     13   };
     14 
     15   postPatch = ''
     16     substituteInPlace pyproject.toml \
     17       --replace-fail "poetry.masonry" "poetry.core.masonry"
     18   '';
     19 
     20   nativeBuildInputs = with python3Packages; [ poetry-core ];
     21 
     22   meta = with lib; {
     23     description = "A Python library for converting ArcGIS JSON to GeoJSON";
     24     inherit (src.meta) homepage;
     25     license = licenses.mit;
     26     maintainers = [ maintainers.sikmir ];
     27     broken = true;
     28   };
     29 }