pgagroal: use finalAttrs pattern

This commit is contained in:
Mario Rodas 2024-02-23 04:20:00 +00:00
parent d5845a9cb8
commit 13bc570966

View File

@ -1,13 +1,13 @@
{ lib, stdenv, fetchFromGitHub, cjson, cmake, docutils, libev, openssl, systemd }:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "pgagroal";
version = "1.6.0";
src = fetchFromGitHub {
owner = "agroal";
repo = "pgagroal";
rev = version;
rev = finalAttrs.version;
hash = "sha256-bgJvGJ35RdFopW88o+H1DLpG70anP197y6xrpRRrxUA=";
};
@ -21,9 +21,9 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "High-performance connection pool for PostgreSQL";
homepage = "https://agroal.github.io/pgagroal/";
changelog = "https://github.com/agroal/pgagroal/releases/tag/${version}";
changelog = "https://github.com/agroal/pgagroal/releases/tag/${finalAttrs.version}";
license = licenses.bsd3;
maintainers = [ maintainers.marsam ];
platforms = platforms.unix;
};
}
})