about summary refs log tree commit diff
path: root/pkgs/tools/filesystems/httpfs/default.nix
blob: bbb6d2efc7b242360b5479b52156704723895534 (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
24
25
26
27
28
29
30
31
32
33
34
35
{ fetchurl, stdenv, pkgconfig, fuse, openssl, asciidoc
, docbook_xml_dtd_45, docbook_xsl , libxml2, libxslt }:

stdenv.mkDerivation rec {
  name = "httpfs2-0.1.4";

  src = fetchurl {
    url = "mirror://sourceforge/httpfs/httpfs2/${name}.tar.gz";
    sha256 = "0vlp6i119lz4ybnrd26hvvwms3h5d7x3jly5nzyyfcw24ngvpk7p";
  };

  buildInputs =
    [ pkgconfig fuse openssl
      asciidoc docbook_xml_dtd_45 docbook_xsl libxml2 libxslt
    ];

  installPhase =
    '' mkdir -p "$out/bin"
       cp -v httpfs2 "$out/bin"

       mkdir -p "$out/share/man/man1"
       cp -v *.1 "$out/share/man/man1"
    '';

  meta = {
    description = "HTTPFS2, a FUSE-based HTTP file system for Linux";

    homepage = http://httpfs.sourceforge.net/;

    license = "GPLv2+";

    platforms = stdenv.lib.platforms.linux;
    maintainers = [ ];
  };
}