blueprint-compiler: 0.18.0 → 0.20.4
https://gitlab.gnome.org/GNOME/blueprint-compiler/-/compare/v0.18.0...v0.20.4 Also add update script.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user