mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
firefox*: set up cpe identifiers, purl urls (#558399)
This commit is contained in:
@@ -24,6 +24,19 @@ 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;
|
||||
};
|
||||
purlParts = {
|
||||
type = "generic";
|
||||
spec = "firefox@${lib.removeSuffix "esr" version}";
|
||||
};
|
||||
};
|
||||
};
|
||||
tests = {
|
||||
inherit (nixosTests) firefox-esr-140;
|
||||
|
||||
@@ -25,6 +25,19 @@ 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;
|
||||
};
|
||||
purlParts = {
|
||||
type = "generic";
|
||||
spec = "firefox@${lib.removeSuffix "esr" version}";
|
||||
};
|
||||
};
|
||||
};
|
||||
tests = {
|
||||
inherit (nixosTests) firefox-esr-153;
|
||||
|
||||
@@ -30,6 +30,18 @@ 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";
|
||||
};
|
||||
purlParts = {
|
||||
type = "generic";
|
||||
spec = "firefox@${version}";
|
||||
};
|
||||
};
|
||||
};
|
||||
tests = {
|
||||
inherit (nixosTests) firefox;
|
||||
|
||||
Reference in New Issue
Block a user