mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 14:19:58 +03:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
25 lines
601 B
Nix
25 lines
601 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";
|
|
homepage = "https://github.com/mapbox/mbutil";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ sikmir ];
|
|
};
|
|
}
|