depot/third_party/nixpkgs/pkgs/development/python-modules/mailmanclient/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
779 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, isPy3k, six, httplib2, requests }:
buildPythonPackage rec {
pname = "mailmanclient";
version = "3.3.0";
disabled = !isPy3k;
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 = "https://www.gnu.org/software/mailman/";
description = "REST client for driving Mailman 3";
license = licenses.lgpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ peti globin ];
};
}