bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
25 lines
627 B
Nix
25 lines
627 B
Nix
{ 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 ];
|
|
checkPhase = "nosetests";
|
|
|
|
meta = with lib; {
|
|
description = "Importer and exporter for MBTiles";
|
|
mainProgram = "mb-util";
|
|
homepage = "https://github.com/mapbox/mbutil";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ sikmir ];
|
|
};
|
|
}
|