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