Commit Graph

19 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
Doron Behar
c7f682a59a units: Add units_cur python script to $out 2019-09-28 16:19:13 +03: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
c0148f53fc units: 2.18 -> 2.19
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/units/versions
2019-06-23 14:11:41 +02:00
R. RyanTM
1d0ab5d73b units: 2.17 -> 2.18
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/units/versions
2018-10-23 01:32:01 -07:00
R. RyanTM
f188b63b6a units: 2.16 -> 2.17
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

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

These checks were done:

- built on NixOS
- /nix/store/31sfwbmnw4vpchikbc0fv88hwqa6j7pk-units-2.17/bin/units 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.17 with grep in /nix/store/31sfwbmnw4vpchikbc0fv88hwqa6j7pk-units-2.17
- directory tree listing: https://gist.github.com/9398a46bc8272d0edd66c877ba0cd160
- du listing: https://gist.github.com/d78a308aacca7211f8470bf140a8c773
2018-06-27 12:03:25 -07:00
Franz Pletz
bf9c40dc61
units: 2.14 -> 2.16 2018-01-28 19:59:43 +01:00
Mesh33
1675d54db3 units: 2.13 -> 2.14 2017-04-20 00:09:54 +02:00
Rahul Gopinath
0dbbe57de3 units: 2.12 -> 2.13 2016-06-23 00:03:59 -07:00
Robert Helgesson
268102ce2a units: add readline dependency
The dependency on `readline` is for tab-completion support. This commit
also enables tests and adds meta information.
2015-12-14 18:34:54 +01:00
Lancelot SIX
f729d79fec pkgs.units: 2.11 -> 2.12
See http://lists.gnu.org/archive/html/info-gnu/2015-10/msg00006.html
2015-10-20 07:40:30 +00:00
Aristid Breitkreuz
f995cd6bcb units: update from 2.10 to 2.11 2014-10-08 20:23:25 +02:00
Evgeny Egorochkin
899fd2942a units: update from 2.02 to 2.10 2014-04-03 07:46:21 +03:00
Nixpkgs Monitor
f90e505d50 units: update from 1.86 to 2.02 2013-12-16 01:36:17 +02:00
Bjørn Forsman
083d0890f5 More description fixes
* Remove package name
* Start with upper case letter
* Remove trailing period

Also reword some descriptions and move some long descriptions to
longDescription.

I'm not touching generated packages.
2013-10-06 12:01:38 +02:00
Evgeny Egorochkin
da4be371e9 make package use mirror:// for gnu, savannah and gnome repositories where possible 2013-07-14 05:23:06 +03:00
Michael Raskin
42f841bcab Added some descriptions.
svn path=/nixpkgs/trunk/; revision=8920
2007-06-26 11:49:45 +00:00
Michael Raskin
53b7c42a92 Added GNU units - unit conversion tool.
svn path=/nixpkgs/trunk/; revision=8907
2007-06-20 15:15:51 +00:00