2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, isPy3k
|
|
|
|
, fetchPypi
|
|
|
|
, matplotlib
|
|
|
|
, scipy
|
|
|
|
, pandas
|
|
|
|
, requests
|
|
|
|
, pillow
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mapsplotlib";
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "1.2.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
disabled = isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-20 17:08:02 +00:00
|
|
|
sha256 = "7650754e3175f13a1cb4406a62e4cfeb424036377992b9c3c2e3f6c2404d06b3";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ matplotlib scipy pandas requests pillow ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Custom Python plots on a Google Maps background";
|
|
|
|
homepage = "https://github.com/tcassou/mapsplotlib";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.rob ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|