commit 94b4f2dc97f4cf87b6bf89e2e78957fe8d87f0e1
parent 18ab3372c855c9e73ef8881835863aa5e1e0febc
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date: Mon, 17 Feb 2020 09:38:40 +0300
Move mbutil to nixpkgs
Diffstat:
3 files changed, 0 insertions(+), 33 deletions(-)
diff --git a/nix/sources.json b/nix/sources.json
@@ -285,19 +285,6 @@
"url": "https://github.com/consbio/mbtileserver/archive/b872713c7dbf3cce83e03289e6fb992c4e68386c.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
- "mbutil": {
- "branch": "master",
- "builtin": false,
- "description": "Importer and Exporter of MBTiles",
- "homepage": "http://mapbox.com/developers/",
- "owner": "mapbox",
- "repo": "mbutil",
- "rev": "2fc4161f9be890a65d07f5e7b2ed0c8a0a123ed6",
- "sha256": "1z48iispxg5mfch86f06amdaqy5mnpq6vsyrp8znspjsvr7s4r3r",
- "type": "tarball",
- "url": "https://github.com/mapbox/mbutil/archive/2fc4161f9be890a65d07f5e7b2ed0c8a0a123ed6.tar.gz",
- "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
- },
"mercantile": {
"branch": "master",
"builtin": false,
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -50,9 +50,6 @@ lib.makeScope newScope (self: with self; {
libshell = callPackage ./development/libraries/libshell { };
mapsoft = callPackage ./applications/mapsoft { };
mbtileserver = callPackage ./servers/mbtileserver { };
- mbutil = python3Packages.callPackage ./tools/mbutil {
- inherit sources;
- };
mercantile = python3Packages.callPackage ./development/python-modules/mercantile {
inherit sources;
};
diff --git a/pkgs/tools/mbutil/default.nix b/pkgs/tools/mbutil/default.nix
@@ -1,17 +0,0 @@
-{ lib, buildPythonApplication, nose, sources }:
-
-buildPythonApplication rec {
- pname = "mbutil";
- version = lib.substring 0 7 src.rev;
- src = sources.mbutil;
-
- checkInputs = [ nose ];
- checkPhase = "nosetests";
-
- meta = with lib; {
- inherit (src) description homepage;
- license = licenses.bsd3;
- maintainers = with maintainers; [ sikmir ];
- platforms = platforms.unix;
- };
-}