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
62
pkgs/games/stuntrally/default.nix
Normal file
62
pkgs/games/stuntrally/default.nix
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, stdenv
|
||||
, cmake
|
||||
, boost
|
||||
, ogre
|
||||
, mygui
|
||||
, ois
|
||||
, SDL2
|
||||
, libvorbis
|
||||
, pkg-config
|
||||
, makeWrapper
|
||||
, enet
|
||||
, libXcursor
|
||||
, bullet
|
||||
, openal
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "stunt-rally";
|
||||
version = "2.6.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stuntrally";
|
||||
repo = "stuntrally";
|
||||
rev = version;
|
||||
hash = "sha256-9I6hXsosqx+yYiEOEnPXQJHZkGtSU+JqThorwjemlc0=";
|
||||
};
|
||||
tracks = fetchFromGitHub {
|
||||
owner = "stuntrally";
|
||||
repo = "tracks";
|
||||
rev = version;
|
||||
hash = "sha256-eZJAvkKe3PrXDzxTa5WFBHfltB3jhQh8puzOFDO9lso=";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
ln -s ${tracks} data/tracks
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [
|
||||
boost
|
||||
ogre
|
||||
mygui
|
||||
ois
|
||||
SDL2
|
||||
libvorbis
|
||||
makeWrapper
|
||||
enet
|
||||
libXcursor
|
||||
bullet
|
||||
openal
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Stunt Rally game with Track Editor, based on VDrift and OGRE";
|
||||
homepage = "http://stuntrally.tuxfamily.org/";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue