nixpkgs/pkgs/by-name/pg/pgmoneta/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

62 lines
959 B
Nix
Raw Normal View History

2023-10-14 07:20:00 +03:00
{ lib
, stdenv
, bzip2
, cjson
, cmake
, curl
, docutils
, fetchFromGitHub
, libarchive
, libev
, libgccjit
, libssh
, lz4
, openssl
, systemd
, zlib
, zstd
}:
stdenv.mkDerivation rec {
pname = "pgmoneta";
2024-04-30 19:42:31 +03:00
version = "0.11.1";
2023-10-14 07:20:00 +03:00
src = fetchFromGitHub {
owner = "pgmoneta";
repo = "pgmoneta";
rev = version;
2024-04-30 19:42:31 +03:00
hash = "sha256-+2pS3KG5wwP7bnaV+x8WxvDvQuXqmiMbuLScMNLqBtI=";
2023-10-14 07:20:00 +03:00
};
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;
2024-04-24 07:20:00 +03:00
maintainers = [ ];
2023-10-14 07:20:00 +03:00
platforms = platforms.linux;
};
}