mailmanPackages,python3.pkgs.django-mailman3: add NixOS test to passthru.tests

This commit is contained in:
Alyssa Ross 2024-01-19 13:06:57 +01:00
parent 098f2ed41d
commit 76724dbc57
6 changed files with 18 additions and 1 deletions

View file

@ -12,6 +12,7 @@
, django
, pytest-django
, pytestCheckHook
, nixosTests
}:
buildPythonPackage rec {
@ -46,6 +47,8 @@ buildPythonPackage rec {
"django_mailman3"
];
passthru.tests = { inherit (nixosTests) mailman; };
meta = with lib; {
description = "Django library for Mailman UIs";
homepage = "https://gitlab.com/mailman/django-mailman3";

View file

@ -2,6 +2,7 @@
, python3
, fetchPypi
, fetchpatch
, nixosTests
}:
with python3.pkgs;
@ -66,6 +67,8 @@ buildPythonPackage rec {
--settings=hyperkitty.tests.settings_test hyperkitty
'';
passthru.tests = { inherit (nixosTests) mailman; };
meta = {
homepage = "https://www.gnu.org/software/mailman/";
description = "Archiver for GNU Mailman v3";

View file

@ -2,6 +2,7 @@
, python3
, fetchPypi
, mailman
, nixosTests
}:
with python3.pkgs;
@ -39,6 +40,8 @@ buildPythonPackage rec {
"mailman_hyperkitty"
];
passthru.tests = { inherit (nixosTests) mailman; };
meta = with lib; {
description = "Mailman archiver plugin for HyperKitty";
homepage = "https://gitlab.com/mailman/mailman-hyperkitty";

View file

@ -4,6 +4,7 @@
, fetchPypi
, postfix
, lynx
, nixosTests
}:
with python3.pkgs;
@ -78,6 +79,8 @@ buildPythonPackage rec {
# 'runner' scripts.
dontWrapPythonPrograms = true;
passthru.tests = { inherit (nixosTests) mailman; };
meta = {
homepage = "https://www.gnu.org/software/mailman/";
description = "Free software for managing electronic mail discussion and newsletter lists";

View file

@ -1,4 +1,4 @@
{ lib, python3, fetchPypi }:
{ lib, python3, fetchPypi, nixosTests }:
with python3.pkgs;
@ -17,6 +17,8 @@ buildPythonPackage rec {
# Tries to connect to database.
doCheck = false;
passthru.tests = { inherit (nixosTests) mailman; };
meta = with lib; {
homepage = "https://docs.mailman3.org/projects/postorius";
description = "Web-based user interface for managing GNU Mailman";

View file

@ -1,5 +1,6 @@
{ lib, python3, fetchPypi, fetchpatch
, sassc, hyperkitty, postorius
, nixosTests
}:
with python3.pkgs;
@ -45,6 +46,8 @@ buildPythonPackage rec {
"--suffix PATH : ${lib.makeBinPath [ sassc ]}"
];
passthru.tests = { inherit (nixosTests) mailman; };
meta = with lib; {
homepage = "https://gitlab.com/mailman/mailman-web";
description = "Django project for Mailman 3 web interface";