nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 42 lines 973 B view raw
1{ 2 stdenv, 3 lib, 4 fetchurl, 5 ocaml, 6 findlib, 7}: 8 9stdenv.mkDerivation { 10 pname = "ocaml-cryptgps"; 11 version = "0.2.1"; 12 13 src = fetchurl { 14 url = "http://download.camlcity.org/download/cryptgps-0.2.1.tar.gz"; 15 sha256 = "1mp7i42cm9w9grmcsa69m3h1ycpn6a48p43y4xj8rsc12x9nav3s"; 16 }; 17 18 nativeBuildInputs = [ 19 ocaml 20 findlib 21 ]; 22 23 strictDeps = true; 24 25 dontConfigure = true; # Skip configure phase 26 27 createFindlibDestdir = true; 28 29 meta = { 30 homepage = "http://projects.camlcity.org/projects/cryptgps.html"; 31 description = "Cryptographic functions for OCaml"; 32 longDescription = '' 33 This library implements the symmetric cryptographic algorithms 34 Blowfish, DES, and 3DES. The algorithms are written in O'Caml, 35 i.e. this is not a binding to some C library, but the implementation 36 itself. 37 ''; 38 license = lib.licenses.mit; 39 broken = lib.versionAtLeast ocaml.version "4.06"; 40 inherit (ocaml.meta) platforms; 41 }; 42}