3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

17 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
Merijn Broeren 133103d709
treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
Matthew Bauer 0505c5125c
Merge branch 'master' into static-fixes 2019-12-02 13:34:24 -05:00
c0bw3b 9367367dfd Treewide: fix URL permanent redirects
Permanent redirects on homepages and/or source URLs
as reported by Repology
2019-11-16 01:41:23 +01:00
Yorick van Pelt 4550405ac9
ocaml-modules: replace buildInputs with nativeBuildInputs where appropriate
The default has been to use buildInputs for build dependencies.
This doesn't work when cross-compiling.
2019-11-11 11:10:14 +03:00
R. RyanTM fdb95b4d4d ocamlPackages.yojson: 1.6.0 -> 1.7.0
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.06.1-yojson/versions
2019-03-11 12:17:45 +01:00
Vincent Laporte b60b304cef ocamlPackages.yojson: 1.4.1 -> 1.6.0 2019-02-20 10:41:53 +01:00
Vincent Laporte fc19401d67 jbuilder: 1.0.1 -> dune: 1.1.1 2018-09-15 19:32:32 +00:00
R. RyanTM 1fa341fcc4 ocamlPackages.yojson: 1.4.0 -> 1.4.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-yojson/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/k3c6sbqahg7xbrraipzbbbvkrncfbb78-ocaml4.05.0-yojson-1.4.1/bin/ydump --help` got 0 exit code
- ran `/nix/store/k3c6sbqahg7xbrraipzbbbvkrncfbb78-ocaml4.05.0-yojson-1.4.1/bin/ydump --help` and found version 1.4.1
- found 1.4.1 with grep in /nix/store/k3c6sbqahg7xbrraipzbbbvkrncfbb78-ocaml4.05.0-yojson-1.4.1
- directory tree listing: https://gist.github.com/45ad3b6379841d4750efc7dcfe6b602f
2018-03-31 11:44:41 +02:00
Vincent Laporte d0c513b470
ocamlPackages.yojson: 1.3.3 -> 1.4.0 2017-11-27 17:00:15 +00:00
Vincent Laporte 97c5dfc55e
ocamlPackages.yojson: 1.2.3 -> 1.3.3 2017-10-22 14:37:28 +00: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 0b7fd5f621 ocaml-yojson: 1.1.8 -> 1.2.3 2015-11-30 18:07:36 +01:00
Vincent Laporte 857c13e1af Minor modifications of some ocaml packages:
adds myself as a maintainer
adds assertions to have evaluation errors rather than build errors
moves opam out of ocamlPackages, as it does not provide a library
2014-09-21 11:02:55 +01:00
Vincent Laporte 559c7cc2da yojson: propagate build inputs (as in PR #3404) 2014-08-19 18:41:16 +02:00
Vincent Laporte 9256136635 Adds yojson.
Yojson is an optimized parsing and printing OCaml library for the JSON
format, contributed by Martin Jambon.

Webpage: http://mjambon.com/yojson.html
2014-07-05 09:00:12 +02:00