mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
62 lines
977 B
Nix
62 lines
977 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.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pgmoneta";
|
|
repo = "pgmoneta";
|
|
rev = version;
|
|
hash = "sha256-KVweAsmAQGUkBAxR7gPJe6mygfG7xApvJFRiCbSFq9E=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|