mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
python3Packages: format with nixfmt
This commit is contained in:
parent
691216eca3
commit
59b1aef590
6796 changed files with 97594 additions and 98381 deletions
|
@ -1,7 +1,8 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pytest,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, asgiref
|
||||
, httpx
|
||||
, pdm-backend
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
asgiref,
|
||||
httpx,
|
||||
pdm-backend,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -18,9 +19,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-UOgaxVqmCfosZm5CuswlxCTIiEzmBy8afpAhFLfuXWM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pdm-backend
|
||||
];
|
||||
nativeBuildInputs = [ pdm-backend ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
asgiref
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, six
|
||||
, pynose
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
six,
|
||||
pynose,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -16,21 +17,13 @@ buildPythonPackage rec {
|
|||
hash = "sha256-p3MorFXbtXNdqZRBhwJRvv4TX2h6twenoXhWE2OydwQ=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
six
|
||||
];
|
||||
dependencies = [ six ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pynose
|
||||
];
|
||||
nativeCheckInputs = [ pynose ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aadict"
|
||||
];
|
||||
pythonImportsCheck = [ "aadict" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An auto-attribute dict (and a couple of other useful dict functions)";
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pillow }:
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pillow,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aafigure";
|
||||
|
|
|
@ -1,25 +1,26 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, arc4
|
||||
, asn1crypto
|
||||
, asn1tools
|
||||
, asyauth
|
||||
, asysocks
|
||||
, buildPythonPackage
|
||||
, cargo
|
||||
, colorama
|
||||
, fetchFromGitHub
|
||||
, iconv
|
||||
, minikerberos
|
||||
, pillow
|
||||
, pyperclip
|
||||
, pythonOlder
|
||||
, rustPlatform
|
||||
, rustc
|
||||
, setuptools-rust
|
||||
, tqdm
|
||||
, unicrypto
|
||||
, winsspi
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
arc4,
|
||||
asn1crypto,
|
||||
asn1tools,
|
||||
asyauth,
|
||||
asysocks,
|
||||
buildPythonPackage,
|
||||
cargo,
|
||||
colorama,
|
||||
fetchFromGitHub,
|
||||
iconv,
|
||||
minikerberos,
|
||||
pillow,
|
||||
pyperclip,
|
||||
pythonOlder,
|
||||
rustPlatform,
|
||||
rustc,
|
||||
setuptools-rust,
|
||||
tqdm,
|
||||
unicrypto,
|
||||
winsspi,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -65,16 +66,12 @@ buildPythonPackage rec {
|
|||
tqdm
|
||||
unicrypto
|
||||
winsspi
|
||||
] ++ lib.optionals (stdenv.isDarwin) [
|
||||
iconv
|
||||
];
|
||||
] ++ lib.optionals (stdenv.isDarwin) [ iconv ];
|
||||
|
||||
# Module doesn't have tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aardwolf"
|
||||
];
|
||||
pythonImportsCheck = [ "aardwolf" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Asynchronous RDP protocol implementation";
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, ply
|
||||
, roman
|
||||
, uqbar
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, lilypond
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
ply,
|
||||
roman,
|
||||
uqbar,
|
||||
pythonOlder,
|
||||
pytestCheckHook,
|
||||
lilypond,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -27,13 +28,9 @@ buildPythonPackage rec {
|
|||
uqbar
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
lilypond
|
||||
];
|
||||
buildInputs = [ lilypond ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace abjad/io.py \
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
{
|
||||
lib,
|
||||
fetchPypi,
|
||||
buildPythonPackage,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -19,9 +20,7 @@ buildPythonPackage rec {
|
|||
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"about_time"
|
||||
];
|
||||
pythonImportsCheck = [ "about_time" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A cool helper for tracking time and throughput of code blocks, with beautiful human friendly renditions";
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
{ buildPythonPackage
|
||||
, lib
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
, six
|
||||
{
|
||||
buildPythonPackage,
|
||||
lib,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
six,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -15,13 +16,9 @@ buildPythonPackage rec {
|
|||
hash = "sha256-eCB5DvuzFnOc3otOGTVyQ/w2CKFSAkKIUT3ZaNfZWf8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
];
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
# checks use bazel; should be revisited
|
||||
doCheck = false;
|
||||
|
|
|
@ -1,23 +1,24 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonAtLeast
|
||||
, pythonOlder
|
||||
, llvmPackages
|
||||
, pytest7CheckHook
|
||||
, setuptools
|
||||
, numpy
|
||||
, packaging
|
||||
, psutil
|
||||
, pyyaml
|
||||
, safetensors
|
||||
, torch
|
||||
, config
|
||||
, cudatoolkit
|
||||
, evaluate
|
||||
, parameterized
|
||||
, transformers
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonAtLeast,
|
||||
pythonOlder,
|
||||
llvmPackages,
|
||||
pytest7CheckHook,
|
||||
setuptools,
|
||||
numpy,
|
||||
packaging,
|
||||
psutil,
|
||||
pyyaml,
|
||||
safetensors,
|
||||
torch,
|
||||
config,
|
||||
cudatoolkit,
|
||||
evaluate,
|
||||
parameterized,
|
||||
transformers,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -34,9 +35,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-E20pI5BrcTrMYrhriuOUl5/liSaQQy6eqRyCoauwb9Q=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
llvmPackages.openmp
|
||||
];
|
||||
buildInputs = [ llvmPackages.openmp ];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
|
@ -55,49 +54,56 @@ buildPythonPackage rec {
|
|||
pytest7CheckHook
|
||||
transformers
|
||||
];
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
export PATH=$out/bin:$PATH
|
||||
'' + lib.optionalString config.cudaSupport ''
|
||||
export TRITON_PTXAS_PATH="${cudatoolkit}/bin/ptxas"
|
||||
'';
|
||||
preCheck =
|
||||
''
|
||||
export HOME=$(mktemp -d)
|
||||
export PATH=$out/bin:$PATH
|
||||
''
|
||||
+ lib.optionalString config.cudaSupport ''
|
||||
export TRITON_PTXAS_PATH="${cudatoolkit}/bin/ptxas"
|
||||
'';
|
||||
pytestFlagsArray = [ "tests" ];
|
||||
disabledTests = [
|
||||
# try to download data:
|
||||
"FeatureExamplesTests"
|
||||
"test_infer_auto_device_map_on_t0pp"
|
||||
disabledTests =
|
||||
[
|
||||
# try to download data:
|
||||
"FeatureExamplesTests"
|
||||
"test_infer_auto_device_map_on_t0pp"
|
||||
|
||||
# require socket communication
|
||||
"test_explicit_dtypes"
|
||||
"test_gated"
|
||||
"test_invalid_model_name"
|
||||
"test_invalid_model_name_transformers"
|
||||
"test_no_metadata"
|
||||
"test_no_split_modules"
|
||||
"test_remote_code"
|
||||
"test_transformers_model"
|
||||
# require socket communication
|
||||
"test_explicit_dtypes"
|
||||
"test_gated"
|
||||
"test_invalid_model_name"
|
||||
"test_invalid_model_name_transformers"
|
||||
"test_no_metadata"
|
||||
"test_no_split_modules"
|
||||
"test_remote_code"
|
||||
"test_transformers_model"
|
||||
|
||||
# nondeterministic, tests GC behaviour by thresholding global ram usage
|
||||
"test_free_memory_dereferences_prepared_components"
|
||||
# nondeterministic, tests GC behaviour by thresholding global ram usage
|
||||
"test_free_memory_dereferences_prepared_components"
|
||||
|
||||
# set the environment variable, CC, which conflicts with standard environment
|
||||
"test_patch_environment_key_exists"
|
||||
] ++ lib.optionals (pythonAtLeast "3.12") [
|
||||
# RuntimeError: Dynamo is not supported on Python 3.12+
|
||||
"test_convert_to_fp32"
|
||||
"test_send_to_device_compiles"
|
||||
] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
|
||||
# usual aarch64-linux RuntimeError: DataLoader worker (pid(s) <...>) exited unexpectedly
|
||||
"CheckpointTest"
|
||||
# TypeError: unsupported operand type(s) for /: 'NoneType' and 'int' (it seems cpuinfo doesn't work here)
|
||||
"test_mpi_multicpu_config_cmd"
|
||||
] ++ lib.optionals (!config.cudaSupport) [
|
||||
# requires ptxas from cudatoolkit, which is unfree
|
||||
"test_dynamo_extract_model"
|
||||
] ++ lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [
|
||||
# RuntimeError: torch_shm_manager: execl failed: Permission denied
|
||||
"CheckpointTest"
|
||||
];
|
||||
# set the environment variable, CC, which conflicts with standard environment
|
||||
"test_patch_environment_key_exists"
|
||||
]
|
||||
++ lib.optionals (pythonAtLeast "3.12") [
|
||||
# RuntimeError: Dynamo is not supported on Python 3.12+
|
||||
"test_convert_to_fp32"
|
||||
"test_send_to_device_compiles"
|
||||
]
|
||||
++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
|
||||
# usual aarch64-linux RuntimeError: DataLoader worker (pid(s) <...>) exited unexpectedly
|
||||
"CheckpointTest"
|
||||
# TypeError: unsupported operand type(s) for /: 'NoneType' and 'int' (it seems cpuinfo doesn't work here)
|
||||
"test_mpi_multicpu_config_cmd"
|
||||
]
|
||||
++ lib.optionals (!config.cudaSupport) [
|
||||
# requires ptxas from cudatoolkit, which is unfree
|
||||
"test_dynamo_extract_model"
|
||||
]
|
||||
++ lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [
|
||||
# RuntimeError: torch_shm_manager: execl failed: Permission denied
|
||||
"CheckpointTest"
|
||||
];
|
||||
|
||||
disabledTestPaths = lib.optionals (!(stdenv.isLinux && stdenv.isx86_64)) [
|
||||
# numerous instances of torch.multiprocessing.spawn.ProcessRaisedException:
|
||||
|
@ -107,9 +113,7 @@ buildPythonPackage rec {
|
|||
"tests/test_scheduler.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"accelerate"
|
||||
];
|
||||
pythonImportsCheck = [ "accelerate" ];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, pygments
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
pygments,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -18,13 +19,9 @@ buildPythonPackage rec {
|
|||
hash = "sha256-57V6mxWVjpYBx+nrB6RAyBMoNUWiCXPyV0pfRT0OlT4=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
pygments
|
||||
];
|
||||
dependencies = [ pygments ];
|
||||
|
||||
# Tests only execute pygments with these styles
|
||||
doCheck = false;
|
||||
|
|
|
@ -1,19 +1,20 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, mpmath
|
||||
, numpy
|
||||
, pybind11
|
||||
, pyfma
|
||||
, eigen
|
||||
, importlib-metadata
|
||||
, pytestCheckHook
|
||||
, matplotlib
|
||||
, dufte
|
||||
, perfplot
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
mpmath,
|
||||
numpy,
|
||||
pybind11,
|
||||
pyfma,
|
||||
eigen,
|
||||
importlib-metadata,
|
||||
pytestCheckHook,
|
||||
matplotlib,
|
||||
dufte,
|
||||
perfplot,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -35,9 +36,7 @@ buildPythonPackage rec {
|
|||
pybind11
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
eigen
|
||||
];
|
||||
buildInputs = [ eigen ];
|
||||
|
||||
dependencies = [
|
||||
mpmath
|
||||
|
@ -53,8 +52,8 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
postConfigure = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail "/usr/include/eigen3/" "${eigen}/include/eigen3/"
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail "/usr/include/eigen3/" "${eigen}/include/eigen3/"
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
|
@ -73,7 +72,10 @@ buildPythonPackage rec {
|
|||
done
|
||||
'';
|
||||
|
||||
disabledTests = [ "test_speed_comparison1" "test_speed_comparison2" ];
|
||||
disabledTests = [
|
||||
"test_speed_comparison1"
|
||||
"test_speed_comparison2"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "accupy" ];
|
||||
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools-scm
|
||||
, fusepy
|
||||
, fuse
|
||||
, openssl
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools-scm,
|
||||
fusepy,
|
||||
fuse,
|
||||
openssl,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -25,7 +26,10 @@ buildPythonPackage rec {
|
|||
|
||||
buildInputs = [ setuptools-scm ];
|
||||
|
||||
nativeCheckInputs = [ fusepy fuse ];
|
||||
nativeCheckInputs = [
|
||||
fusepy
|
||||
fuse
|
||||
];
|
||||
|
||||
doCheck = false; # seems to hang, not sure
|
||||
|
||||
|
|
|
@ -1,16 +1,17 @@
|
|||
{ buildPythonPackage
|
||||
, certbot
|
||||
, cryptography
|
||||
, pyasn1
|
||||
, pyopenssl
|
||||
, pyrfc3339
|
||||
, josepy
|
||||
, pytz
|
||||
, requests
|
||||
, requests-toolbelt
|
||||
, six
|
||||
, werkzeug
|
||||
, ndg-httpsclient
|
||||
{
|
||||
buildPythonPackage,
|
||||
certbot,
|
||||
cryptography,
|
||||
pyasn1,
|
||||
pyopenssl,
|
||||
pyrfc3339,
|
||||
josepy,
|
||||
pytz,
|
||||
requests,
|
||||
requests-toolbelt,
|
||||
six,
|
||||
werkzeug,
|
||||
ndg-httpsclient,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -20,8 +21,17 @@ buildPythonPackage rec {
|
|||
format = "setuptools";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cryptography pyasn1 pyopenssl pyrfc3339 pytz requests requests-toolbelt six
|
||||
werkzeug ndg-httpsclient josepy
|
||||
cryptography
|
||||
pyasn1
|
||||
pyopenssl
|
||||
pyrfc3339
|
||||
pytz
|
||||
requests
|
||||
requests-toolbelt
|
||||
six
|
||||
werkzeug
|
||||
ndg-httpsclient
|
||||
josepy
|
||||
];
|
||||
|
||||
# does not contain any tests
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, flit-core
|
||||
, matplotlib
|
||||
, numpy
|
||||
, pandas
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, scipy
|
||||
, tabulate
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
flit-core,
|
||||
matplotlib,
|
||||
numpy,
|
||||
pandas,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
scipy,
|
||||
tabulate,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -20,7 +21,7 @@ buildPythonPackage rec {
|
|||
|
||||
src = fetchFromGitHub {
|
||||
owner = "python-acoustics";
|
||||
repo = "python-acoustics";
|
||||
repo = "python-acoustics";
|
||||
rev = "99d79206159b822ea2f4e9d27c8b2fbfeb704d38";
|
||||
hash = "sha256-/4bVjlhj8ihpAFHEWPaZ/xBILi3rb8f0NmwAexJCg+o=";
|
||||
};
|
||||
|
@ -35,9 +36,7 @@ buildPythonPackage rec {
|
|||
tabulate
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$TMPDIR
|
||||
|
@ -45,9 +44,7 @@ buildPythonPackage rec {
|
|||
echo "backend: ps" > $HOME/.matplotlib/matplotlibrc
|
||||
'';
|
||||
|
||||
pytestFlagsArray = [
|
||||
"-Wignore::DeprecationWarning"
|
||||
];
|
||||
pytestFlagsArray = [ "-Wignore::DeprecationWarning" ];
|
||||
|
||||
pythonImportsCheck = [ "acoustics" ];
|
||||
|
||||
|
|
|
@ -1,18 +1,19 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, defusedxml
|
||||
, dissect-cstruct
|
||||
, dissect-target
|
||||
, fetchFromGitHub
|
||||
, minio
|
||||
, pycryptodome
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
, requests-toolbelt
|
||||
, rich
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
defusedxml,
|
||||
dissect-cstruct,
|
||||
dissect-target,
|
||||
fetchFromGitHub,
|
||||
minio,
|
||||
pycryptodome,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
requests,
|
||||
requests-toolbelt,
|
||||
rich,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -51,13 +52,9 @@ buildPythonPackage rec {
|
|||
] ++ dissect-target.optional-dependencies.full;
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
] ++ passthru.optional-dependencies.full;
|
||||
nativeCheckInputs = [ pytestCheckHook ] ++ passthru.optional-dependencies.full;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"acquire"
|
||||
];
|
||||
pythonImportsCheck = [ "acquire" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to quickly gather forensic artifacts from disk images or a live system";
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
{ lib
|
||||
, blockdiag
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pynose
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
blockdiag,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pynose,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -22,22 +23,16 @@ buildPythonPackage rec {
|
|||
hash = "sha256-WmprkHOgvlsOIg8H77P7fzEqxGnj6xaL7Df7urRkg3o=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
blockdiag
|
||||
];
|
||||
propagatedBuildInputs = [ blockdiag ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pynose
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"src/actdiag/tests/"
|
||||
];
|
||||
pytestFlagsArray = [ "src/actdiag/tests/" ];
|
||||
|
||||
disabledTests = [
|
||||
# AttributeError: 'TestRstDirectives' object has no attribute 'assertRegexpMatches'
|
||||
|
@ -45,9 +40,7 @@ buildPythonPackage rec {
|
|||
"noviewbox"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"actdiag"
|
||||
];
|
||||
pythonImportsCheck = [ "actdiag" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generate activity-diagram image from spec-text file (similar to Graphviz)";
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
{ lib
|
||||
, aiofiles
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, requests
|
||||
{
|
||||
lib,
|
||||
aiofiles,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
requests,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -29,9 +30,7 @@ buildPythonPackage rec {
|
|||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"acunetix"
|
||||
];
|
||||
pythonImportsCheck = [ "acunetix" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Acunetix Web Vulnerability Scanner SDK for Python";
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, paho-mqtt
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
, setuptools-scm
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
paho-mqtt,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
requests,
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -22,22 +23,16 @@ buildPythonPackage rec {
|
|||
hash = "sha256-JBpF08WGe1pMK1y7HZLH/jSQkJtbWdiTGYHWRd39UIk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
paho-mqtt
|
||||
requests
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"Adafruit_IO"
|
||||
];
|
||||
pythonImportsCheck = [ "Adafruit_IO" ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Tests requires valid credentials
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, setuptools-scm
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pythonOlder,
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -18,16 +19,12 @@ buildPythonPackage rec {
|
|||
hash = "sha256-xM+7NlcxlC0fEJKhFvR9/a4K7xjFsn8QcrWCStXqjHw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
# Physical SMBus is not present
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"Adafruit_PureIO"
|
||||
];
|
||||
pythonImportsCheck = [ "Adafruit_PureIO" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python interface to Linux IO including I2C and SPI";
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, httpretty
|
||||
, pyjwt
|
||||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, requests
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
httpretty,
|
||||
pyjwt,
|
||||
pytestCheckHook,
|
||||
python-dateutil,
|
||||
requests,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -25,9 +26,7 @@ buildPythonPackage rec {
|
|||
sed -i '/cryptography/d' setup.py
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
pyjwt
|
||||
|
@ -45,9 +44,7 @@ buildPythonPackage rec {
|
|||
"test_failed_request"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"adal"
|
||||
];
|
||||
pythonImportsCheck = [ "adal" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module to authenticate to Azure Active Directory (AAD) in order to access AAD protected web resources";
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, bleak
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, async-timeout
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
bleak,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
async-timeout,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -30,9 +31,7 @@ buildPythonPackage rec {
|
|||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"adax_local"
|
||||
];
|
||||
pythonImportsCheck = [ "adax_local" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module for local access to Adax";
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, async-timeout
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
async-timeout,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -28,9 +29,7 @@ buildPythonPackage rec {
|
|||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"adax"
|
||||
];
|
||||
pythonImportsCheck = [ "adax" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module to communicate with Adax";
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, docopt
|
||||
, fetchFromGitHub
|
||||
, jdk11
|
||||
, psutil
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
docopt,
|
||||
fetchFromGitHub,
|
||||
jdk11,
|
||||
psutil,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -34,9 +35,7 @@ buildPythonPackage rec {
|
|||
# Disable tests because they require a dedicated Android emulator
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"adbe"
|
||||
];
|
||||
pythonImportsCheck = [ "adbe" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool for Android testing and development";
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, libusb1
|
||||
, rsa
|
||||
, pycryptodome
|
||||
, pytest
|
||||
, mock
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
libusb1,
|
||||
rsa,
|
||||
pycryptodome,
|
||||
pytest,
|
||||
mock,
|
||||
}:
|
||||
buildPythonPackage {
|
||||
pname = "adb-homeassistant";
|
||||
|
@ -18,7 +19,6 @@ buildPythonPackage {
|
|||
repo = "python-adb";
|
||||
rev = "5949bf432307cbba7128e84d7bc6add7f054a078";
|
||||
sha256 = "0s3fazvbzchn1fsvjrd1jl8w9y4dvvgq6q8m8p5lr2gri0npr581";
|
||||
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -27,7 +27,10 @@ buildPythonPackage {
|
|||
pycryptodome
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytest mock ];
|
||||
nativeCheckInputs = [
|
||||
pytest
|
||||
mock
|
||||
];
|
||||
checkPhase = ''
|
||||
py.test test
|
||||
'';
|
||||
|
|
|
@ -1,17 +1,18 @@
|
|||
{ lib
|
||||
, aiofiles
|
||||
, async-timeout
|
||||
, buildPythonPackage
|
||||
, cryptography
|
||||
, fetchFromGitHub
|
||||
, isPy3k
|
||||
, libusb1
|
||||
, mock
|
||||
, pyasn1
|
||||
, pythonAtLeast
|
||||
, pycryptodome
|
||||
, pytestCheckHook
|
||||
, rsa
|
||||
{
|
||||
lib,
|
||||
aiofiles,
|
||||
async-timeout,
|
||||
buildPythonPackage,
|
||||
cryptography,
|
||||
fetchFromGitHub,
|
||||
isPy3k,
|
||||
libusb1,
|
||||
mock,
|
||||
pyasn1,
|
||||
pythonAtLeast,
|
||||
pycryptodome,
|
||||
pytestCheckHook,
|
||||
rsa,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -39,9 +40,7 @@ buildPythonPackage rec {
|
|||
aiofiles
|
||||
async-timeout
|
||||
];
|
||||
usb = [
|
||||
libusb1
|
||||
];
|
||||
usb = [ libusb1 ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
@ -50,9 +49,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
|
||||
|
||||
pythonImportsCheck = [
|
||||
"adb_shell"
|
||||
];
|
||||
pythonImportsCheck = [ "adb_shell" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python implementation of ADB with shell and FileSync functionality";
|
||||
|
|
|
@ -1,18 +1,19 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, buildPythonPackage
|
||||
, rustPlatform
|
||||
, pkg-config
|
||||
, openssl
|
||||
, publicsuffix-list
|
||||
, pythonOlder
|
||||
, libiconv
|
||||
, CoreFoundation
|
||||
, Security
|
||||
, pytestCheckHook
|
||||
, toml
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
buildPythonPackage,
|
||||
rustPlatform,
|
||||
pkg-config,
|
||||
openssl,
|
||||
publicsuffix-list,
|
||||
pythonOlder,
|
||||
libiconv,
|
||||
CoreFoundation,
|
||||
Security,
|
||||
pytestCheckHook,
|
||||
toml,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -50,20 +51,20 @@ buildPythonPackage rec {
|
|||
hash = "sha256-1xmYmF5P7a5O9MilxDy+CVhmWMGRetdM2fGvTPy7JmM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
] ++ (with rustPlatform; [
|
||||
cargoSetupHook
|
||||
maturinBuildHook
|
||||
]);
|
||||
nativeBuildInputs =
|
||||
[ pkg-config ]
|
||||
++ (with rustPlatform; [
|
||||
cargoSetupHook
|
||||
maturinBuildHook
|
||||
]);
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
libiconv
|
||||
CoreFoundation
|
||||
Security
|
||||
];
|
||||
buildInputs =
|
||||
[ openssl ]
|
||||
++ lib.optionals stdenv.isDarwin [
|
||||
libiconv
|
||||
CoreFoundation
|
||||
Security
|
||||
];
|
||||
|
||||
PSL_PATH = "${publicsuffix-list}/share/publicsuffix/public_suffix_list.dat";
|
||||
|
||||
|
@ -92,6 +93,9 @@ buildPythonPackage rec {
|
|||
homepage = "https://github.com/ArniDagur/python-adblock/";
|
||||
changelog = "https://github.com/ArniDagur/python-adblock/blob/${version}/CHANGELOG.md";
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
license = with licenses; [ asl20 /* or */ mit ];
|
||||
license = with licenses; [
|
||||
asl20 # or
|
||||
mit
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, tokenize-rt
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
tokenize-rt,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -20,17 +21,11 @@ buildPythonPackage rec {
|
|||
hash = "sha256-B+wjBy42RwabVz/6qEMGpB0JmwJ9hqSskwcNj4x/B/k=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
tokenize-rt
|
||||
];
|
||||
propagatedBuildInputs = [ tokenize-rt ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"add_trailing_comma"
|
||||
];
|
||||
pythonImportsCheck = [ "add_trailing_comma" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool (and pre-commit hook) to automatically add trailing commas to calls and literals";
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, aresponses
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, yarl
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
aresponses,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
yarl,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -33,9 +34,7 @@ buildPythonPackage rec {
|
|||
--replace 0.0.0 ${version}
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
|
@ -50,9 +49,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"adguardhome"
|
||||
];
|
||||
pythonImportsCheck = [ "adguardhome" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python client for the AdGuard Home API";
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, matplotlib
|
||||
, numpy
|
||||
, packaging
|
||||
, pythonOlder
|
||||
, scipy
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
matplotlib,
|
||||
numpy,
|
||||
packaging,
|
||||
pythonOlder,
|
||||
scipy,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -37,9 +38,7 @@ buildPythonPackage rec {
|
|||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"adjustText"
|
||||
];
|
||||
pythonImportsCheck = [ "adjustText" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Iteratively adjust text position in matplotlib plots to minimize overlaps";
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -18,16 +19,12 @@ buildPythonPackage rec {
|
|||
hash = "sha256-4rRR9IxzH5EiYfWzWYeyCwoLB2LetBVyH7L3nkvp+gA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
propagatedBuildInputs = [ aiohttp ];
|
||||
|
||||
# No tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"advantage_air"
|
||||
];
|
||||
pythonImportsCheck = [ "advantage_air" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "API helper for Advantage Air's MyAir and e-zone API";
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, ndg-httpsclient
|
||||
, netifaces
|
||||
, pyasn1
|
||||
, pyopenssl
|
||||
, requests
|
||||
, six
|
||||
, urllib3
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
ndg-httpsclient,
|
||||
netifaces,
|
||||
pyasn1,
|
||||
pyopenssl,
|
||||
requests,
|
||||
six,
|
||||
urllib3,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, geopy
|
||||
, pythonOlder
|
||||
, requests
|
||||
, setuptools
|
||||
, urllib3
|
||||
, wheel
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
geopy,
|
||||
pythonOlder,
|
||||
requests,
|
||||
setuptools,
|
||||
urllib3,
|
||||
wheel,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -39,9 +40,7 @@ buildPythonPackage rec {
|
|||
# no tests implemented
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aemet_opendata.interface"
|
||||
];
|
||||
pythonImportsCheck = [ "aemet_opendata.interface" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python client for AEMET OpenData Rest API";
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pyparsing
|
||||
, pytestCheckHook
|
||||
, pythonAtLeast
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pyparsing,
|
||||
pytestCheckHook,
|
||||
pythonAtLeast,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -20,32 +21,30 @@ buildPythonPackage rec {
|
|||
hash = "sha256-jL12zRjE+HD/ObJChNPqAo++hzGljfOqWB5DTFdblVk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pyparsing
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aenum"
|
||||
];
|
||||
pythonImportsCheck = [ "aenum" ];
|
||||
|
||||
disabledTests = [
|
||||
# https://github.com/ethanfurman/aenum/issues/27
|
||||
"test_class_nested_enum_and_pickle_protocol_four"
|
||||
"test_pickle_enum_function_with_qualname"
|
||||
"test_stdlib_inheritence"
|
||||
"test_subclasses_with_getnewargs_ex"
|
||||
"test_arduino_headers"
|
||||
"test_c_header_scanner"
|
||||
"test_extend_flag_backwards_stdlib"
|
||||
] ++ lib.optionals (pythonAtLeast "3.12") [
|
||||
# AttributeError: <enum 'Color'> has no attribute 'value'. Did you mean: 'blue'?
|
||||
"test_extend_enum_shadow_property_stdlib"
|
||||
];
|
||||
disabledTests =
|
||||
[
|
||||
# https://github.com/ethanfurman/aenum/issues/27
|
||||
"test_class_nested_enum_and_pickle_protocol_four"
|
||||
"test_pickle_enum_function_with_qualname"
|
||||
"test_stdlib_inheritence"
|
||||
"test_subclasses_with_getnewargs_ex"
|
||||
"test_arduino_headers"
|
||||
"test_c_header_scanner"
|
||||
"test_extend_flag_backwards_stdlib"
|
||||
]
|
||||
++ lib.optionals (pythonAtLeast "3.12") [
|
||||
# AttributeError: <enum 'Color'> has no attribute 'value'. Did you mean: 'blue'?
|
||||
"test_extend_enum_shadow_property_stdlib"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants";
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, aesara
|
||||
, numpy
|
||||
, scipy
|
||||
, numdifftools
|
||||
, pytestCheckHook
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
aesara,
|
||||
numpy,
|
||||
scipy,
|
||||
numdifftools,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -24,9 +25,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-mqBbXwWJwQA2wSHuEdBeXQMfTIcgwYEjpq8AVmOjmHM=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
aesara
|
||||
|
@ -43,9 +42,7 @@ buildPythonPackage rec {
|
|||
export HOME=$(mktemp -d);
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aeppl"
|
||||
];
|
||||
pythonImportsCheck = [ "aeppl" ];
|
||||
|
||||
disabledTests = [
|
||||
# Compute issue
|
||||
|
|
|
@ -1,25 +1,26 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, cons
|
||||
, cython
|
||||
, etuples
|
||||
, fetchFromGitHub
|
||||
, filelock
|
||||
, hatch-vcs
|
||||
, hatchling
|
||||
, jax
|
||||
, jaxlib
|
||||
, logical-unification
|
||||
, minikanren
|
||||
, numba
|
||||
, numba-scipy
|
||||
, numpy
|
||||
, pytestCheckHook
|
||||
, pythonAtLeast
|
||||
, pythonOlder
|
||||
, scipy
|
||||
, typing-extensions
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
cons,
|
||||
cython,
|
||||
etuples,
|
||||
fetchFromGitHub,
|
||||
filelock,
|
||||
hatch-vcs,
|
||||
hatchling,
|
||||
jax,
|
||||
jaxlib,
|
||||
logical-unification,
|
||||
minikanren,
|
||||
numba,
|
||||
numba-scipy,
|
||||
numpy,
|
||||
pytestCheckHook,
|
||||
pythonAtLeast,
|
||||
pythonOlder,
|
||||
scipy,
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -72,9 +73,7 @@ buildPythonPackage rec {
|
|||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aesara"
|
||||
];
|
||||
pythonImportsCheck = [ "aesara" ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Don't run the most compute-intense tests
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
{ lib
|
||||
, aiowinreg
|
||||
, buildPythonPackage
|
||||
, colorama
|
||||
, fetchFromGitHub
|
||||
, pycryptodomex
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, tqdm
|
||||
, unicrypto
|
||||
{
|
||||
lib,
|
||||
aiowinreg,
|
||||
buildPythonPackage,
|
||||
colorama,
|
||||
fetchFromGitHub,
|
||||
pycryptodomex,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
tqdm,
|
||||
unicrypto,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -24,9 +25,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-nYuMWE03Rsw1XuD/bxccpu8rddeXgS/EKJcO1VBLTLU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiowinreg
|
||||
|
@ -39,9 +38,7 @@ buildPythonPackage rec {
|
|||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aesedb"
|
||||
];
|
||||
pythonImportsCheck = [ "aesedb" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Parser for JET databases";
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, grpcio
|
||||
, protobuf
|
||||
, pytest-asyncio
|
||||
, pytest-mock
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
grpcio,
|
||||
protobuf,
|
||||
pytest-asyncio,
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -48,9 +49,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aetcd"
|
||||
];
|
||||
pythonImportsCheck = [ "aetcd" ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Tests require a running ectd instance
|
||||
|
|
|
@ -1,33 +1,34 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, fonttools
|
||||
, defcon
|
||||
, lxml
|
||||
, fs
|
||||
, unicodedata2
|
||||
, zopfli
|
||||
, brotlipy
|
||||
, fontpens
|
||||
, brotli
|
||||
, fontmath
|
||||
, mutatormath
|
||||
, booleanoperations
|
||||
, ufoprocessor
|
||||
, ufonormalizer
|
||||
, tqdm
|
||||
, setuptools-scm
|
||||
, scikit-build
|
||||
, cmake
|
||||
, ninja
|
||||
, antlr4_9
|
||||
, libxml2
|
||||
, pytestCheckHook
|
||||
# Enables some expensive tests, useful for verifying an update
|
||||
, runAllTests ? false
|
||||
, afdko
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
fonttools,
|
||||
defcon,
|
||||
lxml,
|
||||
fs,
|
||||
unicodedata2,
|
||||
zopfli,
|
||||
brotlipy,
|
||||
fontpens,
|
||||
brotli,
|
||||
fontmath,
|
||||
mutatormath,
|
||||
booleanoperations,
|
||||
ufoprocessor,
|
||||
ufonormalizer,
|
||||
tqdm,
|
||||
setuptools-scm,
|
||||
scikit-build,
|
||||
cmake,
|
||||
ninja,
|
||||
antlr4_9,
|
||||
libxml2,
|
||||
pytestCheckHook,
|
||||
# Enables some expensive tests, useful for verifying an update
|
||||
runAllTests ? false,
|
||||
afdko,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -80,11 +81,11 @@ buildPythonPackage rec {
|
|||
propagatedBuildInputs = [
|
||||
booleanoperations
|
||||
fonttools
|
||||
lxml # fonttools[lxml], defcon[lxml] extra
|
||||
fs # fonttools[ufo] extra
|
||||
unicodedata2 # fonttools[unicode] extra
|
||||
brotlipy # fonttools[woff] extra
|
||||
zopfli # fonttools[woff] extra
|
||||
lxml # fonttools[lxml], defcon[lxml] extra
|
||||
fs # fonttools[ufo] extra
|
||||
unicodedata2 # fonttools[unicode] extra
|
||||
brotlipy # fonttools[woff] extra
|
||||
zopfli # fonttools[woff] extra
|
||||
fontpens
|
||||
brotli
|
||||
defcon
|
||||
|
@ -107,23 +108,26 @@ buildPythonPackage rec {
|
|||
rm -rf _skbuild
|
||||
'';
|
||||
|
||||
disabledTests = lib.optionals (!runAllTests) [
|
||||
# Disable slow tests, reduces test time ~25 %
|
||||
"test_report"
|
||||
"test_post_overflow"
|
||||
"test_cjk"
|
||||
"test_extrapolate"
|
||||
"test_filename_without_dir"
|
||||
"test_overwrite"
|
||||
"test_options"
|
||||
] ++ lib.optionals (stdenv.hostPlatform.isAarch || stdenv.hostPlatform.isRiscV) [
|
||||
# unknown reason so far
|
||||
# https://github.com/adobe-type-tools/afdko/issues/1425
|
||||
"test_spec"
|
||||
] ++ lib.optionals (stdenv.hostPlatform.isi686) [
|
||||
"test_dump_option"
|
||||
"test_type1mm_inputs"
|
||||
];
|
||||
disabledTests =
|
||||
lib.optionals (!runAllTests) [
|
||||
# Disable slow tests, reduces test time ~25 %
|
||||
"test_report"
|
||||
"test_post_overflow"
|
||||
"test_cjk"
|
||||
"test_extrapolate"
|
||||
"test_filename_without_dir"
|
||||
"test_overwrite"
|
||||
"test_options"
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform.isAarch || stdenv.hostPlatform.isRiscV) [
|
||||
# unknown reason so far
|
||||
# https://github.com/adobe-type-tools/afdko/issues/1425
|
||||
"test_spec"
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform.isi686) [
|
||||
"test_dump_option"
|
||||
"test_type1mm_inputs"
|
||||
];
|
||||
|
||||
passthru.tests = {
|
||||
fullTestsuite = afdko.override { runAllTests = true; };
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, flit-core
|
||||
, pytestCheckHook
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
fetchPypi,
|
||||
flit-core,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -19,13 +20,9 @@ buildPythonPackage rec {
|
|||
hash = "sha256-ok2BjWqDbBMZdtIvjCe408oy0K9kwdjSnet7r6TaHuo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
flit-core
|
||||
];
|
||||
nativeBuildInputs = [ flit-core ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/rasterio/affine/blob/${version}/CHANGES.txt";
|
||||
|
@ -34,5 +31,4 @@ buildPythonPackage rec {
|
|||
homepage = "https://github.com/rasterio/affine";
|
||||
maintainers = with maintainers; [ mredaelli ];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lxml
|
||||
, pytest-aiohttp
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools-scm
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
lxml,
|
||||
pytest-aiohttp,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -23,9 +24,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-eE5BsXNtSU6YUhRn4/SKpMrqaYf8tyfLKdxxGOmNJ9I=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
|
@ -37,13 +36,9 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"async_tests.py"
|
||||
];
|
||||
pytestFlagsArray = [ "async_tests.py" ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"afsapi"
|
||||
];
|
||||
pythonImportsCheck = [ "afsapi" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python implementation of the Frontier Silicon API";
|
||||
|
|
|
@ -1,21 +1,32 @@
|
|||
{ lib, fetchPypi, buildPythonPackage, agate, dbf, dbfread }:
|
||||
{
|
||||
lib,
|
||||
fetchPypi,
|
||||
buildPythonPackage,
|
||||
agate,
|
||||
dbf,
|
||||
dbfread,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "agate-dbf";
|
||||
version = "0.2.3";
|
||||
format = "setuptools";
|
||||
pname = "agate-dbf";
|
||||
version = "0.2.3";
|
||||
format = "setuptools";
|
||||
|
||||
propagatedBuildInputs = [ agate dbf dbfread ];
|
||||
propagatedBuildInputs = [
|
||||
agate
|
||||
dbf
|
||||
dbfread
|
||||
];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-mKK1N1cTbMdNwpflniEB009tSPQfdBVrtsDeJruiqj8=";
|
||||
};
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-mKK1N1cTbMdNwpflniEB009tSPQfdBVrtsDeJruiqj8=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Adds read support for dbf files to agate";
|
||||
homepage = "https://github.com/wireservice/agate-dbf";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
};
|
||||
meta = with lib; {
|
||||
description = "Adds read support for dbf files to agate";
|
||||
homepage = "https://github.com/wireservice/agate-dbf";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, agate
|
||||
, openpyxl
|
||||
, xlrd
|
||||
, olefile
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
fetchPypi,
|
||||
buildPythonPackage,
|
||||
agate,
|
||||
openpyxl,
|
||||
xlrd,
|
||||
olefile,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -28,13 +29,9 @@ buildPythonPackage rec {
|
|||
olefile
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"agate"
|
||||
];
|
||||
pythonImportsCheck = [ "agate" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Adds read support for excel files to agate";
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, isPy27
|
||||
, fetchPypi
|
||||
, agate
|
||||
, sqlalchemy
|
||||
, crate
|
||||
, pytestCheckHook
|
||||
, geojson
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
isPy27,
|
||||
fetchPypi,
|
||||
agate,
|
||||
sqlalchemy,
|
||||
crate,
|
||||
pytestCheckHook,
|
||||
geojson,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -21,9 +22,16 @@ buildPythonPackage rec {
|
|||
hash = "sha256-mxswKEpXP9QWdZQ3Jz3MXIECK98vrLJLSqAppir9U7A=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ agate sqlalchemy ];
|
||||
propagatedBuildInputs = [
|
||||
agate
|
||||
sqlalchemy
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ crate geojson pytestCheckHook ];
|
||||
nativeCheckInputs = [
|
||||
crate
|
||||
geojson
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "agatesql" ];
|
||||
|
||||
|
|
|
@ -1,20 +1,21 @@
|
|||
{ lib
|
||||
, babel
|
||||
, buildPythonPackage
|
||||
, cssselect
|
||||
, fetchFromGitHub
|
||||
, glibcLocales
|
||||
, isodate
|
||||
, leather
|
||||
, lxml
|
||||
, parsedatetime
|
||||
, pyicu
|
||||
, pynose
|
||||
, python-slugify
|
||||
, pythonOlder
|
||||
, pytimeparse
|
||||
, pytz
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
babel,
|
||||
buildPythonPackage,
|
||||
cssselect,
|
||||
fetchFromGitHub,
|
||||
glibcLocales,
|
||||
isodate,
|
||||
leather,
|
||||
lxml,
|
||||
parsedatetime,
|
||||
pyicu,
|
||||
pynose,
|
||||
python-slugify,
|
||||
pythonOlder,
|
||||
pytimeparse,
|
||||
pytz,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -31,9 +32,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-I7jvZA/m06kUuUcfglySaroDbJ5wbgiF2lb84EFPmpw=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
babel
|
||||
|
@ -57,9 +56,7 @@ buildPythonPackage rec {
|
|||
LC_ALL="en_US.UTF-8" nosetests tests
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"agate"
|
||||
];
|
||||
pythonImportsCheck = [ "agate" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python data analysis library that is optimized for humans instead of machines";
|
||||
|
|
|
@ -1,4 +1,12 @@
|
|||
{ aiohttp, buildPythonPackage, fetchPypi, isPy3k, lib, python, requests }:
|
||||
{
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
isPy3k,
|
||||
lib,
|
||||
python,
|
||||
requests,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "agent-py";
|
||||
|
@ -12,7 +20,10 @@ buildPythonPackage rec {
|
|||
sha256 = "1hx88m8b8kfb2gm6hii5ldjv7hlvqf99cz0w2vj0d0grrxcbn5cz";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests aiohttp ];
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
aiohttp
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} tests/test_agent.py
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, packaging
|
||||
, setuptools
|
||||
, pkgconfig
|
||||
, freetype
|
||||
, pytest
|
||||
, python
|
||||
, pillow
|
||||
, numpy
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildPythonPackage,
|
||||
packaging,
|
||||
setuptools,
|
||||
pkgconfig,
|
||||
freetype,
|
||||
pytest,
|
||||
python,
|
||||
pillow,
|
||||
numpy,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -29,9 +30,7 @@ buildPythonPackage rec {
|
|||
pkgconfig
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
freetype
|
||||
];
|
||||
buildInputs = [ freetype ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
numpy
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -15,13 +16,9 @@ buildPythonPackage rec {
|
|||
hash = "sha256-0gEPXqw99UTsSOwRYQLgaFkaNFsaWA8ylz24pQX8p0Q=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "ago" ];
|
||||
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, mutagen
|
||||
, requests
|
||||
, colorama
|
||||
, prettytable
|
||||
, pycrypto
|
||||
, pydub
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
mutagen,
|
||||
requests,
|
||||
colorama,
|
||||
prettytable,
|
||||
pycrypto,
|
||||
pydub,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -19,7 +20,14 @@ buildPythonPackage rec {
|
|||
sha256 = "sha256-1kQced6YdC/wvegqFVhZfej4+4aemGXvKysKjejP13w=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ mutagen requests colorama prettytable pycrypto pydub ];
|
||||
propagatedBuildInputs = [
|
||||
mutagen
|
||||
requests
|
||||
colorama
|
||||
prettytable
|
||||
pycrypto
|
||||
pydub
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/AIGMix/AIGPY";
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, aioresponses
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, geojson
|
||||
, haversine
|
||||
, mock
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
aioresponses,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
geojson,
|
||||
haversine,
|
||||
mock,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -28,9 +29,7 @@ buildPythonPackage rec {
|
|||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
|
@ -45,9 +44,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aio_geojson_client"
|
||||
];
|
||||
pythonImportsCheck = [ "aio_geojson_client" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module for accessing GeoJSON feeds";
|
||||
|
|
|
@ -1,16 +1,17 @@
|
|||
{ lib
|
||||
, aio-geojson-client
|
||||
, aiohttp
|
||||
, aioresponses
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, geojson
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, pytz
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
aio-geojson-client,
|
||||
aiohttp,
|
||||
aioresponses,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
geojson,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pythonRelaxDepsHook,
|
||||
pytz,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -52,9 +53,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aio_geojson_generic_client"
|
||||
];
|
||||
pythonImportsCheck = [ "aio_geojson_generic_client" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for accessing GeoJSON feeds";
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
{ lib
|
||||
, aio-geojson-client
|
||||
, aiohttp
|
||||
, aioresponses
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pytz
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
aio-geojson-client,
|
||||
aiohttp,
|
||||
aioresponses,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pytz,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -25,9 +26,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-8OpmA3yHjUY+N5Obri4RWeuJiW916xGSWUYUgdpmjkw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aio-geojson-client
|
||||
|
@ -43,9 +42,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aio_geojson_geonetnz_quakes"
|
||||
];
|
||||
pythonImportsCheck = [ "aio_geojson_geonetnz_quakes" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module for accessing the GeoNet NZ Quakes GeoJSON feeds";
|
||||
|
|
|
@ -1,16 +1,17 @@
|
|||
{ lib
|
||||
, aio-geojson-client
|
||||
, aiohttp
|
||||
, aioresponses
|
||||
, mock
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytest-asyncio
|
||||
, pytest-xdist
|
||||
, pytestCheckHook
|
||||
, pytz
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
aio-geojson-client,
|
||||
aiohttp,
|
||||
aioresponses,
|
||||
mock,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytest-asyncio,
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
pytz,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -27,9 +28,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-ZmGDO9EROFMlxdj5txNh719M+3l/0jRFbB2h2AyZAdI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aio-geojson-client
|
||||
|
@ -47,9 +46,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aio_geojson_geonetnz_volcano"
|
||||
];
|
||||
pythonImportsCheck = [ "aio_geojson_geonetnz_volcano" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module for accessing the GeoNet NZ Volcanic GeoJSON feeds";
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
{ lib
|
||||
, aio-geojson-client
|
||||
, aiohttp
|
||||
, aioresponses
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pytz
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
aio-geojson-client,
|
||||
aiohttp,
|
||||
aioresponses,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pytz,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -25,9 +26,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-HksiKfXhLASAgU81x7YiOXFmBLIkqJ9ldWLLY1ZbZlk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aio-geojson-client
|
||||
|
@ -43,9 +42,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aio_geojson_nsw_rfs_incidents"
|
||||
];
|
||||
pythonImportsCheck = [ "aio_geojson_nsw_rfs_incidents" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module for accessing the NSW Rural Fire Service incidents feeds";
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
{ lib
|
||||
, aio-geojson-client
|
||||
, aiohttp
|
||||
, aioresponses
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pytz
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
aio-geojson-client,
|
||||
aiohttp,
|
||||
aioresponses,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pytz,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -25,9 +26,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-Q9vBy5R5N5ihJdSMALo88qVYcFVs2/33lYRPdLej4S8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aio-geojson-client
|
||||
|
@ -37,18 +36,14 @@ buildPythonPackage rec {
|
|||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
checkInputs = [
|
||||
aioresponses
|
||||
pytest-asyncio
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aio_geojson_usgs_earthquakes"
|
||||
];
|
||||
pythonImportsCheck = [ "aio_geojson_usgs_earthquakes" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module for accessing the U.S. Geological Survey Earthquake Hazards Program feeds";
|
||||
|
|
|
@ -1,17 +1,18 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, aioresponses
|
||||
, buildPythonPackage
|
||||
, dateparser
|
||||
, fetchFromGitHub
|
||||
, haversine
|
||||
, mock
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
, setuptools
|
||||
, xmltodict
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
aioresponses,
|
||||
buildPythonPackage,
|
||||
dateparser,
|
||||
fetchFromGitHub,
|
||||
haversine,
|
||||
mock,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
requests,
|
||||
setuptools,
|
||||
xmltodict,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -30,9 +31,7 @@ buildPythonPackage rec {
|
|||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
|
@ -49,9 +48,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aio_georss_client"
|
||||
];
|
||||
pythonImportsCheck = [ "aio_georss_client" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for accessing GeoRSS feeds";
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
{ lib
|
||||
, aio-georss-client
|
||||
, aioresponses
|
||||
, buildPythonPackage
|
||||
, dateparser
|
||||
, fetchFromGitHub
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
aio-georss-client,
|
||||
aioresponses,
|
||||
buildPythonPackage,
|
||||
dateparser,
|
||||
fetchFromGitHub,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -26,9 +27,7 @@ buildPythonPackage rec {
|
|||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aio-georss-client
|
||||
|
@ -41,9 +40,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aio_georss_gdacs"
|
||||
];
|
||||
pythonImportsCheck = [ "aio_georss_gdacs" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for accessing GeoRSS feeds";
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -20,20 +21,14 @@ buildPythonPackage rec {
|
|||
hash = "sha256-99Km1zizAA0BF4ZlLmKOBoOQzKS/QdWpWC9dzg2s3lU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
propagatedBuildInputs = [ aiohttp ];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aioairzone"
|
||||
];
|
||||
pythonImportsCheck = [ "aioairzone" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to control AirZone devices";
|
||||
|
@ -43,4 +38,3 @@ buildPythonPackage rec {
|
|||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
{ lib
|
||||
, aioboto3
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
aioboto3,
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -27,9 +28,7 @@ buildPythonPackage rec {
|
|||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"AIOAladdinConnect"
|
||||
];
|
||||
pythonImportsCheck = [ "AIOAladdinConnect" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for controlling Genie garage doors connected to Aladdin Connect devices";
|
||||
|
|
|
@ -1,17 +1,18 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, aresponses
|
||||
, buildPythonPackage
|
||||
, certifi
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytest-aiohttp
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, python-engineio
|
||||
, python-socketio
|
||||
, pythonOlder
|
||||
, websockets
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
aresponses,
|
||||
buildPythonPackage,
|
||||
certifi,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
pytest-aiohttp,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
python-engineio,
|
||||
python-socketio,
|
||||
pythonOlder,
|
||||
websockets,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -28,9 +29,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-eqZVY0L+2BWF7cCXW/VLQYYXNPtUF6tJHQmeZNW1W5o=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
|
@ -50,13 +49,9 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
# Ignore the examples directory as the files are prefixed with test_
|
||||
disabledTestPaths = [
|
||||
"examples/"
|
||||
];
|
||||
disabledTestPaths = [ "examples/" ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aioambient"
|
||||
];
|
||||
pythonImportsCheck = [ "aioambient" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for the Ambient Weather API";
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pamqp
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pamqp,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -20,20 +21,14 @@ buildPythonPackage rec {
|
|||
hash = "sha256-fssPknJn1tLtzb+2SFyZjfdhUdD8jqkwlInoi5uaplk=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
pamqp
|
||||
];
|
||||
dependencies = [ pamqp ];
|
||||
|
||||
# Tests assume rabbitmq server running
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aioamqp"
|
||||
];
|
||||
pythonImportsCheck = [ "aioamqp" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "AMQP implementation using asyncio";
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -32,9 +33,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aioapcaccess"
|
||||
];
|
||||
pythonImportsCheck = [ "aioapcaccess" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module for working with apcaccess";
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, h2
|
||||
, pyjwt
|
||||
, pyopenssl
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
h2,
|
||||
pyjwt,
|
||||
pyopenssl,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -20,9 +21,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-QPayQogW97saMmaPUP5x0CiXd6Qptg/OROigi5ASNQg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
h2
|
||||
|
@ -33,9 +32,7 @@ buildPythonPackage rec {
|
|||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aioapns"
|
||||
];
|
||||
pythonImportsCheck = [ "aioapns" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An efficient APNs Client Library";
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, pyjwt
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
pyjwt,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -21,9 +22,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-bjPl0yrRaTIEEuPV8NbWu2hx/es5bcu2tDBZV+95fUc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
|
@ -33,9 +32,7 @@ buildPythonPackage rec {
|
|||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aioaseko"
|
||||
];
|
||||
pythonImportsCheck = [ "aioaseko" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to interact with the Aseko Pool Live API";
|
||||
|
|
|
@ -1,22 +1,23 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
, setuptools
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
, aiohttp
|
||||
, incremental
|
||||
# dependencies
|
||||
aiohttp,
|
||||
incremental,
|
||||
|
||||
# tests
|
||||
, aioresponses
|
||||
, pytest-aiohttp
|
||||
, pytest-asyncio
|
||||
, pytest-socket
|
||||
, pytestCheckHook
|
||||
, syrupy
|
||||
# tests
|
||||
aioresponses,
|
||||
pytest-aiohttp,
|
||||
pytest-asyncio,
|
||||
pytest-socket,
|
||||
pytestCheckHook,
|
||||
syrupy,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, protobuf
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, zeroconf
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
protobuf,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
zeroconf,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -23,9 +24,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-QxjrspvNrcMcGChjj1B4QF/SnWCsGmPxnI2bWAL6BiI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
protobuf
|
||||
|
@ -37,9 +36,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiobafi6"
|
||||
];
|
||||
pythonImportsCheck = [ "aiobafi6" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for communication with the Big Ass Fans i6 firmware";
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, auth0-python
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pyjwt
|
||||
, pytest-aiohttp
|
||||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
auth0-python,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
pyjwt,
|
||||
pytest-aiohttp,
|
||||
pytestCheckHook,
|
||||
python-dateutil,
|
||||
pythonOlder,
|
||||
pythonRelaxDepsHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -32,17 +33,11 @@ buildPythonPackage rec {
|
|||
--replace-fail "auth0.v3" "auth0"
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"auth0-python"
|
||||
];
|
||||
pythonRelaxDeps = [ "auth0-python" ];
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
|
@ -51,13 +46,9 @@ buildPythonPackage rec {
|
|||
pyjwt
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiobiketrax"
|
||||
];
|
||||
pythonImportsCheck = [ "aiobiketrax" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for interacting with the PowUnity BikeTrax GPS tracker";
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -19,13 +20,9 @@ buildPythonPackage rec {
|
|||
hash = "sha256-JeA9jX566OSRiejdnlifbcNGm0J0C+xzA6zXDUyZ6jc=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aioblescan"
|
||||
];
|
||||
pythonImportsCheck = [ "aioblescan" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to listen for BLE advertized packets";
|
||||
|
|
|
@ -1,19 +1,20 @@
|
|||
{ lib
|
||||
, aiobotocore
|
||||
, aiofiles
|
||||
, buildPythonPackage
|
||||
, chalice
|
||||
, cryptography
|
||||
, dill
|
||||
, fetchFromGitHub
|
||||
, moto
|
||||
, poetry-core
|
||||
, poetry-dynamic-versioning
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, requests
|
||||
{
|
||||
lib,
|
||||
aiobotocore,
|
||||
aiofiles,
|
||||
buildPythonPackage,
|
||||
chalice,
|
||||
cryptography,
|
||||
dill,
|
||||
fetchFromGitHub,
|
||||
moto,
|
||||
poetry-core,
|
||||
poetry-dynamic-versioning,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pythonRelaxDepsHook,
|
||||
requests,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -36,21 +37,13 @@ buildPythonPackage rec {
|
|||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"aiobotocore"
|
||||
];
|
||||
pythonRelaxDeps = [ "aiobotocore" ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiobotocore
|
||||
] ++ aiobotocore.optional-dependencies.boto3;
|
||||
propagatedBuildInputs = [ aiobotocore ] ++ aiobotocore.optional-dependencies.boto3;
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
chalice = [
|
||||
chalice
|
||||
];
|
||||
s3cse = [
|
||||
cryptography
|
||||
];
|
||||
chalice = [ chalice ];
|
||||
s3cse = [ cryptography ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
@ -62,9 +55,7 @@ buildPythonPackage rec {
|
|||
requests
|
||||
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aioboto3"
|
||||
];
|
||||
pythonImportsCheck = [ "aioboto3" ];
|
||||
|
||||
disabledTests = [
|
||||
# Our moto package is not ready to support more tests
|
||||
|
|
|
@ -1,21 +1,22 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, aioitertools
|
||||
, botocore
|
||||
, buildPythonPackage
|
||||
, dill
|
||||
, fetchFromGitHub
|
||||
, flask
|
||||
, flask-cors
|
||||
, awscli
|
||||
, moto
|
||||
, boto3
|
||||
, setuptools
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonAtLeast
|
||||
, pythonOlder
|
||||
, wrapt
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
aioitertools,
|
||||
botocore,
|
||||
buildPythonPackage,
|
||||
dill,
|
||||
fetchFromGitHub,
|
||||
flask,
|
||||
flask-cors,
|
||||
awscli,
|
||||
moto,
|
||||
boto3,
|
||||
setuptools,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonAtLeast,
|
||||
pythonOlder,
|
||||
wrapt,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -38,9 +39,7 @@ buildPythonPackage rec {
|
|||
sed -i "s/'botocore>=.*'/'botocore'/" setup.py
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
|
@ -50,12 +49,8 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
awscli = [
|
||||
awscli
|
||||
];
|
||||
boto3 = [
|
||||
boto3
|
||||
];
|
||||
awscli = [ awscli ];
|
||||
boto3 = [ boto3 ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
@ -67,9 +62,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiobotocore"
|
||||
];
|
||||
pythonImportsCheck = [ "aiobotocore" ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Tests require network access
|
||||
|
@ -90,18 +83,20 @@ buildPythonPackage rec {
|
|||
"tests/test_waiter.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_get_credential"
|
||||
"test_load_sso_credentials_without_cache"
|
||||
"test_load_sso_credentials"
|
||||
"test_required_config_not_set"
|
||||
"test_sso_cred_fetcher_raises_helpful_message_on_unauthorized_exception"
|
||||
"test_sso_credential_fetcher_can_fetch_credentials"
|
||||
] ++ lib.optionals (pythonAtLeast "3.12.") [
|
||||
# AttributeError: 'called_with' is not a valid assertion. Use a spec for the mock if 'called_with' is meant to be an attribute.
|
||||
"test_max_rate_updated_on_success_response"
|
||||
"test_max_rate_cant_exceed_20_percent_max"
|
||||
];
|
||||
disabledTests =
|
||||
[
|
||||
"test_get_credential"
|
||||
"test_load_sso_credentials_without_cache"
|
||||
"test_load_sso_credentials"
|
||||
"test_required_config_not_set"
|
||||
"test_sso_cred_fetcher_raises_helpful_message_on_unauthorized_exception"
|
||||
"test_sso_credential_fetcher_can_fetch_credentials"
|
||||
]
|
||||
++ lib.optionals (pythonAtLeast "3.12.") [
|
||||
# AttributeError: 'called_with' is not a valid assertion. Use a spec for the mock if 'called_with' is meant to be an attribute.
|
||||
"test_max_rate_updated_on_success_response"
|
||||
"test_max_rate_cant_exceed_20_percent_max"
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, cryptography
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
cryptography,
|
||||
fetchPypi,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -17,16 +18,12 @@ buildPythonPackage rec {
|
|||
hash = "sha256-uTUtDhL9VtWZE+Y6ZJY4prmlE+Yh2UrCg5+eSyAQzMk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cryptography
|
||||
];
|
||||
propagatedBuildInputs = [ cryptography ];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiobroadlink"
|
||||
];
|
||||
pythonImportsCheck = [ "aiobroadlink" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module to control various Broadlink devices";
|
||||
|
|
|
@ -1,17 +1,18 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, aiomcache
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, marshmallow
|
||||
, msgpack
|
||||
, pkgs
|
||||
, pythonOlder
|
||||
, pytest-asyncio
|
||||
, pytest-mock
|
||||
, pytestCheckHook
|
||||
, redis
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
aiomcache,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
marshmallow,
|
||||
msgpack,
|
||||
pkgs,
|
||||
pythonOlder,
|
||||
pytest-asyncio,
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
redis,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -33,20 +34,12 @@ buildPythonPackage rec {
|
|||
--replace-fail "--cov=aiocache --cov=tests/ --cov-report term" ""
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
optional-dependencies = {
|
||||
redis = [
|
||||
redis
|
||||
];
|
||||
memcached = [
|
||||
aiomcache
|
||||
];
|
||||
msgpack = [
|
||||
msgpack
|
||||
];
|
||||
redis = [ redis ];
|
||||
memcached = [ aiomcache ];
|
||||
msgpack = [ msgpack ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
@ -58,7 +51,8 @@ buildPythonPackage rec {
|
|||
] ++ lib.flatten (lib.attrValues optional-dependencies);
|
||||
|
||||
pytestFlagsArray = [
|
||||
"-W" "ignore::DeprecationWarning"
|
||||
"-W"
|
||||
"ignore::DeprecationWarning"
|
||||
# TypeError: object MagicMock can't be used in 'await' expression
|
||||
"--deselect=tests/ut/backends/test_redis.py::TestRedisBackend::test_close"
|
||||
];
|
||||
|
@ -83,9 +77,7 @@ buildPythonPackage rec {
|
|||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiocache"
|
||||
];
|
||||
pythonImportsCheck = [ "aiocache" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python API Rate Limit Decorator";
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, colorlog
|
||||
, fetchFromGitHub
|
||||
, pint
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
colorlog,
|
||||
fetchFromGitHub,
|
||||
pint,
|
||||
poetry-core,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -28,9 +29,7 @@ buildPythonPackage rec {
|
|||
--replace-fail " --cov=aiocomelit --cov-report=term-missing:skip-covered" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
|
@ -42,9 +41,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiocomelit"
|
||||
];
|
||||
pythonImportsCheck = [ "aiocomelit" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to control Comelit Simplehome";
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
# This package provides a binary "apython" which sometimes invokes
|
||||
|
@ -29,9 +30,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-c8zeKebS04bZS9pMIKAauaLPvRrWaGoDKbnF906tFzQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
|
@ -51,9 +50,7 @@ buildPythonPackage rec {
|
|||
"test_interact_multiple_indented_lines"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aioconsole"
|
||||
];
|
||||
pythonImportsCheck = [ "aioconsole" ];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/vxgmichel/aioconsole/releases/tag/v${version}";
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
, isPy27
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
pytest-asyncio,
|
||||
isPy27,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
, python
|
||||
, croniter
|
||||
, tzlocal
|
||||
, pytestCheckHook
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
python,
|
||||
croniter,
|
||||
tzlocal,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -18,9 +19,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-SFRlE/ry63kB5lpk66e2U8gBBu0A7ZyjQZw9ELZVWgE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
croniter
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, httpx
|
||||
, poetry-core
|
||||
, pytest-asyncio
|
||||
, pytest-httpx
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
httpx,
|
||||
poetry-core,
|
||||
pytest-asyncio,
|
||||
pytest-httpx,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -23,13 +24,9 @@ buildPythonPackage rec {
|
|||
hash = "sha256-VOzgWN+dDPaGEcahFPSWjBR989b9eNkx4zcnI9o2Xiw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
httpx
|
||||
];
|
||||
propagatedBuildInputs = [ httpx ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
|
@ -37,9 +34,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiocurrencylayer"
|
||||
];
|
||||
pythonImportsCheck = [ "aiocurrencylayer" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python API for interacting with currencylayer";
|
||||
|
|
|
@ -1,16 +1,17 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
, poetry-core
|
||||
# build-system
|
||||
poetry-core,
|
||||
|
||||
# dependencies
|
||||
, scapy
|
||||
# dependencies
|
||||
scapy,
|
||||
|
||||
# tests
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
# tests
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -29,22 +30,16 @@ buildPythonPackage rec {
|
|||
sed -i "/addopts =/d" pyproject.toml
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
scapy
|
||||
];
|
||||
dependencies = [ scapy ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiodhcpwatcher"
|
||||
];
|
||||
pythonImportsCheck = [ "aiodhcpwatcher" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Watch for DHCP packets with asyncio";
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, aiohttp
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
aiohttp,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -17,9 +18,7 @@ buildPythonPackage rec {
|
|||
sha256 = "RL5Ck4wsBZO88afmoojeFKbdIeCjDo/SwNqUcERH6Ls=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
propagatedBuildInputs = [ aiohttp ];
|
||||
|
||||
# tests require docker daemon
|
||||
doCheck = false;
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, meteocalc
|
||||
, pytest-aiohttp
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
meteocalc,
|
||||
pytest-aiohttp,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -23,9 +24,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-QfUawUtkNl2molropV8NSU7Kfm/D5/xuaPCjgm2TVOs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
|
@ -37,9 +36,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aioecowitt"
|
||||
];
|
||||
pythonImportsCheck = [ "aioecowitt" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Wrapper for the EcoWitt protocol";
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, aioresponses
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, mashumaro
|
||||
, orjson
|
||||
, poetry-core
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, syrupy
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
aioresponses,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
mashumaro,
|
||||
orjson,
|
||||
poetry-core,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
syrupy,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -31,9 +32,7 @@ buildPythonPackage rec {
|
|||
--replace-warn "--cov" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
|
@ -48,9 +47,7 @@ buildPythonPackage rec {
|
|||
syrupy
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aioelectricitymaps"
|
||||
];
|
||||
pythonImportsCheck = [ "aioelectricitymaps" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module for interacting with Electricity maps";
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, aioresponses
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytest-asyncio
|
||||
, pytest-raises
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, xmltodict
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
aioresponses,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytest-asyncio,
|
||||
pytest-raises,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
xmltodict,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
|
|
@ -1,26 +1,27 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
|
||||
# build-system
|
||||
, cython
|
||||
, setuptools
|
||||
# build-system
|
||||
cython,
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
, aiohappyeyeballs
|
||||
, async-interrupt
|
||||
, async-timeout
|
||||
, chacha20poly1305-reuseable
|
||||
, cryptography
|
||||
, noiseprotocol
|
||||
, protobuf
|
||||
, zeroconf
|
||||
# dependencies
|
||||
aiohappyeyeballs,
|
||||
async-interrupt,
|
||||
async-timeout,
|
||||
chacha20poly1305-reuseable,
|
||||
cryptography,
|
||||
noiseprotocol,
|
||||
protobuf,
|
||||
zeroconf,
|
||||
|
||||
# tests
|
||||
, mock
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
# tests
|
||||
mock,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -50,9 +51,7 @@ buildPythonPackage rec {
|
|||
noiseprotocol
|
||||
protobuf
|
||||
zeroconf
|
||||
] ++ lib.optionals (pythonOlder "3.11") [
|
||||
async-timeout
|
||||
];
|
||||
] ++ lib.optionals (pythonOlder "3.11") [ async-timeout ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
mock
|
||||
|
@ -65,15 +64,16 @@ buildPythonPackage rec {
|
|||
"test_reconnect_logic_stop_callback"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aioesphomeapi"
|
||||
];
|
||||
pythonImportsCheck = [ "aioesphomeapi" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python Client for ESPHome native API";
|
||||
homepage = "https://github.com/esphome/aioesphomeapi";
|
||||
changelog = "https://github.com/esphome/aioesphomeapi/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab hexa ];
|
||||
maintainers = with maintainers; [
|
||||
fab
|
||||
hexa
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, lib
|
||||
, pythonOlder
|
||||
{
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
lib,
|
||||
pythonOlder,
|
||||
|
||||
# Python dependencies
|
||||
, uvloop
|
||||
, pytest
|
||||
# Python dependencies
|
||||
uvloop,
|
||||
pytest,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
{ lib
|
||||
, aiomisc
|
||||
, aiomisc-pytest
|
||||
, caio
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
aiomisc,
|
||||
aiomisc-pytest,
|
||||
caio,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -22,9 +23,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-KBly/aeHHZh7mL8MJ9gmxbqS7PmR4sedtBY/2HCXt54=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
caio
|
||||
];
|
||||
propagatedBuildInputs = [ caio ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
aiomisc
|
||||
|
@ -32,9 +31,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiofile"
|
||||
];
|
||||
pythonImportsCheck = [ "aiofile" ];
|
||||
|
||||
disabledTests = [
|
||||
# Tests (SystemError) fails randomly during nix-review
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, hatchling
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -22,9 +23,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-EbRQD/AoTMWAlPOMWmD0UdFjRyjt5MUBkJtcydUCdHM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
nativeBuildInputs = [ hatchling ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
|
@ -41,9 +40,7 @@ buildPythonPackage rec {
|
|||
"test_slow_file"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiofiles"
|
||||
];
|
||||
pythonImportsCheck = [ "aiofiles" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "File support for asyncio";
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, aresponses
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, poetry-core
|
||||
, pytest-aiohttp
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
aresponses,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
poetry-core,
|
||||
pytest-aiohttp,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -39,13 +40,9 @@ buildPythonPackage rec {
|
|||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
propagatedBuildInputs = [ aiohttp ];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
|
@ -56,9 +53,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aioflo"
|
||||
];
|
||||
pythonImportsCheck = [ "aioflo" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for Flo by Moen Smart Water Detectors";
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, async-timeout
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, siosocks
|
||||
, trustme
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
async-timeout,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
siosocks,
|
||||
trustme,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -28,18 +29,12 @@ buildPythonPackage rec {
|
|||
--replace " --cov" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
siosocks
|
||||
];
|
||||
propagatedBuildInputs = [ siosocks ];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
socks = [
|
||||
siosocks
|
||||
];
|
||||
socks = [ siosocks ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
@ -54,9 +49,7 @@ buildPythonPackage rec {
|
|||
"test_pasv_connection_pasv_forced_response_address"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aioftp"
|
||||
];
|
||||
pythonImportsCheck = [ "aioftp" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python FTP client/server for asyncio";
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, aresponses
|
||||
, async-timeout
|
||||
, backoff
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, sigstore
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
aresponses,
|
||||
async-timeout,
|
||||
backoff,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
sigstore,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -37,9 +38,7 @@ buildPythonPackage rec {
|
|||
--replace 'sigstore = "<2"' 'sigstore = "*"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
|
@ -54,17 +53,13 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"--asyncio-mode=auto"
|
||||
];
|
||||
pytestFlagsArray = [ "--asyncio-mode=auto" ];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiogithubapi"
|
||||
];
|
||||
pythonImportsCheck = [ "aiogithubapi" ];
|
||||
|
||||
disabledTests = [
|
||||
# sigstore.errors.TUFError: Failed to refresh TUF metadata
|
||||
|
|
|
@ -1,17 +1,18 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, async-timeout
|
||||
, asyncio-dgram
|
||||
, buildPythonPackage
|
||||
, certifi
|
||||
, docutils
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytest-aiohttp
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, voluptuous
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
async-timeout,
|
||||
asyncio-dgram,
|
||||
buildPythonPackage,
|
||||
certifi,
|
||||
docutils,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
pytest-aiohttp,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
voluptuous,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -28,9 +29,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-7fY8+aAxlDtOBLu8SadY5qiH6+RvxnFpOw1RXTonP2o=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
|
@ -48,13 +47,9 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
"examples/"
|
||||
];
|
||||
disabledTestPaths = [ "examples/" ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aioguardian"
|
||||
];
|
||||
pythonImportsCheck = [ "aioguardian" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = " Python library to interact with Elexa Guardian devices";
|
||||
|
|
|
@ -1,20 +1,21 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
|
||||
# build-system
|
||||
, poetry-core
|
||||
# build-system
|
||||
poetry-core,
|
||||
|
||||
# optional-dependencies
|
||||
, furo
|
||||
, myst-parser
|
||||
, sphinx-autobuild
|
||||
, sphinxHook
|
||||
# optional-dependencies
|
||||
furo,
|
||||
myst-parser,
|
||||
sphinx-autobuild,
|
||||
sphinxHook,
|
||||
|
||||
# tests
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
# tests
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -41,9 +42,7 @@ buildPythonPackage rec {
|
|||
--replace " --cov=aiohappyeyeballs --cov-report=term-missing:skip-covered" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
] ++ passthru.optional-dependencies.docs;
|
||||
nativeBuildInputs = [ poetry-core ] ++ passthru.optional-dependencies.docs;
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
docs = [
|
||||
|
@ -59,9 +58,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiohappyeyeballs"
|
||||
];
|
||||
pythonImportsCheck = [ "aiohappyeyeballs" ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# https://github.com/bdraco/aiohappyeyeballs/issues/30
|
||||
|
@ -73,6 +70,9 @@ buildPythonPackage rec {
|
|||
homepage = "https://github.com/bdraco/aiohappyeyeballs";
|
||||
changelog = "https://github.com/bdraco/aiohappyeyeballs/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.psfl;
|
||||
maintainers = with maintainers; [ fab hexa ];
|
||||
maintainers = with maintainers; [
|
||||
fab
|
||||
hexa
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, async-timeout
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, slixmpp
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
async-timeout,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pythonOlder,
|
||||
slixmpp,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
|
|
@ -1,21 +1,22 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, aiocoap
|
||||
, aiohappyeyeballs
|
||||
, async-interrupt
|
||||
, bleak
|
||||
, bleak-retry-connector
|
||||
, chacha20poly1305
|
||||
, chacha20poly1305-reuseable
|
||||
, commentjson
|
||||
, cryptography
|
||||
, fetchFromGitHub
|
||||
, orjson
|
||||
, poetry-core
|
||||
, pytest-aiohttp
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, zeroconf
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
aiocoap,
|
||||
aiohappyeyeballs,
|
||||
async-interrupt,
|
||||
bleak,
|
||||
bleak-retry-connector,
|
||||
chacha20poly1305,
|
||||
chacha20poly1305-reuseable,
|
||||
commentjson,
|
||||
cryptography,
|
||||
fetchFromGitHub,
|
||||
orjson,
|
||||
poetry-core,
|
||||
pytest-aiohttp,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
zeroconf,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -32,9 +33,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-F3PhZsuIgT3x1Y3/kx9juPwN2WKxvdbahrRm+r6ZPps=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiocoap
|
||||
|
@ -73,9 +72,7 @@ buildPythonPackage rec {
|
|||
"test_discover_device_id_case_upper"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiohomekit"
|
||||
];
|
||||
pythonImportsCheck = [ "aiohomekit" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module that implements the HomeKit protocol";
|
||||
|
|
|
@ -1,16 +1,17 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, apispec
|
||||
, buildPythonPackage
|
||||
, callPackage
|
||||
, fetchFromGitHub
|
||||
, fetchPypi
|
||||
, jinja2
|
||||
, packaging
|
||||
, pytest-aiohttp
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, webargs
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
apispec,
|
||||
buildPythonPackage,
|
||||
callPackage,
|
||||
fetchFromGitHub,
|
||||
fetchPypi,
|
||||
jinja2,
|
||||
packaging,
|
||||
pytest-aiohttp,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
webargs,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -40,9 +41,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiohttp_apispec"
|
||||
];
|
||||
pythonImportsCheck = [ "aiohttp_apispec" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Build and document REST APIs with aiohttp and apispec";
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, aiohttp
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
aiohttp,
|
||||
pytestCheckHook,
|
||||
pytest-asyncio,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -21,9 +22,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-UaRzauHmBHYwXFqRwDn1py79BScqq5j5SWALM4dQBP4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
propagatedBuildInputs = [ aiohttp ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, poetry-core
|
||||
, aiohttp
|
||||
, attrs
|
||||
, itsdangerous
|
||||
, url-normalize
|
||||
{
|
||||
lib,
|
||||
fetchPypi,
|
||||
buildPythonPackage,
|
||||
poetry-core,
|
||||
aiohttp,
|
||||
attrs,
|
||||
itsdangerous,
|
||||
url-normalize,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -16,9 +17,7 @@ buildPythonPackage rec {
|
|||
inherit pname version;
|
||||
sha256 = "sha256-B2b/9O2gVJjHUlN0pYeBDcwsy3slaAnd5SroeQqEU+s=";
|
||||
};
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
attrs
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pythonOlder
|
||||
, typing ? null, aiohttp
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pythonOlder,
|
||||
typing ? null,
|
||||
aiohttp,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -14,8 +19,7 @@ buildPythonPackage rec {
|
|||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
propagatedBuildInputs = [ aiohttp ]
|
||||
++ lib.optional (pythonOlder "3.5") typing;
|
||||
propagatedBuildInputs = [ aiohttp ] ++ lib.optional (pythonOlder "3.5") typing;
|
||||
|
||||
# Requires network access
|
||||
doCheck = false;
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -27,22 +28,16 @@ buildPythonPackage rec {
|
|||
--replace " --cov=aiohttp_fast_url_dispatcher --cov-report=term-missing:skip-covered" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
propagatedBuildInputs = [ aiohttp ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiohttp_fast_url_dispatcher"
|
||||
];
|
||||
pythonImportsCheck = [ "aiohttp_fast_url_dispatcher" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A faster URL dispatcher for aiohttp";
|
||||
|
|
|
@ -1,16 +1,17 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
, poetry-core
|
||||
# build-system
|
||||
poetry-core,
|
||||
|
||||
# dependencies
|
||||
, aiohttp
|
||||
, isal
|
||||
# dependencies
|
||||
aiohttp,
|
||||
isal,
|
||||
|
||||
# tests
|
||||
, pytestCheckHook
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -25,26 +26,20 @@ buildPythonPackage rec {
|
|||
hash = "sha256-rSXV5Z5JdznQGtRI83UIbaSfbIYkUHphJTVK/LM2V4U=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
isal
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
preCheck = ''
|
||||
sed -i '/addopts/d' pyproject.toml
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiohttp_isal"
|
||||
];
|
||||
pythonImportsCheck = [ "aiohttp_isal" ];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/bdraco/aiohttp-isal/blob/${src.rev}/CHANGELOG.md";
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, jinja2
|
||||
, pytest-aiohttp
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
jinja2,
|
||||
pytest-aiohttp,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -21,9 +22,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-o6f/UmTlvKUuiuVHu/0HYbcklSMNQ40FtsCRW+YZsOI=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
|
@ -45,9 +44,7 @@ buildPythonPackage rec {
|
|||
"ignore::DeprecationWarning"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiohttp_jinja2"
|
||||
];
|
||||
pythonImportsCheck = [ "aiohttp_jinja2" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Jinja2 support for aiohttp";
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue