python312Packages.dsnap: refactor

This commit is contained in:
Fabian Affolter 2024-04-12 09:52:09 +02:00
parent 681d4a87b2
commit 63cc6594d1

View File

@ -31,14 +31,14 @@ buildPythonPackage rec {
postPatch = '' postPatch = ''
# Is no direct dependency # Is no direct dependency
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace 'urllib3 = "^1.26.4"' 'urllib3 = "*"' --replace-fail 'urllib3 = "^1.26.4"' 'urllib3 = "*"'
''; '';
nativeBuildInputs = [ build-system = [
poetry-core poetry-core
]; ];
propagatedBuildInputs = [ dependencies = [
boto3 boto3
urllib3 urllib3
]; ];
@ -66,11 +66,11 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Utility for downloading and mounting EBS snapshots using the EBS Direct API's"; description = "Utility for downloading and mounting EBS snapshots using the EBS Direct API's";
mainProgram = "dsnap";
homepage = "https://github.com/RhinoSecurityLabs/dsnap"; homepage = "https://github.com/RhinoSecurityLabs/dsnap";
changelog = "https://github.com/RhinoSecurityLabs/dsnap/releases/tag/v${version}"; changelog = "https://github.com/RhinoSecurityLabs/dsnap/releases/tag/v${version}";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
mainProgram = "dsnap";
}; };
} }