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
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "funnelweb";
|
||||
version = "3.20";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.ross.net/funnelweb/download/funnelweb_v320/funnelweb_v320_source.tar.gz";
|
||||
sha256 = "0zqhys0j9gabrd12mnk8ibblpc8dal4kbl8vnhxmdlplsdpwn4wg";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
cd source
|
||||
${stdenv.cc}/bin/cc -D__linux__ -o fw *.c
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -d $out/bin
|
||||
install fw $out/bin/fw
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
version = "3.20";
|
||||
description = "A simple, reliable literate-programming macro preprocessor";
|
||||
homepage = "http://www.ross.net/funnelweb/";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.AndersonTorres ];
|
||||
};
|
||||
}
|
||||
#TODO: implement it for other platforms
|
||||
#TODO: Documentation files
|
||||
Loading…
Add table
Add a link
Reference in a new issue