summary refs log tree commit diff
path: root/pkgs/tools/networking/mailutils/default.nix
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-05-27 21:56:04 +0200
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-05-27 22:00:06 +0200
commitb2d7f4b1ba937951fefdd026314512ab0be91508 (patch)
treed1f7fc189bac34f376069294d67abfa3c8551693 /pkgs/tools/networking/mailutils/default.nix
parent87fd373aac3a1aaa84ddb328d43074aeebc1b133 (diff)
downloadnixpkgs-b2d7f4b1ba937951fefdd026314512ab0be91508.tar
nixpkgs-b2d7f4b1ba937951fefdd026314512ab0be91508.tar.gz
nixpkgs-b2d7f4b1ba937951fefdd026314512ab0be91508.tar.bz2
nixpkgs-b2d7f4b1ba937951fefdd026314512ab0be91508.tar.lz
nixpkgs-b2d7f4b1ba937951fefdd026314512ab0be91508.tar.xz
nixpkgs-b2d7f4b1ba937951fefdd026314512ab0be91508.tar.zst
nixpkgs-b2d7f4b1ba937951fefdd026314512ab0be91508.zip
Use common licence attributes from lib/licenses.nix
Many (less easily automatically converted) old-style strings
remain.

Where there was any possible ambiguity about the exact version or
variant intended, nothing was changed. IANAL, nor a search robot.

Use `with stdenv.lib` wherever it makes sense.
Diffstat (limited to 'pkgs/tools/networking/mailutils/default.nix')
-rw-r--r--pkgs/tools/networking/mailutils/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/tools/networking/mailutils/default.nix b/pkgs/tools/networking/mailutils/default.nix
index 0b57a752a37..cbca408f084 100644
--- a/pkgs/tools/networking/mailutils/default.nix
+++ b/pkgs/tools/networking/mailutils/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
   # Tests fail since gcc 4.8
   doCheck = false;
 
-  meta = {
+  meta = with stdenv.lib; {
     description = "Rich and powerful protocol-independent mail framework";
 
     longDescription = ''
@@ -46,13 +46,16 @@ stdenv.mkDerivation rec {
       message handling system.
     '';
 
-    license = [ "LGPLv3+" /* libraries */  "GPLv3+" /* tools */ ];
+    license = with licenses; [
+      lgpl3Plus /* libraries */
+      gpl3Plus /* tools */
+    ];
 
     maintainers = [ ];
 
     homepage = http://www.gnu.org/software/mailutils/;
 
     # Some of the dependencies fail to build on {cyg,dar}win.
-    platforms = stdenv.lib.platforms.gnu;
+    platforms = platforms.gnu;
   };
 }