2021-12-06 16:07:01 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, curl, expat, fuse, gumbo, libuuid }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "httpdirfs";
|
|
|
|
version = "1.2.3";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fangfufu";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-rdeBlAV3t/si9x488tirUGLZRYAxh13zdRIQe0OPd+A=";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ curl expat fuse gumbo libuuid ];
|
|
|
|
|
|
|
|
makeFlags = [ "prefix=${placeholder "out"}" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A FUSE filesystem for HTTP directory listings";
|
|
|
|
homepage = "https://github.com/fangfufu/httpdirfs";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ sbruder schnusch ];
|
|
|
|
platforms = platforms.unix;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "httpdirfs";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
}
|