depot/third_party/nixpkgs/pkgs/tools/filesystems/archivemount/default.nix

23 lines
585 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, fuse, libarchive }:
let
name = "archivemount-0.9.1";
in
stdenv.mkDerivation {
inherit name;
src = fetchurl {
url = "https://www.cybernoia.de/software/archivemount/${name}.tar.gz";
sha256 = "1cy5b6qril9c3ry6fv7ir87s8iyy5vxxmbyx90dm86fbra0vjaf5";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ fuse libarchive ];
meta = {
description = "Gateway between FUSE and libarchive: allows mounting of cpio, .tar.gz, .tar.bz2 archives";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}