Commit Graph

39 Commits

Author SHA1 Message Date
Guy Chronister
4671603853 ocamlPackages.bap: migrate to finalAttrs 2026-01-21 17:22:28 -06:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
jopejoe1
1e1cef625b ocamlPackages: swap throws to meta.broken
throws no longer work with the current ci we have in nixpkgs
2025-10-18 22:23:06 +02:00
Vincent Laporte
3cbaba6d9d ocamlPackages.bap: update to janestreet 0.17
libbap: mark as broken
2025-06-11 04:57:16 +02:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
Sigmanificient
203a48ad35 pkgs/development: remove unused fetchpatch arguments 2024-05-24 02:53:57 +02:00
Ulrik Strid
c53a63adf1 ocamlPackages treewide: strictDeps all packages 2023-02-03 08:59:34 +01:00
Vincent Laporte
7bc0c0e8a6 ocamlPackages.lwt: 5.5.0 → 5.6.1 2022-10-23 13:54:53 +02:00
bezmuth
474868fdbe ocamlPackages.bap: 2.4.0 -> 2.5.0 2022-09-09 07:55:29 +02:00
Aaron L. Zeng
4f6ddfdd23 Add Jane Street ocaml packages version 0.15
- ocamlPackages.tls*: 0.15.2 -> 0.15.3
- ocamlPackages.bistro: unstable-2021-11-13 -> unstable-2022-05-07
- ocamlPackages.phylogenetics: 0.1.0 -> unstable-2022-05-06
2022-07-07 00:32:11 -04:00
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