at 17.09-beta 33 lines 952 B view raw
1{stdenv, fetchurl, ocaml, findlib}: 2 3stdenv.mkDerivation rec { 4 name = "ocaml-cryptgps-${version}"; 5 version = "0.2.1"; 6 7 src = fetchurl { 8 url = "http://download.camlcity.org/download/cryptgps-0.2.1.tar.gz"; 9 sha256 = "1mp7i42cm9w9grmcsa69m3h1ycpn6a48p43y4xj8rsc12x9nav3s"; 10 }; 11 12 buildInputs = [ocaml findlib]; 13 14 configurePhase = "true"; # Skip configure phase 15 16 createFindlibDestdir = true; 17 18 meta = { 19 homepage = http://projects.camlcity.org/projects/cryptgps.html; 20 description = "Cryptographic functions for OCaml"; 21 longDescription = '' 22 This library implements the symmetric cryptographic algorithms 23 Blowfish, DES, and 3DES. The algorithms are written in O'Caml, 24 i.e. this is not a binding to some C library, but the implementation 25 itself. 26 ''; 27 license = stdenv.lib.licenses.mit; 28 platforms = ocaml.meta.platforms or []; 29 maintainers = [ 30 stdenv.lib.maintainers.z77z 31 ]; 32 }; 33}