mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
libgcrypt: 1.12.2 -> 1.12.4
https://lists.gnu.org/archive/html/info-gnu/2026-08/msg00007.html
https://lists.gnu.org/archive/html/info-gnu/2026-09/msg00002.html
(cherry picked from commit ae02526138)
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
fetchpatch,
|
||||
gettext,
|
||||
libgpg-error,
|
||||
enableCapabilities ? false,
|
||||
@@ -18,23 +17,13 @@ assert enableCapabilities -> stdenv.hostPlatform.isLinux;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libgcrypt";
|
||||
version = "1.12.2";
|
||||
version = "1.12.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnupg/libgcrypt/${pname}-${version}.tar.bz2";
|
||||
hash = "sha256-fOM8JJIiGgQ2+WqFACFenz49y1/SanV81BXnqEO6vV4=";
|
||||
hash = "sha256-139o9Ih5UQ55ovZZd8zGiYF4HqCSPlvf+sKhk+o9Zg4=";
|
||||
};
|
||||
|
||||
patches = lib.optionals stdenv.hostPlatform.isRiscV64 [
|
||||
# Remove in next release
|
||||
# https://github.com/gpg/libgcrypt/commit/3f684fc6ab3ac98320e245a06b3563ad37ec56f5
|
||||
# zvkned AES corrupts CBC/CFB/CTR/OCB/XTS output on VLEN>128 hardware
|
||||
(fetchpatch {
|
||||
url = "https://github.com/gpg/libgcrypt/commit/3f684fc6ab3ac98320e245a06b3563ad37ec56f5.patch";
|
||||
hash = "sha256-1LSrIwsN0n5IBRDZ+9MJTEjzY+/T6LQO6hX1ke8hSuc=";
|
||||
})
|
||||
];
|
||||
|
||||
outputs = [
|
||||
"bin"
|
||||
"lib"
|
||||
|
||||
Reference in New Issue
Block a user