uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
78
pkgs/games/ace-of-penguins/default.nix
Normal file
78
pkgs/games/ace-of-penguins/default.nix
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, copyDesktopItems
|
||||
, libX11
|
||||
, libXpm
|
||||
, libpng
|
||||
, makeDesktopItem
|
||||
, zlib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ace-of-penguins";
|
||||
version = "1.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.delorie.com/store/ace/ace-${version}.tar.gz";
|
||||
hash = "sha256-H+47BTOSGkKHPAYj8z2HOgZ7HuxY8scMAUSRRueaTM4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fixes a bunch of miscompilations in modern environments
|
||||
./fixup-miscompilations.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
copyDesktopItems
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libX11
|
||||
libXpm
|
||||
libpng
|
||||
zlib
|
||||
];
|
||||
|
||||
desktopItems = let
|
||||
generateItem = gameName: {
|
||||
name = "${pname}-${gameName}";
|
||||
exec = "${placeholder "out"}/bin/${gameName}";
|
||||
comment = "Ace of Penguins ${gameName} Card Game";
|
||||
desktopName = gameName;
|
||||
genericName = gameName;
|
||||
};
|
||||
in
|
||||
map (x: makeDesktopItem (generateItem x)) [
|
||||
"canfield"
|
||||
"freecell"
|
||||
"golf"
|
||||
"mastermind"
|
||||
"merlin"
|
||||
"minesweeper"
|
||||
"pegged"
|
||||
"penguins"
|
||||
"solitaire"
|
||||
"spider"
|
||||
"taipedit"
|
||||
"taipei"
|
||||
"thornq"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://www.delorie.com/store/ace/";
|
||||
description = "Solitaire games in X11";
|
||||
longDescription = ''
|
||||
The Ace of Penguins is a set of Unix/X solitaire games based on the ones
|
||||
available for Windows(tm) but with a number of enhancements that my wife
|
||||
says make my versions better :-)
|
||||
|
||||
The latest version includes clones of freecell, golf, mastermind, merlin,
|
||||
minesweeper, pegged, solitaire, taipei (with editor!), and thornq (by
|
||||
Martin Thornquist).
|
||||
'';
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue