nur-packages

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

default.nix (662B)


      1 { lib, stdenv, fetchurl, expat, lz4, zlib }:
      2 
      3 stdenv.mkDerivation (finalAttrs: {
      4   pname = "osm-3s";
      5   version = "0.7.59.1";
      6 
      7   src = fetchurl {
      8     url = "http://dev.overpass-api.de/releases/osm-3s_v${finalAttrs.version}.tar.gz";
      9     hash = "sha256-8rGQjhsL3wbb1jr9VGG9eDuw7sXYxQY+Wmlsyfafjng=";
     10   };
     11 
     12   buildInputs = [ expat lz4 zlib ];
     13 
     14   configureFlags = [ "--enable-lz4" ];
     15 
     16   meta = with lib; {
     17     description = "A database engine to query the OpenStreetMap data";
     18     homepage = "http://overpass-api.de/";
     19     license = licenses.agpl3Only;
     20     maintainers = [ maintainers.sikmir ];
     21     platforms = platforms.linux;
     22     skip.ci = stdenv.isDarwin;
     23   };
     24 })