8 stdenv.mkDerivation rec {
12 src = fetchFromGitHub {
16 sha256 = "sha256-x3QBnnwt9pXT0egOJ2rnUcZP99y9eVcw3rNTkdH2LYs=";
20 substituteInPlace get-version.sh \
21 --replace "which echo" "echo"
24 nativeBuildInputs = [ autoreconfHook ];
25 buildInputs = [ fuse unrar ];
28 "--with-unrar=${unrar.dev}/include/unrar"
29 "--disable-static-unrar"
33 description = "FUSE file system for reading RAR archives";
34 homepage = "https://hasse69.github.io/rar2fs/";
35 license = licenses.gpl3Plus;
36 maintainers = with maintainers; [ kraem ];
37 platforms = with platforms; linux ++ freebsd;