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, gnused, openssl, curl, ncurses, libjpeg
|
||||
, withGpg ? true, gpgme ? null}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "5.0.1";
|
||||
pname = "centerim5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://centerim.org/download/cim5/${pname}-${version}.tar.gz";
|
||||
sha256 = "0viz86jflp684vfginhl6aaw4gh2qvalc25anlwljjl3kkmibklk";
|
||||
};
|
||||
|
||||
CXXFLAGS = "-std=gnu++98";
|
||||
|
||||
buildInputs = [ openssl curl ncurses libjpeg ]
|
||||
++ lib.optional withGpg gpgme;
|
||||
|
||||
preConfigure = ''
|
||||
${gnused}/bin/sed -i '1,1i#include <stdio.h>' libicq2000/libicq2000/sigslot.h
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--with-openssl=${openssl.dev}"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.centerim.org/";
|
||||
description = "Fork of CenterICQ, a curses instant messaging program";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue