httpdirfs: init at 1.2.2

This commit is contained in:
Simon Bruder 2021-08-22 14:48:44 +02:00
parent e20a98cb9b
commit d408a21736
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
3 changed files with 29 additions and 0 deletions

View file

@ -27,6 +27,8 @@ in
gust_tools = callPackage ./gust_tools { };
httpdirfs = callPackage ./httpdirfs { };
mpvScripts = prev.mpvScripts // {
pitchcontrol = callPackage ./mpv-scripts/pitchcontrol { };
};

View file

@ -40,6 +40,7 @@
fSpy
face_morpher
gust_tools
httpdirfs
nsz
oha
playgsf

26
httpdirfs/default.nix Normal file
View file

@ -0,0 +1,26 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, curl, expat, fuse, gumbo, libuuid }:
stdenv.mkDerivation rec {
pname = "httpdirfs";
version = "1.2.2";
src = fetchFromGitHub {
owner = "fangfufu";
repo = pname;
rev = version;
sha256 = "sha256-IR+keGTEr1bPW6NIa7msH8DhwXrO6k1oGKdhe9Zl/pI=";
};
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 ];
platforms = platforms.unix;
};
}