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-12-05 17:28:03 +00:00
|
|
|
version = "2.17";
|
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}";
|
2021-12-05 17:28:03 +00:00
|
|
|
sha256 = "0c4gcs4kglbb2qma4nlvw0ycj1wnsg934p9vs50dvqi9099hxkmb";
|
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
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|