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