nixpkgs/pkgs/tools/misc/barman/default.nix
rembo10 c7788a8fec
barman: 2.12 -> 2.15 (#142098)
Co-authored-by: rembo10 <rembo10@users.noreply.github.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-10-24 18:31:35 +02:00

39 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;
};
}