From ff1bfcaefb16044497cf6658c296fc14839ecd19 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 8 Feb 2012 15:45:26 +0000 Subject: [PATCH] * Added fuse-zip, a FUSE filesystem for accessing zip files. svn path=/nixpkgs/trunk/; revision=32143 --- pkgs/tools/filesystems/fuse-zip/default.nix | 21 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/tools/filesystems/fuse-zip/default.nix diff --git a/pkgs/tools/filesystems/fuse-zip/default.nix b/pkgs/tools/filesystems/fuse-zip/default.nix new file mode 100644 index 000000000000..346b11015f46 --- /dev/null +++ b/pkgs/tools/filesystems/fuse-zip/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl, pkgconfig, fuse, libzip, zlib }: + +stdenv.mkDerivation rec { + name = "fuse-zip-0.2.13"; + + src = fetchurl { + url = "http://fuse-zip.googlecode.com/files/${name}.tar.gz"; + sha1 = "9cfa00e38a59d4e06fd47bfaca75ad5e299ecc6b"; + }; + + buildInputs = [ pkgconfig fuse libzip zlib ]; + + makeFlags = "INSTALLPREFIX=$(out)"; + + meta = { + homepage = http://code.google.com/p/fuse-zip/; + description = "A FUSE-based filesystem that allows read and write access to ZIP files"; + platforms = stdenv.lib.platforms.linux; + license = stdenv.lib.licenses.gpl3Plus; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 06c4a8ee08c5..3476b7e1f936 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -706,6 +706,8 @@ let fsfs = callPackage ../tools/filesystems/fsfs { }; + fuse_zip = callPackage ../tools/filesystems/fuse-zip { }; + dos2unix = callPackage ../tools/text/dos2unix { }; uni2ascii = callPackage ../tools/text/uni2ascii { };