about summary refs log tree commit diff
path: root/pkgs/applications/misc/osmium-tool
diff options
context:
space:
mode:
authorRaphael Borun Das Gupta <git@raphael.dasgupta.ch>2018-10-28 18:09:25 +0100
committerRaphael Borun Das Gupta <git@raphael.dasgupta.ch>2018-11-03 00:36:34 +0100
commit295cae7f1c8a609116acb0637178b829e116500b (patch)
treef49aeab8484ae372a95c62803ecff482a4cf4600 /pkgs/applications/misc/osmium-tool
parent78dbe695436200b0d6ffd5f85f372411700afb6c (diff)
osmium-tool: init at 1.9.1
Diffstat (limited to 'pkgs/applications/misc/osmium-tool')
-rw-r--r--pkgs/applications/misc/osmium-tool/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/applications/misc/osmium-tool/default.nix b/pkgs/applications/misc/osmium-tool/default.nix
new file mode 100644
index 0000000000000..36e58cf5070b7
--- /dev/null
+++ b/pkgs/applications/misc/osmium-tool/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, fetchFromGitHub, cmake, libosmium, protozero, boost, bzip2, zlib, expat }:
+
+stdenv.mkDerivation rec {
+  name = "osmium-tool-${version}";
+  version = "1.9.1";
+
+  src = fetchFromGitHub {
+    owner = "osmcode";
+    repo = "osmium-tool";
+    rev = "v${version}";
+    sha256 = "1cwabjbrdpqbi2gl7448sgniiwwa73avi9l6pnvh4r0jia2wi5wk";
+  };
+
+  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 ];
+  };
+}