1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

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

View file

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