Commit Graph

48 Commits

Author SHA1 Message Date
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
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
R. Ryantm
9476620334 grails: 7.0.0-M1 -> 7.0.0-M3 2025-04-11 07:16:58 +02:00
R. Ryantm
2c8cda529a grails: 6.2.2 -> 7.0.0-M1 2024-12-24 04:24:36 +00: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
R. Ryantm
f5a27bfa74 grails: 6.2.1 -> 6.2.2 2024-11-23 09:00:17 +01:00
R. Ryantm
5edc9a24b0 grails: 6.1.2 -> 6.2.1 2024-10-07 21:48:04 +02:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
R. Ryantm
7c3ef6a1bb grails: 6.1.0 -> 6.1.2 2024-02-01 20:41:42 +01:00
R. Ryantm
bb8669712e grails: 6.0.0 -> 6.1.0 2023-11-04 12:37:44 +00:00
R. Ryantm
b16b6cc6f2 grails: 5.3.3 -> 6.0.0 2023-08-21 17:35:03 +02:00
R. Ryantm
d1a9aa51f7 grails: 5.3.2 -> 5.3.3 2023-07-14 22:50:04 +02:00
R. Ryantm
e0b99fe0fe grails: 5.3.0 -> 5.3.2 2023-02-21 07:28:22 +01:00
R. Ryantm
6a30ce3a7a grails: 5.2.5 -> 5.3.0 2023-02-09 09:54:07 +00:00
R. Ryantm
cef44108c3 grails: 5.2.4 -> 5.2.5 2022-11-12 09:37:59 +01:00
R. Ryantm
db09da2ebf grails: 5.2.3 -> 5.2.4 2022-09-15 12:47:59 +02:00
R. Ryantm
2abafa293b grails: 5.2.2 -> 5.2.3 2022-08-28 23:11:38 +02:00
R. Ryantm
d236188fa6 grails: 5.2.1 -> 5.2.2 2022-08-05 14:12:31 +02:00
R. Ryantm
1fa5fdc898 grails: 5.1.9 -> 5.2.1 2022-07-31 07:52:04 +00:00
Robert Scott
bba36e0154 grails: mark as sourceProvenance binaryBytecode 2022-07-23 19:31:43 +01:00
Robert Scott
10e96b76b3 grails: 5.1.7 -> 5.1.9
addressing CVE-2022-35912

https://nvd.nist.gov/vuln/detail/CVE-2022-35912
2022-07-23 19:31:16 +01:00
R. Ryantm
f5625fbe4a grails: 5.1.6 -> 5.1.7 2022-07-16 14:50:01 +02:00
R. Ryantm
4d628da3d7 grails: 5.1.4 -> 5.1.6 2022-04-02 15:25:38 +02:00
R. Ryantm
f770dd0627 grails: 5.1.3 -> 5.1.4 2022-03-23 19:32:40 +01:00
R. Ryantm
26fe586d53 grails: 5.1.2 -> 5.1.3 2022-03-12 14:44:00 +01:00
R. Ryantm
afb3e01958 grails: 4.1.0.M1 -> 5.1.2 2022-03-06 15:29:42 +01:00
Ben Siraphob
127733211e treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
Ben Siraphob
2f78ee7e81 pkgs/development: stdenv.lib -> lib 2021-01-24 00:16:29 +07: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
R. RyanTM
4384bebab8 grails: 4.0.3 -> 4.1.0.M1 2020-05-24 20:50:37 +00:00
R. RyanTM
778e98b607 grails: 4.0.2 -> 4.0.3 2020-04-06 12:40:41 -07:00
R. RyanTM
af12b02b90 grails: 4.0.1 -> 4.0.2 2020-02-21 23:31:20 +00:00
R. RyanTM
3ca78c1a12 grails: 4.0.0 -> 4.0.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/grails/versions
2019-10-22 07:04:45 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
R. RyanTM
50ef5aceaf grails: 3.3.10 -> 4.0.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/grails/versions
2019-07-15 20:31:42 +02:00
R. RyanTM
147d17e570 grails: 3.3.9 -> 3.3.10
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/grails/versions
2019-06-10 23:20:58 +02:00
R. RyanTM
45779f013c grails: 3.3.8 -> 3.3.9
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/grails/versions
2019-01-02 21:33:37 +01:00
R. RyanTM
4ec9a8726a grails: 3.3.6 -> 3.3.8
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/grails/versions.
2018-08-17 02:09:39 -07:00
R. RyanTM
ec93a51187 grails: 3.3.5 -> 3.3.6
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/grails/versions.

These checks were done:

- built on NixOS
- Warning: no invocation of /nix/store/sp0w4frknlgjhmw18j8rsj5sgaf95zhm-grails-3.3.6/bin/grails had a zero exit code or showed the expected version
- 0 of 1 passed binary check by having a zero exit code.
- 0 of 1 passed binary check by having the new version present in output.
- found 3.3.6 with grep in /nix/store/sp0w4frknlgjhmw18j8rsj5sgaf95zhm-grails-3.3.6
- directory tree listing: https://gist.github.com/8278e7c1c9d28a8983fdaf23975bb930
- du listing: https://gist.github.com/10a146e1e865583f68e892f13c310026
2018-06-20 11:02:05 +02:00
R. RyanTM
bbedc98713 grails: 3.3.3 -> 3.3.5
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/grails/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.3.5 with grep in /nix/store/cy2fxxg1yjiksfkg4y3wn7r3dsdlijcz-grails-3.3.5
- directory tree listing: https://gist.github.com/71c11340ad3d455500fb5228ea57ed71
2018-04-20 05:03:57 -07:00
R. RyanTM
8660a33046 grails: 3.3.2 -> 3.3.3
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/grails/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.3.3 with grep in /nix/store/frwxcwdrb1krnp6pz6cijgnr95wf4qcy-grails-3.3.3
- found 3.3.3 in filename of file in /nix/store/frwxcwdrb1krnp6pz6cijgnr95wf4qcy-grails-3.3.3
- directory tree listing: https://gist.github.com/2469271cf9e5770d815f84baf8ff7bc7
2018-03-31 17:07:43 +02:00
Ryan Mulligan
7d0f602e98 grails: 3.3.0 -> 3.3.2
Semi-automatic update. 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.3.2 with grep in /nix/store/j3w2l8kqw37ndh3x7chkzw0mgryly4py-grails-3.3.2
2018-03-08 14:14:10 -08:00
Jörg Thalheim
a86b304a26 grails: 2.4.3 -> 3.3.0 2017-08-25 07:26:21 +01:00
mimadrid
09e0cc7cc7 Update homepage attributes: http -> https
Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated
https://repology.org/repository/nix_stable/problems
2017-08-03 11:56:15 +02:00
Robin Gloster
9820cb1bf2 use dontBuild instead of hacks
changes:
 * buildPhase = "true"
 * buildPhase = ":"
2016-05-04 10:11:04 +00:00
Nikolay Amiantov
8b7ebaffeb replace makeSearchPath tree-wise to take care of possible multiple outputs 2016-04-13 22:09:41 +03:00
William A. Kennington III
238f4d1652 jdkPath: Remove in favor of jdk.home 2015-01-07 14:55:41 -08:00
Bjørn Forsman
f6148e10a3 grails: new package
Grails is an Open Source, full stack, web application framework for the
JVM. It takes advantage of the Groovy programming language and
convention over configuration to provide a productive and stream-lined
development experience.

http://grails.org/
2014-09-18 22:57:03 +02:00