fuse: 2.9.5 -> 2.9.7

This commit is contained in:
rushmorem 2016-09-14 20:26:51 +02:00 committed by Michael Raskin
parent 2d2c311304
commit 7be7620e51

View File

@ -1,16 +1,21 @@
{ stdenv, fetchurl, utillinux }: { stdenv, fetchFromGitHub, utillinux
,autoconf, automake, libtool, gettext }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "fuse-2.9.5"; name = "fuse-${version}";
version = "2.9.7";
#builder = ./builder.sh; #builder = ./builder.sh;
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/libfuse/libfuse/releases/download/fuse_2_9_5/${name}.tar.gz"; owner = "libfuse";
sha256 = "1dfvbi1p57svbv2sfnbqwpnsk219spvjnlapf35azhgzqlf3g7sp"; repo = "libfuse";
rev = name;
sha256 = "1wyjjfb7p4jrkk15zryzv33096a5fmsdyr2p4b00dd819wnly2n2";
}; };
buildInputs = [ utillinux ]; buildInputs = [ utillinux autoconf automake libtool gettext ];
inherit utillinux; inherit utillinux;
@ -26,12 +31,15 @@ stdenv.mkDerivation rec {
export NIX_CFLAGS_COMPILE="-DFUSERMOUNT_DIR=\"/var/setuid-wrappers\"" export NIX_CFLAGS_COMPILE="-DFUSERMOUNT_DIR=\"/var/setuid-wrappers\""
sed -e 's@/bin/@${utillinux}/bin/@g' -i lib/mount_util.c sed -e 's@/bin/@${utillinux}/bin/@g' -i lib/mount_util.c
sed -e 's@CONFIG_RPATH=/usr/share/gettext/config.rpath@CONFIG_RPATH=${gettext}/share/gettext/config.rpath@' -i makeconf.sh
./makeconf.sh
''; '';
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = http://fuse.sourceforge.net/; homepage = https://github.com/libfuse/libfuse;
description = "Kernel module and library that allows filesystems to be implemented in user space"; description = "Kernel module and library that allows filesystems to be implemented in user space";
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ maintainers.mornfall ]; maintainers = [ maintainers.mornfall ];