From 5194e10968e25af637eebfeb710650a395869554 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sat, 1 Sep 2018 14:16:42 +0200 Subject: [PATCH] nut: add licenses --- pkgs/applications/misc/nut/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/nut/default.nix b/pkgs/applications/misc/nut/default.nix index 4d53203ccd4..816918ca063 100644 --- a/pkgs/applications/misc/nut/default.nix +++ b/pkgs/applications/misc/nut/default.nix @@ -32,7 +32,7 @@ stdenv.mkDerivation rec { "$out/lib:${neon}/lib:${libusb.out}/lib:${avahi}/lib:${freeipmi}/lib" ''; - meta = { + meta = with stdenv.lib; { description = "Network UPS Tools"; longDescription = '' Network UPS Tools is a collection of programs which provide a common @@ -41,8 +41,9 @@ stdenv.mkDerivation rec { ''; homepage = http://www.networkupstools.org/; repositories.git = https://github.com/networkupstools/nut.git; - platforms = with stdenv.lib.platforms; linux; - maintainers = with stdenv.lib.maintainers; [ pierron ]; + platforms = platforms.linux; + maintainers = [ maintainers.pierron ]; + license = with licenses; [ gpl1Plus gpl2Plus gpl3Plus ]; priority = 10; }; }