1 { fetchFromGitHub, stdenv, lib, nixosTests }:
3 stdenv.mkDerivation rec {
4 pname = "postfixadmin";
7 src = fetchFromGitHub {
10 rev = "${pname}-${version}";
11 sha256 = "sha256-46bc34goAcRvaiyW7z0AvIcd8n61TL6vgLQ+y7nNKBQ=";
17 ln -sf /etc/postfixadmin/config.local.php $out/
18 ln -sf /var/cache/postfixadmin/templates_c $out/
21 passthru.tests = { inherit (nixosTests) postfixadmin; };
24 description = "Web based virtual user administration interface for Postfix mail servers";
25 homepage = "https://postfixadmin.sourceforge.io/";
26 maintainers = with lib.maintainers; [ globin ];
27 license = lib.licenses.gpl2Plus;
28 platforms = lib.platforms.all;