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 ]; }; }