1 { lib, stdenv, fetchFromGitHub, fuse, p7zip, autoconf, automake, pkg-config, makeWrapper }:
3 stdenv.mkDerivation rec {
5 version = "unstable-2014-06-08";
7 src = fetchFromGitHub {
10 rev = "eb5efb1f304c2b7bc2e0389ba06c9bf2ac4b932c";
11 sha256 = "17v1gcmg5q661b047zxjar735i4d3508dimw1x3z1pk4d1zjhp3x";
14 nativeBuildInputs = [ pkg-config makeWrapper autoconf automake ];
15 buildInputs = [ fuse ];
17 preConfigure = "./autogen.sh";
19 libs = lib.makeLibraryPath [ p7zip ]; # 'cause 7z.so is loaded manually
21 wrapProgram $out/bin/${pname} --suffix LD_LIBRARY_PATH : "${libs}/p7zip"
23 mkdir -p $out/share/doc/${pname}
24 cp TODO README NEWS COPYING ChangeLog AUTHORS $out/share/doc/${pname}/
28 inherit (src.homepage);
29 description = "A FUSE-based filesystem that uses the p7zip library";
31 fuse-7z-ng is a FUSE file system that uses the p7zip
32 library to access all archive formats supported by 7-zip.
34 This project is a fork of fuse-7z ( https://gitorious.org/fuse-7z/fuse-7z ).
36 platforms = platforms.linux;
37 license = licenses.gpl3Plus;