mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
nomad_1_5: deprecate
This commit is contained in:
parent
d1ac2412bc
commit
6e52b03583
@ -138,6 +138,8 @@
|
|||||||
before changing the package to `pkgs.stalwart-mail` in
|
before changing the package to `pkgs.stalwart-mail` in
|
||||||
[`services.stalwart-mail.package`](#opt-services.stalwart-mail.package).
|
[`services.stalwart-mail.package`](#opt-services.stalwart-mail.package).
|
||||||
|
|
||||||
|
- The `nomad_1_5` package was dropped, as [it has reached end-of-life upstream](https://support.hashicorp.com/hc/en-us/articles/360021185113-Support-Period-and-End-of-Life-EOL-Policy). Evaluating it will throw an error.
|
||||||
|
|
||||||
- `androidndkPkgs` has been updated to `androidndkPkgs_26`.
|
- `androidndkPkgs` has been updated to `androidndkPkgs_26`.
|
||||||
|
|
||||||
- Android NDK version 26 and SDK version 33 are now the default versions used for cross compilation to android.
|
- Android NDK version 26 and SDK version 33 are now the default versions used for cross compilation to android.
|
||||||
|
@ -45,6 +45,8 @@ let
|
|||||||
maintainers = with maintainers; [ rushmorem pradeepchhetri techknowlogick cottand ];
|
maintainers = with maintainers; [ rushmorem pradeepchhetri techknowlogick cottand ];
|
||||||
};
|
};
|
||||||
} // attrs');
|
} // attrs');
|
||||||
|
|
||||||
|
throwUnsupportaed = version: "${version} is no longer supported upstream. You can switch to using a newer version of the nomad package, or revert to older nixpkgs if you cannot upgrade";
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
# Nomad never updates major go versions within a release series and is unsupported
|
# Nomad never updates major go versions within a release series and is unsupported
|
||||||
@ -55,19 +57,9 @@ rec {
|
|||||||
|
|
||||||
nomad = nomad_1_7;
|
nomad = nomad_1_7;
|
||||||
|
|
||||||
nomad_1_4 = throw "nomad_1_4 is no longer supported upstream. You can switch to using a newer version of the nomad package, or revert to older nixpkgs if you cannot upgrade";
|
nomad_1_4 = throwUnsupportaed "nomad_1_4";
|
||||||
|
|
||||||
nomad_1_5 = generic {
|
nomad_1_5 = throwUnsupportaed "nomad_1_5";
|
||||||
buildGoModule = buildGo121Module;
|
|
||||||
version = "1.5.15";
|
|
||||||
sha256 = "sha256-OFmGOU+ObA0+BS48y0ZyyxR+VI5DYL39peVKcyVHgGI=";
|
|
||||||
vendorHash = "sha256-Ds94lB43cyMNyRJZti0mZDWGTtSdwY31dDijfAUxR0I=";
|
|
||||||
license = lib.licenses.mpl20;
|
|
||||||
passthru.tests.nomad = nixosTests.nomad;
|
|
||||||
preCheck = ''
|
|
||||||
export PATH="$PATH:$NIX_BUILD_TOP/go/bin"
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
nomad_1_6 = generic {
|
nomad_1_6 = generic {
|
||||||
buildGoModule = buildGo121Module;
|
buildGoModule = buildGo121Module;
|
||||||
|
Loading…
Reference in New Issue
Block a user