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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
918 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";
2022-07-20 01:58:51 +01:00
version = "3.0.1";
2020-09-13 04:34:16 +01:00
src = fetchFromGitHub {
owner = "EnterpriseDB";
repo = pname;
2022-07-20 01:58:51 +01:00
rev = "refs/tags/release/${version}";
sha256 = "sha256-e6euOtvJx+xUq5pWmWK6l7nv/twOa+0OABUTYvMd8Ow=";
2020-09-13 04:34:16 +01:00
};
checkInputs = with python3Packages; [
mock
2022-07-06 15:52:01 +01:00
python-snappy
google-cloud-storage
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
2022-07-06 15:52:01 +01:00
disabledTests = [
# Assertion error
"test_help_output"
];
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;
};
}