Commit Graph

28 Commits

Author SHA1 Message Date
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
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Ryan Mulligan
9d8a5a404f ts: 0.7.6 -> 1.0
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/fx773gqzc7zwjjyyr13s1rqa6z96ipw7-ts-1.0/bin/ts -h` got 0 exit code
- ran `/nix/store/fx773gqzc7zwjjyyr13s1rqa6z96ipw7-ts-1.0/bin/ts help` got 0 exit code
- ran `/nix/store/fx773gqzc7zwjjyyr13s1rqa6z96ipw7-ts-1.0/bin/ts -V` and found version 1.0
- ran `/nix/store/fx773gqzc7zwjjyyr13s1rqa6z96ipw7-ts-1.0/bin/ts -h` and found version 1.0
- found 1.0 with grep in /nix/store/fx773gqzc7zwjjyyr13s1rqa6z96ipw7-ts-1.0
- found 1.0 in filename of file in /nix/store/fx773gqzc7zwjjyyr13s1rqa6z96ipw7-ts-1.0

cc "@viric"
2018-02-28 20:33:53 +00:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
hsloan
60ce1e3b90 ts: Rely on cc-wrapper to export this env var 2017-06-28 21:29:07 -04:00
Parnell Springmeyer
4aa0923009
Getting rid of the var indirection and using a bin path instead 2017-01-29 04:11:01 -06:00
Parnell Springmeyer
e92b8402b0
Addressing PR feedback 2017-01-28 20:48:03 -08:00
Parnell Springmeyer
98c058a1ee Adapting everything for the merged permissions wrappers work. 2016-09-01 19:21:06 -05:00
Bjørn Forsman
bd01fad0ed Captialize meta.description of all packages
In line with the Nixpkgs manual.

A mechanical change, done with this command:

  find pkgs -name "*.nix" | \
      while read f; do \
          sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \
      done

I manually skipped some:

* Descriptions starting with an abbreviation, a user name or package name
* Frequently generated expressions (haskell-packages.nix)
2016-06-20 13:55:52 +02:00
Lluís Batlle i Rossell
41c05b47a0 Updating ts to 0.7.6. 2016-03-19 12:23:54 +01:00
Pascal Wittmann
7fd2796e99 Replace 'with plaforms; platform' with 'platforms.platform' 2015-11-17 21:30:43 +01:00
Tobias Geerinckx-Rice
158e1cfdd0 Don't use "with licenses;" for single licences
And don't use square brackets on such lines.
2015-05-28 19:20:29 +02:00
Tobias Geerinckx-Rice
b2d7f4b1ba Use common licence attributes from lib/licenses.nix
Many (less easily automatically converted) old-style strings
remain.

Where there was any possible ambiguity about the exact version or
variant intended, nothing was changed. IANAL, nor a search robot.

Use `with stdenv.lib` wherever it makes sense.
2015-05-27 22:00:06 +02:00
Lluís Batlle i Rossell
cec700aab0 Updating ts to 0.7.4. 2013-11-11 09:53:17 +01:00
Lluís Batlle i Rossell
a887c8c2c7 Updating task spooler to 0.7.3
svn path=/nixpkgs/trunk/; revision=34251
2012-05-27 11:15:01 +00:00
Lluís Batlle i Rossell
b4c5f72d9e Updating ts
svn path=/nixpkgs/trunk/; revision=30797
2011-12-07 15:26:34 +00:00
Lluís Batlle i Rossell
19503ac12a Updating task spooler
svn path=/nixpkgs/trunk/; revision=29809
2011-10-13 08:59:56 +00:00
Lluís Batlle i Rossell
295089faae Updating task spooler.
svn path=/nixpkgs/trunk/; revision=28970
2011-09-02 08:57:12 +00:00
Lluís Batlle i Rossell
e571333232 Making ts and tm crossbuild
svn path=/nixpkgs/branches/stdenv-updates/; revision=24870
2010-11-26 14:12:10 +00:00
Lluís Batlle i Rossell
d213d290a6 Setting tm and ts to build in all nixpkgs platforms.
svn path=/nixpkgs/trunk/; revision=20446
2010-03-05 23:26:49 +00:00
Lluís Batlle i Rossell
81d4c5d09b Updating ts
svn path=/nixpkgs/trunk/; revision=20421
2010-03-05 17:22:37 +00:00
Lluís Batlle i Rossell
14433eb1e2 Updating ts to 0.6.5
svn path=/nixpkgs/trunk/; revision=17621
2009-10-02 19:05:29 +00:00
Lluís Batlle i Rossell
c66b4ee26d Updating freeimage, and setting me as maintainer on some packages.
svn path=/nixpkgs/trunk/; revision=17584
2009-10-02 07:39:03 +00:00
Lluís Batlle i Rossell
704e085bfc Updating ts version.
svn path=/nixpkgs/trunk/; revision=14150
2009-02-21 17:57:37 +00:00
Lluís Batlle i Rossell
39cea05305 Updating task spooler from 0.6.2 to 0.6.3.
svn path=/nixpkgs/trunk/; revision=14120
2009-02-18 22:45:01 +00:00
Michael Raskin
b9b8abb1cb Removing unnecessary sed invokation for ts - patch by Lluis Batlle
svn path=/nixpkgs/trunk/; revision=13699
2009-01-04 17:21:29 +00:00
Michael Raskin
8f4c32886a Updated ts task spooler; patch by Lluis Batlle
svn path=/nixpkgs/trunk/; revision=13687
2009-01-02 16:33:39 +00:00
Marc Weber
3091c81082 tm (terminal mixer), ts (task spooler) added, provided by viric
svn path=/nixpkgs/trunk/; revision=12688
2008-08-21 21:35:14 +00:00