Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
71 lines
1.3 KiB
Nix
71 lines
1.3 KiB
Nix
{
|
|
curl,
|
|
expat,
|
|
fetchFromGitHub,
|
|
fuse3,
|
|
gumbo,
|
|
help2man,
|
|
lib,
|
|
libuuid,
|
|
meson,
|
|
ninja,
|
|
nix-update-script,
|
|
pkg-config,
|
|
stdenv,
|
|
testers,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "httpdirfs";
|
|
version = "1.2.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fangfufu";
|
|
repo = "httpdirfs";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-6TGptKWX0hSNL3Z3ioP7puzozWLiMhCybN7hATQdD/k=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
help2man
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
curl
|
|
expat
|
|
fuse3
|
|
gumbo
|
|
libuuid
|
|
];
|
|
|
|
env.NIX_CFLAGS_COMPILE = toString [
|
|
"-Wno-error=attribute-warning"
|
|
"-Wno-error=pedantic"
|
|
];
|
|
|
|
passthru = {
|
|
tests.version = testers.testVersion {
|
|
command = "${lib.getExe finalAttrs.finalPackage} --version";
|
|
package = finalAttrs.finalPackage;
|
|
};
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = {
|
|
changelog = "https://github.com/fangfufu/httpdirfs/releases/tag/${finalAttrs.version}";
|
|
description = "FUSE filesystem for HTTP directory listings";
|
|
homepage = "https://github.com/fangfufu/httpdirfs";
|
|
license = lib.licenses.gpl3Only;
|
|
mainProgram = "httpdirfs";
|
|
maintainers = with lib.maintainers; [
|
|
sbruder
|
|
schnusch
|
|
anthonyroussel
|
|
];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|