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
37
pkgs/games/the-powder-toy/default.nix
Normal file
37
pkgs/games/the-powder-toy/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib, stdenv, fetchFromGitHub, meson, luajit, ninja, pkg-config
|
||||
, python3, SDL2, lua, fftwFloat, zlib, bzip2, curl, darwin }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "the-powder-toy";
|
||||
version = "96.2.350";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "The-Powder-Toy";
|
||||
repo = "The-Powder-Toy";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-OAy/Hd2UksNiIfTdpA+u9NzIq1pfe8RYG3slI4/LNnM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkg-config python3 ];
|
||||
|
||||
buildInputs = [ luajit SDL2 lua fftwFloat zlib bzip2 curl ];
|
||||
|
||||
installPhase = ''
|
||||
install -Dm 755 powder $out/bin/powder
|
||||
|
||||
mkdir -p $out/share/applications
|
||||
mv ../resources/powder.desktop $out/share/applications
|
||||
mv ../resources $out/share
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A free 2D physics sandbox game";
|
||||
homepage = "http://powdertoy.co.uk/";
|
||||
platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ];
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ abbradar siraben ];
|
||||
mainProgram = "powder";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue