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/xcpc/default.nix
Normal file
29
pkgs/applications/emulators/xcpc/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, glib, libXaw, libX11, libXext
|
||||
, libDSKSupport ? true, libdsk
|
||||
, motifSupport ? false, lesstif
|
||||
}:
|
||||
|
||||
with lib;
|
||||
stdenv.mkDerivation rec {
|
||||
version = "20070122";
|
||||
pname = "xcpc";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/xcpc/${pname}-${version}.tar.gz";
|
||||
sha256 = "0hxsbhmyzyyrlidgg0q8izw55q0z40xrynw5a1c3frdnihj9jf7n";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ glib libdsk libXaw libX11 libXext ]
|
||||
++ optional libDSKSupport libdsk
|
||||
++ optional motifSupport lesstif;
|
||||
|
||||
meta = {
|
||||
description = "A portable Amstrad CPC 464/664/6128 emulator written in C";
|
||||
homepage = "https://www.xcpc-emulator.net";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue