forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 4
/
default.nix
50 lines (44 loc) · 809 Bytes
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{ 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;
};
}