Commit Graph

23 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
R. RyanTM
44b9f9b55e vnstat: 2.4 -> 2.6 2020-01-30 17:32:57 +00:00
Will Dietz
06d794ff06
vnstat: 2.3 -> 2.4 2019-09-03 19:25:46 -05:00
R. RyanTM
8cee299afb vnstat: 2.2 -> 2.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/vnstat/versions
2019-07-17 09:32:19 +02:00
Will Dietz
329df95958 vnstat: 2.1 -> 2.2
https://humdi.net/vnstat/CHANGES

* enable tests
* add hardening options from upstream's
  example service
* fix "documentation" setting in service:
  either needs to be `unitConfig.Documentation`
  (uppercase) or lowercase but not within unitConfig.
2019-05-03 01:47:57 -05:00
R. RyanTM
765a58918b vnstat: 2.1 -> 2.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/vnstat/versions
2019-05-02 17:18:15 -07:00
Will Dietz
4f1b5653cf vnstat: 1.18 -> 2.1 2018-12-07 20:32:45 -06:00
Silvan Mosberger
57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00
Ryan Mulligan
fce8f26af6 treewide: http -> https (#42665) 2018-06-27 22:12:57 +02:00
Ryan Mulligan
60b5fdd67f vnstat: 1.17 -> 1.18
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- ran `/nix/store/zaidqa5gzm2wdfg0mrybj180k73jbkpq-vnstat-1.18/bin/vnstat --help` got 0 exit code
- ran `/nix/store/zaidqa5gzm2wdfg0mrybj180k73jbkpq-vnstat-1.18/bin/vnstat -v` and found version 1.18
- ran `/nix/store/zaidqa5gzm2wdfg0mrybj180k73jbkpq-vnstat-1.18/bin/vnstat --version` and found version 1.18
- ran `/nix/store/zaidqa5gzm2wdfg0mrybj180k73jbkpq-vnstat-1.18/bin/vnstat --help` and found version 1.18
- ran `/nix/store/zaidqa5gzm2wdfg0mrybj180k73jbkpq-vnstat-1.18/bin/vnstati --help` got 0 exit code
- ran `/nix/store/zaidqa5gzm2wdfg0mrybj180k73jbkpq-vnstat-1.18/bin/vnstati -v` and found version 1.18
- ran `/nix/store/zaidqa5gzm2wdfg0mrybj180k73jbkpq-vnstat-1.18/bin/vnstati --version` and found version 1.18
- ran `/nix/store/zaidqa5gzm2wdfg0mrybj180k73jbkpq-vnstat-1.18/bin/vnstati --help` and found version 1.18
- ran `/nix/store/zaidqa5gzm2wdfg0mrybj180k73jbkpq-vnstat-1.18/bin/vnstatd --help` got 0 exit code
- ran `/nix/store/zaidqa5gzm2wdfg0mrybj180k73jbkpq-vnstat-1.18/bin/vnstatd -v` and found version 1.18
- ran `/nix/store/zaidqa5gzm2wdfg0mrybj180k73jbkpq-vnstat-1.18/bin/vnstatd --version` and found version 1.18
- ran `/nix/store/zaidqa5gzm2wdfg0mrybj180k73jbkpq-vnstat-1.18/bin/vnstatd --help` and found version 1.18
- found 1.18 with grep in /nix/store/zaidqa5gzm2wdfg0mrybj180k73jbkpq-vnstat-1.18
2018-03-15 12:26:32 -07:00
Tobias Geerinckx-Rice
0f84673f3d
Remove nckx as a maintainer for all packages
Goodbye, and thanks for all the Nix...
2018-01-16 23:00:49 +01:00
Franz Pletz
481b4a77ba
vnstat: 1.15 -> 1.17 2017-08-01 08:36:36 +02:00
Tobias Geerinckx-Rice
9fb8020e4e Add version attribute where maintainers |= nckx
This will probably be mandatory soon, and is a step in the right
direction. Removes the deprecated meta.version, and move some meta
sections to the end of the file where I should have put them in
the first place.
2016-01-25 17:35:21 +01:00
Tobias Geerinckx-Rice
9ecc0612f9 vnstat: add image output (gd) support 2015-12-24 04:05:57 +01:00
Tobias Geerinckx-Rice
b8a7875d64 vnstat: 1.14 -> 1.15 & add longDescription
Changes:
- Fix: XML output had extra commas, broken since previous version
- Fix: unintended shared pointer modification in mosecs() sometimes resulted
  in wrong month name to be shown for the current month
- Fix: possible buffer overflow in /proc/net/dev parsing, requires corrupted
  content in /proc/net/dev or use of address sanitizer
- Use ANSI escape codes in -l and -tr modes for cursor location manipulation
  instead of printing backspaces, hide cursor while output is active
- Improve database import robustness
- Improve support for Asian UTF-8 date strings
- Replace hand written Makefiles with Autotools
- Add --alwaysadd parameter to daemon for allowing automatic addition of
  interfaces even if the database directory was populated during startup
2015-12-24 04:05:57 +01:00
michael bishop
f73c3098d4 vnstat: fix platforms list 2015-11-03 17:32:38 -04:00
Tobias Geerinckx-Rice
4f0b6fa3ba vnstat 1.13 -> 1.14
26-Apr-2015

 - Fix: JSON output syntax during first day of newly created databases
   (pull request by Stefan Merettig)
 - Fix: field padding when using UTF-8 locale
 - Add optional mode parameter to --json and --xml for limiting the output
   to only selected information
2015-04-27 23:10:25 +02:00
Tobias Geerinckx-Rice
baef95ebd1 Update vnstat 1.11 -> 1.13 2015-01-19 17:10:57 +01:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Mathijs Kwik
8277c18b53 vnstat: upgrade to 1.11 2012-09-02 11:57:49 +02:00
Eelco Dolstra
c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Lluís Batlle i Rossell
331d7185f2 Adding vnstat. Unless using "vnstat -l", it wants some directories in /var, where
it collects information.

svn path=/nixpkgs/trunk/; revision=17753
2009-10-12 11:08:52 +00:00