mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
4a7f99d55d
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
30 lines
1.3 KiB
Nix
30 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 = "A 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 ];
|
|
license = licenses.gpl2;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|