1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

ntfs-3g: 2014.2.15 -> 2015.3.14

This commit is contained in:
William A. Kennington III 2015-04-19 00:37:46 -07:00
parent cebecb3ef6
commit 5233fef635

View file

@ -3,15 +3,15 @@
stdenv.mkDerivation rec {
pname = "ntfs-3g";
version = "2014.2.15";
version = "2015.3.14";
name = "${pname}-${version}";
buildInputs = [libuuid] ++ stdenv.lib.optionals crypto [gnutls libgcrypt];
buildInputs = [ libuuid ] ++ stdenv.lib.optionals crypto [ gnutls libgcrypt ];
nativeBuildInputs = stdenv.lib.optional crypto pkgconfig;
src = fetchurl {
url = "http://tuxera.com/opensource/ntfs-3g_ntfsprogs-${version}.tgz";
sha256 = "0mjv98m2j0kdzkjiqd2ra1akhb8milx8nwcx7hd26jxi1i09jc2c";
sha256 = "1wiqcmy07y02k3iqq56cscnhg5syisbjj9mxfaid85l3bl0rdycp";
};
patchPhase = ''
@ -22,11 +22,14 @@ stdenv.mkDerivation rec {
--replace /bin/umount ${utillinux}/bin/umount
'';
configureFlags =
''
--disable-ldconfig --exec-prefix=''${prefix} --enable-mount-helper
--enable-posix-acls --enable-xattr-mappings --${if crypto then "enable" else "disable"}-crypto
'';
configureFlags = [
"--disable-ldconfig"
"--exec-prefix=\${prefix}"
"--enable-mount-helper"
"--enable-posix-acls"
"--enable-xattr-mappings"
"--${if crypto then "enable" else "disable"}-crypto"
];
postInstall =
''