bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
30 lines
624 B
Nix
30 lines
624 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
docopt,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "2.0.10";
|
|
format = "setuptools";
|
|
pname = "mailchimp";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "5227999904233a7d2e9ce5eac5225b9a5fac0318ae5107e3ed09c8bf89286768";
|
|
};
|
|
|
|
buildInputs = [ docopt ];
|
|
propagatedBuildInputs = [ requests ];
|
|
patchPhase = ''
|
|
sed -i 's/==/>=/' setup.py
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "CLI client and Python API library for the MailChimp email platform";
|
|
homepage = "http://apidocs.mailchimp.com/api/2.0/";
|
|
license = licenses.mit;
|
|
};
|
|
}
|