8 stdenv.mkDerivation rec {
12 src = fetchFromGitHub {
16 sha256 = "09ax0h4ik3vhvp3s98lic93l3g9f4v1jkr5k6z4g1lvm7s3lrha2";
19 buildInputs = [ openssl ];
22 makeFlagsArray=(CFLAGS="-std=c99 -O3 -g")
26 mkdir -p $out/{lib,include/fastpbkdf2}
28 cp fastpbkdf2.h $out/include/fastpbkdf2
32 description = "Fast PBKDF2-HMAC-{SHA1,SHA256,SHA512} implementation in C";
33 homepage = "https://github.com/ctz/fastpbkdf2";
34 license = licenses.cc0;
35 maintainers = with maintainers; [ ledif ];