Merge pull request #261187 from marsam/add-pgmoneta

pgmoneta: init at 0.7.0

authored by

Mario Rodas and committed by
GitHub
42acc2e7 84e46cd9

+61
+61
pkgs/by-name/pg/pgmoneta/package.nix
··· 1 + { lib 2 + , stdenv 3 + , bzip2 4 + , cjson 5 + , cmake 6 + , curl 7 + , docutils 8 + , fetchFromGitHub 9 + , libarchive 10 + , libev 11 + , libgccjit 12 + , libssh 13 + , lz4 14 + , openssl 15 + , systemd 16 + , zlib 17 + , zstd 18 + }: 19 + 20 + stdenv.mkDerivation rec { 21 + pname = "pgmoneta"; 22 + version = "0.7.0"; 23 + 24 + src = fetchFromGitHub { 25 + owner = "pgmoneta"; 26 + repo = "pgmoneta"; 27 + rev = version; 28 + hash = "sha256-Acg60QFMmRTubYWkPxbHTciVOYoIWc3GZGQVauewZik="; 29 + }; 30 + 31 + nativeBuildInputs = [ 32 + cmake 33 + docutils # for rst2man 34 + ]; 35 + 36 + buildInputs = [ 37 + bzip2 38 + cjson 39 + curl 40 + libarchive 41 + libev 42 + libgccjit 43 + libssh 44 + lz4 45 + openssl 46 + systemd 47 + zlib 48 + zstd 49 + ]; 50 + 51 + env.NIX_CFLAGS_COMPILE = "-Wno-error"; 52 + 53 + meta = with lib; { 54 + description = "Backup / restore solution for PostgreSQL"; 55 + homepage = "https://pgmoneta.github.io/"; 56 + changelog = "https://github.com/pgmoneta/pgmoneta/releases/tag/${version}"; 57 + license = licenses.bsd3; 58 + maintainers = [ maintainers.marsam ]; 59 + platforms = platforms.linux; 60 + }; 61 + }