diff --git a/pkgs/tools/misc/clipbuzz/default.nix b/pkgs/tools/misc/clipbuzz/default.nix index 47dbbc6e6ff2..7bece66a786d 100644 --- a/pkgs/tools/misc/clipbuzz/default.nix +++ b/pkgs/tools/misc/clipbuzz/default.nix @@ -1,23 +1,21 @@ { lib , stdenv -, fetchFromSourcehut +, fetchzip , libX11 , libXfixes -, zig_0_10 +, zig_0_11 }: stdenv.mkDerivation (finalAttrs: { pname = "clipbuzz"; - version = "2.0.0"; + version = "2.0.1"; - src = fetchFromSourcehut { - owner = "~cnx"; - repo = "clipbuzz"; - rev = finalAttrs.version; - hash = "sha256-V5bAZHoScTzFZBPUhPd7xc/c32SXPLAJp+vsc/lCyeI="; + src = fetchzip { + url = "https://trong.loang.net/~cnx/clipbuzz/snapshot/clipbuzz-${finalAttrs.version}.tar.gz"; + hash = "sha256-2//IwthAjGyVSZaXjgpM1pUJGYWZVkrJ6JyrVbzOtr8="; }; - nativeBuildInputs = [ zig_0_10.hook ]; + nativeBuildInputs = [ zig_0_11.hook ]; buildInputs = [ libX11 @@ -26,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Buzz on new X11 clipboard events"; - homepage = "https://git.sr.ht/~cnx/clipbuzz"; + homepage = "https://trong.loang.net/~cnx/clipbuzz"; license = lib.licenses.unlicense; maintainers = [ lib.maintainers.McSinyx ]; };