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/development/libraries/cgui/default.nix
Normal file
28
pkgs/development/libraries/cgui/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, stdenv, fetchurl, texinfo, allegro, perl, libX11 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cgui";
|
||||
version="2.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/project/cgui/${version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "1pp1hvidpilq37skkmbgba4lvzi01rasy04y0cnas9ck0canv00s";
|
||||
};
|
||||
|
||||
buildInputs = [ texinfo allegro perl libX11 ];
|
||||
|
||||
configurePhase = ''
|
||||
sh fix.sh unix
|
||||
'';
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
makeFlags = [ "SYSTEM_DIR=$(out)" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A multiplatform basic GUI library";
|
||||
maintainers = [ maintainers.raskin ];
|
||||
platforms = platforms.linux;
|
||||
license = licenses.free;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue