From 87723d5ac3c935b0b5139283db09c0e261903941 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Fri, 5 May 2017 09:48:58 +0200 Subject: [PATCH] pythonPackages.mplleaflet: init at 0.0.5 --- .../python-modules/mplleaflet/default.nix | 28 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/development/python-modules/mplleaflet/default.nix diff --git a/pkgs/development/python-modules/mplleaflet/default.nix b/pkgs/development/python-modules/mplleaflet/default.nix new file mode 100644 index 000000000000..29984eed9e90 --- /dev/null +++ b/pkgs/development/python-modules/mplleaflet/default.nix @@ -0,0 +1,28 @@ +{ 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1d8ced3e2e15..93a22b7f5a37 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -14392,6 +14392,8 @@ in { }; }; + mplleaflet = callPackage ../development/python-modules/mplleaflet { }; + multidict = callPackage ../development/python-modules/multidict { }; munch = buildPythonPackage rec {