2022-09-29 17:08:58 +02:00
|
|
|
{ lib, stdenv, fetchgit, libmowgli, pkg-config, git, gettext, pcre, libidn, libxcrypt, cracklib, openssl }:
|
2019-10-16 21:06:56 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "atheme";
|
2022-01-31 00:41:04 +01:00
|
|
|
version = "7.2.12";
|
2019-10-16 21:06:56 +02:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/atheme/atheme.git";
|
|
|
|
rev = "v${version}";
|
2022-01-31 00:41:04 +01:00
|
|
|
sha256 = "sha256-KAC1ZPNo4TqfVryKOYYef8cRWRgFmyEdvl1bgvpGNiM=";
|
2019-10-16 21:06:56 +02:00
|
|
|
leaveDotGit = true;
|
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config git gettext ];
|
2022-09-29 17:08:58 +02:00
|
|
|
buildInputs = [ libmowgli pcre libidn libxcrypt cracklib openssl ];
|
2019-10-16 21:06:56 +02:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-pcre"
|
|
|
|
"--with-libidn"
|
|
|
|
"--with-cracklib"
|
|
|
|
"--enable-large-net"
|
|
|
|
"--enable-contrib"
|
|
|
|
"--enable-reproducible-builds"
|
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-10-16 21:06:56 +02:00
|
|
|
description = "A set of services for IRC networks";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://atheme.github.io/";
|
2019-10-16 21:06:56 +02:00
|
|
|
license = licenses.isc;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ leo60228 ];
|
|
|
|
};
|
|
|
|
}
|