summary refs log tree commit diff
path: root/pkgs/tools/filesystems/fuse-zip/default.nix
blob: a5ac74fe47a50208abdee2efa8f3592552f1f26e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ 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";
  };

  patches = [ ./libzip.patch ]; # problems with new libzip; from Gentoo

  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;
  };
}