9 if lib.versionAtLeast ocaml.version "4.06" then
10 throw "cryptgps is not available for OCaml ${ocaml.version}"
14 pname = "ocaml-cryptgps";
18 url = "http://download.camlcity.org/download/cryptgps-0.2.1.tar.gz";
19 sha256 = "1mp7i42cm9w9grmcsa69m3h1ycpn6a48p43y4xj8rsc12x9nav3s";
29 dontConfigure = true; # Skip configure phase
31 createFindlibDestdir = true;
34 homepage = "http://projects.camlcity.org/projects/cryptgps.html";
35 description = "Cryptographic functions for OCaml";
37 This library implements the symmetric cryptographic algorithms
38 Blowfish, DES, and 3DES. The algorithms are written in O'Caml,
39 i.e. this is not a binding to some C library, but the implementation
42 license = lib.licenses.mit;
43 inherit (ocaml.meta) platforms;
45 lib.maintainers.maggesi