postgresqlPackages.pgtap: modernize
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPostgresqlExtension,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
perl,
|
||||
perlPackages,
|
||||
postgresql,
|
||||
postgresqlTestHook,
|
||||
stdenv,
|
||||
which,
|
||||
}:
|
||||
|
||||
@@ -17,8 +17,8 @@ buildPostgresqlExtension (finalAttrs: {
|
||||
src = fetchFromGitHub {
|
||||
owner = "theory";
|
||||
repo = "pgtap";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-YgvfLGF7pLVcCKD66NnWAydDxtoYHH1DpLiYTEKHJ0E=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-YgvfLGF7pLVcCKD66NnWAydDxtoYHH1DpLiYTEKHJ0E=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -54,7 +54,7 @@ buildPostgresqlExtension (finalAttrs: {
|
||||
installPhase = "touch $out";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Unit testing framework for PostgreSQL";
|
||||
longDescription = ''
|
||||
pgTAP is a unit testing framework for PostgreSQL written in PL/pgSQL and PL/SQL.
|
||||
@@ -62,9 +62,9 @@ buildPostgresqlExtension (finalAttrs: {
|
||||
as well as the ability to integrate with other TAP-emitting test frameworks.
|
||||
It can also be used in the xUnit testing style.
|
||||
'';
|
||||
maintainers = with maintainers; [ willibutz ];
|
||||
maintainers = with lib.maintainers; [ willibutz ];
|
||||
homepage = "https://pgtap.org";
|
||||
inherit (postgresql.meta) platforms;
|
||||
license = licenses.mit;
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user