diff options
author | Nikolay Korotkiy <sikmir@disroot.org> | 2024-02-08 01:07:58 +0400 |
---|---|---|
committer | Nikolay Korotkiy <sikmir@disroot.org> | 2024-02-08 01:07:58 +0400 |
commit | 836354b573795e15093b490ed8cda67446ac1aa8 (patch) | |
tree | 521e3b53fec06180bb0e8074a2c90e442b2aec86 /pkgs/servers/gemini | |
parent | aef7c94e241b5ed09413fdc4a26eb12337b192db (diff) |
agate: 3.3.3 → 3.3.4
Diffstat (limited to 'pkgs/servers/gemini')
-rw-r--r-- | pkgs/servers/gemini/agate/default.nix | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/pkgs/servers/gemini/agate/default.nix b/pkgs/servers/gemini/agate/default.nix index 8babfe505deda..a59003ac73960 100644 --- a/pkgs/servers/gemini/agate/default.nix +++ b/pkgs/servers/gemini/agate/default.nix @@ -1,25 +1,17 @@ -{ lib, stdenv, nixosTests, fetchFromGitHub, fetchpatch, rustPlatform, libiconv, Security }: +{ lib, stdenv, nixosTests, fetchFromGitHub, rustPlatform, libiconv, Security }: rustPlatform.buildRustPackage rec { pname = "agate"; - version = "3.3.3"; + version = "3.3.4"; src = fetchFromGitHub { owner = "mbrubeck"; repo = "agate"; rev = "v${version}"; - hash = "sha256-qINtAOPrmLUWfEjZNj11W2WoIFw7Ye3KDk+9ZKtZAvo="; + hash = "sha256-7z3iAA+Q3k5jEO9ZhA06h7/17gE0FWPqDOGK/XENRWg="; }; - cargoPatches = [ - # Update version in Cargo.lock - (fetchpatch { - url = "https://github.com/mbrubeck/agate/commit/ac57093d2f73a20d0d4f84b551beef4ac9cb4a24.patch"; - hash = "sha256-OknfBkaBWm3svSp8LSvyfy2g0y0SkR7VtJQUdAjClFs="; - }) - ]; - - cargoHash = "sha256-18V1/d2A3DJmpYX/5Z8M3uAaHrULGIgCT4ntcV4N8l0="; + cargoHash = "sha256-iTopJnuH2extGnaJXL+RPUwcvj2e+k5A4BT33v+sFiA="; buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ]; @@ -31,6 +23,8 @@ rustPlatform.buildRustPackage rec { runHook postInstallCheck ''; + __darwinAllowLocalNetworking = true; + passthru.tests = { inherit (nixosTests) agate; }; meta = with lib; { |