Commit Graph

17 Commits

Author SHA1 Message Date
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +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
Mario Rodas
d2bddb3ccb remarshal: 0.10.0 -> 0.14.0 2020-10-12 04:20:00 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM
11e147d3d1 remarshal: 0.9.1 -> 0.10.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/remarshal/versions
2019-07-20 08:42:38 -07:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Robert Schütz
6d8df017e9 remarshal: 0.8.0 -> 0.9.1 2019-04-04 21:40:11 +02:00
Mario Rodas
04a4f6d57c remarshal: supports darwin 2018-06-13 00:00:33 -05:00
R. RyanTM
0ad25d6ae2 remarshal: 0.7.0 -> 0.8.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/remarshal/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.json2json-wrapped -h’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.json2json-wrapped --help’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.json2json-wrapped -v’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.json2json-wrapped --version’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/json2json -h’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/json2json --help’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/json2json -v’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/json2json --version’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.json2toml-wrapped -h’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.json2toml-wrapped --help’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.json2toml-wrapped -v’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.json2toml-wrapped --version’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/json2toml -h’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/json2toml --help’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/json2toml -v’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/json2toml --version’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.json2yaml-wrapped -h’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.json2yaml-wrapped --help’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.json2yaml-wrapped -v’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.json2yaml-wrapped --version’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/json2yaml -h’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/json2yaml --help’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/json2yaml -v’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/json2yaml --version’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.remarshal-wrapped -h’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.remarshal-wrapped --help’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.remarshal-wrapped -v’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.remarshal-wrapped --version’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/remarshal -h’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/remarshal --help’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/remarshal -v’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/remarshal --version’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.toml2json-wrapped -h’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.toml2json-wrapped --help’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.toml2json-wrapped -v’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.toml2json-wrapped --version’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/toml2json -h’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/toml2json --help’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/toml2json -v’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/toml2json --version’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.toml2toml-wrapped -h’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.toml2toml-wrapped --help’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.toml2toml-wrapped -v’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.toml2toml-wrapped --version’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/toml2toml -h’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/toml2toml --help’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/toml2toml -v’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/toml2toml --version’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.toml2yaml-wrapped -h’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.toml2yaml-wrapped --help’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.toml2yaml-wrapped -v’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.toml2yaml-wrapped --version’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/toml2yaml -h’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/toml2yaml --help’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/toml2yaml -v’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/toml2yaml --version’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.yaml2json-wrapped -h’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.yaml2json-wrapped --help’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.yaml2json-wrapped -v’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.yaml2json-wrapped --version’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/yaml2json -h’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/yaml2json --help’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/yaml2json -v’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/yaml2json --version’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.yaml2toml-wrapped -h’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.yaml2toml-wrapped --help’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.yaml2toml-wrapped -v’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.yaml2toml-wrapped --version’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/yaml2toml -h’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/yaml2toml --help’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/yaml2toml -v’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/yaml2toml --version’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.yaml2yaml-wrapped -h’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.yaml2yaml-wrapped --help’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.yaml2yaml-wrapped -v’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/.yaml2yaml-wrapped --version’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/yaml2yaml -h’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/yaml2yaml --help’ got 0 exit code
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/yaml2yaml -v’ and found version 0.8.0
- ran ‘/nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0/bin/yaml2yaml --version’ and found version 0.8.0
- found 0.8.0 with grep in /nix/store/8cafzxn7ffa6kzy55xf7y0hslgwnn4br-remarshal-0.8.0
- directory tree listing: https://gist.github.com/8dc1ba1b525a1d9d051b9cbbbf7fbe08
2018-05-12 14:02:55 +02:00
Peter Hoeg
3e3b5895ca remarshal: use python3 instead of python2
Officially both python2 and 3 are supported.
2018-04-22 10:12:22 +08:00
Pascal Bach
d321f91fa1 remarshal: 0.6.0 -> 0.7.0
The checks in 0.6.0 did no longer work with the updated dependencies.
Updating to 0.7.0 fixes the issue.

The deps.nix file was used for the go version and is no longer required
as remarshal is now written in python.
2018-01-07 15:58:54 +01:00
Peter Hoeg
db90dd8de2 remarshal: 0.3.0 -> 0.6.0 2016-12-30 19:19:16 +08:00
Kamil Chmielewski
914e0e594c buildGoPackage: deps.json -> deps.nix in NIXON
https://github.com/NixOS/nixpkgs/pull/17254#issuecomment-245295541

* update docs to describe `deps.nix`
* include goDeps in nix-shell GOPATH
* NixOS 16.09 rel notes about replacing goPackages
2016-09-16 00:04:55 +01:00
Kamil Chmielewski
da3ddd48e4 buildGoPackage: remove Go deps file libs.json
After #16017 there were a lot
of comments saying that `nix` would be better than `JSON`
for Go packages dependency sets.
As said in https://github.com/NixOS/nixpkgs/pull/16017#issuecomment-229624046

    > Because of the content-addressable store, if two programs have the
    > same dependency it will already result in the same derivation in
    > the
    > store. Git also has compression in the pack files so it won't make
    > much difference to duplicate the dependencies on disk. And finally
    > most users will just use the binary builds so it won't make any
    > differences to them.

This PR removes `libs.json` file and puts all package dependencies in
theirs `deps.json`.
2016-08-11 23:07:09 +02:00
Kamil Chmielewski
7eb671ebcd no more goPackages 2016-06-09 13:08:00 +02:00
Pascal Wittmann
c283a3da68 Replace 'with plaforms; platform' with 'platforms.platform' 2015-11-18 11:34:09 +01:00
Jaka Hudoklin
9c1943fb6f influxdb: 0.8.3 -> 0.9.4, fix module 2015-11-16 14:22:08 +01:00