nixpkgs/pkgs/by-name/li/liberal-crime-squad/package.nix
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00

31 lines
1.3 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;
};
}