From 956c40423c170c73a1181644e7eb74c193eb76ae Mon Sep 17 00:00:00 2001 From: Elliot Cameron Date: Thu, 19 Dec 2024 12:08:04 -0500 Subject: [PATCH] barman: add distutils to dependencies And add a test to catch this kind of error. --- pkgs/by-name/ba/barman/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/ba/barman/package.nix b/pkgs/by-name/ba/barman/package.nix index 7e1eea61d0a9..da9cda162fd1 100644 --- a/pkgs/by-name/ba/barman/package.nix +++ b/pkgs/by-name/ba/barman/package.nix @@ -3,6 +3,7 @@ stdenv, fetchFromGitHub, python3Packages, + versionCheckHook, }: python3Packages.buildPythonApplication rec { @@ -30,6 +31,7 @@ python3Packages.buildPythonApplication rec { azure-mgmt-compute azure-storage-blob boto3 + distutils google-cloud-compute google-cloud-storage grpcio @@ -41,6 +43,7 @@ python3Packages.buildPythonApplication rec { nativeCheckInputs = with python3Packages; [ mock pytestCheckHook + versionCheckHook ]; disabledTests = @@ -57,6 +60,7 @@ python3Packages.buildPythonApplication rec { description = "Backup and Recovery Manager for PostgreSQL"; homepage = "https://www.pgbarman.org/"; changelog = "https://github.com/EnterpriseDB/barman/blob/release/${version}/NEWS"; + mainProgram = "barman"; license = licenses.gpl3Plus; maintainers = with maintainers; [ freezeboy ]; platforms = platforms.unix;