depot/third_party/nixpkgs/pkgs/tools/filesystems/mount-zip/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

33 lines
911 B
Nix

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