Merge branch 'master' into staging-next

There were several more conflicts from name -> pname+version;
all auto-solved by kdiff3, hopefully OK.

Hydra nixpkgs: ?compare=1538611
This commit is contained in:
Vladimír Čunát
2019-08-25 14:57:11 +02:00
111 changed files with 1767 additions and 1313 deletions
@@ -5,7 +5,9 @@ let
webpage = "https://erratique.ch/software/${pname}";
in
assert stdenv.lib.versionAtLeast ocaml.version "4.01.0";
if !stdenv.lib.versionAtLeast ocaml.version "4.03"
then throw "logs is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation rec {
name = "ocaml-${pname}-${version}";
@@ -2,7 +2,7 @@
buildDunePackage rec {
pname = "lwt_log";
version = "1.1.0";
version = "1.1.1";
minimumOCamlVersion = "4.02";
@@ -10,7 +10,7 @@ buildDunePackage rec {
owner = "aantron";
repo = pname;
rev = version;
sha256 = "1c58gkqfvyf2j11jwj2nh4iq999wj9xpnmr80hz9d0nk9fv333pi";
sha256 = "1n12i1rmn9cjn6p8yr6qn5dwbrwvym7ckr7bla04a1xnq8qlcyj7";
};
propagatedBuildInputs = [ lwt ];
@@ -1,10 +1,10 @@
{ stdenv, pkgconfig, ocaml, findlib, fetchurl, curl, ncurses }:
stdenv.mkDerivation rec {
name = "ocurl-0.8.1";
name = "ocurl-0.8.2";
src = fetchurl {
url = "http://ygrek.org.ua/p/release/ocurl/${name}.tar.gz";
sha256 = "08ldzbx1k3mbjc01fmzsn86ll4paf331bcjss6iig6y6hgc9q3ry";
sha256 = "1ax3xdlzgb1zg7d0wr9nwgmh6a45a764m0wk8p6mx07ad94hz0q9";
};
buildInputs = [ pkgconfig ocaml findlib ncurses ];
+8 -21
View File
@@ -1,35 +1,22 @@
{ stdenv, fetchFromGitHub, ocaml, ocamlbuild, findlib, topkg
, ppx_tools, ppx_sexp_conv, cstruct, ppx_cstruct, sexplib, rresult, nocrypto
, astring
{ lib, fetchFromGitHub, buildDunePackage
, cstruct, sexplib0, rresult, nocrypto, astring
}:
if !stdenv.lib.versionAtLeast ocaml.version "4.03"
then throw "otr is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-otr-${version}";
version = "0.3.4";
buildDunePackage rec {
pname = "otr";
version = "0.3.6";
src = fetchFromGitHub {
owner = "hannesm";
repo = "ocaml-otr";
rev = "${version}";
sha256 = "0ixf0jvccmcbhk5mhzqakfzimvz200wkdkq3z2d0bdzyggslbdl4";
sha256 = "0iz6p85a0jxng9aq9blqsky173zaqfr6wlc5j48ad55lgwzlbih5";
};
buildInputs = [ ocaml ocamlbuild findlib topkg ppx_tools ppx_sexp_conv ppx_cstruct ];
propagatedBuildInputs = [ cstruct sexplib rresult nocrypto astring ];
buildPhase = "${topkg.run} build --tests true";
inherit (topkg) installPhase;
propagatedBuildInputs = [ cstruct sexplib0 rresult nocrypto astring ];
doCheck = true;
checkPhase = "${topkg.run} test";
meta = with stdenv.lib; {
inherit (ocaml.meta) platforms;
meta = with lib; {
homepage = https://github.com/hannesm/ocaml-otr;
description = "Off-the-record messaging protocol, purely in OCaml";
license = licenses.bsd2;
@@ -1,23 +1,19 @@
{ stdenv, fetchFromGitHub, ocaml, findlib, ocaml-migrate-parsetree }:
{ lib, fetchFromGitHub, buildDunePackage, ocaml-migrate-parsetree }:
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-ppx_tools_versioned-${version}";
version = "5.1";
buildDunePackage rec {
pname = "ppx_tools_versioned";
version = "5.2.3";
src = fetchFromGitHub {
owner = "let-def";
repo = "ppx_tools_versioned";
owner = "ocaml-ppx";
repo = pname;
rev = version;
sha256 = "1c7kvca67qpyr4hiy492yik5x31lmkhyhy5wpl0l0fbx7fr7l624";
sha256 = "1hcmpnw26zf70a71r3d2c2c0mn8q084gdn1r36ynng6fv9hq6j0y";
};
buildInputs = [ ocaml findlib ];
propagatedBuildInputs = [ ocaml-migrate-parsetree ];
createFindlibDestdir = true;
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://github.com/let-def/ppx_tools_versioned;
description = "Tools for authors of syntactic tools (such as ppx rewriters)";
license = licenses.gpl2;
@@ -11,11 +11,13 @@ let
inherit (stdenv.lib) optionals versionAtLeast;
pname = "vg";
version = "0.9.1";
version = "0.9.3";
webpage = "https://erratique.ch/software/${pname}";
in
assert versionAtLeast ocaml.version "4.02.0";
if !versionAtLeast ocaml.version "4.03"
then throw "vg is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation rec {
@@ -23,7 +25,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "${webpage}/releases/${pname}-${version}.tbz";
sha256 = "07h9a464v0x066mjg3ldkaq94ah47b7rvh54z4rndrg7v6bk7kyp";
sha256 = "0jj5hrqxdb6yyplnz0r7am4mbjzgcn876qp7sqs2x93a97fk6lwd";
};
buildInputs = [ ocaml findlib ocamlbuild topkg ];