mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 09:13:17 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
26 lines
630 B
Nix
26 lines
630 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 = "An importer and exporter for MBTiles";
|
|
mainProgram = "mb-util";
|
|
homepage = "https://github.com/mapbox/mbutil";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ sikmir ];
|
|
};
|
|
}
|