Files
nixpkgs/pkgs/by-name/mo/mount-zip/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

70 lines
1.3 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
fuse3,
boost,
icu,
libzip,
pandoc,
pkg-config,
versionCheckHook,
gitUpdater,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "mount-zip";
version = "1.10";
src = fetchFromGitHub {
owner = "google";
repo = "mount-zip";
rev = "v${finalAttrs.version}";
hash = "sha256-d6cjqsqIYFPuAWKxjlLXCWNKT33xbMW8gLriZWj0SSc=";
};
strictDeps = true;
nativeBuildInputs = [
pandoc
pkg-config
];
buildInputs = [
boost
fuse3
icu
libzip
];
makeFlags = [ "PREFIX=$(out)" ];
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {
updateScript = gitUpdater { rev-prefix = "v"; };
};
meta = {
description = "FUSE file system for ZIP archives";
homepage = "https://github.com/google/mount-zip";
changelog = "https://github.com/google/mount-zip/releases/tag/v${finalAttrs.version}";
longDescription = ''
mount-zip is a tool allowing to open, explore and extract ZIP archives.
This project is a fork of fuse-zip.
'';
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [
arti5an
progrm_jarvis
];
platforms = lib.platforms.linux;
mainProgram = "mount-zip";
};
})