nixpkgs/pkgs/tools/filesystems/mount-zip/default.nix
2023-07-26 15:27:46 +00:00

32 lines
879 B
Nix

{ lib, stdenv, fetchFromGitHub, fuse, boost, gcc, icu, libzip, pandoc
, pkg-config }:
stdenv.mkDerivation (finalAttrs: {
pname = "mount-zip";
version = "1.0.8";
src = fetchFromGitHub {
owner = "google";
repo = "mount-zip";
rev = "v${finalAttrs.version}";
hash = "sha256-+slN5eedSddYKgiNLq4KZ5BXwvGQw9859sVfkcIBYeo=";
};
nativeBuildInputs = [ boost gcc icu pandoc pkg-config ];
buildInputs = [ fuse libzip ];
makeFlags = [ "prefix=$(out)" ];
meta = with lib; {
description = "FUSE file system for ZIP archives";
homepage = "https://github.com/google/mount-zip";
longDescription = ''
mount-zip is a tool allowing to open, explore and extract ZIP archives.
This project is a fork of fuse-zip.
'';
license = licenses.gpl3;
maintainers = with maintainers; [ arti5an ];
platforms = platforms.linux;
};
})