Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
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
2024-12-10 20:26:33 +01:00

45 lines
1.4 KiB
Nix

{
fetchFromGitHub,
lib,
stdenv,
autoreconfHook,
libiconv,
ncurses,
SDL2,
SDL2_mixer,
}:
stdenv.mkDerivation {
version = "2016-07-06";
pname = "liberal-crime-squad";
src = fetchFromGitHub {
owner = "Kamal-Sadek";
repo = "Liberal-Crime-Squad";
rev = "2ace84e";
sha256 = "0mcldn8ivlfyjfx22ygzcbbw3bzl0j6vi3g6jyj8jmcrni61mgmb";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [
libiconv
ncurses
SDL2
SDL2_mixer
];
enableParallelBuilding = true;
meta = with lib; {
description = "Humorous politically themed ncurses game";
longDescription = ''
Welcome to Liberal Crime Squad! The Conservatives have taken the Executive, Legislative, and Judicial branches of government. Over time, the Liberal laws of this nation will erode and turn the country into a BACKWOODS YET CORPORATE NIGHTMARE. To prevent this from happening, the Liberal Crime Squad was established. The mood of the country is shifting, and we need to turn things around. Go out on the streets and indoctrinate Conservative automatons. That is, let them see their True Liberal Nature. Then arm them and send them forth to Stop Evil.
'';
homepage = "https://github.com/Kamal-Sadek/Liberal-Crime-Squad";
maintainers = [ maintainers.rardiol ];
mainProgram = "crimesquad";
license = licenses.gpl2Plus;
platforms = platforms.all;
};
}