1{stdenv, fetchurl}:
2with stdenv; with lib;
3mkDerivation rec {
4 name = "libb2-${meta.version}";
5
6 src = fetchurl {
7 url = "https://blake2.net/${name}.tar.gz";
8 sha256 = "7829c7309347650239c76af7f15d9391af2587b38f0a65c250104a2efef99051";
9 };
10
11 configureFlags = [ "--enable-fat=yes" ];
12
13 meta = {
14 version = "0.97";
15 description = "The BLAKE2 family of cryptographic hash functions";
16 platforms = platforms.all;
17 maintainers = with maintainers; [ dfoxfranke ];
18 license = licenses.cc0;
19 };
20}