nss: split into nss_latest and nss_esr
This commit is contained in:
parent
42debb0b5a
commit
44f241f69a
4
pkgs/development/libraries/nss/esr.nix
Normal file
4
pkgs/development/libraries/nss/esr.nix
Normal file
@ -0,0 +1,4 @@
|
||||
import ./generic.nix {
|
||||
version = "3.68.3";
|
||||
sha256 = "sha256-5NDZsLVhfLM0gSZC7YAfjlH1mVyN2FwN78jMra/Lwzc=";
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
{ version, sha256 }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
@ -22,14 +23,7 @@ let
|
||||
sha256 = "10ibz6y0hknac15zr6dw4gv9nb5r5z9ym6gq18j3xqx7v7n3vpdw";
|
||||
};
|
||||
|
||||
# NOTE: Whenever you updated this version check if the `cacert` package also
|
||||
# needs an update. You can run the regular updater script for cacerts.
|
||||
# It will rebuild itself using the version of this package (NSS) and if
|
||||
# an update is required do the required changes to the expression.
|
||||
# Example: nix-shell ./maintainers/scripts/update.nix --argstr package cacert
|
||||
version = "3.76";
|
||||
underscoreVersion = lib.replaceStrings [ "." ] [ "_" ] version;
|
||||
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nss";
|
||||
@ -37,7 +31,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://mozilla/security/nss/releases/NSS_${underscoreVersion}_RTM/src/${pname}-${version}.tar.gz";
|
||||
sha256 = "0c0nmajcvnm8gqz2v6wrlq04yzy3y7hcs806wjnx4r6kml8073hv";
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
10
pkgs/development/libraries/nss/latest.nix
Normal file
10
pkgs/development/libraries/nss/latest.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# NOTE: Whenever you updated this version check if the `cacert` package also
|
||||
# needs an update. You can run the regular updater script for cacerts.
|
||||
# It will rebuild itself using the version of this package (NSS) and if
|
||||
# an update is required do the required changes to the expression.
|
||||
# Example: nix-shell ./maintainers/scripts/update.nix --argstr package cacert
|
||||
|
||||
import ./generic.nix {
|
||||
version = "3.76";
|
||||
sha256 = "0c0nmajcvnm8gqz2v6wrlq04yzy3y7hcs806wjnx4r6kml8073hv";
|
||||
}
|
@ -19487,7 +19487,9 @@ with pkgs;
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||
};
|
||||
|
||||
nss = lowPrio (callPackage ../development/libraries/nss { });
|
||||
nss_latest = callPackage ../development/libraries/nss/latest.nix { };
|
||||
nss_esr = callPackage ../development/libraries/nss/esr.nix { };
|
||||
nss = nss_esr;
|
||||
nssTools = nss.tools;
|
||||
|
||||
nss_wrapper = callPackage ../development/libraries/nss_wrapper { };
|
||||
|
Loading…
Reference in New Issue
Block a user