Commit Graph

15 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
Profpatsch
ff132824f2 iperf2: make binary symlink & prioritize iperf3
If both are in the environment, iperf3 should be used as `bin/iperf`
by default, for more consistency.
2019-06-04 14:37:04 +02:00
Manuel Mendez
3bdd1156b8 iperf2: enable fastsampling config option
From ./configure --help

  --enable-fastsampling   enable support for 100 microsecond report intervals
2019-01-30 08:39:46 -05:00
Manuel Mendez
b99cc81d49 iperf2: 2.0.12 -> 2.0.13 2019-01-30 08:30:39 -05:00
R. RyanTM
db44f2614b iperf2: 2.0.11 -> 2.0.12
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

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

These checks were done:

- built on NixOS
- /nix/store/c7p3b3b353pssma0cg1wg78pfs6x2is3-iperf-2.0.12/bin/iperf passed the binary check.
- 1 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 2.0.12 with grep in /nix/store/c7p3b3b353pssma0cg1wg78pfs6x2is3-iperf-2.0.12
- directory tree listing: https://gist.github.com/457110ea6db3cd3dbd6c9bc7ff82477a
- du listing: https://gist.github.com/86655ffd63846a5d3a473393af8e4da9
2018-06-27 19:38:07 -07:00
R. RyanTM
98463f7a6c iperf2: 2.0.10 -> 2.0.11
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

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

These checks were done:

- built on NixOS
- /nix/store/96cfq6l9jpw5jb2xfmyqsqvpx9khvaff-iperf-2.0.11/bin/iperf passed the binary check.
- 1 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 2.0.11 with grep in /nix/store/96cfq6l9jpw5jb2xfmyqsqvpx9khvaff-iperf-2.0.11
- directory tree listing: https://gist.github.com/9e979b025f65af2cc7e8ffe313002b2f
- du listing: https://gist.github.com/68cf597a93df8e798cb97551f8303fa4
2018-05-30 17:50:58 -07:00
Franz Pletz
052234ff91
iperf2: 2.0.9 -> 2.0.10 2018-01-28 18:52:24 +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
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
Dan Peebles
c46600d47b iperf2: 2.0.5 -> 2.0.9
This also fixes the build on clang 4
2017-03-26 21:41:22 -04:00
Franz Pletz
aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster
f6d3b7a2ae switch hardening flags 2016-01-30 16:36:57 +00:00
Franz Pletz
954e9903ad Use a hardened stdenv by default 2016-01-30 16:36:57 +00:00
William A. Kennington III
9e5825ba8e iperf: Add major version 3 2014-10-04 17:23:06 -07:00