* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 16:40:04 +01:00
|
|
|
{stdenv, fetchurl, ocaml, findlib}:
|
|
|
|
|
|
|
|
let
|
|
|
|
ocaml_version = (builtins.parseDrvName ocaml.name).version;
|
|
|
|
version = "0.2.1";
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "ocaml-cryptgps-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.camlcity.org/download/cryptgps-0.2.1.tar.gz";
|
|
|
|
sha256 = "1mp7i42cm9w9grmcsa69m3h1ycpn6a48p43y4xj8rsc12x9nav3s";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ocaml findlib];
|
|
|
|
|
|
|
|
configurePhase = "true"; # Skip configure phase
|
|
|
|
|
2010-12-21 10:37:35 +01:00
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 16:40:04 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://projects.camlcity.org/projects/cryptgps.html;
|
|
|
|
description = "Cryptographic functions for OCaml";
|
|
|
|
longDescription = ''
|
|
|
|
This library implements the symmetric cryptographic algorithms
|
|
|
|
Blowfish, DES, and 3DES. The algorithms are written in O'Caml,
|
|
|
|
i.e. this is not a binding to some C library, but the implementation
|
|
|
|
itself.
|
|
|
|
'';
|
|
|
|
license = "MIT/X11";
|
* Enable hydra build for ocaml-batteries, camlzip, camomile, ocaml-cryptgps, cryptokit, ocaml-lwt, menhir, ounit, ocaml-pcre, ocaml-react, ocaml-ssl
svn path=/nixpkgs/trunk/; revision=25064
2010-12-11 15:50:45 +01:00
|
|
|
platforms = ocaml.meta.platforms;
|
|
|
|
maintainers = [
|
|
|
|
stdenv.lib.maintainers.z77z
|
|
|
|
];
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 16:40:04 +01:00
|
|
|
};
|
|
|
|
}
|