pacu: format with nixfmt
This commit is contained in:
parent
8d24f24690
commit
573b674cba
|
@ -1,17 +1,16 @@
|
||||||
{ lib
|
{
|
||||||
, awscli
|
lib,
|
||||||
, fetchFromGitHub
|
awscli,
|
||||||
, python3
|
fetchFromGitHub,
|
||||||
|
python3,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
|
||||||
let
|
let
|
||||||
python = python3.override {
|
python = python3.override {
|
||||||
packageOverrides = self: super: {
|
packageOverrides = self: super: { sqlalchemy = super.sqlalchemy_1_4; };
|
||||||
sqlalchemy = super.sqlalchemy_1_4;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
in python.pkgs.buildPythonApplication rec {
|
in
|
||||||
|
python.pkgs.buildPythonApplication rec {
|
||||||
pname = "pacu";
|
pname = "pacu";
|
||||||
version = "1.5.2";
|
version = "1.5.2";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
@ -31,34 +30,30 @@ in python.pkgs.buildPythonApplication rec {
|
||||||
"urllib3"
|
"urllib3"
|
||||||
];
|
];
|
||||||
|
|
||||||
build-system = with python.pkgs; [
|
build-system = with python.pkgs; [ poetry-core ];
|
||||||
poetry-core
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = with python.pkgs; [
|
nativeBuildInputs = with python.pkgs; [ pythonRelaxDepsHook ];
|
||||||
pythonRelaxDepsHook
|
|
||||||
];
|
|
||||||
|
|
||||||
dependencies = [
|
dependencies =
|
||||||
awscli
|
[ awscli ]
|
||||||
] ++ (with python.pkgs; [
|
++ (with python.pkgs; [
|
||||||
awscli
|
awscli
|
||||||
boto3
|
boto3
|
||||||
botocore
|
botocore
|
||||||
chalice
|
chalice
|
||||||
dsnap
|
dsnap
|
||||||
jq
|
jq
|
||||||
policyuniverse
|
policyuniverse
|
||||||
pycognito
|
pycognito
|
||||||
pyyaml
|
pyyaml
|
||||||
qrcode
|
qrcode
|
||||||
requests
|
requests
|
||||||
sqlalchemy
|
sqlalchemy
|
||||||
sqlalchemy-utils
|
sqlalchemy-utils
|
||||||
toml
|
toml
|
||||||
typing-extensions
|
typing-extensions
|
||||||
urllib3
|
urllib3
|
||||||
]);
|
]);
|
||||||
|
|
||||||
nativeCheckInputs = with python.pkgs; [
|
nativeCheckInputs = with python.pkgs; [
|
||||||
moto
|
moto
|
||||||
|
@ -69,9 +64,7 @@ in python.pkgs.buildPythonApplication rec {
|
||||||
export HOME=$(mktemp -d)
|
export HOME=$(mktemp -d)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "pacu" ];
|
||||||
"pacu"
|
|
||||||
];
|
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# sAttributeError: module 'moto' has no attribute 'mock_s3'
|
# sAttributeError: module 'moto' has no attribute 'mock_s3'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user