about summary refs log tree commit diff
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorNikolay Korotkiy <sikmir@gmail.com>2019-09-11 23:20:31 +0300
committerJon <jonringer@users.noreply.github.com>2020-02-16 19:41:02 -0800
commit7855afeef7eda3b4d63815b5e927038dc1676e50 (patch)
tree7de35166b004c5fc19dbe0d9cf43b6e3abadb8f0 /pkgs/applications/misc
parent72155667aeb038b54b07304afd9030ab2e2f22e5 (diff)
downloadnixlib-7855afeef7eda3b4d63815b5e927038dc1676e50.tar
nixlib-7855afeef7eda3b4d63815b5e927038dc1676e50.tar.gz
nixlib-7855afeef7eda3b4d63815b5e927038dc1676e50.tar.bz2
nixlib-7855afeef7eda3b4d63815b5e927038dc1676e50.tar.lz
nixlib-7855afeef7eda3b4d63815b5e927038dc1676e50.tar.xz
nixlib-7855afeef7eda3b4d63815b5e927038dc1676e50.tar.zst
nixlib-7855afeef7eda3b4d63815b5e927038dc1676e50.zip
mbutil: init at 0.3.0
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r--pkgs/applications/misc/mbutil/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/misc/mbutil/default.nix b/pkgs/applications/misc/mbutil/default.nix
new file mode 100644
index 000000000000..b108d1a5647e
--- /dev/null
+++ b/pkgs/applications/misc/mbutil/default.nix
@@ -0,0 +1,24 @@
+{ lib, buildPythonApplication, fetchFromGitHub, nose }:
+
+buildPythonApplication rec {
+  pname = "mbutil";
+  version = "0.3.0";
+
+  src = fetchFromGitHub {
+    owner = "mapbox";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "06d62r89h026asaa4ryzb23m86j0cmbvy54kf4zl5f35sgiha45z";
+  };
+
+  checkInputs = [ nose ];
+  checkPhase = "nosetests";
+
+  meta = with lib; {
+    description = "An importer and exporter for MBTiles";
+    homepage = "https://github.com/mapbox/mbutil";
+    license = licenses.bsd3;
+    platforms = platforms.unix;
+    maintainers = with maintainers; [ sikmir ];
+  };
+}