Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-05-27 06:45:59 +00:00
committed by GitHub
76 changed files with 839 additions and 409 deletions

View File

@@ -7,14 +7,14 @@
buildPythonPackage rec {
pname = "ailment";
version = "9.0.6885";
version = "9.0.7491";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "angr";
repo = pname;
rev = "v${version}";
sha256 = "sha256-AtaAVfMCIzStgwwPEt+6tAzjgpSK+KhhMksYK4BH9V0=";
sha256 = "sha256-rxrj+5cz6zNsc+zgrOp8+/XY/RZG93PJQU59mMy5lDA=";
};
propagatedBuildInputs = [ pyvex ];

View File

@@ -5,8 +5,8 @@
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytest-aiohttp
, pytest-asyncio
, pytest-cov
, pytestCheckHook
, python-engineio
, python-socketio
@@ -27,7 +27,9 @@ buildPythonPackage rec {
sha256 = "sha256-uqvM5F0rpw+xeCXYl4lGMt3r0ugPsUmSvujmTJ9HABk=";
};
nativeBuildInputs = [ poetry-core ];
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
@@ -39,13 +41,20 @@ buildPythonPackage rec {
checkInputs = [
aresponses
asynctest
pytest-aiohttp
pytest-asyncio
pytest-cov
pytestCheckHook
];
postPatch = ''
# https://github.com/bachya/aioambient/pull/84
substituteInPlace pyproject.toml \
--replace 'websockets = "^8.1"' 'websockets = ">=8.1,<10.0"'
'';
# Ignore the examples directory as the files are prefixed with test_
pytestFlagsArray = [ "--ignore examples/" ];
disabledTestPaths = [ "examples/" ];
pythonImportsCheck = [ "aioambient" ];
meta = with lib; {

View File

@@ -42,14 +42,14 @@ in
buildPythonPackage rec {
pname = "angr";
version = "9.0.6885";
version = "9.0.7491";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "sha256-+d1CtouaGv2GussG3QlQMzX0qcmJht9V3QW8RwH6da8=";
sha256 = "sha256-d0EWPko3jWCexFNCWbofD6CjDIpjKb5mha2tRgtzL4M=";
};
propagatedBuildInputs = [

View File

@@ -4,25 +4,34 @@
, fetchFromGitHub
, progressbar
, pythonOlder
, tqdm
}:
buildPythonPackage rec {
pname = "angrop";
version = "9.0.6885";
version = "9.0.7491";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "angr";
repo = pname;
rev = "v${version}";
sha256 = "sha256-B/1BO0MnqklMbyXqdBPA2Dfhr4pMjIIrzXmTzr81OdY=";
sha256 = "sha256-UWqHNgJ8vUbLK3n9tvwOgHyOyTXsqRJKaAPWQfqi3lo=";
};
propagatedBuildInputs = [
angr
progressbar
tqdm
];
postPatch = ''
# https://github.com/angr/angrop/issues/35
substituteInPlace setup.py \
--replace "packages=['angrop']," "packages=find_packages()," \
--replace "from distutils.core import setup" "from setuptools import find_packages, setup"
'';
# Tests have additional requirements, e.g., angr binaries
# cle is executing the tests with the angr binaries already and is a requirement of angr
doCheck = false;

View File

@@ -0,0 +1,83 @@
{ lib
, buildPythonPackage
, fetchPypi
, installShellFiles
, ansible-collections
, cryptography
, jinja2
, junit-xml
, lxml
, ncclient
, packaging
, paramiko
, pexpect
, psutil
, pycrypto
, pyyaml
, requests
, resolvelib
, scp
, windowsSupport ? false, pywinrm
, xmltodict
}:
buildPythonPackage rec {
pname = "ansible-core";
version = "2.11.0";
src = fetchPypi {
inherit pname version;
sha256 = "1if9cybdicjhrfzi6nndqakb4sh3mw1fijhvbzbsq7ki22vwww4l";
};
# ansible_connection is already wrapped, so don't pass it through
# the python interpreter again, as it would break execution of
# connection plugins.
postPatch = ''
substituteInPlace lib/ansible/executor/task_executor.py \
--replace "[python," "["
substituteInPlace requirements.txt \
--replace "resolvelib >= 0.5.3, < 0.6.0" "resolvelib"
'';
nativeBuildInputs = [
installShellFiles
];
propagatedBuildInputs = [
# depend on ansible-collections instead of the other way around
ansible-collections
# from requirements.txt
cryptography
jinja2
packaging
pyyaml
resolvelib
# optional dependencies
junit-xml
lxml
ncclient
paramiko
pexpect
psutil
pycrypto
requests
scp
xmltodict
] ++ lib.optional windowsSupport pywinrm;
postInstall = ''
installManPage docs/man/man1/*.1
'';
# internal import errors, missing dependencies
doCheck = false;
meta = with lib; {
description = "Radically simple IT automation";
homepage = "https://www.ansible.com";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ hexa ];
};
}

View File

@@ -7,13 +7,13 @@
buildPythonPackage rec {
pname = "archinfo";
version = "9.0.6885";
version = "9.0.7491";
src = fetchFromGitHub {
owner = "angr";
repo = pname;
rev = "v${version}";
sha256 = "sha256-j0Hxao04ctcV8xCjQjzyQEM4Y3VCFRPuEc9NIhDRut0=";
sha256 = "sha256-5mKXpvMhdcIKgvQkmj//YigvsgozZofvv6CvMdW3BHo=";
};
checkInputs = [

View File

@@ -13,14 +13,14 @@
buildPythonPackage rec {
pname = "claripy";
version = "9.0.6885";
version = "9.0.7491";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "angr";
repo = pname;
rev = "v${version}";
sha256 = "sha256-UCO6kXI4W/fCFgevXaRrGMjMH3ZhG7dXmFi+pemX9sE=";
sha256 = "sha256-M6Irec8p4l2WNrVeqUob3m2xF3JMtdp7I+LSi0iArZk=";
};
# Use upstream z3 implementation

View File

@@ -15,7 +15,7 @@
let
# The binaries are following the argr projects release cycle
version = "9.0.6885";
version = "9.0.7491";
# Binary files from https://github.com/angr/binaries (only used for testing and only here)
binaries = fetchFromGitHub {
@@ -35,7 +35,7 @@ buildPythonPackage rec {
owner = "angr";
repo = pname;
rev = "v${version}";
sha256 = "sha256-ubBs55ZIGssAwD+3YsZYzDA7/dwQ+UD9GtWPDGQrO80=";
sha256 = "sha256-P126IcUpq7b8u74YJFBXluGIIru+UOCnmHYmJBiK9Pc=";
};
propagatedBuildInputs = [

View File

@@ -0,0 +1,34 @@
{ lib, buildPythonPackage, fetchFromGitHub, six, lark-parser, pytestCheckHook }:
buildPythonPackage rec {
pname = "commentjson";
version = "0.9.0";
src = fetchFromGitHub {
owner = "vaidik";
repo = "commentjson";
rev = "v${version}";
sha256 = "sha256-dPnIcv7TIeyG7rU938w7FrDklmaGuPpXz34uw/JjOgY=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "lark-parser>=0.7.1,<0.8.0" "lark-parser"
# NixOS is missing test.test_json module
rm -r commentjson/tests/test_json
'';
propagatedBuildInputs = [ lark-parser six ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "commentjson" ];
meta = with lib; {
description = "Add JavaScript or Python style comments in JSON";
homepage = "https://github.com/vaidik/commentjson/";
license = licenses.mit;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View File

@@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "connect-box";
version = "0.2.8";
version = "0.3.0";
src = fetchPypi {
pname = "connect_box";
inherit version;
sha256 = "1lvz7g2f0a9ifnjczmbavn105miirdgyayr4sixhzgdgadcdhz3l";
sha256 = "sha256-d1KqVKaHlZDm2o1GJ7r8KoONwfd1lxXexJxavCvjfW8=";
};
propagatedBuildInputs = [

View File

@@ -8,25 +8,38 @@
, geventhttpclient
, git
, glibcLocales
, gpgme
, mock
, pkgs
, urllib3
}:
buildPythonPackage rec {
version = "0.20.21";
version = "0.20.23";
pname = "dulwich";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-rHZMmpuA+mGv40BNUnDFBgqlf38IexGpU5XTt287cf0=";
sha256 = "sha256-QC5WtcB/BAR50RiOXC9AbiwAaqOUMIAVXUxtBeX8qGU=";
};
LC_ALL = "en_US.UTF-8";
propagatedBuildInputs = [ urllib3 certifi ];
propagatedBuildInputs = [
certifi
urllib3
];
# Only test dependencies
checkInputs = [ git glibcLocales gevent geventhttpclient mock fastimport ];
checkInputs = [
fastimport
gevent
geventhttpclient
git
glibcLocales
gpgme
pkgs.gnupg
mock
];
doCheck = !stdenv.isDarwin;

View File

@@ -15,13 +15,13 @@
buildPythonPackage rec {
pname = "hass-nabucasa";
version = "0.43.0";
version = "0.43.1";
src = fetchFromGitHub {
owner = "nabucasa";
repo = pname;
rev = version;
sha256 = "sha256-mfVSiquZrCtAza4q9Ocle22e4ZMoTgxguevuOlZEUm8=";
sha256 = "sha256-eQdbAQRKqnJGxnSTkk3gld9TX9MpP3J8LFNYH6peVIY=";
};
postPatch = ''

View File

@@ -7,13 +7,13 @@
buildPythonPackage rec {
pname = "hatasmota";
version = "0.2.13";
version = "0.2.14";
src = fetchFromGitHub {
owner = "emontnemery";
repo = pname;
rev = version;
sha256 = "sha256-RzBEiO8IfeMls7ssCZ2yhL78UVrpZykwDl1IUshqOu8=";
sha256 = "sha256-sCGUlEN1ejWhc2+9JRQ7UPqueq30u8gGSPRxbs4cnLE=";
};
propagatedBuildInputs = [

View File

@@ -77,6 +77,8 @@ buildPythonPackage rec {
"test_delete"
];
__darwinAllowLocalNetworking = true;
meta = with lib; {
description = "The backend—i.e. core services, APIs, and REST endpoints—to Jupyter web applications.";
homepage = "https://github.com/jupyter-server/jupyter_server";

View File

@@ -41,6 +41,8 @@ buildPythonPackage rec {
"test_get_language_pack"
];
__darwinAllowLocalNetworking = true;
meta = with lib; {
description = "JupyterLab Server";
homepage = "https://jupyter.org";

View File

@@ -28,6 +28,8 @@ buildPythonPackage rec {
pytest-tornasync
];
__darwinAllowLocalNetworking = true;
meta = with lib; {
description = "Jupyter lab environment notebook server extension.";
license = with licenses; [ bsd3 ];

View File

@@ -8,14 +8,14 @@
buildPythonPackage rec {
pname = "pyftdi";
version = "0.52.9";
version = "0.53.1";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "eblot";
repo = pname;
rev = "v${version}";
sha256 = "07q9wmpl97a6laxfbcjqhv373msbsjppsyf5i77h0f6ccil0q1i6";
sha256 = "sha256-lpNe+8DhyfVuClGcjWIA6pnfh+NwdlBGffjRH62K4uw=";
};
propagatedBuildInputs = [ pyusb pyserial ];

View File

@@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "pymazda";
version = "0.1.5";
version = "0.1.6";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-vV7Morza6ov/rN44+7Rvo9p7DoE6jQtDk00TdrD0zBo=";
sha256 = "sha256-fQcycOMNYCO6bP344DTLxNf/YoliEITyxsnIDyTPO5E=";
};
propagatedBuildInputs = [

View File

@@ -1,28 +1,21 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, nose
, pytestCheckHook
, six
, fetchPypi
}:
buildPythonPackage rec {
pname = "pysmt";
version = "0.9.0";
version = "0.9.1.dev132";
format = "wheel"; # dev versions are only distributed as wheels
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "051j36kpz11ik9bhvp5jgxzc3h7f18i1pf5ssdhjwyabr0n0zra3";
src = fetchPypi {
pname = "PySMT";
inherit format version;
sha256 = "01iqs7yzms3alf1rdv0gnsnmfp7g8plkjcdqbari258zp4llf6x7";
};
propagatedBuildInputs = [ six ];
checkInputs = [
nose
pytestCheckHook
];
# No tests present, only GitHub release which is 0.9.0
doCheck = false;
pythonImportsCheck = [ "pysmt" ];

View File

@@ -2,7 +2,6 @@
, aiohttp
, async_generator
, buildPythonPackage
, doCheck ? true
, fetchFromGitHub
, httpx
, pytest
@@ -13,13 +12,13 @@
buildPythonPackage rec {
pname = "pytest-sanic";
version = "1.7.0";
version = "1.7.1";
src = fetchFromGitHub {
owner = "yunstanford";
repo = pname;
rev = "v${version}";
sha256 = "1zpgnw1lqbll59chv4hgcn31mdql1nv4gw9crbihky3ly3d3ncqi";
sha256 = "sha256-OtyulpSHUWERtcIRT5j3YtHciIxFiIFYKqtlEd1NSFw=";
};
buildInputs = [ pytest ];
@@ -37,7 +36,20 @@ buildPythonPackage rec {
pytestCheckHook
];
inherit doCheck;
disabledTests = [
# https://github.com/yunstanford/pytest-sanic/issues/51
"test_fixture_sanic_client_get"
"test_fixture_sanic_client_post"
"test_fixture_sanic_client_put"
"test_fixture_sanic_client_delete"
"test_fixture_sanic_client_patch"
"test_fixture_sanic_client_options"
"test_fixture_sanic_client_head"
"test_fixture_sanic_client_close"
"test_fixture_sanic_client_passing_headers"
"test_fixture_sanic_client_context_manager"
"test_fixture_test_client_context_manager"
];
pythonImportsCheck = [ "pytest_sanic" ];
@@ -46,9 +58,5 @@ buildPythonPackage rec {
homepage = "https://github.com/yunstanford/pytest-sanic/";
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
# pytest-sanic is incompatible with Sanic 21.3, see
# https://github.com/sanic-org/sanic/issues/2095 and
# https://github.com/yunstanford/pytest-sanic/issues/50.
broken = lib.versionAtLeast sanic.version "21.3.0";
};
}

View File

@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "pyvex";
version = "9.0.6885";
version = "9.0.7491";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-cWQdrGKJyGieBow3TiMj/uB2crIF32Kvl5tVUKg/z+E=";
sha256 = "sha256-tKfOkW1mLa4gCweF5bGVwnS7E+dRdc/PiuOfT7AgKNo=";
};
postPatch = lib.optionalString stdenv.isDarwin ''

View File

@@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, commentjson
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "resolvelib";
version = "0.7.0";
src = fetchFromGitHub {
owner = "sarugaku";
repo = "resolvelib";
rev = version;
sha256 = "0r7cxwrfvpqz4kd7pdf8fsynzlmi6c754jd5hzd6vssc1zlyvvhx";
};
checkInputs = [
commentjson
pytestCheckHook
];
meta = with lib; {
description = "Resolve abstract dependencies into concrete ones";
homepage = "https://github.com/sarugaku/resolvelib";
license = licenses.isc;
maintainers = with maintainers; [ hexa ];
};
}

View File

@@ -4,13 +4,13 @@
buildPythonPackage rec {
pname = "snitun";
version = "0.20";
version = "0.21.0";
src = fetchFromGitHub {
owner = "NabuCasa";
repo = pname;
rev = version;
sha256 = "1nscfwycclfbll709w1q46w6rl0r5c3b85rsc7zwc3ixd1k8aajp";
sha256 = "sha256-oZHi/H9HOqGTFuhqPSZXntMzVJ3ZT4zNejezo0cDtqg=";
};
propagatedBuildInputs = [ attrs cryptography async-timeout ];

View File

@@ -19,14 +19,14 @@ let
in
buildPythonPackage rec {
pname = "ttp";
version = "0.6.0";
version = "0.7.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "dmulyalin";
repo = pname;
rev = version;
sha256 = "08pglwmnhdrsj9rgys1zclhq1h597izb0jq7waahpdabfg25v2sw";
sha256 = "0gv1hykbxx3wy195xynqi21rxzlh4701qw01s6pmf3x54w63fz42";
};
propagatedBuildInputs = [
@@ -76,6 +76,9 @@ buildPythonPackage rec {
"test_include_attribute_with_yaml_loader"
# TypeError: string indices must be integers
"test_lookup_include_yaml"
# Missing .xslx files *shrug*
"test_excel_formatter_update"
"test_excel_formatter_update_using_result_kwargs"
# missing package n2g
"test_n2g_formatter"
];

View File

@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "xkcdpass";
version = "1.17.6";
version = "1.19.2";
src = fetchPypi {
inherit pname version;
sha256 = "0ghsjs5bxl996pap910q9s21nywb26mfpjd92rbfywbnj8f2k2cy";
sha256 = "sha256-F7977Tb8iu/pRy6YhginJgK0N0G3CjPpHjomLTFf1F8=";
};
nativeBuildInputs = [ installShellFiles ];

View File

@@ -1,4 +1,5 @@
{ lib
, backoff
, buildPythonPackage
, fetchFromGitHub
, requests
@@ -6,16 +7,19 @@
buildPythonPackage rec {
pname = "yalesmartalarmclient";
version = "0.3.1";
version = "0.3.4";
src = fetchFromGitHub {
owner = "domwillcode";
repo = "yale-smart-alarm-client";
rev = "v${version}";
sha256 = "0fscp9n66h8a8khvjs2rjgm95xsdckpknadnyxqdmhw3hlj0aw6h";
sha256 = "sha256-waWi3QnH7xQZh5iYklISCvfAaBdH5k+Y10huZuTNlSc=";
};
propagatedBuildInputs = [ requests ];
propagatedBuildInputs = [
backoff
requests
];
# Project has no tests
doCheck = false;
@@ -23,7 +27,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python module to interface with Yale Smart Alarm Systems";
homepage = "https://github.com/mampfes/python-wiffi";
homepage = "https://github.com/domwillcode/yale-smart-alarm-client";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};