Merge pull request #261187 from marsam/add-pgmoneta

pgmoneta: init at 0.7.0
This commit is contained in:
Mario Rodas 2023-10-20 07:44:04 -05:00 committed by GitHub
commit 42acc2e773
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,61 @@
{ lib
, stdenv
, bzip2
, cjson
, cmake
, curl
, docutils
, fetchFromGitHub
, libarchive
, libev
, libgccjit
, libssh
, lz4
, openssl
, systemd
, zlib
, zstd
}:
stdenv.mkDerivation rec {
pname = "pgmoneta";
version = "0.7.0";
src = fetchFromGitHub {
owner = "pgmoneta";
repo = "pgmoneta";
rev = version;
hash = "sha256-Acg60QFMmRTubYWkPxbHTciVOYoIWc3GZGQVauewZik=";
};
nativeBuildInputs = [
cmake
docutils # for rst2man
];
buildInputs = [
bzip2
cjson
curl
libarchive
libev
libgccjit
libssh
lz4
openssl
systemd
zlib
zstd
];
env.NIX_CFLAGS_COMPILE = "-Wno-error";
meta = with lib; {
description = "Backup / restore solution for PostgreSQL";
homepage = "https://pgmoneta.github.io/";
changelog = "https://github.com/pgmoneta/pgmoneta/releases/tag/${version}";
license = licenses.bsd3;
maintainers = [ maintainers.marsam ];
platforms = platforms.linux;
};
}