pgbackrest: modernize
This commit is contained in:
@@ -1,31 +1,31 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
meson,
|
||||
ninja,
|
||||
python3,
|
||||
pkg-config,
|
||||
libbacktrace,
|
||||
bzip2,
|
||||
lz4,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
libbacktrace,
|
||||
libpq,
|
||||
libssh2,
|
||||
libxml2,
|
||||
libyaml,
|
||||
lz4,
|
||||
meson,
|
||||
ninja,
|
||||
pkg-config,
|
||||
python3,
|
||||
stdenv,
|
||||
zlib,
|
||||
libssh2,
|
||||
zstd,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "pgbackrest";
|
||||
version = "2.55.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pgbackrest";
|
||||
repo = "pgbackrest";
|
||||
rev = "release/${version}";
|
||||
sha256 = "sha256-A1dTywcCHBu7Ml0Q9k//VVPFN1C3kmmMkq4ok9T4g94=";
|
||||
tag = "release/${finalAttrs.version}";
|
||||
hash = "sha256-A1dTywcCHBu7Ml0Q9k//VVPFN1C3kmmMkq4ok9T4g94=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
@@ -33,28 +33,28 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
python3
|
||||
pkg-config
|
||||
python3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libbacktrace
|
||||
bzip2
|
||||
lz4
|
||||
libbacktrace
|
||||
libpq
|
||||
libssh2
|
||||
libxml2
|
||||
libyaml
|
||||
lz4
|
||||
zlib
|
||||
libssh2
|
||||
zstd
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Reliable PostgreSQL backup & restore";
|
||||
homepage = "https://pgbackrest.org/";
|
||||
changelog = "https://github.com/pgbackrest/pgbackrest/releases";
|
||||
license = licenses.mit;
|
||||
homepage = "https://pgbackrest.org";
|
||||
changelog = "https://github.com/pgbackrest/pgbackrest/releases/tag/release%2F${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "pgbackrest";
|
||||
maintainers = with maintainers; [ zaninime ];
|
||||
maintainers = with lib.maintainers; [ zaninime ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user