From 63cc6594d13fca2973d6f31a816eb02210715689 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Apr 2024 09:52:09 +0200 Subject: [PATCH] python312Packages.dsnap: refactor --- pkgs/development/python-modules/dsnap/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/dsnap/default.nix b/pkgs/development/python-modules/dsnap/default.nix index d67cb02aa112..559048e0600e 100644 --- a/pkgs/development/python-modules/dsnap/default.nix +++ b/pkgs/development/python-modules/dsnap/default.nix @@ -31,14 +31,14 @@ buildPythonPackage rec { postPatch = '' # Is no direct dependency substituteInPlace pyproject.toml \ - --replace 'urllib3 = "^1.26.4"' 'urllib3 = "*"' + --replace-fail 'urllib3 = "^1.26.4"' 'urllib3 = "*"' ''; - nativeBuildInputs = [ + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + dependencies = [ boto3 urllib3 ]; @@ -66,11 +66,11 @@ buildPythonPackage rec { meta = with lib; { description = "Utility for downloading and mounting EBS snapshots using the EBS Direct API's"; - mainProgram = "dsnap"; homepage = "https://github.com/RhinoSecurityLabs/dsnap"; changelog = "https://github.com/RhinoSecurityLabs/dsnap/releases/tag/v${version}"; license = licenses.bsd3; maintainers = with maintainers; [ fab ]; + mainProgram = "dsnap"; }; }