
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.
Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.
A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.
This commit was automatically created and can be verified using
nix-build a08b3a4d19
.tar.gz \
--argstr baseRev b32a0943687d2a5094a6d92f25a4b6e16a76b5b7
result/bin/apply-formatting $NIXPKGS_PATH
39 lines
1.2 KiB
Nix
39 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.11";
|
|
pname = "rig";
|
|
|
|
src = fetchurl {
|
|
url = "https://ayera.dl.sourceforge.net/project/rig/rig/${version}/rig-${version}.tar.gz";
|
|
sha256 = "1f3snysjqqlpk2kgvm5p2icrj4lsdymccmn3igkc2f60smqckgq0";
|
|
};
|
|
|
|
# Note: diff modified from Debian: Norbert Veber <nveber@debian.org>
|
|
# http://deb.debian.org/debian/pool/main/r/rig/rig_1.11-1.diff.gz
|
|
patches = [ ./rig_1.11-1.diff ];
|
|
|
|
makeFlags = [ "CXX=${stdenv.cc.targetPrefix}c++" ];
|
|
|
|
meta = {
|
|
homepage = "https://rig.sourceforge.net/";
|
|
description = "Random identity generator";
|
|
longDescription = ''
|
|
RIG (Random Identity Generator) is a free replacement for a shareware
|
|
program out there called 'fake'. It generates random, yet real-looking,
|
|
personal data. It is useful if you need to feed a name to a Web site,
|
|
BBS, or real person, and are too lazy to think of one yourself. Also,
|
|
if the Web site/BBS/person you are giving the information to tries to
|
|
cross-check the city, state, zip, or area code, it will check out.
|
|
'';
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = with lib.maintainers; [ tomberek ];
|
|
platforms = with lib.platforms; all;
|
|
mainProgram = "rig";
|
|
};
|
|
}
|