diff --git a/pkgs/servers/hydron/default.nix b/pkgs/servers/hydron/default.nix index 03236b410824..453557d109ac 100644 --- a/pkgs/servers/hydron/default.nix +++ b/pkgs/servers/hydron/default.nix @@ -1,25 +1,36 @@ -{ lib, buildGoModule, fetchFromGitHub, pkg-config, ffmpeg }: +{ lib +, buildGoModule +, fetchFromGitHub +, gitUpdater +, pkg-config +, ffmpeg +}: buildGoModule rec { pname = "hydron"; - version = "3.3.5"; + version = "3.3.6"; src = fetchFromGitHub { owner = "bakape"; repo = "hydron"; rev = "v${version}"; - sha256 = "0c958dsw5pq9z8n1b9q9j8y6vgiqf6mmlsf77ncb7yrlilhbrz6s"; + hash = "sha256-Q1pZf5FPQw+pHItcZyOGx0N+iHmz9rW0+ANFsketh6E="; }; - vendorSha256 = "0cc8ar8p7lgg6rj76vhfp6bzrxyn5yaqjwj8i1bn0zp6sj6zcfam"; + vendorHash = "sha256-fyGC6k9/xER5GwVelBhy5C5tiq6NMhwSmYjSpvenrfA="; proxyVendor = true; + nativeBuildInputs = [ pkg-config ]; buildInputs = [ ffmpeg ]; + passthru.updateScript = gitUpdater { + rev-prefix = "v"; + }; + meta = with lib; { homepage = "https://github.com/bakape/hydron"; description = "High performance media tagger and organizer"; - license = licenses.lgpl3Plus; + license = with licenses; [ lgpl3Plus ]; maintainers = with maintainers; [ Madouura ]; }; }