1{ fetchurl, lib, stdenv, pkg-config, fuse, openssl, asciidoc
2, docbook_xml_dtd_45, docbook_xsl , libxml2, libxslt }:
3
4stdenv.mkDerivation rec {
5 pname = "httpfs2";
6 version = "0.1.5";
7
8 src = fetchurl {
9 url = "mirror://sourceforge/httpfs/httpfs2/httpfs2-${version}.tar.gz";
10 sha256 = "1h8ggvhw30n2r6w11n1s458ypggdqx6ldwd61ma4yd7binrlpjq1";
11 };
12
13 nativeBuildInputs = [ pkg-config ];
14 buildInputs =
15 [ fuse openssl
16 asciidoc docbook_xml_dtd_45 docbook_xsl libxml2 libxslt
17 ];
18
19 installPhase =
20 '' mkdir -p "$out/bin"
21 cp -v httpfs2 "$out/bin"
22
23 mkdir -p "$out/share/man/man1"
24 cp -v *.1 "$out/share/man/man1"
25 '';
26
27 meta = {
28 description = "FUSE-based HTTP filesystem for Linux";
29
30 homepage = "https://httpfs.sourceforge.net/";
31
32 license = lib.licenses.gpl2Plus;
33
34 platforms = lib.platforms.unix;
35 maintainers = [ ];
36 };
37}