diff --git a/pkgs/tools/filesystems/mount-zip/default.nix b/pkgs/tools/filesystems/mount-zip/default.nix new file mode 100644 index 000000000000..678abe4892cd --- /dev/null +++ b/pkgs/tools/filesystems/mount-zip/default.nix @@ -0,0 +1,32 @@ +{ lib, stdenv, fetchFromGitHub, fuse, boost, gcc, icu, libzip, pandoc +, pkg-config }: + +stdenv.mkDerivation (finalAttrs: { + pname = "mount-zip"; + version = "1.0.8"; + + src = fetchFromGitHub { + owner = "google"; + repo = "mount-zip"; + rev = "v${finalAttrs.version}"; + hash = "sha256-+slN5eedSddYKgiNLq4KZ5BXwvGQw9859sVfkcIBYeo="; + }; + + 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; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8105c1c69cc3..abb1ac47b66a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10329,6 +10329,8 @@ with pkgs; motrix = callPackage ../tools/networking/motrix { }; + mount-zip = callPackage ../tools/filesystems/mount-zip { }; + mpage = callPackage ../tools/text/mpage { }; mprime = callPackage ../tools/misc/mprime { };