aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/cryptokit/default.nix
blob: 272ff72d8c594ee1c658ea042d1efe1bd19a9615 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib, buildDunePackage, fetchurl, zlib, dune-configurator, zarith, ncurses }:

buildDunePackage {
  pname = "cryptokit";
  version = "1.16.1";

  useDune2 = true;

  src = fetchurl {
    url = "https://github.com/xavierleroy/cryptokit/archive/release1161.tar.gz";
    sha256 = "0kzqkk451m69nqi5qiwak0rd0rp5vzi613gcngsiig7dyxwka61c";
  };

  dontConfigure = true;

  buildInputs = [ dune-configurator ncurses ];
  propagatedBuildInputs = [ zarith zlib ];

  doCheck = true;

  meta = {
    homepage = "http://pauillac.inria.fr/~xleroy/software.html";
    description = "A library of cryptographic primitives for OCaml";
    license = lib.licenses.lgpl2Only;
    maintainers = [
      lib.maintainers.maggesi
    ];
  };
}