Merge pull request #300265 from anthonyroussel/update/httpdirfs

httpdirfs: 1.2.3 -> 1.2.5

authored by Mario Rodas and committed by GitHub 4d321931 f2ebc5c2

+70 -29
+70
pkgs/by-name/ht/httpdirfs/package.nix
···
··· 1 + { 2 + curl, 3 + expat, 4 + fetchFromGitHub, 5 + fuse, 6 + gumbo, 7 + help2man, 8 + lib, 9 + libuuid, 10 + nix-update-script, 11 + pkg-config, 12 + stdenv, 13 + testers, 14 + }: 15 + 16 + stdenv.mkDerivation (finalAttrs: { 17 + pname = "httpdirfs"; 18 + version = "1.2.5"; 19 + 20 + src = fetchFromGitHub { 21 + owner = "fangfufu"; 22 + repo = "httpdirfs"; 23 + rev = "refs/tags/${finalAttrs.version}"; 24 + sha256 = "sha256-PUYsT0VDEzerPqwrLJrET4kSsWsQhtnfmLepeaqtA+I="; 25 + }; 26 + 27 + postPatch = lib.optional stdenv.isDarwin '' 28 + substituteInPlace Makefile --replace-fail '-fanalyzer' '-Xanalyzer' 29 + ''; 30 + 31 + nativeBuildInputs = [ 32 + help2man 33 + pkg-config 34 + ]; 35 + 36 + buildInputs = [ 37 + curl 38 + expat 39 + fuse 40 + gumbo 41 + libuuid 42 + ]; 43 + 44 + makeFlags = [ "prefix=${placeholder "out"}" ]; 45 + 46 + postBuild = '' 47 + make man 48 + ''; 49 + 50 + passthru = { 51 + # Disabled for Darwin because requires macFUSE installed outside NixOS 52 + tests.version = lib.optionalAttrs stdenv.isLinux ( 53 + testers.testVersion { 54 + command = "${lib.getExe finalAttrs.finalPackage} --version"; 55 + package = finalAttrs.finalPackage; 56 + } 57 + ); 58 + updateScript = nix-update-script { }; 59 + }; 60 + 61 + meta = { 62 + changelog = "https://github.com/fangfufu/httpdirfs/releases/tag/${finalAttrs.version}"; 63 + description = "A FUSE filesystem for HTTP directory listings"; 64 + homepage = "https://github.com/fangfufu/httpdirfs"; 65 + license = lib.licenses.gpl3Only; 66 + mainProgram = "httpdirfs"; 67 + maintainers = with lib.maintainers; [ sbruder schnusch anthonyroussel ]; 68 + platforms = lib.platforms.unix; 69 + }; 70 + })
-27
pkgs/tools/filesystems/httpdirfs/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, pkg-config, curl, expat, fuse, gumbo, libuuid }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "httpdirfs"; 5 - version = "1.2.3"; 6 - 7 - src = fetchFromGitHub { 8 - owner = "fangfufu"; 9 - repo = pname; 10 - rev = version; 11 - sha256 = "sha256-rdeBlAV3t/si9x488tirUGLZRYAxh13zdRIQe0OPd+A="; 12 - }; 13 - 14 - nativeBuildInputs = [ pkg-config ]; 15 - buildInputs = [ curl expat fuse gumbo libuuid ]; 16 - 17 - makeFlags = [ "prefix=${placeholder "out"}" ]; 18 - 19 - meta = with lib; { 20 - description = "A FUSE filesystem for HTTP directory listings"; 21 - homepage = "https://github.com/fangfufu/httpdirfs"; 22 - license = licenses.gpl3Only; 23 - maintainers = with maintainers; [ sbruder schnusch ]; 24 - platforms = platforms.unix; 25 - mainProgram = "httpdirfs"; 26 - }; 27 - }
···
-2
pkgs/top-level/all-packages.nix
··· 9142 9143 http-getter = callPackage ../applications/networking/flent/http-getter.nix { }; 9144 9145 - httpdirfs = callPackage ../tools/filesystems/httpdirfs { }; 9146 - 9147 httpdump = callPackage ../tools/security/httpdump { }; 9148 9149 httpie = with python3Packages; toPythonApplication httpie;
··· 9142 9143 http-getter = callPackage ../applications/networking/flent/http-getter.nix { }; 9144 9145 httpdump = callPackage ../tools/security/httpdump { }; 9146 9147 httpie = with python3Packages; toPythonApplication httpie;