diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2023-10-20 07:44:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-20 07:44:04 -0500 |
commit | 42acc2e7733b8fedf4a68274bad085e96974ecb2 (patch) | |
tree | 00af622bea68b77dc6bb723b1d5016ceee45bce1 /pkgs | |
parent | 84e46cd9bbd167f82f59cbadbfb057c8ebecf501 (diff) | |
parent | 60cd55da084c5a9e5000bc125edc362833a89ad9 (diff) |
Merge pull request #261187 from marsam/add-pgmoneta
pgmoneta: init at 0.7.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/by-name/pg/pgmoneta/package.nix | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/pkgs/by-name/pg/pgmoneta/package.nix b/pkgs/by-name/pg/pgmoneta/package.nix new file mode 100644 index 0000000000000..bbfbb1a64476f --- /dev/null +++ b/pkgs/by-name/pg/pgmoneta/package.nix @@ -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; + }; +} |