about summary refs log tree commit diff
path: root/pkgs/applications/misc/mbutil/default.nix
blob: 69b61afaee5575a5bdb3d95cf1d5d8cc6b16a1ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ 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 ];
  };
}