Merge pull request #95477 from marsam/update-flexget
flexget: 3.1.59 -> 3.1.67
This commit is contained in:
@@ -18,6 +18,8 @@ buildPythonPackage rec {
|
||||
|
||||
checkInputs = [ pytestCheckHook pytest-benchmark numpy arrow ruamel_yaml ];
|
||||
|
||||
disabledTests = stdenv.lib.optionals stdenv.isDarwin [ "test_multiprocessing" ];
|
||||
|
||||
pytestFlagsArray = [ "--benchmark-disable" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
50
pkgs/development/python-modules/flask-restx/default.nix
Normal file
50
pkgs/development/python-modules/flask-restx/default.nix
Normal file
@@ -0,0 +1,50 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, aniso8601
|
||||
, jsonschema
|
||||
, flask
|
||||
, werkzeug
|
||||
, pytz
|
||||
, faker
|
||||
, six
|
||||
, enum34
|
||||
, isPy27
|
||||
, mock
|
||||
, blinker
|
||||
, pytest-flask
|
||||
, pytest-mock
|
||||
, pytest-benchmark
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flask-restx";
|
||||
version = "0.2.0";
|
||||
|
||||
# Tests not included in PyPI tarball
|
||||
src = fetchFromGitHub {
|
||||
owner = "python-restx";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0xf2vkmdngp9cv9klznizai4byxjcf0iqh1pr4b83nann0jxqwy7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ aniso8601 jsonschema flask werkzeug pytz six ]
|
||||
++ lib.optionals isPy27 [ enum34 ];
|
||||
|
||||
checkInputs = [ pytestCheckHook faker mock pytest-flask pytest-mock pytest-benchmark blinker ];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"--benchmark-disable"
|
||||
"--deselect=tests/test_inputs.py::URLTest::test_check"
|
||||
"--deselect=tests/test_inputs.py::EmailTest::test_valid_value_check"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://flask-restx.readthedocs.io/en/${version}/";
|
||||
description = "Fully featured framework for fast, easy and documented API development with Flask";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
};
|
||||
}
|
||||
@@ -12,6 +12,8 @@ buildPythonPackage rec {
|
||||
|
||||
checkInputs = [ pytestCheckHook colorama ];
|
||||
|
||||
pytestFlagsArray = stdenv.lib.optionals stdenv.isDarwin [ "--ignore=tests/test_multiprocessing.py" ];
|
||||
|
||||
disabledTests = [ "test_time_rotation_reopening" "test_file_buffering" ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ "test_rotation_and_retention" "test_rotation_and_retention_timed_file" "test_renaming" "test_await_complete_inheritance" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user