postsrsd: init at 1.3
This commit is contained in:
parent
92a28dd4bb
commit
2053b3a32a
31
pkgs/servers/mail/postsrsd/default.nix
Normal file
31
pkgs/servers/mail/postsrsd/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, help2man }:
|
||||
|
||||
let
|
||||
version = "1.3";
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
name = "postsrsd-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "roehling";
|
||||
repo = "postsrsd";
|
||||
rev = version;
|
||||
sha256 = "1z89qh2bnypgb4i2vs0zdzzpqlf445jixwa1acd955hryww50npv";
|
||||
};
|
||||
|
||||
cmakeFlags = [ "-DGENERATE_SRS_SECRET=OFF" "-DINIT_FLAVOR=systemd" ];
|
||||
|
||||
preConfigure = ''
|
||||
sed -i "s,\"/etc\",\"$out/etc\",g" CMakeLists.txt
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake help2man ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/roehling/postsrsd";
|
||||
description = "Postfix Sender Rewriting Scheme daemon";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
};
|
||||
}
|
@ -9338,6 +9338,8 @@ let
|
||||
postfix30 = callPackage ../servers/mail/postfix/3.0.nix { };
|
||||
postfix = postfix30;
|
||||
|
||||
postsrsd = callPackage ../servers/mail/postsrsd { };
|
||||
|
||||
pshs = callPackage ../servers/http/pshs { };
|
||||
|
||||
libpulseaudio = callPackage ../servers/pulseaudio { libOnly = true; };
|
||||
|
Loading…
Reference in New Issue
Block a user