diff options
author | Langston Barrett <langston.barrett@gmail.com> | 2017-06-16 18:55:48 +0000 |
---|---|---|
committer | Langston Barrett <langston.barrett@gmail.com> | 2017-06-16 18:55:48 +0000 |
commit | 26e1664e88f79cf314a821575657fd42a15df51e (patch) | |
tree | 1b1319e629f78b06cfc689f7cd3973ed50a95ca4 /pkgs/development/python-modules/flask-restplus | |
parent | dda6daa4ff876d6f48cdd3538509c26c3e18af03 (diff) | |
download | nixlib-26e1664e88f79cf314a821575657fd42a15df51e.tar nixlib-26e1664e88f79cf314a821575657fd42a15df51e.tar.gz nixlib-26e1664e88f79cf314a821575657fd42a15df51e.tar.bz2 nixlib-26e1664e88f79cf314a821575657fd42a15df51e.tar.lz nixlib-26e1664e88f79cf314a821575657fd42a15df51e.tar.xz nixlib-26e1664e88f79cf314a821575657fd42a15df51e.tar.zst nixlib-26e1664e88f79cf314a821575657fd42a15df51e.zip |
flask-restplus: update to 0.10
Diffstat (limited to 'pkgs/development/python-modules/flask-restplus')
-rw-r--r-- | pkgs/development/python-modules/flask-restplus/default.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/flask-restplus/default.nix b/pkgs/development/python-modules/flask-restplus/default.nix new file mode 100644 index 000000000000..f14c9982b6d2 --- /dev/null +++ b/pkgs/development/python-modules/flask-restplus/default.nix @@ -0,0 +1,42 @@ +{ lib +, buildPythonPackage +, fetchPypi +, nose +, blinker +, tzlocal +, mock +, rednose +, flask +, six +, jsonschema +, pytz +, aniso8601 +, flask-restful +}: + +buildPythonPackage rec { + pname = "flask-restplus"; + version = "0.10.1"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "1qs9c3fzidd0m3r8rhw0zqrlsaqr2561z45xs6kg19l7c2x6g5qj"; + }; + + checkInputs = [ nose blinker tzlocal mock rednose ]; + propagatedBuildInputs = [ flask six jsonschema pytz aniso8601 flask-restful ]; + + # RuntimeError: Working outside of application context. + doCheck = false; + + checkPhase = '' + nosetests + ''; + + meta = { + homepage = "https://github.com/noirbizarre/flask-restplus"; + description = "Fast, easy and documented API development with Flask"; + license = lib.licenses.mit; + }; +} |