mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
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:
parent
7fdeceecd0
commit
c7788a8fec
@ -1,29 +1,38 @@
|
|||||||
{ buildPythonApplication, fetchurl, lib
|
{ fetchFromGitHub
|
||||||
, python-dateutil, argcomplete, argh, psycopg2, boto3
|
, lib
|
||||||
|
, python3Packages
|
||||||
}:
|
}:
|
||||||
|
python3Packages.buildPythonApplication rec {
|
||||||
buildPythonApplication rec {
|
|
||||||
pname = "barman";
|
pname = "barman";
|
||||||
version = "2.12";
|
version = "2.15";
|
||||||
|
|
||||||
outputs = [ "out" "man" ];
|
src = fetchFromGitHub {
|
||||||
src = fetchurl {
|
owner = "EnterpriseDB";
|
||||||
url = "mirror://sourceforge/pgbarman/${version}/barman-${version}.tar.gz";
|
repo = pname;
|
||||||
sha256 = "Ts8I6tlP2GRp90OIIKXy+cRWWvUO3Sm86zq2dtVP5YE=";
|
rev = "release/${version}";
|
||||||
|
sha256 = "127cqndg0405rad9jzba1mfhpqmyfa3kx16w345kd4n822w17ak9";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ python-dateutil argh psycopg2 boto3 argcomplete ];
|
checkInputs = with python3Packages; [
|
||||||
|
mock
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
# Tests are not present in tarball
|
propagatedBuildInputs = with python3Packages; [
|
||||||
checkPhase = ''
|
argcomplete
|
||||||
$out/bin/barman --help > /dev/null
|
argh
|
||||||
'';
|
azure-identity
|
||||||
|
azure-storage-blob
|
||||||
|
boto3
|
||||||
|
psycopg2
|
||||||
|
python-dateutil
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://www.2ndquadrant.com/en/resources/barman/";
|
homepage = "https://www.pgbarman.org/";
|
||||||
description = "Backup and Disaster Recovery Manager for PostgreSQL";
|
description = "Backup and Recovery Manager for PostgreSQL";
|
||||||
maintainers = with maintainers; [ freezeboy ];
|
maintainers = with maintainers; [ freezeboy ];
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl3Plus;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1432,7 +1432,7 @@ with pkgs;
|
|||||||
|
|
||||||
automirror = callPackage ../tools/misc/automirror { };
|
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 { };
|
base16-universal-manager = callPackage ../applications/misc/base16-universal-manager { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user