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
30
pkgs/applications/emulators/cen64/default.nix
Normal file
30
pkgs/applications/emulators/cen64/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, cmake, fetchFromGitHub, libGL, libiconv, libX11, openal, stdenv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cen64";
|
||||
version = "unstable-2021-03-12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "n64dev";
|
||||
repo = "cen64";
|
||||
rev = "1b31ca9b3c3bb783391ab9773bd26c50db2056a8";
|
||||
sha256 = "0x1fz3z4ffl5xssiyxnmbhpjlf0k0fxsqn4f2ikrn17742dx4c0z";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ libGL libiconv openal libX11 ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -D {,$out/bin/}${pname}
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Cycle-Accurate Nintendo 64 Emulator";
|
||||
license = licenses.bsd3;
|
||||
homepage = "https://github.com/n64dev/cen64";
|
||||
maintainers = [ maintainers._414owen ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue