diff options
author | Marco Maggesi <maggesi@math.unifi.it> | 2010-12-09 15:40:04 +0000 |
---|---|---|
committer | Marco Maggesi <maggesi@math.unifi.it> | 2010-12-09 15:40:04 +0000 |
commit | ac457478e35e56e7370e3e40167e5df75de98363 (patch) | |
tree | fcbfe2bb58b8e32bbb60c0c4e25e069139e73ceb /pkgs/development/ocaml-modules/cryptgps | |
parent | 114fa21c481f0c9b52f4e7a2915bffbdfb61467e (diff) | |
download | nixpkgs-ac457478e35e56e7370e3e40167e5df75de98363.tar nixpkgs-ac457478e35e56e7370e3e40167e5df75de98363.tar.gz nixpkgs-ac457478e35e56e7370e3e40167e5df75de98363.tar.bz2 nixpkgs-ac457478e35e56e7370e3e40167e5df75de98363.tar.lz nixpkgs-ac457478e35e56e7370e3e40167e5df75de98363.tar.xz nixpkgs-ac457478e35e56e7370e3e40167e5df75de98363.tar.zst nixpkgs-ac457478e35e56e7370e3e40167e5df75de98363.zip |
* 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
Diffstat (limited to 'pkgs/development/ocaml-modules/cryptgps')
-rw-r--r-- | pkgs/development/ocaml-modules/cryptgps/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/cryptgps/default.nix b/pkgs/development/ocaml-modules/cryptgps/default.nix new file mode 100644 index 00000000000..a9116c09ee7 --- /dev/null +++ b/pkgs/development/ocaml-modules/cryptgps/default.nix @@ -0,0 +1,31 @@ +{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 + + 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"; + }; +} |