nixpkgs/pkgs/development/python-modules/mplleaflet/default.nix
2017-05-05 09:51:03 +02:00

28 lines
562 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, jinja2
, six
}:
buildPythonPackage rec {
pname = "mplleaflet";
version = "0.0.5";
name = "${pname}-${version}";
propagatedBuildInputs = [ jinja2 six ];
# No tests in archive
doCheck = false;
src = fetchPypi {
inherit pname version;
sha256 = "049e0b91797ce5b462853395138161fed9e8dfc1f4723f482ebb0739a0bbd289";
};
meta = {
description = "Convert Matplotlib plots into Leaflet web maps";
homepage = http://github.com/jwass/mplleaflet;
license = with lib.licenses; [ bsd3 ];
};
}