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
38
pkgs/tools/networking/eggdrop/default.nix
Normal file
38
pkgs/tools/networking/eggdrop/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib, stdenv, fetchFromGitHub, tcl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "eggdrop";
|
||||
version = "1.9.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eggheads";
|
||||
repo = "eggdrop";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-vh8nym7aYeTRUQ7FBZRy4ToG2ajwRDhzi4jNiJQOEyQ=";
|
||||
};
|
||||
|
||||
buildInputs = [ tcl ];
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
preConfigure = ''
|
||||
prefix=$out/eggdrop
|
||||
mkdir -p $prefix
|
||||
'';
|
||||
|
||||
postConfigure = ''
|
||||
make config
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--with-tcllib=${tcl}/lib/lib${tcl.libPrefix}${stdenv.hostPlatform.extensions.sharedLibrary}"
|
||||
"--with-tclinc=${tcl}/include/tcl.h"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.unix;
|
||||
homepage = "https://www.eggheads.org";
|
||||
description = "An Internet Relay Chat (IRC) bot";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue