nixpkgs-suyu/pkgs/tools/misc/barman/default.nix

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

38 lines
794 B
Nix
Raw Normal View History

{ fetchFromGitHub
, lib
, python3Packages
2020-09-13 05:34:16 +02:00
}:
python3Packages.buildPythonApplication rec {
2020-09-13 05:34:16 +02:00
pname = "barman";
2021-12-05 18:28:03 +01:00
version = "2.17";
2020-09-13 05:34:16 +02:00
src = fetchFromGitHub {
owner = "EnterpriseDB";
repo = pname;
rev = "release/${version}";
2021-12-05 18:28:03 +01:00
sha256 = "0c4gcs4kglbb2qma4nlvw0ycj1wnsg934p9vs50dvqi9099hxkmb";
2020-09-13 05:34:16 +02:00
};
checkInputs = with python3Packages; [
mock
pytestCheckHook
];
2020-09-13 05:34:16 +02:00
propagatedBuildInputs = with python3Packages; [
argcomplete
azure-identity
azure-storage-blob
boto3
psycopg2
python-dateutil
];
2020-09-13 05:34:16 +02:00
meta = with lib; {
homepage = "https://www.pgbarman.org/";
description = "Backup and Recovery Manager for PostgreSQL";
2020-09-13 05:34:16 +02:00
maintainers = with maintainers; [ freezeboy ];
license = licenses.gpl3Plus;
2020-09-13 05:34:16 +02:00
platforms = platforms.unix;
};
}