From daa10a4dde4b28f54cef5f1e23506070ccacc844 Mon Sep 17 00:00:00 2001 From: Anthony ROUSSEL Date: Sat, 26 Oct 2024 20:47:08 +0200 Subject: [PATCH] httpdirfs: 1.2.5 -> 1.2.6 https://github.com/fangfufu/httpdirfs/compare/1.2.5...1.2.6 --- pkgs/by-name/ht/httpdirfs/package.nix | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/pkgs/by-name/ht/httpdirfs/package.nix b/pkgs/by-name/ht/httpdirfs/package.nix index 6b6ed108fd451..3c622868dbf45 100644 --- a/pkgs/by-name/ht/httpdirfs/package.nix +++ b/pkgs/by-name/ht/httpdirfs/package.nix @@ -2,11 +2,13 @@ curl, expat, fetchFromGitHub, - fuse, + fuse3, gumbo, help2man, lib, libuuid, + meson, + ninja, nix-update-script, pkg-config, stdenv, @@ -15,38 +17,30 @@ stdenv.mkDerivation (finalAttrs: { pname = "httpdirfs"; - version = "1.2.5"; + version = "1.2.6"; src = fetchFromGitHub { owner = "fangfufu"; repo = "httpdirfs"; rev = "refs/tags/${finalAttrs.version}"; - hash = "sha256-PUYsT0VDEzerPqwrLJrET4kSsWsQhtnfmLepeaqtA+I="; + hash = "sha256-4Tp9DTYWUHElO0YNeINgzmbI0tpXxmKfZ1Jhz5UYn5M="; }; - postPatch = lib.optional stdenv.hostPlatform.isDarwin '' - substituteInPlace Makefile --replace-fail '-fanalyzer' '-Xanalyzer' - ''; - nativeBuildInputs = [ help2man + meson + ninja pkg-config ]; buildInputs = [ curl expat - fuse + fuse3 gumbo libuuid ]; - makeFlags = [ "prefix=${placeholder "out"}" ]; - - postBuild = '' - make man - ''; - passthru = { # Disabled for Darwin because requires macFUSE installed outside NixOS tests.version = lib.optionalAttrs stdenv.hostPlatform.isLinux (