mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-13 23:53:26 +00:00
python312Packages.dsnap: format with nixfmt
This commit is contained in:
parent
fc19d1f5ed
commit
b97489f0d2
@ -1,17 +1,18 @@
|
|||||||
{ lib
|
{
|
||||||
, aws-sam-cli
|
lib,
|
||||||
, boto3
|
aws-sam-cli,
|
||||||
, buildPythonPackage
|
boto3,
|
||||||
, cfn-lint
|
buildPythonPackage,
|
||||||
, fetchFromGitHub
|
cfn-lint,
|
||||||
, mock
|
fetchFromGitHub,
|
||||||
, moto
|
mock,
|
||||||
, mypy-boto3-ebs
|
moto,
|
||||||
, poetry-core
|
mypy-boto3-ebs,
|
||||||
, pytestCheckHook
|
poetry-core,
|
||||||
, pythonOlder
|
pytestCheckHook,
|
||||||
, typer
|
pythonOlder,
|
||||||
, urllib3
|
typer,
|
||||||
|
urllib3,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -34,9 +35,7 @@ buildPythonPackage rec {
|
|||||||
--replace-fail 'urllib3 = "^1.26.4"' 'urllib3 = "*"'
|
--replace-fail 'urllib3 = "^1.26.4"' 'urllib3 = "*"'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
build-system = [
|
build-system = [ poetry-core ];
|
||||||
poetry-core
|
|
||||||
];
|
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
boto3
|
boto3
|
||||||
@ -44,9 +43,7 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
passthru.optional-dependencies = {
|
passthru.optional-dependencies = {
|
||||||
cli = [
|
cli = [ typer ];
|
||||||
typer
|
|
||||||
];
|
|
||||||
scannerd = [
|
scannerd = [
|
||||||
aws-sam-cli
|
aws-sam-cli
|
||||||
cfn-lint
|
cfn-lint
|
||||||
@ -64,9 +61,7 @@ buildPythonPackage rec {
|
|||||||
# ImportError: cannot import name 'mock_iam' from 'moto'
|
# ImportError: cannot import name 'mock_iam' from 'moto'
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "dsnap" ];
|
||||||
"dsnap"
|
|
||||||
];
|
|
||||||
|
|
||||||
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";
|
||||||
@ -77,4 +72,3 @@ buildPythonPackage rec {
|
|||||||
mainProgram = "dsnap";
|
mainProgram = "dsnap";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user