nur-packages

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

default.nix (792B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5 }:
      6 
      7 python3Packages.buildPythonApplication {
      8   pname = "osm2geojson";
      9   version = "0.2.6";
     10   pyproject = true;
     11 
     12   src = fetchFromGitHub {
     13     owner = "aspectumapp";
     14     repo = "osm2geojson";
     15     rev = "056765567079ee1fff01aded3b66232b436ba1d2";
     16     hash = "sha256-Uu4+L5FPhyx5pgmkzly2jtuA4aSkkg9bwcbaP7F25Y8=";
     17     fetchSubmodules = true;
     18   };
     19 
     20   build-system = with python3Packages; [ setuptools ];
     21 
     22   dependencies = with python3Packages; [
     23     shapely
     24     requests
     25   ];
     26 
     27   doCheck = false;
     28 
     29   meta = {
     30     description = "Convert OSM and Overpass JSON to GeoJSON";
     31     homepage = "https://github.com/aspectumapp/osm2geojson";
     32     license = lib.licenses.mit;
     33     maintainers = [ lib.maintainers.sikmir ];
     34     mainProgram = "osm2geojson";
     35   };
     36 }