nixpkgs/pkgs/applications/misc/mbutil/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
630 B
Nix
Raw Normal View History

2019-09-11 22:20:31 +02:00
{ lib, buildPythonApplication, fetchFromGitHub, nose }:
buildPythonApplication rec {
pname = "mbutil";
version = "0.3.0";
src = fetchFromGitHub {
owner = "mapbox";
repo = pname;
rev = "v${version}";
sha256 = "06d62r89h026asaa4ryzb23m86j0cmbvy54kf4zl5f35sgiha45z";
};
nativeCheckInputs = [ nose ];
2019-09-11 22:20:31 +02:00
checkPhase = "nosetests";
meta = with lib; {
description = "An importer and exporter for MBTiles";
mainProgram = "mb-util";
2019-09-11 22:20:31 +02:00
homepage = "https://github.com/mapbox/mbutil";
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = with maintainers; [ sikmir ];
};
}