summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTredwellGit <tredwell@tutanota.com>2021-12-07 03:47:22 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2022-02-17 17:24:34 +0000
commit58bdabab1ad7f6d7d15bf1e807af2851a9502a55 (patch)
tree9d483ae6cc5ea2e0d8eabfd5a9da6dc246ed81e4
parentMerge pull request #160474 from NixOS/revert-156073-backport-155522-to-releas... (diff)
downloadnixpkgs-origin/backport-147574-to-release-21.11.tar.gz
memtest86-efi: 8.4 -> 9.3.1000origin/backport-147574-to-release-21.11
(cherry picked from commit 4ee3f90c32570cfd9f0cba6791f6e0614251c3f6)
-rw-r--r--pkgs/tools/misc/memtest86-efi/default.nix30
1 files changed, 9 insertions, 21 deletions
diff --git a/pkgs/tools/misc/memtest86-efi/default.nix b/pkgs/tools/misc/memtest86-efi/default.nix
index 125f8f35acca..264fe013b27a 100644
--- a/pkgs/tools/misc/memtest86-efi/default.nix
+++ b/pkgs/tools/misc/memtest86-efi/default.nix
@@ -8,23 +8,13 @@
stdenv.mkDerivation rec {
pname = "memtest86-efi";
- version = "8.4";
+ version = "9.3.1000";
src = fetchzip {
- # TODO: We're using the previous version of memtest86 because the
- # company developing memtest86 has stopped providing a versioned download
- # link for the latest version:
- #
- # https://www.passmark.com/forum/memtest86/44494-version-8-1-distribution-file-is-not-versioned?p=44505#post44505
- #
- # However, versioned links for the previous version are available, so that
- # is what is being used.
- #
- # It does look like redistribution is okay, so if we had somewhere to host
- # binaries that we make sure to version, then we could probably keep up
- # with the latest versions released by the company.
- url = "https://www.memtest86.com/downloads/memtest86-${version}-usb.zip";
- sha256 = "sha256-jh4FKCYZbOQhRv6B7N8Hmw6RQCQvbBGaGFTMLwM1nk8=";
+ # We're using the Internet Archive Wayback Machine because the company developing MemTest86 has stopped providing a versioned download link for the latest version:
+ # https://forums.passmark.com/memtest86/44494-version-8-1-distribution-file-is-not-versioned
+ url = "https://web.archive.org/web/20211111004725/https://www.memtest86.com/downloads/memtest86-usb.zip";
+ sha256 = "sha256-GJdZCUFw1uX4HcaaAy5QqDGNqHTFtrqla13wF7xCAaM=";
stripRoot = false;
};
@@ -57,18 +47,16 @@ stdenv.mkDerivation rec {
'';
meta = with lib; {
- homepage = "http://memtest86.com/";
+ homepage = "https://www.memtest86.com/";
downloadPage = "https://www.memtest86.com/download.htm";
+ changelog = "https://www.memtest86.com/whats-new.html";
description = "A tool to detect memory errors, to be run from a bootloader";
longDescription = ''
A UEFI app that is able to detect errors in RAM. It can be run from a
bootloader. Released under a proprietary freeware license.
'';
- # The Memtest86 License for the Free Edition states,
- # "MemTest86 Free Edition is free to download with no restrictions on usage".
- # However the source code for Memtest86 does not appear to be available.
- #
- # https://www.memtest86.com/license.htm
+ # MemTest86 Free Edition is free to download with no restrictions on usage. However, the source code is not available.
+ # https://www.memtest86.com/tech_license-information.html
license = licenses.unfreeRedistributable;
maintainers = with maintainers; [ cdepillabout ];
platforms = platforms.linux;