Unverified Commit 95ff7274 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

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

parents 74b68c6f 3aafac93
Loading
Loading
Loading
Loading
+23 −7
Original line number Diff line number Diff line
@@ -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";
  };
})