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
27
pkgs/games/crossfire/crossfire-arch.nix
Normal file
27
pkgs/games/crossfire/crossfire-arch.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ stdenv, lib, fetchsvn,
|
||||
version, rev, sha256 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "crossfire-arch";
|
||||
version = rev;
|
||||
|
||||
src = fetchsvn {
|
||||
url = "http://svn.code.sf.net/p/crossfire/code/arch/trunk/";
|
||||
inherit sha256;
|
||||
rev = "r${rev}";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"
|
||||
cp -a . "$out/"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Archetype data for the Crossfire free MMORPG";
|
||||
homepage = "http://crossfire.real-time.com/";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
hydraPlatforms = [];
|
||||
maintainers = with maintainers; [ ToxicFrog ];
|
||||
};
|
||||
}
|
||||
32
pkgs/games/crossfire/crossfire-client.nix
Normal file
32
pkgs/games/crossfire/crossfire-client.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ stdenv, lib, fetchsvn
|
||||
, cmake, pkg-config, perl, vala
|
||||
, gtk2, pcre, zlib, libpng, fribidi, harfbuzzFull, xorg, util-linux, curl
|
||||
, SDL, SDL_image, SDL_mixer, libselinux, libsepol
|
||||
, version, rev, sha256
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "crossfire-client";
|
||||
version = rev;
|
||||
|
||||
src = fetchsvn {
|
||||
url = "http://svn.code.sf.net/p/crossfire/code/client/trunk/";
|
||||
inherit sha256;
|
||||
rev = "r${rev}";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config perl vala ];
|
||||
buildInputs = [
|
||||
gtk2 pcre zlib libpng fribidi harfbuzzFull xorg.libpthreadstubs
|
||||
xorg.libXdmcp curl SDL SDL_image SDL_mixer util-linux libselinux libsepol
|
||||
];
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "GTKv2 client for the Crossfire free MMORPG";
|
||||
homepage = "http://crossfire.real-time.com/";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ ToxicFrog ];
|
||||
};
|
||||
}
|
||||
27
pkgs/games/crossfire/crossfire-maps.nix
Normal file
27
pkgs/games/crossfire/crossfire-maps.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ stdenv, lib, fetchsvn,
|
||||
version, rev, sha256 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "crossfire-maps";
|
||||
version = rev;
|
||||
|
||||
src = fetchsvn {
|
||||
url = "http://svn.code.sf.net/p/crossfire/code/maps/trunk/";
|
||||
inherit sha256;
|
||||
rev = "r${rev}";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"
|
||||
cp -a . "$out/"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Map data for the Crossfire free MMORPG";
|
||||
homepage = "http://crossfire.real-time.com/";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
hydraPlatforms = [];
|
||||
maintainers = with maintainers; [ ToxicFrog ];
|
||||
};
|
||||
}
|
||||
37
pkgs/games/crossfire/crossfire-server.nix
Normal file
37
pkgs/games/crossfire/crossfire-server.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ stdenv, lib, fetchsvn, autoreconfHook,
|
||||
autoconf, automake, libtool, flex, perl, check, pkg-config, python3,
|
||||
version, rev, sha256, maps, arch }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "crossfire-server";
|
||||
version = rev;
|
||||
|
||||
src = fetchsvn {
|
||||
url = "http://svn.code.sf.net/p/crossfire/code/server/trunk/";
|
||||
inherit sha256;
|
||||
rev = "r${rev}";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoconf automake libtool flex perl check pkg-config python3 ];
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
preConfigure = ''
|
||||
ln -s ${arch} lib/arch
|
||||
ln -s ${maps} lib/maps
|
||||
sh autogen.sh
|
||||
'';
|
||||
|
||||
configureFlags = [ "--with-python=${python3}" ];
|
||||
|
||||
postInstall = ''
|
||||
ln -s ${maps} "$out/share/crossfire/maps"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Server for the Crossfire free MMORPG";
|
||||
homepage = "http://crossfire.real-time.com/";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ ToxicFrog ];
|
||||
};
|
||||
}
|
||||
28
pkgs/games/crossfire/default.nix
Normal file
28
pkgs/games/crossfire/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ callPackage, ... }:
|
||||
|
||||
rec {
|
||||
crossfire-client = callPackage ./crossfire-client.nix {
|
||||
version = "1.75.0";
|
||||
rev = "21760";
|
||||
sha256 = "0b42sak8hj60nywfswkps777asy9p8r9wsn7pmj2nqbd29ng1p9d";
|
||||
};
|
||||
|
||||
crossfire-server = callPackage ./crossfire-server.nix {
|
||||
version = "latest";
|
||||
rev = "22111";
|
||||
sha256 = "04fjif6zv642n2zlw27cgzkak2kknwrxqzg42bvzl7q901bsr9l7";
|
||||
maps = crossfire-maps; arch = crossfire-arch;
|
||||
};
|
||||
|
||||
crossfire-arch = callPackage ./crossfire-arch.nix {
|
||||
version = "latest";
|
||||
rev = "22111";
|
||||
sha256 = "0l4rp3idvbhknpxxs0w4i4nqfg01wblzm4v4j375xwxxbf00j0ms";
|
||||
};
|
||||
|
||||
crossfire-maps = callPackage ./crossfire-maps.nix {
|
||||
version = "latest";
|
||||
rev = "22111";
|
||||
sha256 = "1dwfc84acjvbjgjakkb8z8pdlksbsn90j0z8z8rq37lqx0kx1sap";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue