From 775a79f96ec625d86309fd364cb471d1d2192c0c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 5 Jul 2023 18:30:34 +0000 Subject: [PATCH 1/2] desync: 0.9.3 -> 0.9.4 --- pkgs/applications/networking/sync/desync/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/sync/desync/default.nix b/pkgs/applications/networking/sync/desync/default.nix index 487b3e2fc878..71008daeda94 100644 --- a/pkgs/applications/networking/sync/desync/default.nix +++ b/pkgs/applications/networking/sync/desync/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "desync"; - version = "0.9.3"; + version = "0.9.4"; src = fetchFromGitHub { rev = "v${version}"; owner = "folbricht"; repo = "desync"; - sha256 = "sha256-vyW5zR6Dw860LUj7sXFgwzU1AZDoPMoQ4G0xsK4L6+w="; + sha256 = "sha256-kwYRspzfTBl9FtPrpd55VBYiCzaG7M83EM5nbqdBG/Q="; }; - vendorSha256 = "sha256-RMM/WFIUg2Je3yAgshif3Nkhm8G3bh6EhHCHTAvMXUc="; + vendorHash = "sha256-1RuqlDU809mtGn0gOFH/AW6HJo1cQqt8spiLp3/FpcI="; # nix builder doesn't have access to test data; tests fail for reasons unrelated to binary being bad. doCheck = false; From c9df316a82f11266e8fc5ab10c8b7b63209ee70c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 5 Jul 2023 22:14:49 +0200 Subject: [PATCH 2/2] desync: add changelog to meta - minor changes and modifications --- pkgs/applications/networking/sync/desync/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/sync/desync/default.nix b/pkgs/applications/networking/sync/desync/default.nix index 71008daeda94..6fb0570e04b7 100644 --- a/pkgs/applications/networking/sync/desync/default.nix +++ b/pkgs/applications/networking/sync/desync/default.nix @@ -1,14 +1,17 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib +, buildGoModule +, fetchFromGitHub +}: buildGoModule rec { pname = "desync"; version = "0.9.4"; src = fetchFromGitHub { - rev = "v${version}"; owner = "folbricht"; repo = "desync"; - sha256 = "sha256-kwYRspzfTBl9FtPrpd55VBYiCzaG7M83EM5nbqdBG/Q="; + rev = "refs/tags/v${version}"; + hash = "sha256-kwYRspzfTBl9FtPrpd55VBYiCzaG7M83EM5nbqdBG/Q="; }; vendorHash = "sha256-1RuqlDU809mtGn0gOFH/AW6HJo1cQqt8spiLp3/FpcI="; @@ -20,7 +23,8 @@ buildGoModule rec { description = "Content-addressed binary distribution system"; longDescription = "An alternate implementation of the casync protocol and storage mechanism with a focus on production-readiness"; homepage = "https://github.com/folbricht/desync"; + changelog = "https://github.com/folbricht/desync/releases/tag/v${version}"; license = licenses.bsd3; - maintainers = [ maintainers.chaduffy ]; + maintainers = with maintainers; [ chaduffy ]; }; }