nur-packages

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

default.nix (768B)


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