3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/osmium-tool/default.nix

24 lines
730 B
Nix
Raw Normal View History

2018-10-28 17:09:25 +00:00
{ stdenv, fetchFromGitHub, cmake, libosmium, protozero, boost, bzip2, zlib, expat }:
stdenv.mkDerivation rec {
pname = "osmium-tool";
2019-11-28 16:35:00 +00:00
version = "1.11.1";
2018-10-28 17:09:25 +00:00
src = fetchFromGitHub {
owner = "osmcode";
repo = "osmium-tool";
rev = "v${version}";
2019-11-28 16:35:00 +00:00
sha256 = "199dvajik5d56nybk2061vdjyxwakngfd7frxj99wr2vsrp4aw2b";
2018-10-28 17:09:25 +00:00
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libosmium protozero boost bzip2 zlib expat ];
meta = with stdenv.lib; {
description = "Multipurpose command line tool for working with OpenStreetMap data based on the Osmium library";
homepage = "https://osmcode.org/osmium-tool/";
license = with licenses; [ gpl3 mit bsd3 ];
maintainers = with maintainers; [ das-g ];
};
}