Merge branch 'master' into staging-next
https://github.com/NixOS/nixpkgs/commit/b04fc593e7b55fe1f74421b11589f12a339c92e2 seems to have accidentally changed mkDerivation function for dfilemanager and solarus-quest-editor so I have reverted that here.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
, ocaml, findlib, ocamlbuild, ocaml_oasis,
|
||||
bitstring, camlzip, cmdliner, core_kernel, ezjsonm, fileutils, ocaml_lwt, ocamlgraph, ocurl, re, uri, zarith, piqi, piqi-ocaml, uuidm, llvm, frontc, ounit, ppx_jane, parsexp,
|
||||
utop, libxml2,
|
||||
ppx_bitstring,
|
||||
ppx_tools_versioned,
|
||||
which, makeWrapper, writeText
|
||||
, z3
|
||||
@@ -40,7 +41,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ which makeWrapper ];
|
||||
|
||||
buildInputs = [ ocaml findlib ocamlbuild ocaml_oasis
|
||||
llvm ppx_tools_versioned
|
||||
llvm ppx_bitstring ppx_tools_versioned
|
||||
z3
|
||||
utop libxml2 ];
|
||||
|
||||
@@ -63,6 +64,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [ ./dont-add-curses.patch ];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace oasis/elf --replace bitstring.ppx ppx_bitstring
|
||||
'';
|
||||
|
||||
configureFlags = [ "--enable-everything ${disableIda}" "--with-llvm-config=${llvm}/bin/llvm-config" ];
|
||||
|
||||
BAPBUILDFLAGS = "-j $(NIX_BUILD_CORES)";
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
{ buildDunePackage, bisect_ppx, ocamlbuild }:
|
||||
|
||||
buildDunePackage {
|
||||
minimumOCamlVersion = "4.02";
|
||||
inherit (bisect_ppx) version src meta;
|
||||
pname = "bisect_ppx-ocamlbuild";
|
||||
propagatedBuildInputs = [ ocamlbuild ];
|
||||
}
|
||||
@@ -1,24 +1,27 @@
|
||||
{ stdenv, fetchFromGitHub, buildDunePackage, ocaml-migrate-parsetree, ppx_tools_versioned }:
|
||||
{ lib, fetchFromGitHub, buildDunePackage, cmdliner, ocaml-migrate-parsetree, ppx_tools_versioned }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "bisect_ppx";
|
||||
version = "1.4.0";
|
||||
version = "2.5.0";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aantron";
|
||||
repo = "bisect_ppx";
|
||||
rev = version;
|
||||
sha256 = "1plhm4pvrhpapz5zaks194ji1fgzmp13y942g10pbn9m7kgkqg4h";
|
||||
sha256 = "0w2qd1myvh333jvkf8hgrqzl8ns4xgfggk4frf1ij3jyc7qc0868";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
cmdliner
|
||||
ocaml-migrate-parsetree
|
||||
ppx_tools_versioned
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Code coverage for OCaml";
|
||||
license = stdenv.lib.licenses.mpl20;
|
||||
license = lib.licenses.mit;
|
||||
homepage = "https://github.com/aantron/bisect_ppx";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,20 +1,21 @@
|
||||
{ stdenv, fetchFromGitHub, buildDunePackage, ppx_tools_versioned, ounit }:
|
||||
{ lib, fetchFromGitHub, buildDunePackage, stdlib-shims }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "bitstring";
|
||||
version = "3.1.1";
|
||||
version = "4.0.1";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xguerin";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1ys8xx174jf8v5sm0lbxvzhdlcs5p0fhy1gvf58gad2g4gvgpvxc";
|
||||
sha256 = "1z7jmgljvp52lvn3ml2cp6gssxqp4sikwyjf6ym97cycbcw0fjjm";
|
||||
};
|
||||
|
||||
buildInputs = [ ppx_tools_versioned ounit ];
|
||||
doCheck = true;
|
||||
propagatedBuildInputs = [ stdlib-shims ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "This library adds Erlang-style bitstrings and matching over bitstrings as a syntax extension and library for OCaml";
|
||||
homepage = "https://github.com/xguerin/bitstring";
|
||||
license = licenses.lgpl21Plus;
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
{ lib, buildDunePackage, ocaml
|
||||
, bitstring, ppxlib
|
||||
, ounit
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "ppx_bitstring";
|
||||
inherit (bitstring) version useDune2 src;
|
||||
|
||||
buildInputs = [ bitstring ppxlib ];
|
||||
|
||||
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||
checkInputs = [ ounit ];
|
||||
|
||||
meta = bitstring.meta // {
|
||||
description = "Bitstrings and bitstring matching for OCaml - PPX extension";
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
{ stdenv, fetchzip, which, ocsigen_server, ocaml,
|
||||
lwt_react,
|
||||
opaline, ppx_deriving, findlib
|
||||
, ppx_tools_versioned
|
||||
, js_of_ocaml-ocamlbuild, js_of_ocaml-ppx, js_of_ocaml-ppx_deriving_json
|
||||
, js_of_ocaml-lwt
|
||||
, js_of_ocaml-tyxml
|
||||
@@ -22,6 +23,7 @@ stdenv.mkDerivation rec
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml which findlib js_of_ocaml-ocamlbuild js_of_ocaml-ppx_deriving_json opaline
|
||||
ppx_tools_versioned
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -1,16 +1,19 @@
|
||||
{ stdenv, fetchurl, libev, buildDunePackage, zed, lwt_log, lwt_react }:
|
||||
{ lib, fetchFromGitHub, buildDunePackage, zed, lwt_log, lwt_react, mew_vi }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "lambda-term";
|
||||
version = "2.0.3";
|
||||
version = "3.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocaml-community/lambda-term/releases/download/${version}/lambda-term-${version}.tbz";
|
||||
sha256 = "1n1b3ffj41a1lm2315hh870yj9h8gg8g9jcxha6dr3xx8r84np3v";
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ocaml-community";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1k0ykiz0vhpyyj9fkss29ajas4fh1xh449j702xkvayqipzj1mkg";
|
||||
};
|
||||
|
||||
buildInputs = [ libev ];
|
||||
propagatedBuildInputs = [ zed lwt_log lwt_react ];
|
||||
propagatedBuildInputs = [ zed lwt_log lwt_react mew_vi ];
|
||||
|
||||
meta = { description = "Terminal manipulation library for OCaml";
|
||||
longDescription = ''
|
||||
@@ -28,10 +31,10 @@ buildDunePackage rec {
|
||||
console applications.
|
||||
'';
|
||||
|
||||
homepage = "https://github.com/diml/lambda-term";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
inherit (src.meta) homepage;
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [
|
||||
stdenv.lib.maintainers.gal_bolle
|
||||
lib.maintainers.gal_bolle
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
{ fetchzip, buildDunePackage, lwt, ppx_tools_versioned }:
|
||||
{ fetchzip, buildDunePackage, lwt, ppxlib }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "lwt_ppx";
|
||||
version = "2.0.1";
|
||||
version = "2.0.2";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimumOCamlVersion = "4.04";
|
||||
|
||||
src = fetchzip {
|
||||
# `lwt_ppx` has a different release cycle than Lwt, but it's included in
|
||||
@@ -12,12 +16,11 @@ buildDunePackage {
|
||||
#
|
||||
# This is particularly useful for overriding Lwt without breaking `lwt_ppx`,
|
||||
# as new Lwt releases may contain broken `lwt_ppx` code.
|
||||
url = "https://github.com/ocsigen/lwt/archive/5.2.0.tar.gz";
|
||||
sha256 = "1znw8ckwdmqsnrcgar4g33zgr659l4l904bllrz69bbwdnfmz2x3";
|
||||
url = "https://github.com/ocsigen/lwt/archive/5.4.0.tar.gz";
|
||||
sha256 = "1ay1zgadnw19r9hl2awfjr22n37l7rzxd9v73pjbahavwm2ay65d";
|
||||
};
|
||||
|
||||
|
||||
propagatedBuildInputs = [ lwt ppx_tools_versioned ];
|
||||
propagatedBuildInputs = [ lwt ppxlib ];
|
||||
|
||||
meta = {
|
||||
description = "Ppx syntax extension for Lwt";
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
{ lib, buildDunePackage, fetchFromGitHub
|
||||
, result, trie
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "mew";
|
||||
version = "0.1.0";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kandu";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0417xsghj92v3xa5q4dk4nzf2r4mylrx2fd18i7cg3nzja65nia2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ result trie ];
|
||||
|
||||
meta = {
|
||||
inherit (src.meta) homepage;
|
||||
license = lib.licenses.mit;
|
||||
description = "Modal Editing Witch";
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{ lib, buildDunePackage, fetchFromGitHub
|
||||
, mew, react
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "mew_vi";
|
||||
version = "0.5.0";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kandu";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0lihbf822k5zasl60w5mhwmdkljlq49c9saayrws7g4qc1j353r8";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ mew react ];
|
||||
|
||||
meta = {
|
||||
inherit (src.meta) homepage;
|
||||
license = lib.licenses.mit;
|
||||
description = "Modal Editing Witch, VI interpreter";
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
|
||||
}
|
||||
@@ -4,11 +4,11 @@ buildDunePackage rec {
|
||||
minimumOCamlVersion = "4.08";
|
||||
|
||||
pname = "mirage-crypto";
|
||||
version = "0.8.7";
|
||||
version = "0.8.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/mirage-crypto/releases/download/v${version}/mirage-crypto-v${version}.tbz";
|
||||
sha256 = "1gx86h6kk39zq3kvl854jc2ap2755paalp1f7iv8r9js2xnbxfxy";
|
||||
sha256 = "19czylfyakckfzzcbqgv9ygl243wix7ak8zkbdcb9hcl2k2shswb";
|
||||
};
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
{ lib, buildDunePackage
|
||||
, mirage-crypto, mirage-crypto-rng
|
||||
, dune-configurator, async, logs
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "mirage-crypto-rng-async";
|
||||
|
||||
inherit (mirage-crypto) useDune2 version minimumOCamlVersion src;
|
||||
|
||||
nativeBuildInputs = [
|
||||
dune-configurator
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
async
|
||||
logs
|
||||
mirage-crypto
|
||||
mirage-crypto-rng
|
||||
];
|
||||
|
||||
meta = mirage-crypto.meta // {
|
||||
description = "Feed the entropy source in an Async-friendly way";
|
||||
};
|
||||
}
|
||||
@@ -1,5 +1,7 @@
|
||||
{ buildDunePackage, mirage-crypto-rng, duration, cstruct, mirage-runtime
|
||||
, mirage-time, mirage-clock, mirage-unix, mirage-time-unix, mirage-clock-unix }:
|
||||
, mirage-time, mirage-clock, mirage-unix, mirage-time-unix, mirage-clock-unix
|
||||
, logs, lwt
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "mirage-crypto-rng-mirage";
|
||||
@@ -10,7 +12,7 @@ buildDunePackage {
|
||||
checkInputs = [ mirage-unix mirage-clock-unix mirage-time-unix ];
|
||||
|
||||
propagatedBuildInputs = [ duration cstruct mirage-crypto-rng mirage-runtime
|
||||
mirage-time mirage-clock ];
|
||||
mirage-time mirage-clock logs lwt ];
|
||||
|
||||
meta = mirage-crypto-rng.meta // {
|
||||
description = "Entropy collection for a cryptographically secure PRNG";
|
||||
|
||||
@@ -4,6 +4,8 @@ buildDunePackage rec {
|
||||
pname = "ppx_tools_versioned";
|
||||
version = "5.4.0";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ocaml-ppx";
|
||||
repo = pname;
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
{ lib, buildDunePackage, fetchFromGitHub }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "trie";
|
||||
version = "1.0.0";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kandu";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0s7p9swjqjsqddylmgid6cv263ggq7pmb734z4k84yfcrgb6kg4g";
|
||||
};
|
||||
|
||||
meta = {
|
||||
inherit (src.meta) homepage;
|
||||
license = lib.licenses.mit;
|
||||
description = "Strict impure trie tree";
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user