forked from mirrors/nixpkgs
Adding restund
This commit is contained in:
parent
4517d03af1
commit
1527b10016
26
pkgs/servers/restund/default.nix
Normal file
26
pkgs/servers/restund/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{stdenv, fetchurl, zlib, openssl, libre, librem}:
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.4.2";
|
||||
name = "restund-${version}";
|
||||
src=fetchurl {
|
||||
url = "http://www.creytiv.com/pub/restund-${version}.tar.gz";
|
||||
sha256 = "db5260939d40cb2ce531075bef02b9d6431067bdd52f3168a6f25246bdf7b9f2";
|
||||
};
|
||||
buildInputs = [zlib openssl libre librem];
|
||||
makeFlags = [
|
||||
"LIBRE_MK=${libre}/share/re/re.mk"
|
||||
"LIBRE_INC=${libre}/include/re"
|
||||
"LIBRE_SO=${libre}/lib"
|
||||
"LIBREM_PATH=${librem}"
|
||||
''PREFIX=$(out)''
|
||||
]
|
||||
++ stdenv.lib.optional (stdenv.gcc.gcc != null) "SYSROOT_ALT=${stdenv.gcc.gcc}"
|
||||
++ stdenv.lib.optional (stdenv.gcc.libc != null) "SYSROOT=${stdenv.gcc.libc}"
|
||||
;
|
||||
meta = {
|
||||
homepage = "http://www.creytiv.com/restund.html";
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
maintainers = with stdenv.lib.maintainers; [raskin];
|
||||
license = with stdenv.lib.licenses; bsd3;
|
||||
};
|
||||
}
|
|
@ -5425,6 +5425,8 @@ let
|
|||
|
||||
redstore = callPackage ../servers/http/redstore { };
|
||||
|
||||
restund = callPackage ../servers/restund {};
|
||||
|
||||
spamassassin = callPackage ../servers/mail/spamassassin {
|
||||
inherit (perlPackages) HTMLParser NetDNS NetAddrIP DBFile
|
||||
HTTPDate MailDKIM;
|
||||
|
|
Loading…
Reference in a new issue