e2fsprogs: style nitpicks, add meta.license

This commit is contained in:
Vladimír Čunát 2017-02-26 10:56:11 +01:00
parent 57212c947b
commit 6afdc516b5
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

@ -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 ];
};
}