depot/third_party/nixpkgs/pkgs/tools/misc/barman/default.nix
Default email 620eecebfb Project import generated by Copybara.
GitOrigin-RevId: 2deb07f3ac4eeb5de1c12c4ba2911a2eb1f6ed61
2021-10-28 08:52:43 +02:00

38 lines
803 B
Nix

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