ocamlPackages.pbkdf: init at 1.1.0
Necessary for the upcoming x509 0.12.0 release.
commit83eb1fe06d7e32eb578e892f12a410c3ee38f14e
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>
dateMon 5 Apr 2021, 13:38 (6 years ago)
parent60fa971
pkgs/development/ocaml-modules/pbkdf/default.nixnew file+30
@@ -0,0 +1,30 @@
1+{ lib
2+, buildDunePackage
3+, fetchurl
4+, mirage-crypto
5+, alcotest
6+}:
7+
8+buildDunePackage rec {
9+ pname = "pbkdf";
10+ version = "1.1.0";
11+
12+ useDune2 = true;
13+
14+ src = fetchurl {
15+ url = "https://github.com/abeaumont/ocaml-pbkdf/releases/download/${version}/pbkdf-${version}.tbz";
16+ sha256 = "e53ed1bd9abf490c858a341c10fb548bc9ad50d4479acdf95a9358a73d042264";
17+ };
18+
19+ propagatedBuildInputs = [ mirage-crypto ];
20+ checkInputs = [ alcotest ];
21+ doCheck = true;
22+
23+ meta = {
24+ description = "Password based key derivation functions (PBKDF) from PKCS#5";
25+ maintainers = [ lib.maintainers.sternenseemann ];
26+ license = lib.licenses.bsd2;
27+ homepage = "https://github.com/abeaumont/ocaml-pbkdf";
28+ };
29+}
30+
pkgs/top-level/ocaml-packages.nix+2
@@ -930,6 +930,8 @@ let
930930
931931 parse-argv = callPackage ../development/ocaml-modules/parse-argv { };
932932
933+ pbkdf = callPackage ../development/ocaml-modules/pbkdf { };
934+
933935 pcap-format = callPackage ../development/ocaml-modules/pcap-format { };
934936
935937 pecu = callPackage ../development/ocaml-modules/pecu { };