git.iko.soy/typeable/nixpkgs
on master help sign in
fuse: 2.9.5 -> 2.9.7
commit7be7620e517fa33605850e4d9b12d71cb5f74753 authorrushmorem <rushmore@webenchanter.com> dateWed 14 Sep 2016, 20:26 (10 years ago) parent2d2c311
1 file changed+15−7
pkgs/os-specific/linux/fuse/default.nix+15−7
pkgs/os-specific/linux/fuse/default.nix+15−7
@@ -1,16 +1,21 @@
1−{ stdenv, fetchurl, utillinux }:
1+{ stdenv, fetchFromGitHub, utillinux
2+ ,autoconf, automake, libtool, gettext }:
23
34stdenv.mkDerivation rec {
4− name = "fuse-2.9.5";
5+ name = "fuse-${version}";
6+
7+ version = "2.9.7";
58
69 #builder = ./builder.sh;
710
8− src = fetchurl {
9− url = "https://github.com/libfuse/libfuse/releases/download/fuse_2_9_5/${name}.tar.gz";
10− sha256 = "1dfvbi1p57svbv2sfnbqwpnsk219spvjnlapf35azhgzqlf3g7sp";
11+ src = fetchFromGitHub {
12+ owner = "libfuse";
13+ repo = "libfuse";
14+ rev = name;
15+ sha256 = "1wyjjfb7p4jrkk15zryzv33096a5fmsdyr2p4b00dd819wnly2n2";
1116 };
1217
13− buildInputs = [ utillinux ];
18+ buildInputs = [ utillinux autoconf automake libtool gettext ];
1419
1520 inherit utillinux;
1621
@@ -26,12 +31,15 @@ stdenv.mkDerivation rec {
2631 export NIX_CFLAGS_COMPILE="-DFUSERMOUNT_DIR=\"/var/setuid-wrappers\""
2732
2833 sed -e 's@/bin/@${utillinux}/bin/@g' -i lib/mount_util.c
34+ sed -e 's@CONFIG_RPATH=/usr/share/gettext/config.rpath@CONFIG_RPATH=${gettext}/share/gettext/config.rpath@' -i makeconf.sh
35+
36+ ./makeconf.sh
2937 '';
3038
3139 enableParallelBuilding = true;
3240
3341 meta = with stdenv.lib; {
34− homepage = http://fuse.sourceforge.net/;
42+ homepage = https://github.com/libfuse/libfuse;
3543 description = "Kernel module and library that allows filesystems to be implemented in user space";
3644 platforms = platforms.linux;
3745 maintainers = [ maintainers.mornfall ];