2021-01-17 09:17:16 +00:00
|
|
|
{ fetchurl, lib, stdenv, pkg-config, fuse, openssl, asciidoc
|
2010-06-17 12:44:40 +00:00
|
|
|
, docbook_xml_dtd_45, docbook_xsl , libxml2, libxslt }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-12 18:49:29 +00:00
|
|
|
pname = "httpfs2";
|
|
|
|
version = "0.1.5";
|
2010-06-17 12:44:40 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-12 18:49:29 +00:00
|
|
|
url = "mirror://sourceforge/httpfs/httpfs2/httpfs2-${version}.tar.gz";
|
2013-12-15 22:48:08 +00:00
|
|
|
sha256 = "1h8ggvhw30n2r6w11n1s458ypggdqx6ldwd61ma4yd7binrlpjq1";
|
2010-06-17 12:44:40 +00:00
|
|
|
};
|
|
|
|
|
2022-09-25 02:49:25 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2010-06-17 12:44:40 +00:00
|
|
|
buildInputs =
|
2022-09-25 02:49:25 +00:00
|
|
|
[ fuse openssl
|
2010-06-17 12:44:40 +00:00
|
|
|
asciidoc docbook_xml_dtd_45 docbook_xsl libxml2 libxslt
|
|
|
|
];
|
|
|
|
|
2024-10-21 17:58:13 +00:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p "$out/bin"
|
|
|
|
cp -v httpfs2 "$out/bin"
|
2010-06-17 12:44:40 +00:00
|
|
|
|
2024-10-21 17:58:13 +00:00
|
|
|
mkdir -p "$out/share/man/man1"
|
|
|
|
cp -v *.1 "$out/share/man/man1"
|
|
|
|
'';
|
2010-06-17 12:44:40 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-10-26 04:08:40 +00:00
|
|
|
description = "FUSE-based HTTP filesystem for Linux";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "httpfs2";
|
2010-06-17 12:44:40 +00:00
|
|
|
|
2023-01-21 21:41:12 +00:00
|
|
|
homepage = "https://httpfs.sourceforge.net/";
|
2010-06-17 12:44:40 +00:00
|
|
|
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2010-06-17 12:44:40 +00:00
|
|
|
|
2021-03-27 07:09:11 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2013-08-16 21:44:33 +00:00
|
|
|
maintainers = [ ];
|
2010-06-17 12:44:40 +00:00
|
|
|
};
|
|
|
|
}
|