httpdirfs: init at 1.2.2
This commit is contained in:
parent
e20a98cb9b
commit
d408a21736
|
@ -27,6 +27,8 @@ in
|
|||
|
||||
gust_tools = callPackage ./gust_tools { };
|
||||
|
||||
httpdirfs = callPackage ./httpdirfs { };
|
||||
|
||||
mpvScripts = prev.mpvScripts // {
|
||||
pitchcontrol = callPackage ./mpv-scripts/pitchcontrol { };
|
||||
};
|
||||
|
|
26
httpdirfs/default.nix
Normal file
26
httpdirfs/default.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue