ocamlPackages.pbkdf: init at 1.1.0
Necessary for the upcoming x509 0.12.0 release.
This commit is contained in:
parent
60fa97197d
commit
83eb1fe06d
30
pkgs/development/ocaml-modules/pbkdf/default.nix
Normal file
30
pkgs/development/ocaml-modules/pbkdf/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{ lib
|
||||||
|
, buildDunePackage
|
||||||
|
, fetchurl
|
||||||
|
, mirage-crypto
|
||||||
|
, alcotest
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildDunePackage rec {
|
||||||
|
pname = "pbkdf";
|
||||||
|
version = "1.1.0";
|
||||||
|
|
||||||
|
useDune2 = true;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/abeaumont/ocaml-pbkdf/releases/download/${version}/pbkdf-${version}.tbz";
|
||||||
|
sha256 = "e53ed1bd9abf490c858a341c10fb548bc9ad50d4479acdf95a9358a73d042264";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ mirage-crypto ];
|
||||||
|
checkInputs = [ alcotest ];
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Password based key derivation functions (PBKDF) from PKCS#5";
|
||||||
|
maintainers = [ lib.maintainers.sternenseemann ];
|
||||||
|
license = lib.licenses.bsd2;
|
||||||
|
homepage = "https://github.com/abeaumont/ocaml-pbkdf";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
@ -930,6 +930,8 @@ let
|
||||||
|
|
||||||
parse-argv = callPackage ../development/ocaml-modules/parse-argv { };
|
parse-argv = callPackage ../development/ocaml-modules/parse-argv { };
|
||||||
|
|
||||||
|
pbkdf = callPackage ../development/ocaml-modules/pbkdf { };
|
||||||
|
|
||||||
pcap-format = callPackage ../development/ocaml-modules/pcap-format { };
|
pcap-format = callPackage ../development/ocaml-modules/pcap-format { };
|
||||||
|
|
||||||
pecu = callPackage ../development/ocaml-modules/pecu { };
|
pecu = callPackage ../development/ocaml-modules/pecu { };
|
||||||
|
|
Loading…
Reference in a new issue