Skip to content

Commit bf7aecc

Browse files
authored
postfixadmin: 3.3.13 -> 3.3.15 (#367821)
2 parents 44a5b1b + e8c99ba commit bf7aecc

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

pkgs/by-name/po/postfixadmin/package.nix

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,30 @@
22

33
stdenv.mkDerivation rec {
44
pname = "postfixadmin";
5-
version = "3.3.13";
5+
version = "3.3.15";
66

77
src = fetchFromGitHub {
8-
owner = pname;
9-
repo = pname;
10-
rev = "${pname}-${version}";
11-
sha256 = "sha256-46bc34goAcRvaiyW7z0AvIcd8n61TL6vgLQ+y7nNKBQ=";
8+
owner = "postfixadmin";
9+
repo = "postfixadmin";
10+
tag = "postfixadmin-${version}";
11+
hash = "sha256-dKdJS9WQ/pPYITP53/Aynls8ZgVF7tAqL9gQEw+u8TM=";
1212
};
1313

1414
installPhase = ''
15+
runHook preInstall
16+
1517
mkdir $out
1618
cp -r * $out/
1719
ln -sf /etc/postfixadmin/config.local.php $out/
1820
ln -sf /var/cache/postfixadmin/templates_c $out/
21+
22+
runHook postInstall
1923
'';
2024

2125
passthru.tests = { inherit (nixosTests) postfixadmin; };
2226

2327
meta = {
28+
changelog = "https://github.com/postfixadmin/postfixadmin/releases/tag/${src.tag}";
2429
description = "Web based virtual user administration interface for Postfix mail servers";
2530
homepage = "https://postfixadmin.sourceforge.io/";
2631
maintainers = with lib.maintainers; [ globin ];

0 commit comments

Comments
 (0)