Merge #230362: cpio: add passthru.tests

This commit is contained in:
Vladimír Čunát 2023-05-26 07:39:43 +02:00
commit c957c3ace5
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -1,4 +1,13 @@
{ lib, stdenv, fetchurl }:
{ lib
, stdenv
, fetchurl
# for passthru.tests
, git
, libguestfs
, nixosTests
, rpm
}:
stdenv.mkDerivation rec {
pname = "cpio";
@ -17,6 +26,12 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
passthru.tests = {
inherit libguestfs rpm;
git = git.tests.withInstallCheck;
initrd = nixosTests.systemd-initrd-simple;
};
meta = with lib; {
homepage = "https://www.gnu.org/software/cpio/";
description = "A program to create or extract from cpio archives";