1{ lib
2, buildPythonPackage
3, fetchPypi
4, pillow
5, isPy27
6}:
7
8buildPythonPackage rec {
9 pname = "ModestMaps";
10 version = "1.4.7";
11 disabled = !isPy27;
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "698442a170f02923f8ea55f18526b56c17178162e44304f896a8a5fd65ab4457";
16 };
17
18 propagatedBuildInputs = [ pillow ];
19
20 meta = with lib; {
21 description = "A library for building interactive maps";
22 homepage = "http://modestmaps.com";
23 license = licenses.bsd3;
24 };
25
26}