Commit Graph

13 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
Patrick Hilhorst
a6b3bb24e4
treewide: ran ./maintainers/scripts/update_redirected_urls.sh 2020-11-27 01:23:57 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01: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
Franz Pletz
81b6dd7b09
smcroute: 2.4.3 -> 2.4.4 2019-03-02 23:14:16 +01:00
R. RyanTM
6421d002d1 smcroute: 2.4.2 -> 2.4.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/smcroute/versions
2018-11-08 12:41:42 -08:00
R. RyanTM
3222fe1756 smcroute: 2.4.1 -> 2.4.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/smcroute/versions
2018-09-20 16:42:09 +00:00
R. RyanTM
ac3b07b581 smcroute: 2.4.0 -> 2.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/smcroute/versions.

These checks were done:

- built on NixOS
- /nix/store/919h9vn683b5whq3229sl3f907m1jsik-smcroute-2.4.1/bin/smcroutectl passed the binary check.
- /nix/store/919h9vn683b5whq3229sl3f907m1jsik-smcroute-2.4.1/bin/smcrouted passed the binary check.
- 2 of 2 passed binary check by having a zero exit code.
- 2 of 2 passed binary check by having the new version present in output.
- found 2.4.1 with grep in /nix/store/919h9vn683b5whq3229sl3f907m1jsik-smcroute-2.4.1
- directory tree listing: https://gist.github.com/f35692e1d0eaf5b66e1203fcdc9cdf6d
- du listing: https://gist.github.com/6170a85a1ce970d7ef1388b28005dfee
2018-06-19 16:28:02 +00:00
Franz Pletz
70bcb50798
smcroute: fix smcroutectl 2018-04-27 01:14:31 +02:00
Ryan Mulligan
7aae70b661 smcroute: 2.3.1 -> 2.4.0
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/7i72915zqm0xq840hj0qr6ff57syljc9-smcroute-2.4.0/bin/smcroutectl -h` got 0 exit code
- ran `/nix/store/7i72915zqm0xq840hj0qr6ff57syljc9-smcroute-2.4.0/bin/smcroutectl --help` got 0 exit code
- ran `/nix/store/7i72915zqm0xq840hj0qr6ff57syljc9-smcroute-2.4.0/bin/smcroutectl help` got 0 exit code
- ran `/nix/store/7i72915zqm0xq840hj0qr6ff57syljc9-smcroute-2.4.0/bin/smcroutectl -V` and found version 2.4.0
- ran `/nix/store/7i72915zqm0xq840hj0qr6ff57syljc9-smcroute-2.4.0/bin/smcroutectl -v` and found version 2.4.0
- ran `/nix/store/7i72915zqm0xq840hj0qr6ff57syljc9-smcroute-2.4.0/bin/smcroutectl --version` and found version 2.4.0
- ran `/nix/store/7i72915zqm0xq840hj0qr6ff57syljc9-smcroute-2.4.0/bin/smcroutectl version` and found version 2.4.0
- ran `/nix/store/7i72915zqm0xq840hj0qr6ff57syljc9-smcroute-2.4.0/bin/smcroutectl --help` and found version 2.4.0
- ran `/nix/store/7i72915zqm0xq840hj0qr6ff57syljc9-smcroute-2.4.0/bin/smcrouted -h` got 0 exit code
- ran `/nix/store/7i72915zqm0xq840hj0qr6ff57syljc9-smcroute-2.4.0/bin/smcrouted -v` and found version 2.4.0
- ran `/nix/store/7i72915zqm0xq840hj0qr6ff57syljc9-smcroute-2.4.0/bin/smcrouted -h` and found version 2.4.0
- found 2.4.0 with grep in /nix/store/7i72915zqm0xq840hj0qr6ff57syljc9-smcroute-2.4.0
- found 2.4.0 in filename of file in /nix/store/7i72915zqm0xq840hj0qr6ff57syljc9-smcroute-2.4.0

cc "@fpletz"
2018-02-28 07:08:18 +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
Franz Pletz
294a20ea02
smcroute: 2.1.0 -> 2.3.1 2017-06-20 03:45:46 +02:00
Franz Pletz
b571a1a373 smcroute: init at 2.1.0 2016-07-09 12:56:02 +02:00