2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-10-16 23:18:37 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pillow
|
|
|
|
, isPy27
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ModestMaps";
|
2018-11-04 10:35:06 +00:00
|
|
|
version = "1.4.7";
|
2018-10-16 23:18:37 +01:00
|
|
|
disabled = !isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:35:06 +00:00
|
|
|
sha256 = "698442a170f02923f8ea55f18526b56c17178162e44304f896a8a5fd65ab4457";
|
2018-10-16 23:18:37 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pillow ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-16 23:18:37 +01:00
|
|
|
description = "A library for building interactive maps";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://modestmaps.com";
|
2018-10-16 23:18:37 +01:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|