firefox*: add purl parts

This commit is contained in:
Martin Weinelt
2026-08-31 15:31:03 +02:00
parent d3fb14bf73
commit 668d36b915
3 changed files with 35 additions and 17 deletions

View File

@@ -24,12 +24,18 @@ 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;
identifiers = {
cpeParts = {
product = "firefox";
sw_edition = "esr";
update = "*";
vendor = "mozilla";
version = lib.removeSuffix "esr" version;
};
purlParts = {
type = "generic";
spec = "firefox@${lib.removeSuffix "esr" version}";
};
};
};
tests = {

View File

@@ -25,12 +25,18 @@ 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;
identifiers = {
cpeParts = {
product = "firefox";
sw_edition = "esr";
update = "*";
vendor = "mozilla";
version = lib.removeSuffix "esr" version;
};
purlParts = {
type = "generic";
spec = "firefox@${lib.removeSuffix "esr" version}";
};
};
};
tests = {

View File

@@ -30,11 +30,17 @@ 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";
identifiers = {
cpeParts = {
inherit version;
product = "firefox";
update = "*";
vendor = "mozilla";
};
purlParts = {
type = "generic";
spec = "firefox@${version}";
};
};
};
tests = {