postgresqlPackages.pg_relusage: modernize
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
postgresql,
|
||||
buildPostgresqlExtension,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
postgresql,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
buildPostgresqlExtension rec {
|
||||
@@ -12,16 +12,16 @@ buildPostgresqlExtension rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "adept";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "8hJNjQ9MaBk3J9a73l+yQMwMW/F2N8vr5PO2o+5GvYs=";
|
||||
repo = "pg_relusage";
|
||||
tag = "${version}";
|
||||
hash = "sha256-8hJNjQ9MaBk3J9a73l+yQMwMW/F2N8vr5PO2o+5GvYs=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "pg_relusage extension for PostgreSQL: discover and log the relations used in your statements";
|
||||
homepage = "https://github.com/adept/pg_relusage";
|
||||
maintainers = with maintainers; [ thenonameguy ];
|
||||
maintainers = with lib.maintainers; [ thenonameguy ];
|
||||
platforms = postgresql.meta.platforms;
|
||||
license = licenses.postgresql;
|
||||
license = lib.licenses.postgresql;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user