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
28
pkgs/applications/misc/bb/default.nix
Normal file
28
pkgs/applications/misc/bb/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, lib, fetchurl, darwin, aalib, ncurses, xorg, libmikmod }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bb";
|
||||
version = "1.3rc1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/aa-project/bb/${version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "1i411glxh7g4pfg4gw826lpwngi89yrbmxac8jmnsfvrfb48hgbr";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
aalib ncurses libmikmod
|
||||
xorg.libXau xorg.libXdmcp xorg.libX11
|
||||
] ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.CoreAudio;
|
||||
|
||||
postPatch = lib.optionalString stdenv.isDarwin ''
|
||||
sed -i -e '/^#include <malloc.h>$/d' *.c
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://aa-project.sourceforge.net/bb";
|
||||
description = "AA-lib demo";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.rnhmjoj ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue