From ea52a47b30712bab5df5b7de40ae577723197174 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Wed, 25 Mar 2026 20:23:04 +0800 Subject: [PATCH] =?UTF-8?q?blueprint-compiler:=200.18.0=20=E2=86=92=200.20?= =?UTF-8?q?.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/GNOME/blueprint-compiler/-/compare/v0.18.0...v0.20.4 Also add update script. --- .../by-name/bl/blueprint-compiler/package.nix | 27 ++++++++++++------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/bl/blueprint-compiler/package.nix b/pkgs/by-name/bl/blueprint-compiler/package.nix index efb9de334831..8482a5a965f4 100644 --- a/pkgs/by-name/bl/blueprint-compiler/package.nix +++ b/pkgs/by-name/bl/blueprint-compiler/package.nix @@ -12,6 +12,7 @@ testers, wrapGAppsNoGuiHook, xvfb-run, + gnome, }: stdenv.mkDerivation (finalAttrs: { pname = "blueprint-compiler"; @@ -67,17 +68,22 @@ stdenv.mkDerivation (finalAttrs: { runHook postCheck ''; - passthru.tests = { - version = testers.testVersion { - package = finalAttrs.finalPackage; + passthru = { + tests = { + version = testers.testVersion { + package = finalAttrs.finalPackage; + }; + # regression test that `blueprint-compiler` can be used in a standalone + # context outside of nix builds, and doesn't rely on the setup hooks of + # its propagated inputs for basic functionality. + # see https://github.com/NixOS/nixpkgs/pull/400415 + standalone = runCommand "blueprint-compiler-test-standalone" { } '' + ${lib.getExe finalAttrs.finalPackage} --help && touch $out + ''; + }; + updateScript = gnome.updateScript { + packageName = "blueprint-compiler"; }; - # regression test that `blueprint-compiler` can be used in a standalone - # context outside of nix builds, and doesn't rely on the setup hooks of - # its propagated inputs for basic functionality. - # see https://github.com/NixOS/nixpkgs/pull/400415 - standalone = runCommand "blueprint-compiler-test-standalone" { } '' - ${lib.getExe finalAttrs.finalPackage} --help && touch $out - ''; }; meta = { @@ -89,6 +95,7 @@ stdenv.mkDerivation (finalAttrs: { benediktbroich ranfdev ]; + teams = [ lib.teams.gnome ]; platforms = lib.platforms.unix; }; })