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";