My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/development/python-modules/flask-restful/default.nix

51 lines
809 B

{ lib
, buildPythonPackage
, fetchPypi
, aniso8601
, flask
, pytz
, six
, blinker
, mock
, nose
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "Flask-RESTful";
version = "0.3.9";
src = fetchPypi {
inherit pname version;
sha256 = "0gm5dz088v3d2k1dkcp9b3nnqpkk0fp2jly870hijj2xhc5nbv6c";
};
patches = [
./werkzeug-2.1.0-compat.patch
];
propagatedBuildInputs = [
aniso8601
flask
pytz
six
];
checkInputs = [
pytestCheckHook
mock
nose
blinker
];
meta = with lib; {
homepage = "https://flask-restful.readthedocs.io";
description = "Simple framework for creating REST APIs";
longDescription = ''
Flask-RESTful provides the building blocks for creating a great
REST API.
'';
license = licenses.bsd3;
};
}