ocamlPackages.ocsigen_server: 2.11.0 → 2.15.0
ocamlPackages.ssl: 0.5.5 → 0.5.9
This commit is contained in:
parent
710e28bdd8
commit
e1b9556f87
@ -13,14 +13,14 @@ let mkpath = p: n:
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.11.0";
|
||||
version = "2.15.0";
|
||||
pname = "ocsigenserver";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ocsigen";
|
||||
repo = "ocsigenserver";
|
||||
rev = version;
|
||||
sha256 = "0y1ngki7w9s10ip7nj9qb7254bd5sp01xxz16sxyj7l7qz603hy2";
|
||||
sha256 = "15qdkxcbl9c1bbn0fh9awjw0hjn7r6awcn288a9vyxln7icdbifw";
|
||||
};
|
||||
|
||||
buildInputs = [ which makeWrapper ocaml findlib
|
||||
|
@ -1,29 +1,25 @@
|
||||
{ stdenv, fetchzip, which, openssl, ocaml, findlib }:
|
||||
{ lib, buildDunePackage, fetchFromGitHub, pkg-config, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ocaml${ocaml.version}-ssl-${version}";
|
||||
version = "0.5.5";
|
||||
buildDunePackage rec {
|
||||
pname = "ssl";
|
||||
version = "0.5.9";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/savonet/ocaml-ssl/releases/download/${version}/ocaml-ssl-${version}.tar.gz";
|
||||
sha256 = "0j5zvsx51dg5r7sli7bakv7gfd29z890h0xzi876pg9vywwz9w7l";
|
||||
src = fetchFromGitHub {
|
||||
owner = "savonet";
|
||||
repo = "ocaml-ssl";
|
||||
rev = version;
|
||||
sha256 = "04h02rvzrwp886n5hsx84rnc9b150iggy38g5v1x1rwz3pkdnmf0";
|
||||
};
|
||||
|
||||
buildInputs = [which ocaml findlib];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
propagatedBuildInputs = [openssl];
|
||||
|
||||
dontAddPrefix = true;
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = {
|
||||
homepage = http://savonet.rastageeks.org/;
|
||||
description = "OCaml bindings for libssl ";
|
||||
license = "LGPL+link exception";
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
maintainers = [
|
||||
stdenv.lib.maintainers.z77z
|
||||
lib.maintainers.z77z
|
||||
];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user