nur-packages

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

default.nix (900B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchFromGitHub,
      5   cmake,
      6   boost,
      7   bzip2,
      8   expat,
      9   fmt,
     10   gdal,
     11   libosmium,
     12   protozero,
     13   sqlite,
     14   zlib,
     15 }:
     16 
     17 stdenv.mkDerivation {
     18   pname = "osmium-surplus";
     19   version = "0-unstable-2023-08-27";
     20 
     21   src = fetchFromGitHub {
     22     owner = "osmcode";
     23     repo = "osmium-surplus";
     24     rev = "0500e8583da3634a2304513dc33cba27f080c7af";
     25     hash = "sha256-NFOui9wWUSHSsyKh5UxOXQMUNgfVln1hSXJo9yb4cnY=";
     26   };
     27 
     28   nativeBuildInputs = [ cmake ];
     29 
     30   buildInputs = [
     31     boost
     32     bzip2
     33     expat
     34     fmt
     35     gdal
     36     libosmium
     37     protozero
     38     sqlite
     39     zlib
     40   ];
     41 
     42   meta = {
     43     description = "Collection of assorted small programs based on the Osmium framework";
     44     homepage = "https://github.com/osmcode/osmium-surplus";
     45     license = with lib.licenses; [
     46       gpl3Plus
     47       boost
     48     ];
     49     maintainers = [ lib.maintainers.sikmir ];
     50     platforms = lib.platforms.unix;
     51   };
     52 }