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
161
pkgs/development/python-modules/sentry-sdk/default.nix
Normal file
161
pkgs/development/python-modules/sentry-sdk/default.nix
Normal file
|
|
@ -0,0 +1,161 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
|
||||
# runtime
|
||||
, certifi
|
||||
, urllib3
|
||||
|
||||
# optionals
|
||||
, aiohttp
|
||||
, apache-beam
|
||||
, blinker
|
||||
, botocore
|
||||
, bottle
|
||||
, celery
|
||||
, chalice
|
||||
, django
|
||||
, falcon
|
||||
, flask
|
||||
, flask_login
|
||||
, httpx
|
||||
, pure-eval
|
||||
, pyramid
|
||||
, pyspark
|
||||
, rq
|
||||
, sanic
|
||||
, sqlalchemy
|
||||
, tornado
|
||||
, trytond
|
||||
, werkzeug
|
||||
|
||||
# tests
|
||||
, asttokens
|
||||
, executing
|
||||
, gevent
|
||||
, jsonschema
|
||||
, mock
|
||||
, pyrsistent
|
||||
, pytest-forked
|
||||
, pytest-localserver
|
||||
, pytest-watch
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sentry-sdk";
|
||||
version = "1.5.12";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "getsentry";
|
||||
repo = "sentry-python";
|
||||
rev = version;
|
||||
hash = "sha256-8M0FWfvaGp74Fb+qJlhyiJPUVHN2ZdEleZf27d+bftE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
certifi
|
||||
urllib3
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
aiohttp = [
|
||||
aiohttp
|
||||
];
|
||||
beam = [
|
||||
apache-beam
|
||||
];
|
||||
bottle = [
|
||||
bottle
|
||||
];
|
||||
celery = [
|
||||
celery
|
||||
];
|
||||
chalice = [
|
||||
chalice
|
||||
];
|
||||
django = [
|
||||
django
|
||||
];
|
||||
falcon = [
|
||||
falcon
|
||||
];
|
||||
flask = [
|
||||
flask
|
||||
blinker
|
||||
];
|
||||
httpx = [
|
||||
httpx
|
||||
];
|
||||
pyspark = [
|
||||
pyspark
|
||||
];
|
||||
pure_eval = [
|
||||
asttokens
|
||||
executing
|
||||
pure-eval
|
||||
];
|
||||
quart = [
|
||||
# quart missing
|
||||
blinker
|
||||
];
|
||||
rq = [
|
||||
rq
|
||||
];
|
||||
sanic = [
|
||||
sanic
|
||||
];
|
||||
sqlalchemy = [
|
||||
sqlalchemy
|
||||
];
|
||||
tornado = [
|
||||
tornado
|
||||
];
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
asttokens
|
||||
executing
|
||||
gevent
|
||||
jsonschema
|
||||
mock
|
||||
pure-eval
|
||||
pyrsistent
|
||||
pytest-forked
|
||||
pytest-localserver
|
||||
pytest-watch
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
disabledTests = [
|
||||
# Issue with the asseration
|
||||
"test_auto_enabling_integrations_catches_import_error"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Varius integration tests fail every once in a while when we
|
||||
# upgrade depencies, so don't bother testing them.
|
||||
"tests/integrations/"
|
||||
] ++ lib.optionals (stdenv.buildPlatform != "x86_64-linux") [
|
||||
# test crashes on aarch64
|
||||
"tests/test_transport.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"sentry_sdk"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python SDK for Sentry.io";
|
||||
homepage = "https://github.com/getsentry/sentry-python";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ fab gebner ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue