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