mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
flask-restplus: update to 0.10
This commit is contained in:
parent
dda6daa4ff
commit
26e1664e88
42
pkgs/development/python-modules/flask-restplus/default.nix
Normal file
42
pkgs/development/python-modules/flask-restplus/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
@ -10945,6 +10945,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
flask-restplus = callPackage ../development/python-modules/flask-restplus/default.nix { };
|
||||
# Exactly 0.8.6 is required by flexget
|
||||
flask-restplus_0_8 = callPackage ../development/python-modules/flask-restplus/0.8.nix { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user