summary refs log blame commit diff
path: root/pkgs/development/python-modules/mailmanclient/default.nix
blob: 9fe9adbe6cfdac997f46864fca334ee7a2e57d42 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                   


                          
                    


                          
                                                                                

    




                                                                                           







                                                      
 
{ stdenv, buildPythonPackage, fetchPypi, six, httplib2, requests }:

buildPythonPackage rec {
  pname = "mailmanclient";
  version = "3.3.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "c8736cbe152ae1bd58b46ccfbcafb6a1e301513530772e7fda89f91d1e5c1ae9";
  };

  propagatedBuildInputs = [ six httplib2 requests ];

  # no tests with Pypi tar ball, checkPhase removes setup.py which invalidates import check
  doCheck = false;
  pythonImportsCheck = [ "mailmanclient" ];

  meta = with stdenv.lib; {
    homepage = "http://www.gnu.org/software/mailman/";
    description = "REST client for driving Mailman 3";
    license = licenses.lgpl3;
    platforms = platforms.linux;
    maintainers = with maintainers; [ peti globin ];
  };
}