From 1bbe0630952b557d0ebf9ef9cc1d2116fcedba0d Mon Sep 17 00:00:00 2001 From: Michael Evans Date: Mon, 30 Mar 2026 19:11:56 +0200 Subject: [PATCH] constrict: 25.12.1 -> 26.2 The source code has moved to GitLab with the original GitHub repository kept as a mirror. Diff: https://gitlab.gnome.org/World/Constrict/-/compare/25.12.1...26.2 Changelogs: - https://gitlab.gnome.org/World/Constrict/-/releases/26.1 - https://gitlab.gnome.org/World/Constrict/-/releases/26.2 --- pkgs/by-name/co/constrict/package.nix | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/co/constrict/package.nix b/pkgs/by-name/co/constrict/package.nix index caf6b88dbe7b..fe5c9a0ef8e9 100644 --- a/pkgs/by-name/co/constrict/package.nix +++ b/pkgs/by-name/co/constrict/package.nix @@ -1,7 +1,7 @@ { lib, python3Packages, - fetchFromGitHub, + fetchFromGitLab, meson, ninja, pkg-config, @@ -16,18 +16,20 @@ ffmpeg, gst-thumbnailers, glycin-loaders, + nix-update-script, }: python3Packages.buildPythonApplication (finalAttrs: { pname = "constrict"; - version = "25.12.1"; + version = "26.2"; pyproject = false; # Built with meson - src = fetchFromGitHub { - owner = "Wartybix"; + src = fetchFromGitLab { + domain = "gitlab.gnome.org"; + owner = "World"; repo = "Constrict"; tag = finalAttrs.version; - hash = "sha256-ZSiBlejNFakz+/3qj3n+ekB5l9JOk3MiQ8PRZOdxtLQ="; + hash = "sha256-SkfutiBi0Y7gNx5PyTaSzVw/5rU/0ULxbtf2606i2wA="; }; nativeBuildInputs = [ @@ -67,10 +69,14 @@ python3Packages.buildPythonApplication (finalAttrs: { ) ''; + passthru = { + updateScript = nix-update-script { }; + }; + meta = { description = "Compresses your videos to your chosen file size"; - homepage = "https://github.com/Wartybix/Constrict"; - changelog = "https://github.com/Wartybix/Constrict/releases/tag/${finalAttrs.src.tag}"; + homepage = "https://gitlab.gnome.org/World/Constrict"; + changelog = "https://gitlab.gnome.org/World/Constrict/-/releases/${finalAttrs.src.tag}"; license = lib.licenses.gpl3Plus; mainProgram = "constrict"; teams = [ lib.teams.gnome-circle ];