nixpkgs/pkgs/servers/irc/atheme/default.nix

34 lines
879 B
Nix
Raw Normal View History

{ lib, stdenv, fetchgit, libmowgli, pkg-config, git, gettext, pcre, libidn, cracklib, openssl }:
2019-10-16 20:06:56 +01:00
stdenv.mkDerivation rec {
pname = "atheme";
2021-03-02 20:51:52 +00:00
version = "7.2.11";
2019-10-16 20:06:56 +01:00
src = fetchgit {
url = "https://github.com/atheme/atheme.git";
rev = "v${version}";
2021-03-02 20:51:52 +00:00
sha256 = "15fs48cgzxblh2g4abl5v647ndfx9hg8cih2x67v3y7s9wz68wk2";
2019-10-16 20:06:56 +01:00
leaveDotGit = true;
};
nativeBuildInputs = [ pkg-config git gettext ];
2019-10-16 20:06:56 +01:00
buildInputs = [ libmowgli pcre libidn cracklib openssl ];
configureFlags = [
"--with-pcre"
"--with-libidn"
"--with-cracklib"
"--enable-large-net"
"--enable-contrib"
"--enable-reproducible-builds"
];
meta = with lib; {
2019-10-16 20:06:56 +01:00
description = "A set of services for IRC networks";
homepage = "https://atheme.github.io/";
2019-10-16 20:06:56 +01:00
license = licenses.isc;
platforms = platforms.unix;
maintainers = with maintainers; [ leo60228 ];
};
}