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
10
pkgs/games/blobby/blobby.sh
Normal file
10
pkgs/games/blobby/blobby.sh
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#! @shell@
|
||||
|
||||
test -d ~/.blobby || {
|
||||
mkdir ~/.blobby
|
||||
cp -r "@out@/share/blobby"/* ~/.blobby
|
||||
chmod u+w -R ~/.blobby
|
||||
( cd ~/.blobby; for i in *.zip; do @unzip@/bin/unzip "$i"; done )
|
||||
}
|
||||
|
||||
@out@/bin/blobby.bin
|
||||
34
pkgs/games/blobby/default.nix
Normal file
34
pkgs/games/blobby/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib, stdenv, fetchurl, SDL2, SDL2_image, libGLU, libGL, cmake, physfs, boost, zip, zlib, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "blobby-volley";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/blobby/Blobby%20Volley%202%20%28Linux%29/1.0/blobby2-linux-1.0.tar.gz";
|
||||
sha256 = "1qpmbdlyhfbrdsq4vkb6cb3b8mh27fpizb71q4a21ala56g08yms";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config zip ];
|
||||
buildInputs = [ SDL2 SDL2_image libGLU libGL physfs boost zlib ];
|
||||
|
||||
preConfigure=''
|
||||
sed -e '1i#include <iostream>' -i src/NetworkMessage.cpp
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
cp ../data/Icon.bmp "$out/share/blobby/"
|
||||
mv "$out/bin"/blobby{,.bin}
|
||||
substituteAll "${./blobby.sh}" "$out/bin/blobby"
|
||||
chmod a+x "$out/bin/blobby"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A blobby volleyball game";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ raskin ];
|
||||
homepage = "http://blobby.sourceforge.net/";
|
||||
downloadPage = "https://sourceforge.net/projects/blobby/files/Blobby%20Volley%202%20%28Linux%29/";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue