Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 26 lines 728 B view raw
1{ lib, stdenv, fetchFromGitHub, pkg-config, curl, expat, fuse, gumbo, libuuid }: 2 3stdenv.mkDerivation rec { 4 pname = "httpdirfs"; 5 version = "1.2.3"; 6 7 src = fetchFromGitHub { 8 owner = "fangfufu"; 9 repo = pname; 10 rev = version; 11 sha256 = "sha256-rdeBlAV3t/si9x488tirUGLZRYAxh13zdRIQe0OPd+A="; 12 }; 13 14 nativeBuildInputs = [ pkg-config ]; 15 buildInputs = [ curl expat fuse gumbo libuuid ]; 16 17 makeFlags = [ "prefix=${placeholder "out"}" ]; 18 19 meta = with lib; { 20 description = "A FUSE filesystem for HTTP directory listings"; 21 homepage = "https://github.com/fangfufu/httpdirfs"; 22 license = licenses.gpl3Only; 23 maintainers = with maintainers; [ sbruder schnusch ]; 24 platforms = platforms.unix; 25 }; 26}