about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/ssl/default.nix
blob: 1f4fd7b8580564c956a86cbfc7636444c3980fb0 (plain) (blame)
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, fetchFromGitHub, pkg-config, openssl
, dune-configurator }:

buildDunePackage rec {
  pname = "ssl";
  version = "0.5.10";

  src = fetchFromGitHub {
    owner = "savonet";
    repo = "ocaml-ssl";
    rev = "v${version}";
    sha256 = "1rszqiqayh67xlwd5411k8vib47x9kapdr037z1majd2c14z3kcb";
  };

  useDune2 = true;
  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ dune-configurator ];
  propagatedBuildInputs = [openssl];

  meta = {
    homepage = "http://savonet.rastageeks.org/";
    description = "OCaml bindings for libssl ";
    license = "LGPL+link exception";
    maintainers = [
      lib.maintainers.maggesi
      lib.maintainers.anmonteiro
    ];
  };
}