nixpkgs-suyu/pkgs/development/python-modules/mplleaflet/default.nix
2017-11-10 22:13:46 +01:00

28 lines
563 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 = https://github.com/jwass/mplleaflet;
license = with lib.licenses; [ bsd3 ];
};
}