uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
83
pkgs/development/python-modules/slack-sdk/default.nix
Normal file
83
pkgs/development/python-modules/slack-sdk/default.nix
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, aiodns
|
||||
, aiohttp
|
||||
, boto3
|
||||
, buildPythonPackage
|
||||
, codecov
|
||||
, databases
|
||||
, fetchFromGitHub
|
||||
, flake8
|
||||
, flask-sockets
|
||||
, moto
|
||||
, pythonOlder
|
||||
, psutil
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, sqlalchemy
|
||||
, websocket-client
|
||||
, websockets
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "slack-sdk";
|
||||
version = "3.17.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "slackapi";
|
||||
repo = "python-slack-sdk";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-XyxvJsALAEuAJWORhIs4bGB4vYnCbFHecerA4gTr6ak=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiodns
|
||||
aiohttp
|
||||
boto3
|
||||
sqlalchemy
|
||||
websocket-client
|
||||
websockets
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
codecov
|
||||
databases
|
||||
flake8
|
||||
flask-sockets
|
||||
moto
|
||||
psutil
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
disabledTestPaths = [
|
||||
# Exclude tests that requires network features
|
||||
"integration_tests"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Requires network features
|
||||
"test_start_raises_an_error_if_rtm_ws_url_is_not_returned"
|
||||
"test_org_installation"
|
||||
"test_interactions"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"slack_sdk"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
description = "Slack Developer Kit for Python";
|
||||
homepage = "https://slack.dev/python-slack-sdk/";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue