3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/barman/default.nix

38 lines
794 B
Nix
Raw Normal View History

{ fetchFromGitHub
, lib
, python3Packages
2020-09-13 04:34:16 +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
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
};
checkInputs = with python3Packages; [
mock
pytestCheckHook
];
2020-09-13 04:34:16 +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; {
homepage = "https://www.pgbarman.org/";
description = "Backup and Recovery Manager for PostgreSQL";
2020-09-13 04:34:16 +01:00
maintainers = with maintainers; [ freezeboy ];
license = licenses.gpl3Plus;
2020-09-13 04:34:16 +01:00
platforms = platforms.unix;
};
}