firefox*: add cpe parts

This commit is contained in:
Martin Weinelt
2026-08-31 14:50:35 +02:00
parent 6e12ef54f8
commit d3fb14bf73
3 changed files with 20 additions and 0 deletions

View File

@@ -24,6 +24,13 @@ buildMozillaMach rec {
maxSilent = 14400; # 4h, double the default of 7200s (c.f. #129212, #129115)
license = lib.licenses.mpl20;
mainProgram = "firefox";
identifiers.cpeParts = {
product = "firefox";
sw_edition = "esr";
update = "*";
vendor = "mozilla";
version = lib.removeSuffix "esr" version;
};
};
tests = {
inherit (nixosTests) firefox-esr-140;

View File

@@ -25,6 +25,13 @@ buildMozillaMach rec {
maxSilent = 14400; # 4h, double the default of 7200s (c.f. #129212, #129115)
license = lib.licenses.mpl20;
mainProgram = "firefox";
identifiers.cpeParts = {
product = "firefox";
sw_edition = "esr";
update = "*";
vendor = "mozilla";
version = lib.removeSuffix "esr" version;
};
};
tests = {
inherit (nixosTests) firefox-esr-153;

View File

@@ -30,6 +30,12 @@ buildMozillaMach rec {
maxSilent = 14400; # 4h, double the default of 7200s (c.f. #129212, #129115)
license = lib.licenses.mpl20;
mainProgram = "firefox";
identifiers.cpeParts = {
inherit version;
product = "firefox";
update = "*";
vendor = "mozilla";
};
};
tests = {
inherit (nixosTests) firefox;