From af7c1baf95fd5c0d9463f4e42bde5e804c6351fa Mon Sep 17 00:00:00 2001 From: Sibi Date: Sat, 14 Feb 2015 20:23:14 +0530 Subject: [PATCH] new package: Mailchimp python module --- pkgs/top-level/python-packages.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5cb17e42464c..4f6a05b157e2 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2940,6 +2940,30 @@ let propagatedBuildInputs = with self; [ logilab_common ]; }; + mailchimp = buildPythonPackage rec { + + version = "2.0.9"; + name = "mailchimp-${version}"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/m/mailchimp/mailchimp-${version}.tar.gz"; + sha256 = "0351ai0jqv3dzx0xxm1138sa7mb42si6xfygl5ak8wnfc95ff770"; + }; + + # Test fails because specific version of docopt is searched + # (Possible fix: Needs upstream patching in the library) + doCheck = false; + + buildInputs = with self; [ docopt ]; + + propagatedBuildInputs = with self; [ requests ]; + + meta = { + description = "A CLI client and Python API library for the MailChimp email platform"; + homepage = "http://apidocs.mailchimp.com/api/2.0/"; + license = stdenv.lib.licenses.mit; + }; + }; logster = buildPythonPackage { name = "logster-7475c53822";