mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 01:03:25 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
37 lines
842 B
Nix
37 lines
842 B
Nix
{ lib, stdenv, fetchurl, tcl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "eggdrop";
|
|
version = "1.9.5";
|
|
|
|
src = fetchurl {
|
|
url = "https://ftp.eggheads.org/pub/eggdrop/source/${lib.versions.majorMinor version}/eggdrop-${version}.tar.gz";
|
|
hash = "sha256-4mkY6opk2YV1ecW2DGYaM38gdz7dgwhrNWUlvrWBc2o=";
|
|
};
|
|
|
|
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.gpl2Plus;
|
|
platforms = platforms.unix;
|
|
homepage = "https://www.eggheads.org";
|
|
description = "Internet Relay Chat (IRC) bot";
|
|
};
|
|
}
|