summary refs log tree commit diff
path: root/pkgs/tools/filesystems/e2fsprogs
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2017-02-26 10:56:11 +0100
committerVladimír Čunát <vcunat@gmail.com>2017-02-26 10:56:11 +0100
commit6afdc516b58ce04cea38debbdc816641651f405d (patch)
tree2daef47b0b7f212ab9d469da68edbff81f589d8e /pkgs/tools/filesystems/e2fsprogs
parent57212c947b5a289fe4ee12e58a1246b608ef3fee (diff)
downloadnixpkgs-6afdc516b58ce04cea38debbdc816641651f405d.tar
nixpkgs-6afdc516b58ce04cea38debbdc816641651f405d.tar.gz
nixpkgs-6afdc516b58ce04cea38debbdc816641651f405d.tar.bz2
nixpkgs-6afdc516b58ce04cea38debbdc816641651f405d.tar.lz
nixpkgs-6afdc516b58ce04cea38debbdc816641651f405d.tar.xz
nixpkgs-6afdc516b58ce04cea38debbdc816641651f405d.tar.zst
nixpkgs-6afdc516b58ce04cea38debbdc816641651f405d.zip
e2fsprogs: style nitpicks, add meta.license
Diffstat (limited to 'pkgs/tools/filesystems/e2fsprogs')
-rw-r--r--pkgs/tools/filesystems/e2fsprogs/default.nix20
1 files changed, 12 insertions, 8 deletions
diff --git a/pkgs/tools/filesystems/e2fsprogs/default.nix b/pkgs/tools/filesystems/e2fsprogs/default.nix
index 739b7e7c975..270637f7d37 100644
--- a/pkgs/tools/filesystems/e2fsprogs/default.nix
+++ b/pkgs/tools/filesystems/e2fsprogs/default.nix
@@ -19,11 +19,14 @@ stdenv.mkDerivation rec {
     '';
   };
 
-  configureFlags = 
-    if stdenv.isLinux then ["--enable-elf-shlibs" "--enable-symlink-install" "--enable-relative-symlinks"
-    # libuuid, libblkid, uuidd and fsck are in util-linux-ng (the "libuuid" dependency).
-    "--disable-libuuid" "--disable-uuidd" "--disable-libblkid" "--disable-fsck"]
-    else ["--enable-libuuid --disable-e2initrd-helper"]
+  configureFlags =
+    if stdenv.isLinux then [
+      "--enable-elf-shlibs" "--enable-symlink-install" "--enable-relative-symlinks"
+      # libuuid, libblkid, uuidd and fsck are in util-linux-ng (the "libuuid" dependency).
+      "--disable-libuuid" "--disable-uuidd" "--disable-libblkid" "--disable-fsck"
+    ] else [
+      "--enable-libuuid --disable-e2initrd-helper"
+    ]
   ;
 
   # hacky way to make it install *.pc
@@ -34,10 +37,11 @@ stdenv.mkDerivation rec {
 
   enableParallelBuilding = true;
 
-  meta = {
+  meta = with stdenv.lib; {
     homepage = http://e2fsprogs.sourceforge.net/;
     description = "Tools for creating and checking ext2/ext3/ext4 filesystems";
-    platforms = stdenv.lib.platforms.linux;
-    maintainers = [ stdenv.lib.maintainers.eelco ];
+    license = licenses.gpl2;
+    platforms = platforms.linux;
+    maintainers = [ maintainers.eelco ];
   };
 }