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
43
pkgs/games/tinyfugue/default.nix
Normal file
43
pkgs/games/tinyfugue/default.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ lib, stdenv, fetchurl, ncurses, zlib
|
||||
, openssl ? null
|
||||
, sslSupport ? true
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
||||
assert sslSupport -> openssl != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tinyfugue";
|
||||
version = "50b8";
|
||||
verUrl = "5.0%20beta%208";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/project/tinyfugue/tinyfugue/${verUrl}/tf-${version}.tar.gz";
|
||||
sha256 = "12fra2fdwqj6ilv9wdkc33rkj343rdcf5jyff4yiwywlrwaa2l1p";
|
||||
};
|
||||
|
||||
configureFlags = optional (!sslSupport) "--disable-ssl";
|
||||
|
||||
buildInputs =
|
||||
[ ncurses zlib ]
|
||||
++ optional sslSupport openssl;
|
||||
|
||||
# Workaround build failure on -fno-common toolchains like upstream
|
||||
# gcc-10. Otherwise build fails as:
|
||||
# ld: world.o:/build/tf-50b8/src/socket.h:24: multiple definition of
|
||||
# `world_decl'; command.o:/build/tf-50b8/src/socket.h:24: first defined here
|
||||
NIX_CFLAGS_COMPILE="-fcommon";
|
||||
|
||||
meta = {
|
||||
homepage = "http://tinyfugue.sourceforge.net/";
|
||||
description = "A terminal UI, screen-oriented MUD client";
|
||||
longDescription = ''
|
||||
TinyFugue, aka "tf", is a flexible, screen-oriented MUD client, for use
|
||||
with any type of text MUD.
|
||||
'';
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.KibaFox ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue