mount-zip: 1.0.15 -> 1.6 (#373348)

This commit is contained in:
Gaétan Lepage
2025-02-13 19:00:33 +01:00
committed by GitHub
+23 -7
View File
@@ -8,17 +8,19 @@
libzip,
pandoc,
pkg-config,
versionCheckHook,
gitUpdater,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "mount-zip";
version = "1.0.15";
version = "1.6";
src = fetchFromGitHub {
owner = "google";
repo = "mount-zip";
rev = "v${finalAttrs.version}";
hash = "sha256-7S+mZ6jejD9wCqFYfJ0mE2jCKt77S64LEAgAIV2DPqA=";
hash = "sha256-akiZwuwrsj+62TmZEJamlvQ1rSyFA4hrH0TcZ8T97z4=";
};
strictDeps = true;
@@ -35,19 +37,33 @@ stdenv.mkDerivation (finalAttrs: {
libzip
];
makeFlags = [ "prefix=$(out)" ];
makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
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 = licenses.gpl3;
maintainers = with maintainers; [ arti5an ];
platforms = platforms.linux;
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [
arti5an
progrm_jarvis
];
platforms = lib.platforms.linux;
mainProgram = "mount-zip";
};
})