mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
27 lines
505 B
Nix
27 lines
505 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pillow
|
|
, isPy27
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ModestMaps";
|
|
version = "1.4.7";
|
|
disabled = !isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "698442a170f02923f8ea55f18526b56c17178162e44304f896a8a5fd65ab4457";
|
|
};
|
|
|
|
propagatedBuildInputs = [ pillow ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A library for building interactive maps";
|
|
homepage = http://modestmaps.com;
|
|
license = stdenv.lib.licenses.bsd3;
|
|
};
|
|
|
|
}
|