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
29
pkgs/applications/emulators/pcem/default.nix
Normal file
29
pkgs/applications/emulators/pcem/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ stdenv, lib, fetchzip, wxGTK31, coreutils, SDL2, openal, alsa-lib, pkg-config
|
||||
, autoreconfHook, withNetworking ? true, withALSA ? true }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pcem";
|
||||
version = "17";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://pcem-emulator.co.uk/files/PCemV${version}Linux.tar.gz";
|
||||
stripRoot = false;
|
||||
sha256 = "067pbnc15h6a4pnnym82klr1w8qwfm6p0pkx93gx06wvwqsxvbdv";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
buildInputs = [ wxGTK31 coreutils SDL2 openal ]
|
||||
++ lib.optional withALSA alsa-lib;
|
||||
|
||||
configureFlags = [ "--enable-release-build" ]
|
||||
++ lib.optional withNetworking "--enable-networking"
|
||||
++ lib.optional withALSA "--enable-alsa";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Emulator for IBM PC computers and clones";
|
||||
homepage = "https://pcem-emulator.co.uk/";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = [ maintainers.terin ];
|
||||
platforms = platforms.linux ++ platforms.windows;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue