Commit Graph

26 Commits

Author SHA1 Message Date
Malo Bourgon
ba54ba9316 ocamlPackages: add meta.mainProgram to packages with multiple executables
where none of the executables match the package's `name` or `pname`, and
one of the executables is the obvious `mainProgram`.
2022-05-20 10:13:29 +02:00
Anders Kaseorg
6920d8ca42 treewide: Simplify negated uses of versionAtLeast, versionOlder
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-04-25 13:35:24 -07:00
Aaron L. Zeng
3a510ac1ce ocamlPackages.bap: 2.2.0 -> 2.4.0 2022-04-18 21:53:30 +02:00
Ulrik Strid
a13cdfe520 ocamlPackages tree-wide: Move buildInputs that should be nativeBuildInputs
To keep this for the future we also strictDeps where possible, including for janePackages, topkg, oasis and ocamlbuild.
This makes some closures significantly smaller and makes cross compilation easier
2022-02-24 14:39:27 +01:00
Vincent Laporte
7b9b38fb44
ocamlPackages.bap: fix build 2022-02-11 11:38:33 +01:00
Felix Bühler
464e9792ff
treewide: rename name to pname&version (#158454)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-02-10 01:28:00 +01:00
sternenseemann
2d3225a6c2 ocamlPackages.bap: fix for multiple outputs llvmPackages
7869d16545 split all packages in
llvmPackages into multiple outputs. The default output of llvm doesn't
contain llvm-config, so we need to explicitly choose llvm.dev here.
2021-05-18 01:44:31 +02:00
Vincent Laporte
554827b5a7 ocamlPackages.bap: 2.1.0 → 2.2.0
libbap: 2019-11-15 → 2020-11-25
2021-02-26 07:09:22 +01:00
sternenseemann
4e42cac49d ocamlPackages: stdenv.lib → lib
This change was produced by searching for remaining occurrences of
stdenv.lib and replacing them manually.

Reference #108938.
2021-01-12 16:33:18 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Pamplemousse
9ff73686ed
ocamlPackages.bap: Correct build dependencies
As pointed upstream:
  https://github.com/BinaryAnalysisPlatform/bap/issues/1261#issuecomment-754926500

Signed-off-by: Pamplemousse <xav.maso@gmail.com>
2021-01-11 09:35:54 +01:00
Vincent Laporte
331186b9ac ocamlPackages.bitstring: 3.1.1 → 4.0.1
ocamlPackages.ppx_bitsring: init at 4.0.1
2021-01-07 07:43:29 +01:00
Vincent Laporte
afa12b1128 ocamlPackages.bap: 2.0.0 → 2.1.0 2020-10-08 10:31:19 +02:00
Matthew Maurer
1c243af737 ocamlPackages.bap: 1.6.0 -> 2.0.0
Also roll libbap forwards, as it does not build against the new bap.
2020-08-14 15:26:15 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
John Ericson
bca2e8255e treewide: CAML_LD_LIBRARY_PATH may be undefined 2019-11-14 13:44:07 -05:00
Vincent Laporte
748046d594 ocamlPackages.janeStreet: init at 0.12 (for OCaml ≥ 4.07)
Also add a few legacy packages at version 0.11 for OCaml ≥ 4.07: configurator,
ppx_core, ppx_driver, ppx_type_conv

ocamlPackages.bap: disable for OCaml ≥ 4.07

ocamlPackages.bistro: 0.4.0 -> 0.5.0
2019-09-10 14:05:26 +00:00
Franz Pletz
bd85a832c1
bap: build with llvm_8 2019-09-03 21:26:27 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Vincent Laporte
f38bf3ba4e ocamlPackages.bap: 1.4.0 -> 1.6.0
libbap: 2018-03-01 -> 2019-04-05
2019-05-05 22:00:58 +02:00
John Ericson
db965063b3 treewide: Make configureFlags lists 2018-08-03 17:06:03 -04:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Vincent Laporte
3e60af02d3
ocamlPackages.bap: fix build with re-1.7.3 2018-06-24 19:23:12 +00:00
Matthew Maurer
a9409104a0 bap: 1.2 -> 1.4 2018-03-01 17:22:43 -05:00
Vincent Laporte
582c3edcfa ocamlPackages.bap: mark as broken on OCaml ≥ 4.03 2017-06-28 18:41:59 +00:00
Matthew Maurer
7171d16fd4 bap: init at 1.2.0 2017-04-04 13:11:01 -04:00