nur-packages

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

default.nix (707B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchurl,
      5   expat,
      6   lz4,
      7   zlib,
      8 }:
      9 
     10 stdenv.mkDerivation (finalAttrs: {
     11   pname = "osm-3s";
     12   version = "0.7.62.2";
     13 
     14   src = fetchurl {
     15     url = "http://dev.overpass-api.de/releases/osm-3s_v${finalAttrs.version}.tar.gz";
     16     hash = "sha256-kvNKEI+n0hCil3/84VI8eGD7kvxEJsYoBCtcxj6wtIk=";
     17   };
     18 
     19   buildInputs = [
     20     expat
     21     lz4
     22     zlib
     23   ];
     24 
     25   configureFlags = [ (lib.enableFeature true "lz4") ];
     26 
     27   meta = {
     28     description = "A database engine to query the OpenStreetMap data";
     29     homepage = "http://overpass-api.de/";
     30     license = lib.licenses.agpl3Only;
     31     maintainers = [ lib.maintainers.sikmir ];
     32     platforms = lib.platforms.linux;
     33     skip.ci = stdenv.isDarwin;
     34   };
     35 })