1{ lib, stdenv, fetchurl, pkg-config, fuse, libarchive }:
2
3stdenv.mkDerivation rec {
4 pname = "archivemount";
5 version = "0.9.1";
6
7 src = fetchurl {
8 url = "https://www.cybernoia.de/software/archivemount/archivemount-${version}.tar.gz";
9 sha256 = "1cy5b6qril9c3ry6fv7ir87s8iyy5vxxmbyx90dm86fbra0vjaf5";
10 };
11
12 nativeBuildInputs = [ pkg-config ];
13 buildInputs = [ fuse libarchive ];
14
15 meta = {
16 description = "Gateway between FUSE and libarchive: allows mounting of cpio, .tar.gz, .tar.bz2 archives";
17 license = lib.licenses.gpl2;
18 platforms = lib.platforms.unix;
19 };
20}