libblake3: 1.5.4 -> 1.5.5

Diff: https://github.com/BLAKE3-team/BLAKE3/compare/refs/tags/1.5.4...1.5.5
This commit is contained in:
Francesco Gazzetta 2024-11-27 13:41:24 +01:00
parent 328abff1f7
commit bf239275a2

View File

@ -3,31 +3,21 @@
stdenv,
cmake,
fetchFromGitHub,
fetchpatch,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libblake3";
version = "1.5.4";
version = "1.5.5";
src = fetchFromGitHub {
owner = "BLAKE3-team";
repo = "BLAKE3";
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-WatbhExS0j2neYsrfbNhYxrckLiXHwQBjctuowtQW+U=";
hash = "sha256-2M8OQNmtWwfDcbZYspaxpGz2clpfILru//4+P6dClNw=";
};
sourceRoot = finalAttrs.src.name + "/c";
patches = [
# Fix pkg-config for absolute CMAKE_INSTALL_*DIR
(fetchpatch {
url = "https://github.com/BLAKE3-team/BLAKE3/commit/aa3e8ec32a389461babde3789d6ac50ee3c38662.patch";
hash = "sha256-V8o85EnRoqYvatqYwdr7h2TBwSOSlKrqfJWPPkQhU+c=";
stripLen = 1;
})
];
nativeBuildInputs = [
cmake
];