barman: 2.12 -> 2.15 (#142098)

Co-authored-by: rembo10 <rembo10@users.noreply.github.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
rembo10 2021-10-24 22:01:35 +05:30 committed by GitHub
parent 7fdeceecd0
commit c7788a8fec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 18 deletions

View file

@ -1,29 +1,38 @@
{ buildPythonApplication, fetchurl, lib
, python-dateutil, argcomplete, argh, psycopg2, boto3
{ fetchFromGitHub
, lib
, python3Packages
}:
buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "barman";
version = "2.12";
version = "2.15";
outputs = [ "out" "man" ];
src = fetchurl {
url = "mirror://sourceforge/pgbarman/${version}/barman-${version}.tar.gz";
sha256 = "Ts8I6tlP2GRp90OIIKXy+cRWWvUO3Sm86zq2dtVP5YE=";
src = fetchFromGitHub {
owner = "EnterpriseDB";
repo = pname;
rev = "release/${version}";
sha256 = "127cqndg0405rad9jzba1mfhpqmyfa3kx16w345kd4n822w17ak9";
};
propagatedBuildInputs = [ python-dateutil argh psycopg2 boto3 argcomplete ];
checkInputs = with python3Packages; [
mock
pytestCheckHook
];
# Tests are not present in tarball
checkPhase = ''
$out/bin/barman --help > /dev/null
'';
propagatedBuildInputs = with python3Packages; [
argcomplete
argh
azure-identity
azure-storage-blob
boto3
psycopg2
python-dateutil
];
meta = with lib; {
homepage = "https://www.2ndquadrant.com/en/resources/barman/";
description = "Backup and Disaster Recovery Manager for PostgreSQL";
homepage = "https://www.pgbarman.org/";
description = "Backup and Recovery Manager for PostgreSQL";
maintainers = with maintainers; [ freezeboy ];
license = licenses.gpl2;
license = licenses.gpl3Plus;
platforms = platforms.unix;
};
}

View file

@ -1432,7 +1432,7 @@ with pkgs;
automirror = callPackage ../tools/misc/automirror { };
barman = python3Packages.callPackage ../tools/misc/barman { };
barman = callPackage ../tools/misc/barman { };
base16-universal-manager = callPackage ../applications/misc/base16-universal-manager { };