gptfdisk: add NixOS test and maintainer

This commit is contained in:
Emery Hemingway 2021-03-26 11:29:04 +01:00
parent 90ad480812
commit 8a93c904a1

View file

@ -1,4 +1,4 @@
{ fetchurl, lib, stdenv, libuuid, popt, icu, ncurses }:
{ fetchurl, lib, stdenv, libuuid, popt, icu, ncurses, nixosTests }:
stdenv.mkDerivation rec {
pname = "gptfdisk";
@ -37,10 +37,15 @@ stdenv.mkDerivation rec {
done
'';
passthru.tests = lib.optionalAttrs stdenv.hostPlatform.isx86 {
installer-simpleLabels = nixosTests.installer.simpleLabels;
};
meta = with lib; {
description = "Set of text-mode partitioning tools for Globally Unique Identifier (GUID) Partition Table (GPT) disks";
license = licenses.gpl2;
homepage = "https://www.rodsbooks.com/gdisk/";
platforms = platforms.all;
maintainers = [ maintainers.ehmry ];
};
}