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
26
pkgs/development/tools/misc/swig/default.nix
Normal file
26
pkgs/development/tools/misc/swig/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, stdenv, fetchurl, boost, tcl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "swig";
|
||||
version = "1.3.40";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/swig/${pname}-${version}.tar.gz";
|
||||
sha256 = "02dc8g8wy75nd2is1974rl24c6mdl0ai1vszs1xpg9nd7dlv6i8r";
|
||||
};
|
||||
|
||||
doCheck = !stdenv.isCygwin;
|
||||
# 'make check' uses boost and tcl
|
||||
buildInputs = lib.optionals doCheck [ boost tcl ];
|
||||
|
||||
configureFlags = [ "--disable-ccache" ];
|
||||
|
||||
|
||||
meta = with lib; {
|
||||
description = "SWIG, an interface compiler that connects C/C++ code to higher-level languages";
|
||||
homepage = "http://swig.org/";
|
||||
# Different types of licenses available: http://www.swig.org/Release/LICENSE .
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue