Commit Graph

30 Commits

Author SHA1 Message Date
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
Vincent Laporte
4a1ff5b3ce ocamlPackages.cstruct: 4.0.0 → 5.0.0 2020-11-26 06:55:12 +01:00
sternenseemann
824d041cf5 ocamlPackages.ppx_cstruct: propagate dependencies
Without propagation some builds of packages requiring ppx_cstruct would
fail.
2020-04-16 19:57:35 +02:00
Vincent Laporte
bab29617d1
ocamlPackages.cstruct-sexp: disable tests for OCaml < 4.03 2020-04-10 19:03:35 +02:00
Vincent Laporte
942d312a69
ocamlPackages.cstruct-sexp: separate checkInputs 2020-04-10 19:03:35 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Vincent Laporte
81760f3235 ocamlPackages.cstruct: 3.1.1 -> 4.0.0
ocamlPackages.cstruct-sexp: init at 4.0.0

ocamlPackages.x509: 0.6.1 -> 0.7.1

ocamlPackages.tls: 0.9.0 -> 0.10.4

jackline: 2018-05-11 -> 2019-08-08
2019-08-31 06:55:26 +00:00
Vincent Laporte
5e786dedc1 ocaml-ng.ocamlPackages_4_01_0.ppx_cstruct: fix evaluation 2018-12-17 17:46:46 +00:00
Vincent Laporte
f41ac80d74 ocaml-ng.ocamlPackages_4_01_0.cstruct-unix: fix evaluation 2018-12-17 17:46:46 +00:00
Vincent Laporte
3cca862a5f ocaml-ng.ocamlPackages_4_01_0.cstruct-lwt: fix evaluation 2018-12-17 17:46:46 +00:00
Théo Zimmermann
208aedb971 ocamlPackages.*: remove unnecessary unpackCmd 2018-11-12 17:25:18 +00:00
Théo Zimmermann
794158fcd5
buildDunePackage: new support function; use it to refactor some OCaml derivations 2018-11-07 10:08:03 +01:00
Vincent Laporte
fc19401d67 jbuilder: 1.0.1 -> dune: 1.1.1 2018-09-15 19:32:32 +00:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
R. RyanTM
eacc74dff9 ocamlPackages.cstruct: 3.0.2 -> 3.1.1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/ocaml4.05.0-cstruct/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 3.1.1 with grep in /nix/store/5c95avaixqmphvir48h0c8njns9f36ib-ocaml4.05.0-cstruct-3.1.1
- directory tree listing: https://gist.github.com/202a8dc3e8f2f39f90c4dd1db40e3634
2018-03-30 22:25:21 -07:00
Vincent Laporte
81143b67aa
ocamlPackages.cstruct: fix evaluation 2017-11-28 01:11:15 +00:00
Vincent Laporte
bfc0959511
ocamlPackages.cstruct: 2.3.2 -> 3.0.2 2017-11-27 20:49:18 +00:00
Vincent Laporte
a80eb80b31 ocamlPackages.cstruct: 2.3.0 -> 2.3.2 2017-03-28 17:01:44 +00:00
Vincent Laporte
708bcdb307 ocamlPackages.{angstrom,cstruct,ezjsonm,hex,io-page}: depend on ocamlbuild 2017-03-04 05:33:30 +00:00
sternenseemann
cbfc766ad4 ocaml-cstruct: remove camlp4 support
This change solves dependency issues related to camlp4, async_p4 and sexplib_p4
2016-11-17 21:38:09 +01:00
Vincent Laporte
2d136204c4 ocamlPackages.cstruct: 1.6.0 -> 1.9.0, 2.3.0 2016-11-12 12:41:27 +01:00
Profpatsch
2bd86e9e47 Revert "Merge pull request #20090 from sternenseemann/master"
Reason: https://github.com/NixOS/nixpkgs/pull/20090#commitcomment-19686426

This reverts commit 9ffcb1b250, reversing
changes made to a6283c1126.
2016-11-04 12:24:57 +01:00
sternenseemann
361975cd93 ocaml-cstruct: 1.6.0 -> 2.3.0
This commit also refactors the expression.
2016-11-03 14:24:52 +01:00
Matthew Maurer
1d0e6ba2df async: 112.24.00 -> 112.24.00/113.33.03
PPX/P4 split
2016-09-14 16:37:21 -04:00
Matthew Maurer
fc4b5786cd sexplib: 112.24.01 -> 112.24.01/113.33.03
PPX/P4 split
2016-09-14 02:35:48 -04:00
Nicolas B. Pierron
72c6f8a140 Ensure that we can evaluate the platform attribute of ocaml packages. 2016-03-13 19:08:26 +00:00
Vincent Laporte
e361e700e1 ocaml-cstruct: assert minimal OCaml version (4.01) 2015-06-01 22:37:03 +02:00
Eric Merritt
ea41b6eec8 ocaml-cstruct: fix various build problems 2015-05-24 12:33:16 -07:00
Vincent Laporte
176e38f6f2 Adds ocaml-cstruct
Cstruct is a library and syntax extension to make it easier to access
C-like structures directly from OCaml. It supports both reading and
writing to these structures, and they are accessed via the Bigarray
module.

Homepage: https://github.com/mirage/ocaml-cstruct
2015-02-23 09:57:31 +01:00