Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-02-15 00:37:03 +00:00
committed by GitHub
22 changed files with 252 additions and 153 deletions

View File

@@ -1,9 +1,10 @@
{ lib, stdenv
{ stdenv
, lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, setuptools
, capstone
, fetchpatch
, fetchPypi
, setuptools
}:
buildPythonPackage rec {
@@ -16,6 +17,7 @@ buildPythonPackage rec {
postPatch = ''
ln -s ${capstone}/lib/libcapstone${stdenv.targetPlatform.extensions.sharedLibrary} prebuilt/
ln -s ${capstone}/lib/libcapstone.a prebuilt/
substituteInPlace setup.py --replace manylinux1 manylinux2014
'';
propagatedBuildInputs = [ setuptools ];

View File

@@ -0,0 +1,74 @@
{ lib
, aiodns
, aiohttp
, boto3
, buildPythonPackage
, codecov
, databases
, fetchFromGitHub
, flake8
, flask-sockets
, isPy3k
, psutil
, pytest-asyncio
, pytest-cov
, pytestCheckHook
, pytestrunner
, sqlalchemy
, websocket_client
, websockets
}:
buildPythonPackage rec {
pname = "slack-sdk";
version = "3.3.0";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "slackapi";
repo = "python-slack-sdk";
rev = "v${version}";
sha256 = "0nr1avxycvjnvg1n8r09xi4sc5h6i4b64pzfgq14l55dgi5sv1rx";
};
propagatedBuildInputs = [
aiodns
aiohttp
boto3
sqlalchemy
websocket_client
websockets
];
checkInputs = [
codecov
databases
flake8
flask-sockets
psutil
pytest-asyncio
pytest-cov
pytestCheckHook
pytestrunner
];
preCheck = ''
export HOME=$(mktemp -d)
'';
# Exclude tests that requires network features
pytestFlagsArray = [ "--ignore=integration_tests" ];
disabledTests = [
"test_start_raises_an_error_if_rtm_ws_url_is_not_returned"
"test_org_installation"
];
pythonImportsCheck = [ "slack_sdk" ];
meta = with lib; {
description = "Slack Developer Kit for Python";
homepage = "https://slack.dev/python-slack-sdk/";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -1,15 +1,15 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, black
, buildPythonPackage
, codecov
, fetchFromGitHub
, flake8
, isPy3k
, mock
, psutil
, pytest-cov
, pytest-mock
, pytestCheckHook
, pytestcov
, pytestrunner
, requests
, responses
@@ -19,15 +19,15 @@
buildPythonPackage rec {
pname = "python-slackclient";
version = "2.5.0";
version = "2.9.3";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "slackapi";
repo = pname;
rev = version;
sha256 = "1ngj1mivbln19546195k400w9yaw69g0w6is7c75rqwyxr8wgzsk";
owner = "slackapi";
repo = "python-slack-sdk";
rev = "v${version}";
sha256 = "1rfb7izgddv28ag37gdnv3sd8z2zysrxs7ad8x20x690zshpaq16";
};
propagatedBuildInputs = [
@@ -38,17 +38,21 @@ buildPythonPackage rec {
];
checkInputs = [
black
codecov
flake8
mock
psutil
pytest-cov
pytest-mock
pytestCheckHook
pytestcov
pytestrunner
responses
];
# Exclude tests that requires network features
pytestFlagsArray = [ "--ignore=integration_tests" ];
disabledTests = [ "test_start_raises_an_error_if_rtm_ws_url_is_not_returned" ];
pythonImportsCheck = [ "slack" ];
meta = with lib; {

View File

@@ -9,13 +9,13 @@
buildPythonPackage rec {
pname = "tubeup";
version = "0.0.21";
version = "0.0.23";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "326a499be032bee7f7ed921d85abff4b3b4dcd2c3d6ad694f08ef98dbcef19b6";
sha256 = "d504327e055889edfe56512a829f76b24b40c5965b93120f8b9300f5390014b4";
};
postPatch = ''
@@ -32,7 +32,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Youtube (and other video site) to Internet Archive Uploader";
homepage = "https://github.com/bibanon/tubeup";
license = licenses.gpl3;
license = licenses.gpl3Only;
maintainers = [ maintainers.marsam ];
};
}