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

View File

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

View File

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

View File

@ -4,6 +4,7 @@
, fetchPypi , fetchPypi
, postfix , postfix
, lynx , lynx
, nixosTests
}: }:
with python3.pkgs; with python3.pkgs;
@ -78,6 +79,8 @@ buildPythonPackage rec {
# 'runner' scripts. # 'runner' scripts.
dontWrapPythonPrograms = true; dontWrapPythonPrograms = true;
passthru.tests = { inherit (nixosTests) mailman; };
meta = { meta = {
homepage = "https://www.gnu.org/software/mailman/"; homepage = "https://www.gnu.org/software/mailman/";
description = "Free software for managing electronic mail discussion and newsletter lists"; 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; with python3.pkgs;
@ -17,6 +17,8 @@ buildPythonPackage rec {
# Tries to connect to database. # Tries to connect to database.
doCheck = false; doCheck = false;
passthru.tests = { inherit (nixosTests) mailman; };
meta = with lib; { meta = with lib; {
homepage = "https://docs.mailman3.org/projects/postorius"; homepage = "https://docs.mailman3.org/projects/postorius";
description = "Web-based user interface for managing GNU Mailman"; description = "Web-based user interface for managing GNU Mailman";

View File

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