flask-restful: init at 0.3.5
This commit is contained in:
parent
0f765d7807
commit
3af5b60e27
1 changed files with 24 additions and 0 deletions
|
@ -11622,6 +11622,30 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
flask-restful = buildPythonPackage rec {
|
||||
name = "Flask-RESTful-${version}";
|
||||
version = "0.3.5";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/F/Flask-RESTful/${name}.tar.gz";
|
||||
sha256 = "cce4aeff959b571136b5af098bebe7d3deeca7eb1411c4e722ff2c5356ab4c42";
|
||||
};
|
||||
|
||||
# TypeError: Only byte strings can be passed to C code
|
||||
patchPhase = if isPy3k then ''
|
||||
rm tests/test_crypto.py tests/test_paging.py
|
||||
'' else null;
|
||||
buildInputs = with self; [ nose mock blinker ];
|
||||
propagatedBuildInputs = with self; [ flask six pytz aniso8601 pycrypto ];
|
||||
PYTHON_EGG_CACHE = "`pwd`/.egg-cache";
|
||||
|
||||
meta = {
|
||||
homepage = "http://flask-restful.readthedocs.io/";
|
||||
description = "REST API building blocks for Flask";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
};
|
||||
|
||||
flask_script = buildPythonPackage rec {
|
||||
name = "Flask-Script-${version}";
|
||||
version = "2.0.5";
|
||||
|
|
Loading…
Reference in a new issue