blob: 7e55cc417b2b42eee02fd0766a843ae66022c269 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
buildDunePackage,
fetchurl,
digestif,
mirage-crypto,
alcotest,
ohex,
}:
buildDunePackage (finalAttrs: {
pname = "kdf";
version = "1.1.1";
src = fetchurl {
url = "https://github.com/robur-coop/kdf/releases/download/v${finalAttrs.version}/kdf-${finalAttrs.version}.tbz";
hash = "sha256-ki79+A01uPyw7H0BQ0APRbuYbLHHFdcX1UAvERz4+OU=";
};
propagatedBuildInputs = [
digestif
mirage-crypto
];
checkInputs = [
alcotest
ohex
];
doCheck = true;
meta = {
description = "Key Derivation Functions: HKDF RFC 5869, PBKDF RFC 2898, SCRYPT RFC 7914";
homepage = "https://github.com/robur-coop/kdf";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.vbgl ];
};
})
|