treewide: passthru nixos test (#334491)

This commit is contained in:
Peder Bergebakken Sundt 2024-08-18 00:29:43 +02:00 committed by GitHub
parent 7a65a0bffd
commit e471916645
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
112 changed files with 374 additions and 53 deletions

View File

@ -48,6 +48,7 @@ in
type = lib.types.package;
# `yabar-stable` segfaults under certain conditions.
# remember to update yabar.passthru.tests if nixos switches back to it!
apply = x: if x == pkgs.yabar-unstable then x else lib.flip lib.warn x ''
It's not recommended to use `yabar' with `programs.yabar', the (old) stable release
tends to segfault under certain circumstances:

View File

@ -33,6 +33,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
nodes = {
node = {...}: {
environment.systemPackages = with pkgs; [
# remember to update mongodb.passthru.tests if you change this
mongodb-5_0
];
};

View File

@ -12,6 +12,7 @@
, gzip
, perl
, jq
, nixosTests
}:
stdenv.mkDerivation (finalAttrs: {
@ -57,6 +58,8 @@ stdenv.mkDerivation (finalAttrs: {
# 5 tests out of 23 fail, probably due to the sandbox...
doCheck = false;
passthru.tests = { inherit (nixosTests) mympd; };
meta = {
homepage = "https://jcorporation.github.io/myMPD";
description = "Standalone and mobile friendly web mpd client with a tiny footprint and advanced features";

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, makeWrapper, jre }:
{ lib, stdenv, fetchurl, makeWrapper, jre, nixosTests }:
stdenv.mkDerivation rec {
pname = "ergo";
@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
makeWrapper ${jre}/bin/java $out/bin/ergo --add-flags "-jar $src"
'';
passthru.tests = { inherit (nixosTests) ergo; };
meta = with lib; {
description = "Open protocol that implements modern scientific ideas in the blockchain area";
homepage = "https://ergoplatform.org/en/";

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildGoModule }:
{ lib, fetchFromGitHub, buildGoModule, nixosTests }:
buildGoModule rec {
pname = "quorum";
@ -20,6 +20,8 @@ buildGoModule rec {
ldflags = [ "-s" "-w" ];
passthru.tests = { inherit (nixosTests) quorum; };
meta = with lib; {
description = "Permissioned implementation of Ethereum supporting data privacy";
homepage = "https://consensys.net/quorum/";

View File

@ -6,6 +6,7 @@
dotnetCorePackages,
zlib,
openssl,
nixosTests,
}:
buildDotnetModule rec {
pname = "wasabibackend";
@ -38,6 +39,10 @@ buildDotnetModule rec {
mv $out/bin/WalletWasabi.Backend $out/bin/WasabiBackend
'';
passthru.tests = {
inherit (nixosTests) wasabibackend;
};
meta = with lib; {
description = "Backend for the Wasabi Wallet";
homepage = "https://wasabiwallet.io/";

View File

@ -28,6 +28,7 @@
, qtbase
, yelp-tools
, yelp-xsl
, nixosTests
}:
stdenv.mkDerivation rec {
@ -115,6 +116,7 @@ stdenv.mkDerivation rec {
passthru = {
updateScript = nix-update-script { };
tests = { inherit (nixosTests) lightdm; };
};

View File

@ -1,5 +1,5 @@
{ stdenv, lib, fetchFromGitHub, linux-pam, libxcb, makeBinaryWrapper, zig_0_12
, callPackage }:
, callPackage, nixosTests }:
stdenv.mkDerivation {
pname = "ly";
@ -19,6 +19,8 @@ stdenv.mkDerivation {
ln -s ${callPackage ./deps.nix { }} $ZIG_GLOBAL_CACHE_DIR/p
'';
passthru.tests = { inherit (nixosTests) ly; };
meta = with lib; {
description = "TUI display manager";
license = licenses.wtfpl;

View File

@ -16,6 +16,7 @@ runCommand "sddm-wrapped" {
passthru = {
inherit unwrapped;
inherit (unwrapped.passthru) tests;
};
meta = unwrapped.meta;

View File

@ -2,6 +2,7 @@
, cmake, pkg-config, qttools
, libxcb, libXau, pam, qtbase, qtdeclarative
, qtquickcontrols2 ? null, systemd, xkeyboardconfig
, nixosTests
}:
let
isQt6 = lib.versions.major qtbase.version == "6";
@ -76,6 +77,8 @@ in stdenv.mkDerivation(finalAttrs: {
done
'';
passthru.tests = { inherit (nixosTests) sddm; };
meta = with lib; {
description = "QML based X11 display manager";
homepage = "https://github.com/sddm/sddm";

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, swt, jre, makeWrapper, alsa-lib, jack2, fluidsynth, libpulseaudio }:
{ lib, stdenv, fetchurl, swt, jre, makeWrapper, alsa-lib, jack2, fluidsynth, libpulseaudio, nixosTests }:
let metadata = assert stdenv.hostPlatform.system == "i686-linux" || stdenv.hostPlatform.system == "x86_64-linux";
if stdenv.hostPlatform.system == "i686-linux" then
@ -31,6 +31,8 @@ in stdenv.mkDerivation rec {
--prefix CLASSPATH : "${swt}/jars/swt.jar:$out/lib/tuxguitar.jar:$out/lib/itext.jar"
'';
passthru.tests = { inherit (nixosTests) tuxguitar; };
meta = with lib; {
description = "Multitrack guitar tablature editor";
longDescription = ''

View File

@ -1,4 +1,4 @@
{ lib, stdenvNoCC, fetchurl, unzip }:
{ lib, stdenvNoCC, fetchurl, unzip, nixosTests }:
stdenvNoCC.mkDerivation rec {
pname = "fluidd";
@ -25,6 +25,8 @@ stdenvNoCC.mkDerivation rec {
cp -r fluidd $out/share/fluidd/htdocs
'';
passthru.tests = { inherit (nixosTests) fluidd; };
meta = with lib; {
description = "Klipper web interface";
homepage = "https://docs.fluidd.xyz";

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchzip }:
{ lib, stdenv, fetchzip, nixosTests }:
let
arch = "amd64";
@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
$out/bin/jotta-cli completion bash > $out/share/bash-completion/completions/jotta-cli.bash
'';
passthru.tests = { inherit (nixosTests) jotta-cli; };
meta = with lib; {
description = "Jottacloud CLI";
homepage = "https://www.jottacloud.com/";

View File

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
buildGoModule rec {
pname = "writefreely";
@ -23,6 +23,8 @@ buildGoModule rec {
subPackages = [ "cmd/writefreely" ];
passthru.tests = { inherit (nixosTests) writefreely; };
meta = with lib; {
description = "Build a digital writing community";
homepage = "https://github.com/writefreely/writefreely";

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, gzip }:
{ lib, stdenv, fetchFromGitHub, gzip, nixosTests }:
stdenv.mkDerivation rec {
pname = "ndppd";
@ -26,6 +26,8 @@ stdenv.mkDerivation rec {
cp ndppd.conf-dist $out/etc/ndppd.conf
'';
passthru.tests = { inherit (nixosTests) ndppd; };
meta = with lib; {
description = "Daemon that proxies NDP (Neighbor Discovery Protocol) messages between interfaces";
homepage = "https://github.com/DanielAdolfsson/ndppd";

View File

@ -8,6 +8,7 @@
, gobject-introspection
, librsvg
, wrapGAppsHook3
, nixosTests
}:
let
@ -87,6 +88,8 @@ let
done
'';
passthru.tests = { inherit (nixosTests) deluge; };
meta = with lib; {
description = "Torrent client";
homepage = "https://deluge-torrent.org";

View File

@ -21,6 +21,7 @@
, libjpeg_turbo
, _experimental-update-script-combinators
, gitUpdater
, nixosTests
}:
let
@ -159,6 +160,9 @@ let
{ command = ["rm" "update-git-commits.txt"]; }
(gitUpdater { rev-prefix = "v"; attrPath = "xrdp.xorgxrdp"; })
]);
tests = {
inherit (nixosTests) xrdp;
};
};
meta = with lib; {

View File

@ -1,5 +1,6 @@
{ pname, version, src, gitSrc, buildInputs ? []
, homepage, description, maintainers
, passthru ? {}
}:
{ lib, stdenv, openssl, zlib, asciidoc, libxml2, libxslt
@ -10,7 +11,7 @@
}:
stdenv.mkDerivation {
inherit pname version src gitSrc;
inherit pname version src gitSrc passthru;
separateDebugInfo = true;

View File

@ -1,4 +1,4 @@
{ lib, fetchurl, callPackage, luajit }:
{ lib, fetchurl, callPackage, luajit, nixosTests }:
callPackage (import ./common.nix rec {
pname = "cgit";
@ -19,6 +19,8 @@ callPackage (import ./common.nix rec {
buildInputs = [ luajit ];
passthru.tests = { inherit (nixosTests) cgit; };
homepage = "https://git.zx2c4.com/cgit/about/";
description = "Web frontend for git repositories";
maintainers = with lib.maintainers; [ bjornfor ];

View File

@ -1,6 +1,7 @@
{ lib
, buildGoModule
, fetchFromGitHub
, nixosTests
}:
buildGoModule rec {
@ -24,6 +25,8 @@ buildGoModule rec {
cp -r $src/static/* $out/lib/legit/static
'';
passthru.tests = { inherit (nixosTests) legit; };
meta = {
description = "Web frontend for git";
homepage = "https://github.com/icyphox/legit";

View File

@ -12,6 +12,7 @@
, speex
, jansson
, libopus
, nixosTests
, withJanus ? true
}:
stdenv.mkDerivation rec {
@ -53,6 +54,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
passthru.tests = { inherit (nixosTests) ustreamer; };
meta = with lib; {
homepage = "https://github.com/pikvm/ustreamer";
description = "Lightweight and fast MJPG-HTTP streamer";

View File

@ -3,6 +3,7 @@
, yajl, xcb-util-cursor, perl, pango, perlPackages, libxkbcommon
, xorgserver, xvfb-run, xdotool, xorg, which
, asciidoc, xmlto, docbook_xml_dtd_45, docbook_xsl, findXMLCatalogs
, nixosTests
}:
stdenv.mkDerivation rec {
@ -78,6 +79,9 @@ stdenv.mkDerivation rec {
separateDebugInfo = true;
passthru.tests = { inherit (nixosTests) i3wm; };
meta = with lib; {
description = "Tiling window manager";
homepage = "https://i3wm.org";

View File

@ -1,5 +1,6 @@
{ lib, stdenv, wlroots, pkg-config, wayland-scanner
, libxkbcommon, pixman, udev, wayland, wayland-protocols
, nixosTests
}:
stdenv.mkDerivation {
@ -18,6 +19,8 @@ stdenv.mkDerivation {
runHook postInstall
'';
passthru.tests = { inherit (nixosTests) tinywl; };
meta = {
homepage = "https://gitlab.freedesktop.org/wlroots/wlroots/tree/master/tinywl";
description = ''A "minimum viable product" Wayland compositor based on wlroots'';

View File

@ -62,6 +62,8 @@ stdenv.mkDerivation {
}
'';
#passthru.tests = { inherit (nixosTests) yabar; }; # nixos currently uses yabar-unstable
meta = with lib; {
description = "Modern and lightweight status bar for X window managers";
homepage = "https://github.com/geommer/yabar";

View File

@ -1,4 +1,4 @@
{ fetchpatch, playerctl, libxkbcommon, callPackage, attrs ? {} }:
{ fetchpatch, playerctl, libxkbcommon, callPackage, nixosTests, attrs ? {} }:
let
pkg = callPackage ./build.nix ({
@ -22,4 +22,11 @@ in pkg.overrideAttrs (o: {
sha256 = "1q7nd66ai6nr2m6iqxn55gvbr4r5gjc00c8wyjc3riv31qcbqbhv";
})
];
passthru = (o.passthru or {}) // {
tests = (o.passthru.tests or {}) // {
inherit (nixosTests) yabar;
};
};
})

View File

@ -7,6 +7,7 @@
installShellFiles,
stdenv,
testers,
nixosTests,
}:
buildGoModule rec {
pname = "artalk";
@ -56,6 +57,7 @@ buildGoModule rec {
passthru.tests = {
version = testers.testVersion { package = artalk; };
inherit (nixosTests) artalk;
};
meta = {

View File

@ -1,6 +1,7 @@
{ lib
, buildGoModule
, fetchFromGitHub
, nixosTests
}:
buildGoModule rec {
@ -18,6 +19,9 @@ buildGoModule rec {
ldflags = [ "-s" "-w" ];
passthru.tests = { inherit (nixosTests) certmgr; };
meta = with lib; {
homepage = "https://cfssl.org/";
description = "Cloudflare's automated certificate management using a CFSSL CA";

View File

@ -2,6 +2,7 @@
lib,
fetchFromGitHub,
php,
nixosTests,
}:
php.buildComposerProject (finalAttrs: {
@ -25,6 +26,10 @@ php.buildComposerProject (finalAttrs: {
rm -rf "$out/share"
'';
passthru.tests = {
inherit (nixosTests) davis;
};
meta = {
changelog = "https://github.com/tchapi/davis/releases/tag/v${finalAttrs.version}";
homepage = "https://github.com/tchapi/davis";

View File

@ -4,6 +4,7 @@
, fetchpatch
, python3
, installShellFiles
, nixosTests
}:
python3.pkgs.buildPythonApplication rec {
@ -87,6 +88,8 @@ python3.pkgs.buildPythonApplication rec {
rm -r "${sitePackages}/usr"
'';
passthru.tests = { inherit (nixosTests) fail2ban; };
meta = with lib; {
homepage = "https://www.fail2ban.org/";
description = "Program that scans log files for repeated failing login attempts and bans IP addresses";

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl }:
{ lib, stdenv, fetchurl, nixosTests }:
stdenv.mkDerivation rec {
pname = "gerrit";
@ -30,6 +30,9 @@ stdenv.mkDerivation rec {
"singleusergroup"
"webhooks"
];
tests = {
inherit (nixosTests) gerrit;
};
};
meta = with lib; {

View File

@ -12,6 +12,7 @@
makeFontsConf,
liberation_ttf_v2,
exiftool,
nixosTests,
nix-update-script,
}:
let
@ -81,6 +82,9 @@ buildGoModule rec {
'';
passthru.updateScript = nix-update-script { };
passthru.tests = {
inherit (nixosTests) gotenberg;
};
meta = {
description = "Converts numerous document formats into PDF files";

View File

@ -29,6 +29,7 @@
, bzip2
, libgcrypt
, sqlite
, nixosTests
, stateDir ? "/var"
, storeDir ? "/gnu/store"
@ -134,6 +135,10 @@ stdenv.mkDerivation rec {
done
'';
passthru.tests = {
inherit (nixosTests) guix;
};
meta = with lib; {
description = "Functional package manager with a Scheme interface";
longDescription = ''

View File

@ -4,6 +4,7 @@
, stdenv
, openssl
, darwin
, nixosTests
}:
rustPlatform.buildRustPackage rec {
@ -37,6 +38,8 @@ rustPlatform.buildRustPackage rec {
OPENSSL_DIR = "${lib.getDev openssl}";
};
passthru.tests = { inherit (nixosTests) mycelium; };
meta = with lib; {
description = "End-2-end encrypted IPv6 overlay network";
homepage = "https://github.com/threefoldtech/mycelium";

View File

@ -1,6 +1,7 @@
{ buildGoModule
, fetchFromGitHub
, lib
, nixosTests
}:
buildGoModule rec {
pname = "nar-serve";
@ -17,6 +18,8 @@ buildGoModule rec {
doCheck = false;
passthru.tests = { inherit (nixosTests) nar-serve; };
meta = with lib; {
description = "Serve NAR file contents via HTTP";
mainProgram = "nar-serve";

View File

@ -5,6 +5,7 @@
makeWrapper,
jre_headless,
gawk,
nixosTests,
}:
stdenv.mkDerivation rec {
@ -49,6 +50,10 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
passthru.tests = {
inherit (nixosTests) nexus;
};
meta = {
description = "Repository manager for binary software components";
homepage = "https://www.sonatype.com/products/sonatype-nexus-oss";

View File

@ -2,6 +2,7 @@
, stdenvNoCC
, fetchFromGitHub
, gitUpdater
, nixosTests
, variants ? [ ]
, suffix ? ""
, longDescription ? ''
@ -62,6 +63,8 @@ stdenvNoCC.mkDerivation rec {
rev-prefix = "noto-monthly-release-";
};
passthru.tests = { inherit (nixosTests) noto-fonts; };
meta = {
description = "Beautiful and free fonts for many languages";
homepage = "https://www.google.com/get/noto/";

View File

@ -6,6 +6,7 @@
openjdk17,
python3,
unzip,
nixosTests,
}:
stdenv.mkDerivation rec {
pname = "nzbhydra2";
@ -37,6 +38,10 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
passthru.tests = {
inherit (nixosTests) nzbhydra2;
};
meta = {
description = "Usenet meta search";
homepage = "https://github.com/theotherp/nzbhydra2";

View File

@ -5,8 +5,10 @@
python3Packages.toPythonApplication (python3Packages.private-gpt.overrideAttrs (oldAttrs: {
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ makeBinaryWrapper ];
passthru.cl100k_base = {
inherit (python3Packages.private-gpt.cl100k_base) tiktoken;
passthru = (oldAttrs.passthru or {}) // {
cl100k_base = {
inherit (python3Packages.private-gpt.cl100k_base) tiktoken;
};
};
postInstall = ''

View File

@ -4,6 +4,7 @@
, fetchFromGitLab
, fetchpatch
, rspamd
, nixosTests
}:
python3Packages.buildPythonApplication {
@ -48,6 +49,8 @@ python3Packages.buildPythonApplication {
imapclient
];
passthru.tests = { inherit (nixosTests) rspamd-trainer; };
meta = {
homepage = "https://gitlab.com/onlime/rspamd-trainer";
description = "Grabs messages from a spam mailbox via IMAP and feeds them to Rspamd for training";

View File

@ -6,6 +6,7 @@
, zstd
, stdenv
, darwin
, nixosTests
}:
rustPlatform.buildRustPackage rec {
@ -36,6 +37,10 @@ rustPlatform.buildRustPackage rec {
ZSTD_SYS_USE_PKG_CONFIG = true;
};
passthru.tests = {
inherit (nixosTests) wastebin;
};
meta = with lib; {
description = "Wastebin is a pastebin";
homepage = "https://github.com/matze/wastebin";

View File

@ -6,6 +6,7 @@
, libite
, libuev
, libconfuse
, nixosTests
}:
stdenv.mkDerivation rec {
pname = "watchdogd";
@ -21,6 +22,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [ libite libuev libconfuse ];
passthru.tests = { inherit (nixosTests) watchdogd; };
meta = with lib; {
description = "Advanced system & process supervisor for Linux";
homepage = "https://troglobit.com/watchdogd.html";

View File

@ -3,6 +3,7 @@
buildGoModule,
fetchFromGitHub,
nix-update-script,
nixosTests,
...
}:
@ -21,6 +22,10 @@ buildGoModule rec {
passthru.updateScript = nix-update-script { };
passthru.tests = {
inherit (nixosTests) workout-tracker;
};
meta = {
changelog = "https://github.com/jovandeginste/workout-tracker/releases/tag/v${version}";
description = "Workout tracking web application for personal use";

View File

@ -8,6 +8,7 @@
nodejs,
makeWrapper,
callPackage,
nixosTests,
}:
stdenv.mkDerivation (finalAttrs: {
@ -63,6 +64,9 @@ stdenv.mkDerivation (finalAttrs: {
client = callPackage ./client.nix {
inherit (finalAttrs) src version offlineCache meta;
};
tests = {
inherit (nixosTests) your_spotify;
};
};
meta = {

View File

@ -26,6 +26,7 @@
, writeTextFile
, xkeyboard_config
, xorg
, nixosTests
, runCommand
, buildEnv
}:
@ -180,6 +181,8 @@ let
cp -r "${gnome-flashback}/lib/systemd/user/gnome-session@gnome-flashback-metacity.target.d" \
"$out/lib/systemd/user/gnome-session@gnome-flashback-${wmName}.target.d"
'';
tests = { inherit (nixosTests) gnome-flashback; };
};
meta = with lib; {

View File

@ -14,6 +14,7 @@
, gtk-doc
, docbook-xsl-nons
, docbook_xml_dtd_42
, nixosTests
, withDocs ? true
}:
@ -73,6 +74,7 @@ stdenv.mkDerivation rec {
packageName = pname;
versionPolicy = "odd-unstable";
};
tests = { inherit (nixosTests) dconf; };
};
meta = with lib; {

View File

@ -1,6 +1,7 @@
{ lib, stdenv,
fetchFromGitHub, fetchpatch,
webos, cmake, pkg-config,
nixosTests,
libusb-compat-0_1 }:
stdenv.mkDerivation rec {
@ -36,6 +37,8 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DWEBOS_TARGET_MACHINE_IMPL=host" ];
passthru.tests = { inherit (nixosTests) novacomd; };
meta = with lib; {
description = "Daemon for communicating with WebOS devices";
mainProgram = "novacomd";

View File

@ -7,6 +7,7 @@
txamqp,
cachetools,
urllib3,
nixosTests,
}:
buildPythonPackage rec {
@ -31,6 +32,10 @@ buildPythonPackage rec {
urllib3
];
passthru.tests = {
inherit (nixosTests) graphite;
};
meta = with lib; {
homepage = "http://graphiteapp.org/";
description = "Backend data caching and persistence daemon for Graphite";

View File

@ -13,6 +13,7 @@
Security,
msgpack,
fetchpatch,
nixosTests,
}:
buildPythonPackage rec {
@ -70,6 +71,10 @@ buildPythonPackage rec {
pythonImportsCheck = [ "etebase" ];
passthru.tests = {
inherit (nixosTests) etebase-server;
};
meta = with lib; {
broken = stdenv.isDarwin;
homepage = "https://www.etebase.com/";

View File

@ -17,6 +17,7 @@
txamqp,
urllib3,
whisper,
nixosTests,
}:
buildPythonPackage rec {
@ -94,6 +95,10 @@ buildPythonPackage rec {
pythonImportsCheck = [ "graphite" ];
passthru.tests = {
inherit (nixosTests) graphite;
};
meta = with lib; {
description = "Enterprise scalable realtime graphing";
homepage = "http://graphiteapp.org/";

View File

@ -11,6 +11,7 @@
autobahn,
treq,
mock,
nixosTests,
pythonOlder,
pythonAtLeast,
pytestCheckHook,
@ -58,6 +59,10 @@ buildPythonPackage rec {
"src/wormhole_mailbox_server/test/test_web.py"
];
passthru.tests = {
inherit (nixosTests) magic-wormhole-mailbox-server;
};
meta = {
description = "Securely transfer data between computers";
homepage = "https://github.com/magic-wormhole/magic-wormhole-mailbox-server";

View File

@ -17,6 +17,7 @@
gradio,
fetchurl,
fetchpatch,
nixosTests,
}:
buildPythonPackage rec {
@ -87,6 +88,10 @@ buildPythonPackage rec {
pythonImportsCheck = [ "private_gpt" ];
passthru.tests = {
inherit (nixosTests) private-gpt;
};
meta = {
changelog = "https://github.com/zylon-ai/private-gpt/blob/${src.rev}/CHANGELOG.md";
description = "Interact with your documents using the power of GPT, 100% privately, no data leaks";

View File

@ -6,6 +6,7 @@
, terraform
, stdenvNoCC
, unzip
, nixosTests
}:
let
@ -100,5 +101,8 @@ stdenvNoCC.mkDerivation (finalAttrs: {
passthru = {
updateScript = ./update.sh;
tests = {
inherit (nixosTests) coder;
};
};
})

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, unzip }:
{ lib, stdenv, fetchurl, unzip, nixosTests }:
stdenv.mkDerivation rec {
pname = "gocd-agent";
@ -9,6 +9,9 @@ stdenv.mkDerivation rec {
url = "https://download.go.cd/binaries/${version}-${rev}/generic/go-agent-${version}-${rev}.zip";
sha256 = "sha256-L2MOkbVHoQu99lKrbnsNkhuU0SZ8VANSK72GZrGLbiQ=";
};
passthru.tests = { inherit (nixosTests) gocd-agent; };
meta = with lib; {
description = "Continuous delivery server specializing in advanced workflow modeling and visualization";
homepage = "http://www.go.cd";

View File

@ -1,6 +1,7 @@
{ buildGoModule
, fetchFromGitHub
, lib
, nixosTests
}:
buildGoModule rec {
pname = "litestream";
@ -21,6 +22,8 @@ buildGoModule rec {
vendorHash = "sha256-sYIY3Z3VrCqbjEbQtEY7q6Jljg8jMoa2qWEB/IkDjzM=";
passthru.tests = { inherit (nixosTests) litestream; };
meta = with lib; {
description = "Streaming replication for SQLite";
mainProgram = "litestream";

View File

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, testers, leaps }:
{ lib, buildGoModule, fetchFromGitHub, testers, leaps, nixosTests }:
buildGoModule rec {
pname = "leaps";
@ -16,7 +16,10 @@ buildGoModule rec {
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
passthru.tests.version = testers.testVersion { package = leaps; };
passthru.tests = {
version = testers.testVersion { package = leaps; };
inherit (nixosTests) leaps;
};
meta = with lib; {
description = "Pair programming tool and library written in Golang";

View File

@ -1,5 +1,6 @@
{ lib, fetchgit, pkg-config, gettext, runCommand, makeWrapper
, cpio, elfutils, kernel, gnumake, python3
, nixosTests
}:
let
@ -35,6 +36,7 @@ let
in runCommand "systemtap-${kernel.version}-${version}" {
inherit stapBuild;
nativeBuildInputs = [ makeWrapper ];
passthru.tests = { inherit (nixosTests.systemtap) linux_default linux_latest; };
meta = {
homepage = "https://sourceware.org/systemtap/";
description = "Provides a scripting language for instrumentation on a live kernel plus user-space";

View File

@ -1,4 +1,4 @@
{ ruby_3_2, lib, bundlerApp, bundlerUpdateScript }:
{ ruby_3_2, lib, bundlerApp, bundlerUpdateScript, nixosTests }:
bundlerApp {
pname = "mailcatcher";
@ -7,6 +7,7 @@ bundlerApp {
ruby = ruby_3_2;
passthru.updateScript = bundlerUpdateScript "mailcatcher";
passthru.tests = { inherit (nixosTests) mailcatcher; };
meta = with lib; {
description = "SMTP server and web interface to locally test outbound emails";

View File

@ -18,6 +18,7 @@
, SDL2
, speex
, makeDesktopItem
, nixosTests
}:
let
@ -102,6 +103,8 @@ stdenv.mkDerivation (finalAttrs: {
})
];
passthru.tests = { inherit (nixosTests) openarena; };
meta = {
description = "Fast-paced 3D first-person shooter, similar to id Software Inc.'s Quake III Arena";
homepage = "http://openarena.ws/";

View File

@ -1,5 +1,6 @@
{ lib, stdenv, fetchFromGitHub
, imake, gccmakedep, libX11, libXext, libXScrnSaver, xorgproto
, nixosTests
}:
stdenv.mkDerivation (finalAttrs: {
@ -25,6 +26,8 @@ stdenv.mkDerivation (finalAttrs: {
installTargets = [ "install" "install.man" ];
passthru.tests = { inherit (nixosTests) xautolock; };
meta = with lib; {
description = "Launch a given program when your X session has been idle for a given time";
homepage = "http://www.ibiblio.org/pub/linux/X11/screensavers";

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, cmake, docutils, pkg-config, glib, libpthreadstubs
, libXau, libXdmcp, xcbutil }:
, libXau, libXdmcp, xcbutil, nixosTests }:
stdenv.mkDerivation {
pname = "xss-lock";
@ -15,6 +15,8 @@ stdenv.mkDerivation {
nativeBuildInputs = [ cmake pkg-config docutils ];
buildInputs = [ glib libpthreadstubs libXau libXdmcp xcbutil ];
passthru.tests = { inherit (nixosTests) xss-lock; };
meta = with lib; {
description = "Use external locker (such as i3lock) as X screen saver";
license = licenses.mit;

View File

@ -8,6 +8,7 @@
, findutils
, systemd
, python3
, nixosTests
# makes the package unfree via pynvml
, withAtopgpu ? false
}:
@ -79,6 +80,8 @@ stdenv.mkDerivation rec {
rm $out/lib/systemd/system/atopgpu.service $out/bin/atopgpud $out/share/man/man8/atopgpud.8
'');
passthru.tests = { inherit (nixosTests) atop; };
meta = with lib; {
platforms = platforms.linux;
maintainers = with maintainers; [ raskin ];

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, kernel, kmod }:
{ lib, stdenv, fetchFromGitHub, kernel, kmod, nixosTests }:
stdenv.mkDerivation rec {
pname = "fanout";
@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
"KERNELDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
];
passthru.tests = { inherit (nixosTests) fanout; };
meta = with lib; {
description = "Kernel-based publish-subscribe system";
homepage = "https://github.com/bob-linuxtoys/fanout";

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl }:
{ lib, stdenv, fetchurl, nixosTests }:
stdenv.mkDerivation rec {
pname = "trezor-udev-rules";
@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
cp 51-trezor.rules $out/lib/udev/rules.d/51-trezor.rules
'';
passthru.tests = { inherit (nixosTests) trezord; };
meta = with lib; {
description = "Udev rules for Trezor";
license = licenses.gpl3;

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, jdk17_headless, jdk11_headless, makeWrapper, bash, coreutils, gnugrep, gnused, ps }:
{ lib, stdenv, fetchurl, jdk17_headless, jdk11_headless, makeWrapper, bash, coreutils, gnugrep, gnused, ps, nixosTests }:
let
versionMap = {
@ -7,12 +7,14 @@ let
scalaVersion = "2.13";
sha256 = "sha256-YqyuShQ92YPcfrSATVdEugxQsZm1CPWZ7wAQIOJVj8k=";
jre = jdk17_headless;
nixosTest = nixosTests.kafka.kafka_3_7;
};
"3_6" = {
kafkaVersion = "3.6.2";
scalaVersion = "2.13";
sha256 = "sha256-wxfkf3cUHTFG6VY9nLodZIbIHmcLIR7OasRqn3Lkqqw=";
jre = jdk17_headless;
nixosTest = nixosTests.kafka.kafka_3_6;
};
};
@ -54,6 +56,7 @@ let
passthru = {
inherit jre; # Used by the NixOS module to select the supported jre
tests.nixos = versionInfo.nixosTest;
};
meta = with lib; {

View File

@ -1,6 +1,7 @@
{ lib
, fetchFromGitHub
, buildGoModule
, nixosTests
}:
buildGoModule rec {
@ -18,6 +19,10 @@ buildGoModule rec {
deleteVendor = true;
passthru.tests = {
inherit (nixosTests) birdwatcher;
};
meta = with lib; {
homepage = "https://github.com/alice-lg/birdwatcher";
description = "Small HTTP server meant to provide an API defined by Barry O'Donovan's birds-eye to the BIRD internet routing daemon";

View File

@ -1,4 +1,4 @@
{ stdenvNoCC, lib, fetchFromGitHub, makeWrapper, php }:
{ stdenvNoCC, lib, fetchFromGitHub, makeWrapper, php, nixosTests }:
stdenvNoCC.mkDerivation rec {
pname = "icingaweb2";
@ -21,6 +21,8 @@ stdenvNoCC.mkDerivation rec {
wrapProgram $out/bin/icingacli --prefix PATH : "${lib.makeBinPath [ php ]}"
'';
passthru.tests = { inherit (nixosTests) icingaweb2; };
meta = with lib; {
description = "Webinterface for Icinga 2";
longDescription = ''

View File

@ -1,4 +1,4 @@
{ stdenvNoCC, lib, fetchFromGitHub }:
{ stdenvNoCC, lib, fetchFromGitHub, nixosTests }:
stdenvNoCC.mkDerivation rec {
pname = "icingaweb2-ipl";
@ -16,6 +16,8 @@ stdenvNoCC.mkDerivation rec {
cp -r * "$out"
'';
passthru.tests = { inherit (nixosTests) icingaweb2; };
meta = {
description = "PHP library package for Icingaweb 2";
homepage = "https://github.com/Icinga/icinga-php-library";

View File

@ -1,4 +1,4 @@
{ stdenvNoCC, lib, fetchFromGitHub }:
{ stdenvNoCC, lib, fetchFromGitHub, nixosTests }:
stdenvNoCC.mkDerivation rec {
pname = "icingaweb2-thirdparty";
@ -16,6 +16,8 @@ stdenvNoCC.mkDerivation rec {
cp -r * "$out"
'';
passthru.tests = { inherit (nixosTests) icingaweb2; };
meta = {
description = "Third party dependencies for Icingaweb 2";
homepage = "https://github.com/Icinga/icinga-php-thirdparty";

View File

@ -8,6 +8,7 @@
, pkg-config
, sqlite
, util-linux
, nixosTests
}:
stdenv.mkDerivation rec {
@ -63,6 +64,8 @@ stdenv.mkDerivation rec {
# make[4]: *** [Makefile:634: solanum] Error 1
enableParallelInstalling = false;
passthru.tests = { inherit (nixosTests) solanum; };
meta = with lib; {
description = "IRCd for unified networks";
homepage = "https://github.com/solanum-ircd/solanum";

View File

@ -5,6 +5,7 @@
, dotnetCorePackages
, openssl
, mono
, nixosTests
}:
buildDotnetModule rec {
@ -38,6 +39,8 @@ buildDotnetModule rec {
'';
passthru.updateScript = ./updater.sh;
passthru.tests = { inherit (nixosTests) jackett; };
meta = with lib; {
description = "API Support for your favorite torrent trackers";
homepage = "https://github.com/Jackett/Jackett/";

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, dpkg, jdk11_headless, makeWrapper, writeText, xorg }:
{ lib, stdenv, fetchurl, dpkg, jdk11_headless, makeWrapper, writeText, xorg, nixosTests }:
let
xorgModulePaths = writeText "module-paths" ''
@ -38,6 +38,8 @@ stdenv.mkDerivation rec {
passthru.updateScript = ./update.sh;
passthru.tests = { inherit (nixosTests) jibri; };
meta = with lib; {
description = "JItsi BRoadcasting Infrastructure";
mainProgram = "jibri";

View File

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
buildGoModule rec {
pname = "MailHog";
@ -19,6 +19,8 @@ buildGoModule rec {
ldflags = [ "-s" "-X main.version=${version}" ];
passthru.tests = { inherit (nixosTests) mailhog; };
meta = with lib; {
description = "Web and API based SMTP testing";
mainProgram = "MailHog";

View File

@ -1,6 +1,7 @@
{ lib
, buildGoModule
, fetchFromGitHub
, nixosTests
}:
buildGoModule rec {
@ -30,6 +31,8 @@ buildGoModule rec {
"cmd/gobgpd"
];
passthru.tests = { inherit (nixosTests) gobgpd; };
meta = with lib; {
description = "BGP implemented in Go";
mainProgram = "gobgpd";

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, cmake, libuuid, gnutls, makeWrapper }:
{ lib, stdenv, fetchurl, cmake, libuuid, gnutls, makeWrapper, nixosTests }:
stdenv.mkDerivation rec {
pname = "taskserver";
@ -31,6 +31,8 @@ stdenv.mkDerivation rec {
buildInputs = [ libuuid gnutls ];
nativeBuildInputs = [ cmake makeWrapper ];
passthru.tests = { inherit (nixosTests) taskserver; };
meta = {
description = "Server for synchronising Taskwarrior clients";
homepage = "https://taskwarrior.org";

View File

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
buildGoModule rec {
pname = "cadvisor";
@ -22,6 +22,8 @@ buildGoModule rec {
rm $out/bin/example
'';
passthru.tests = { inherit (nixosTests) cadvisor; };
meta = with lib; {
description = "Analyzes resource usage and performance characteristics of running docker containers";
mainProgram = "cadvisor";

View File

@ -1,5 +1,6 @@
{ lib, stdenv, fetchFromGitHub, makeWrapper, which, coreutils, rrdtool, perlPackages
, python3, ruby, jre8, nettools, bc
, nixosTests
}:
stdenv.mkDerivation rec {
@ -133,6 +134,8 @@ stdenv.mkDerivation rec {
done
'';
passthru.tests = { inherit (nixosTests) munin; };
meta = with lib; {
description = "Networked resource monitoring tool";
longDescription = ''

View File

@ -1,6 +1,7 @@
{ stdenv, callPackage, lib, sasl, boost
, Security, CoreFoundation, cctools
, avxSupport ? stdenv.hostPlatform.avxSupport
, nixosTests
}:
let
@ -29,4 +30,5 @@ buildMongoDB {
./asio-no-experimental-string-view-4-4.patch
./fix-gcc-Wno-exceptions-5.0.patch
] ++ variants.patches;
passthru.tests = { inherit (nixosTests) mongodb; };
}

View File

@ -22,4 +22,5 @@ buildMongoDB {
sha256 = "sha256-gWlE2b/NyGe2243iNCXzjcERIY8/4ZWI4Gjh5SF0tYA=";
})
];
# passthru.tests = { inherit (nixosTests) mongodb; }; # currently tests mongodb-5_0
}

View File

@ -28,6 +28,7 @@
{ version, sha256, patches ? []
, license ? lib.licenses.sspl
, avxSupport ? stdenv.hostPlatform.avxSupport
, passthru ? {}
}:
let
@ -59,7 +60,7 @@ let
inherit (lib) systems subtractLists;
in stdenv.mkDerivation rec {
inherit version;
inherit version passthru;
pname = "mongodb";
src = fetchFromGitHub {

View File

@ -1,4 +1,5 @@
{ pkgs, lib, stdenv, fetchFromGitHub, fetchzip, darktable, rawtherapee, ffmpeg_7, libheif, exiftool, imagemagick, makeWrapper, testers
, nixosTests
, librsvg }:
let
@ -78,6 +79,7 @@ stdenv.mkDerivation {
'';
passthru.tests.version = testers.testVersion { package = pkgs.photoprism; };
passthru.tests.photoprism = nixosTests.photoprism;
meta = with lib; {
homepage = "https://photoprism.app";

View File

@ -15,7 +15,10 @@ in
inherit (programs) plik plikd-unwrapped;
plikd = runCommand "plikd-${version}" { nativeBuildInputs = [ makeWrapper ]; } ''
plikd = runCommand "plikd-${version}" {
nativeBuildInputs = [ makeWrapper ];
inherit (programs.plikd-unwrapped) passthru;
} ''
mkdir -p $out/libexec/plikd/{bin,webapp} $out/bin
tar xf ${webapp} plik-${version}-linux-amd64/webapp/dist/
mv plik-*/webapp/dist $out/libexec/plikd/webapp

View File

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, makeWrapper, runCommand }:
{ lib, buildGoModule, fetchFromGitHub, makeWrapper, runCommand, nixosTests }:
let
version = "1.3.8";
@ -25,12 +25,16 @@ let
--replace '"0.0.0"' '"${version}"'
'';
passthru.tests = {
inherit (nixosTests) plikd;
};
in
{
plik = buildGoModule {
pname = "plik";
inherit version meta src vendorHash postPatch;
inherit version meta src vendorHash postPatch passthru;
subPackages = [ "client" ];
postInstall = ''
@ -40,7 +44,7 @@ in
plikd-unwrapped = buildGoModule {
pname = "plikd-unwrapped";
inherit version src vendorHash postPatch;
inherit version src vendorHash postPatch passthru;
subPackages = [ "server" ];
postFixup = ''

View File

@ -2,6 +2,7 @@
, buildGoModule
, fetchFromGitHub
, libxcrypt
, nixosTests
}:
buildGoModule rec {
@ -19,6 +20,8 @@ buildGoModule rec {
vendorHash = null;
passthru.tests = { inherit (nixosTests) portunus; };
meta = with lib; {
description = "Self-contained user/group management and authentication service";
homepage = "https://github.com/majewsky/portunus";

View File

@ -1,4 +1,4 @@
{ fetchFromGitHub, stdenv, lib }:
{ fetchFromGitHub, stdenv, lib, nixosTests }:
stdenv.mkDerivation rec {
pname = "postfixadmin";
@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
ln -sf /var/cache/postfixadmin/templates_c $out/
'';
passthru.tests = { inherit (nixosTests) postfixadmin; };
meta = {
description = "Web based virtual user administration interface for Postfix mail servers";
homepage = "https://postfixadmin.sourceforge.io/";

View File

@ -7,6 +7,7 @@
, gst_all_1
, check, libintl, meson, ninja, m4, wrapGAppsHook3
, fetchpatch2
, nixosTests
, x11Support ? false
@ -182,6 +183,8 @@ stdenv.mkDerivation rec {
done
'';
passthru.tests = { inherit (nixosTests) pulseaudio; };
meta = {
description = "Sound server for POSIX and Win32 systems";
homepage = "http://www.pulseaudio.org/";

View File

@ -1,4 +1,4 @@
{ fetchurl, lib, stdenv, buildEnv, roundcube, roundcubePlugins }:
{ fetchurl, lib, stdenv, buildEnv, roundcube, roundcubePlugins, nixosTests }:
stdenv.mkDerivation rec {
pname = "roundcube";
@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
paths = (f roundcubePlugins) ++ [ roundcube ];
};
passthru.tests = { inherit (nixosTests) roundcube; };
meta = {
description = "Open Source Webmail Software";
maintainers = with lib.maintainers; [ vskilet globin ma27 ];

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, cmake, python3, bison, openssl, readline, bzip2 }:
{ lib, stdenv, fetchurl, cmake, python3, bison, openssl, readline, bzip2, nixosTests }:
stdenv.mkDerivation (finalAttrs: {
pname = "monetdb";
@ -30,6 +30,8 @@ stdenv.mkDerivation (finalAttrs: {
$out/bin/Mconvert.py
'';
passthru.tests = { inherit (nixosTests) monetdb; };
meta = with lib; {
description = "Open source database system";
homepage = "https://www.monetdb.org/";

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, postgresql, unstableGitUpdater }:
{ lib, stdenv, fetchFromGitHub, postgresql, unstableGitUpdater, nixosTests }:
stdenv.mkDerivation {
pname = "pgjwt";
@ -19,6 +19,8 @@ stdenv.mkDerivation {
passthru.updateScript = unstableGitUpdater { };
passthru.tests = { inherit (nixosTests) pgjwt; };
meta = with lib; {
description = "PostgreSQL implementation of JSON Web Tokens";
longDescription = ''

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, postgresql, openssl, libkrb5, enableUnfree ? true }:
{ lib, stdenv, fetchFromGitHub, cmake, postgresql, openssl, libkrb5, nixosTests, enableUnfree ? true }:
stdenv.mkDerivation rec {
pname = "timescaledb${lib.optionalString (!enableUnfree) "-apache"}";
@ -32,6 +32,8 @@ stdenv.mkDerivation rec {
done
'';
passthru.tests = { inherit (nixosTests) timescaledb; };
meta = with lib; {
description = "Scales PostgreSQL for time-series data via automatic partitioning across time and space";
homepage = "https://www.timescale.com/";

View File

@ -4,6 +4,7 @@
, fetchFromGitHub
, fetchpatch
, trezor-udev-rules
, nixosTests
, AppKit
}:
@ -37,6 +38,8 @@ buildGoModule rec {
"-X main.githash=${commit}"
];
passthru.tests = { inherit (nixosTests) trezord; };
meta = with lib; {
description = "Trezor Communication Daemon aka Trezor Bridge";
homepage = "https://trezor.io";

View File

@ -2,6 +2,7 @@
, buildGoModule
, fetchFromGitHub
, go
, nixosTests
}:
buildGoModule rec {
@ -32,6 +33,8 @@ buildGoModule rec {
# Tests are broken.
doCheck = false;
passthru.tests = { inherit (nixosTests) trickster; };
meta = with lib; {
description = "Reverse proxy cache and time series dashboard accelerator";
mainProgram = "trickster";

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, libpcap }:
{ stdenv, lib, fetchurl, libpcap, nixosTests }:
stdenv.mkDerivation rec {
pname = "ucarp";
@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
# `__packed'; ucarp.o:/build/ucarp-1.5.2/src/ip_carp.h:73: first defined here
env.NIX_CFLAGS_COMPILE = "-fcommon";
passthru.tests = { inherit (nixosTests) ucarp; };
meta = with lib; {
description = "Userspace implementation of CARP";
longDescription = ''

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitLab, writeText }:
{ lib, stdenv, fetchFromGitLab, writeText, nixosTests }:
let
localConfig = writeText "config.local.php" ''
<?php
@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
cp ${localConfig} $out/lib/config.local.php
'';
passthru.tests = { inherit (nixosTests) jirafeau; };
meta = with lib; {
description = "Website permitting upload of a file in a simple way and giving a unique link to it";
license = licenses.agpl3Plus;

View File

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
buildGoModule {
pname = "morty";
@ -13,6 +13,8 @@ buildGoModule {
vendorHash = "sha256-3sllcoTDYQBAyAT7e9KeKNrlTEbgnoZc0Vt0ksQByvo=";
passthru.tests = { inherit (nixosTests) morty; };
meta = with lib; {
description = "Privacy aware web content sanitizer proxy as a service";
mainProgram = "morty";

View File

@ -11,6 +11,7 @@
stdenv,
systemd,
testers,
nixosTests,
}:
python3Packages.buildPythonApplication rec {
pname = "borgmatic";
@ -60,7 +61,10 @@ python3Packages.buildPythonApplication rec {
--replace "sleep " "${coreutils}/bin/sleep "
'';
passthru.tests.version = testers.testVersion { package = borgmatic; };
passthru.tests = {
version = testers.testVersion { package = borgmatic; };
inherit (nixosTests) borgmatic;
};
__darwinAllowLocalNetworking = true;

View File

@ -5,6 +5,7 @@
, pkg-config
, libpcap
, zlib
, nixosTests
}:
stdenv.mkDerivation rec {
@ -47,6 +48,8 @@ stdenv.mkDerivation rec {
doCheck = true;
passthru.tests = { inherit (nixosTests) moosefs; };
meta = with lib; {
homepage = "https://moosefs.com";
description = "Open Source, Petabyte, Fault-Tolerant, Highly Performing, Scalable Network Distributed File System";

View File

@ -1,5 +1,6 @@
{ lib, stdenv, fetchurl, fetchpatch, bison, flex, autoreconfHook
, openssl, db, attr, perl, tcsh
, nixosTests
} :
stdenv.mkDerivation rec {
@ -60,6 +61,8 @@ stdenv.mkDerivation rec {
sed -i 's:openssl:${openssl}/bin/openssl:' $out/bin/pvfs2-gen-keys.sh
'';
passthru.tests = { inherit (nixosTests) orangefs; };
meta = with lib; {
description = "Scale-out network file system for use on high-end computing systems";
homepage = "http://www.orangefs.org/";

View File

@ -8,6 +8,7 @@
, git
, inetutils
, stdenv
, nixosTests
}:
let
@ -133,6 +134,7 @@ python.pkgs.buildPythonApplication rec {
passthru = {
dashboard = python.pkgs.esphome-dashboard;
updateScript = callPackage ./update.nix { };
tests = { inherit (nixosTests) esphome; };
};
meta = with lib; {

View File

@ -3,6 +3,7 @@
, fetchFromGitHub
, installShellFiles
, testers
, nixosTests
, opentelemetry-collector
}:
@ -41,10 +42,13 @@ buildGoModule rec {
--zsh <($out/bin/otelcorecol completion zsh)
'';
passthru.tests.version = testers.testVersion {
inherit version;
package = opentelemetry-collector;
command = "otelcorecol -v";
passthru.tests = {
version = testers.testVersion {
inherit version;
package = opentelemetry-collector;
command = "otelcorecol -v";
};
inherit (nixosTests) opentelemetry-collector;
};
meta = with lib; {

View File

@ -7,6 +7,7 @@
, cmake
, ninja
, vala
, nixosTests
, wrapGAppsHook3 }:
stdenv.mkDerivation rec {
@ -33,6 +34,8 @@ stdenv.mkDerivation rec {
gtk3
];
passthru.tests = { inherit (nixosTests) plotinus; };
meta = with lib; {
description = "Searchable command palette in every modern GTK application";
homepage = "https://github.com/p-e-w/plotinus";

Some files were not shown because too many files have changed in this diff Show More