Commit Graph

12 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
R. RyanTM
26f1edbb21 fortune: 3.2.0 -> 3.4.1 2020-11-13 10:26:25 +00:00
Vonfry
7b117f15b1
fortune-mod: 2.10.0 -> 3.2.0 2020-11-08 17:57:03 +08:00
Will Dietz
f0485a8524
fortune: 2.6.2 -> 2.10.0, use official tarball 2019-09-03 11:19:49 -05:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
Vonfry
99bb42651a fortune: 1.99.1 -> 2.6.2 (#55171)
fortune: 1.99.1 -> 2.6.2
2019-02-05 14:07:27 +01:00
Markus Kowalewski
e59f8fa490
fortune: add license 2018-08-16 21:55:12 +02:00
Matthew Bauer
53bf234c85 fortune: remove gcc from closure
Fixup is only run on $out/bin not $out/games. Luckily fortune is
relocatable so just moving it to $out/bin works & reduces closure size.
2018-07-27 19:39:33 -04:00
Tuomas Tynkkynen
21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Wout Mertens
bc6a35c92d fortune: fix Darwin build 2015-01-29 19:14:49 +01:00
Eelco Dolstra
e0b38f88db * Fortune: use a "-" instead of a "_" to separate the package name
from the version.  Otherwise "nix-env -i fortune-mod" doesn't work.
  (Reported on IRC.)

svn path=/nixpkgs/trunk/; revision=34487
2012-06-12 23:41:05 +00:00
Rob Vermaas
076946d277 add fortune
svn path=/nixpkgs/trunk/; revision=33462
2012-03-29 07:15:40 +00:00