about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/filesystems/httpfs/default.nix
blob: 4cf618826b8fbf2acfa0784365fd1985546a72f1 (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
36
37
38
{ fetchurl, lib, stdenv, pkg-config, fuse, openssl, asciidoc
, docbook_xml_dtd_45, docbook_xsl , libxml2, libxslt }:

stdenv.mkDerivation rec {
  pname = "httpfs2";
  version = "0.1.5";

  src = fetchurl {
    url = "mirror://sourceforge/httpfs/httpfs2/httpfs2-${version}.tar.gz";
    sha256 = "1h8ggvhw30n2r6w11n1s458ypggdqx6ldwd61ma4yd7binrlpjq1";
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs =
    [ 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 = "FUSE-based HTTP filesystem for Linux";
    mainProgram = "httpfs2";

    homepage = "https://httpfs.sourceforge.net/";

    license = lib.licenses.gpl2Plus;

    platforms = lib.platforms.unix;
    maintainers = [ ];
  };
}