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