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