2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-10-15 22:44:05 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, isPy3k
|
|
|
|
, fetchPypi
|
|
|
|
, matplotlib
|
|
|
|
, scipy
|
|
|
|
, pandas
|
|
|
|
, requests
|
|
|
|
, pillow
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mapsplotlib";
|
2020-07-31 09:56:41 +01:00
|
|
|
version = "1.2.1";
|
2018-10-15 22:44:05 +01:00
|
|
|
|
|
|
|
disabled = isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-31 09:56:41 +01:00
|
|
|
sha256 = "7650754e3175f13a1cb4406a62e4cfeb424036377992b9c3c2e3f6c2404d06b3";
|
2018-10-15 22:44:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ matplotlib scipy pandas requests pillow ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-15 22:44:05 +01:00
|
|
|
description = "Custom Python plots on a Google Maps background";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/tcassou/mapsplotlib";
|
2018-10-15 22:44:05 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.rob ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|