git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #95477 from marsam/update-flexget

flexget: 3.1.59 -> 3.1.67

commit02b6ff65d23573827a9e3aed45b0703e6febe277 authorFrederik Rietdijk <freddyrietdijk@fridh.nl> dateSat 15 Aug 2020, 09:09 (6 years ago) parent49f4475be95a39
5 files changed+59−3
pkgs/applications/networking/flexget/default.nix+3−3 pkgs/development/python-modules/construct/default.nix+2 pkgs/development/python-modules/flask-restx/default.nix+50 pkgs/development/python-modules/loguru/default.nix+2 pkgs/top-level/python-packages.nix+2
pkgs/applications/networking/flexget/default.nix+3−3
@@ -2,11 +2,11 @@
22
33python3Packages.buildPythonApplication rec {
44 pname = "FlexGet";
5− version = "3.1.59";
5+ version = "3.1.67";
66
77 src = python3Packages.fetchPypi {
88 inherit pname version;
9− sha256 = "19vp2395sl6gdv54zn0k4vf1j6b902khvm44q5hfr805jd3fc11h";
9+ sha256 = "d3f4b7bebff80a3a3aa00daf60145a6bc3d12847d7339b39846b2341bca75ef3";
1010 };
1111
1212 postPatch = ''
@@ -32,7 +32,7 @@ python3Packages.buildPythonApplication rec {
3232 flask-cors
3333 flask_login
3434 flask-restful
35− flask-restplus
35+ flask-restx
3636 flask
3737 guessit
3838 html5lib
pkgs/development/python-modules/construct/default.nix+2
@@ -18,6 +18,8 @@ buildPythonPackage rec {
1818
1919 checkInputs = [ pytestCheckHook pytest-benchmark numpy arrow ruamel_yaml ];
2020
21+ disabledTests = stdenv.lib.optionals stdenv.isDarwin [ "test_multiprocessing" ];
22+
2123 pytestFlagsArray = [ "--benchmark-disable" ];
2224
2325 meta = with stdenv.lib; {
pkgs/development/python-modules/flask-restx/default.nixnew file+50
@@ -0,0 +1,50 @@
1+{ lib
2+, buildPythonPackage
3+, fetchFromGitHub
4+, aniso8601
5+, jsonschema
6+, flask
7+, werkzeug
8+, pytz
9+, faker
10+, six
11+, enum34
12+, isPy27
13+, mock
14+, blinker
15+, pytest-flask
16+, pytest-mock
17+, pytest-benchmark
18+, pytestCheckHook
19+}:
20+
21+buildPythonPackage rec {
22+ pname = "flask-restx";
23+ version = "0.2.0";
24+
25+ # Tests not included in PyPI tarball
26+ src = fetchFromGitHub {
27+ owner = "python-restx";
28+ repo = pname;
29+ rev = version;
30+ sha256 = "0xf2vkmdngp9cv9klznizai4byxjcf0iqh1pr4b83nann0jxqwy7";
31+ };
32+
33+ propagatedBuildInputs = [ aniso8601 jsonschema flask werkzeug pytz six ]
34+ ++ lib.optionals isPy27 [ enum34 ];
35+
36+ checkInputs = [ pytestCheckHook faker mock pytest-flask pytest-mock pytest-benchmark blinker ];
37+
38+ pytestFlagsArray = [
39+ "--benchmark-disable"
40+ "--deselect=tests/test_inputs.py::URLTest::test_check"
41+ "--deselect=tests/test_inputs.py::EmailTest::test_valid_value_check"
42+ ];
43+
44+ meta = with lib; {
45+ homepage = "https://flask-restx.readthedocs.io/en/${version}/";
46+ description = "Fully featured framework for fast, easy and documented API development with Flask";
47+ license = licenses.bsd3;
48+ maintainers = [ maintainers.marsam ];
49+ };
50+}
pkgs/development/python-modules/loguru/default.nix+2
@@ -12,6 +12,8 @@ buildPythonPackage rec {
1212
1313 checkInputs = [ pytestCheckHook colorama ];
1414
15+ pytestFlagsArray = stdenv.lib.optionals stdenv.isDarwin [ "--ignore=tests/test_multiprocessing.py" ];
16+
1517 disabledTests = [ "test_time_rotation_reopening" "test_file_buffering" ]
1618 ++ stdenv.lib.optionals stdenv.isDarwin [ "test_rotation_and_retention" "test_rotation_and_retention_timed_file" "test_renaming" "test_await_complete_inheritance" ];
1719
pkgs/top-level/python-packages.nix+2
@@ -4012,6 +4012,8 @@ in {
40124012
40134013 flask-restplus = callPackage ../development/python-modules/flask-restplus { };
40144014
4015+ flask-restx = callPackage ../development/python-modules/flask-restx { };
4016+
40154017 flask-reverse-proxy-fix = callPackage ../development/python-modules/flask-reverse-proxy-fix { };
40164018
40174019 flask_script = callPackage ../development/python-modules/flask-script { };