nixpkgs-suyu/pkgs/applications/misc/osmium-tool/default.nix

24 lines
740 B
Nix
Raw Normal View History

2018-10-28 18:09:25 +01:00
{ stdenv, fetchFromGitHub, cmake, libosmium, protozero, boost, bzip2, zlib, expat }:
stdenv.mkDerivation rec {
name = "osmium-tool-${version}";
2018-12-16 22:37:46 +01:00
version = "1.10.0";
2018-10-28 18:09:25 +01:00
src = fetchFromGitHub {
owner = "osmcode";
repo = "osmium-tool";
rev = "v${version}";
2018-12-16 22:37:46 +01:00
sha256 = "1balhz78nva0agmbp8n9vg8fhmdssnd9fjxj20bpw7b45mxhjc20";
2018-10-28 18:09:25 +01: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 ];
};
}