Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 592 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, docopt 5, requests 6}: 7 8buildPythonPackage rec { 9 version = "2.0.9"; 10 pname = "mailchimp"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "0351ai0jqv3dzx0xxm1138sa7mb42si6xfygl5ak8wnfc95ff770"; 15 }; 16 17 buildInputs = [ docopt ]; 18 propagatedBuildInputs = [ requests ]; 19 patchPhase = '' 20 sed -i 's/==/>=/' setup.py 21 ''; 22 23 meta = with stdenv.lib; { 24 description = "A CLI client and Python API library for the MailChimp email platform"; 25 homepage = "http://apidocs.mailchimp.com/api/2.0/"; 26 license = licenses.mit; 27 }; 28 29}