Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, buildPythonPackage, fetchPypi, mailman, mock }: 2 3buildPythonPackage rec { 4 pname = "mailman-hyperkitty"; 5 version = "1.1.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1lfqa9admhvdv71f528jmz2wl0i5cv77v6l64px2pm4zqr9ckkjx"; 10 }; 11 12 propagatedBuildInputs = [ mailman ]; 13 checkInputs = [ mock ]; 14 15 checkPhase = '' 16 python -m nose2 -v 17 ''; 18 doCheck = false; 19 20 meta = with stdenv.lib; { 21 description = "Mailman archiver plugin for HyperKitty"; 22 homepage = "https://gitlab.com/mailman/mailman-hyperkitty"; 23 license = licenses.gpl3; 24 maintainers = with maintainers; [ globin peti ]; 25 }; 26}