1 { lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "0qj8aaqvfcavj1vj5asm4pqm03ap7q8x4c2fy83cqggvky0frgya";
15 patchShebangs autogen.sh
19 configureFlags = lib.optional stdenv.hostPlatform.isx86 "--enable-fat=yes";
21 nativeBuildInputs = [ autoconf automake libtool pkg-config ];
26 description = "The BLAKE2 family of cryptographic hash functions";
27 homepage = "https://blake2.net/";
28 platforms = platforms.all;
29 maintainers = with maintainers; [ dfoxfranke dotlambda ];
30 license = licenses.cc0;