Skip to content

Commit

Permalink
httpdirfs: 1.2.5 -> 1.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyroussel committed Oct 26, 2024
1 parent 6f6b721 commit daa10a4
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions pkgs/by-name/ht/httpdirfs/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
curl,
expat,
fetchFromGitHub,
fuse,
fuse3,
gumbo,
help2man,
lib,
libuuid,
meson,
ninja,
nix-update-script,
pkg-config,
stdenv,
Expand All @@ -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 (
Expand Down

0 comments on commit daa10a4

Please sign in to comment.