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,38 @@
|
|||
{ lib, stdenv, fetchurl, perl, pkg-config, glib, ncurses
|
||||
, enablePlugin ? false }:
|
||||
|
||||
# Enabling the plugin and using it with a recent irssi, segafults on join:
|
||||
# http://marc.info/?l=silc-devel&m=125610477802211
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "silc-client" + lib.optionalString enablePlugin "-irssi-plugin";
|
||||
version = "1.1.11";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/silc/silc/client/sources/silc-client-${version}.tar.bz2";
|
||||
sha256 = "13cp3fmdnj8scjak0d2xal3bfvs2k7ssrwdhp0zl6jar5rwc7prn";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
dontDisableStatic = true;
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
configureFlags = [ "--with-ncurses=${ncurses.dev}" ];
|
||||
|
||||
preConfigure = lib.optionalString enablePlugin ''
|
||||
configureFlags="$configureFlags --with-silc-plugin=$out/lib/irssi"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ perl glib ncurses ];
|
||||
|
||||
meta = {
|
||||
homepage = "http://silcnet.org/";
|
||||
description = "Secure Internet Live Conferencing server";
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = with lib.maintainers; [viric];
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue