Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
63 lines
976 B
Nix
63 lines
976 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
bzip2,
|
|
cjson,
|
|
cmake,
|
|
curl,
|
|
docutils,
|
|
fetchFromGitHub,
|
|
libarchive,
|
|
libev,
|
|
libgccjit,
|
|
libssh,
|
|
lz4,
|
|
openssl,
|
|
systemd,
|
|
zlib,
|
|
zstd,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pgmoneta";
|
|
version = "0.19.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pgmoneta";
|
|
repo = "pgmoneta";
|
|
rev = version;
|
|
hash = "sha256-qsKjUFCuxKSc7klB/S2N3TG+jqnS4NW0RZC6e9JQXtA=";
|
|
};
|
|
|
|
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 = {
|
|
description = "Backup / restore solution for PostgreSQL";
|
|
homepage = "https://pgmoneta.github.io/";
|
|
changelog = "https://github.com/pgmoneta/pgmoneta/releases/tag/${version}";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = [ ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|