depot/third_party/nixpkgs/pkgs/tools/filesystems/mount-zip/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

53 lines
971 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
fuse,
boost,
icu,
libzip,
pandoc,
pkg-config,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "mount-zip";
version = "1.0.15";
src = fetchFromGitHub {
owner = "google";
repo = "mount-zip";
rev = "v${finalAttrs.version}";
hash = "sha256-7S+mZ6jejD9wCqFYfJ0mE2jCKt77S64LEAgAIV2DPqA=";
};
strictDeps = true;
nativeBuildInputs = [
pandoc
pkg-config
];
buildInputs = [
boost
fuse
icu
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;
mainProgram = "mount-zip";
};
})