nur-packages

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

default.nix (811B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchFromGitHub,
      5   cmake,
      6   boost,
      7   bzip2,
      8   expat,
      9   gdal,
     10   geos,
     11   libosmium,
     12   protozero,
     13   sqlite,
     14   zlib,
     15 }:
     16 
     17 stdenv.mkDerivation {
     18   pname = "osm-area-tools";
     19   version = "0-unstable-2023-06-15";
     20 
     21   src = fetchFromGitHub {
     22     owner = "osmcode";
     23     repo = "osm-area-tools";
     24     rev = "774443167f2e08222178253d83de359eb967d1e2";
     25     hash = "sha256-3RfZhexzaLx3CJol3gKkNP4f9z0ccT1l2WNf3EOuhkE=";
     26   };
     27 
     28   nativeBuildInputs = [ cmake ];
     29 
     30   buildInputs = [
     31     boost
     32     bzip2
     33     expat
     34     gdal
     35     geos
     36     libosmium
     37     protozero
     38     sqlite
     39     zlib
     40   ];
     41 
     42   meta = {
     43     description = "OSM Area Tools";
     44     homepage = "https://osmcode.org/osm-area-tools/";
     45     license = lib.licenses.gpl3Plus;
     46     maintainers = [ lib.maintainers.sikmir ];
     47     platforms = lib.platforms.unix;
     48   };
     49 }