2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
fuse,
|
|
|
|
boost,
|
|
|
|
icu,
|
|
|
|
libzip,
|
|
|
|
pandoc,
|
|
|
|
pkg-config,
|
|
|
|
}:
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "mount-zip";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "1.0.15";
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "mount-zip";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2024-06-05 15:53:02 +00:00
|
|
|
hash = "sha256-7S+mZ6jejD9wCqFYfJ0mE2jCKt77S64LEAgAIV2DPqA=";
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pandoc
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
boost
|
|
|
|
fuse
|
|
|
|
icu
|
|
|
|
libzip
|
|
|
|
];
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
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;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "mount-zip";
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
})
|