mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
30 lines
595 B
Nix
30 lines
595 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, docopt
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "2.0.10";
|
|
pname = "mailchimp";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "5227999904233a7d2e9ce5eac5225b9a5fac0318ae5107e3ed09c8bf89286768";
|
|
};
|
|
|
|
buildInputs = [ docopt ];
|
|
propagatedBuildInputs = [ requests ];
|
|
patchPhase = ''
|
|
sed -i 's/==/>=/' setup.py
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A CLI client and Python API library for the MailChimp email platform";
|
|
homepage = "http://apidocs.mailchimp.com/api/2.0/";
|
|
license = licenses.mit;
|
|
};
|
|
|
|
}
|