Commit Graph

18 Commits

Author SHA1 Message Date
f0x52
f36eb34b67
fortune: remove offensive quotes from build (#171153)
This builds the package with -DNO_OFFENSIVE=true, keeping out the
off (offensive) directory from the resulting fortune files. It
also removes the men-women quotes from the resulting db.

Where various default fortune files include some questionable
quotes, this removes the ones even the upstream finds offensive,
and the men-women category. This is also in line with what Fedora
does:
https://src.fedoraproject.org/rpms/fortune-mod/blob/main/f/fortune-mod.spec#_64-74,
and has done in some capacity for years.
2022-05-01 16:58:25 +00:00
R. Ryantm
a5311eccb8 fortune: 3.10.0 -> 3.12.0 2022-02-11 12:24:12 +00:00
Vonfry
29f809f3cb
fortune: 3.8.0 -> 3.10.0 2021-12-16 08:33:31 +08:00
Vonfry
5f6277fdf2
fortune: 3.6.1 -> 3.8.0 2021-12-15 08:21:02 +08:00
Aadi Bajpai
4f3f62599d
add fortune as the main program
this will make it work with nix run
2021-11-10 01:14:30 -06:00
Vonfry
3a78e24a52
fortune: 3.4.1 -> 3.6.1 2021-06-01 08:02:06 +08:00
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