2021-10-24 17:31:35 +01:00
|
|
|
{ fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, python3Packages
|
2020-09-13 04:34:16 +01:00
|
|
|
}:
|
2021-10-24 17:31:35 +01:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2020-09-13 04:34:16 +01:00
|
|
|
pname = "barman";
|
2021-10-24 17:31:35 +01:00
|
|
|
version = "2.15";
|
2020-09-13 04:34:16 +01:00
|
|
|
|
2021-10-24 17:31:35 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "EnterpriseDB";
|
|
|
|
repo = pname;
|
|
|
|
rev = "release/${version}";
|
|
|
|
sha256 = "127cqndg0405rad9jzba1mfhpqmyfa3kx16w345kd4n822w17ak9";
|
2020-09-13 04:34:16 +01:00
|
|
|
};
|
|
|
|
|
2021-10-24 17:31:35 +01:00
|
|
|
checkInputs = with python3Packages; [
|
|
|
|
mock
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2020-09-13 04:34:16 +01:00
|
|
|
|
2021-10-24 17:31:35 +01:00
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
argcomplete
|
|
|
|
argh
|
|
|
|
azure-identity
|
|
|
|
azure-storage-blob
|
|
|
|
boto3
|
|
|
|
psycopg2
|
|
|
|
python-dateutil
|
|
|
|
];
|
2020-09-13 04:34:16 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
2021-10-24 17:31:35 +01:00
|
|
|
homepage = "https://www.pgbarman.org/";
|
|
|
|
description = "Backup and Recovery Manager for PostgreSQL";
|
2020-09-13 04:34:16 +01:00
|
|
|
maintainers = with maintainers; [ freezeboy ];
|
2021-10-24 17:31:35 +01:00
|
|
|
license = licenses.gpl3Plus;
|
2020-09-13 04:34:16 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|