httpdirfs: 1.2.3 -> 1.2.5
https://github.com/fangfufu/httpdirfs/compare/1.2.3...1.2.5 https://github.com/fangfufu/httpdirfs/releases/tag/1.2.5 https://github.com/fangfufu/httpdirfs/releases/tag/1.2.4
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
fetchFromGitHub,
|
||||
fuse,
|
||||
gumbo,
|
||||
help2man,
|
||||
lib,
|
||||
libuuid,
|
||||
nix-update-script,
|
||||
@@ -14,16 +15,23 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "httpdirfs";
|
||||
version = "1.2.3";
|
||||
version = "1.2.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fangfufu";
|
||||
repo = "httpdirfs";
|
||||
rev = "refs/tags/${finalAttrs.version}";
|
||||
sha256 = "sha256-rdeBlAV3t/si9x488tirUGLZRYAxh13zdRIQe0OPd+A=";
|
||||
sha256 = "sha256-PUYsT0VDEzerPqwrLJrET4kSsWsQhtnfmLepeaqtA+I=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
postPatch = lib.optional stdenv.isDarwin ''
|
||||
substituteInPlace Makefile --replace-fail '-fanalyzer' '-Xanalyzer'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
help2man
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
curl
|
||||
@@ -35,6 +43,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
makeFlags = [ "prefix=${placeholder "out"}" ];
|
||||
|
||||
postBuild = ''
|
||||
make man
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
# Disabled for Darwin because requires macFUSE installed outside NixOS
|
||||
tests.version = lib.optionalAttrs stdenv.isLinux (
|
||||
@@ -47,6 +59,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
};
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/fangfufu/httpdirfs/releases/tag/${finalAttrs.version}";
|
||||
description = "A FUSE filesystem for HTTP directory listings";
|
||||
homepage = "https://github.com/fangfufu/httpdirfs";
|
||||
license = lib.licenses.gpl3Only;
|
||||
|
||||
Reference in New Issue
Block a user