Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / flask-api / default.nix
blob9b4a398f7f79e6ab232b6a8344ae0c43dd5dc958
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchFromGitHub
5 , flask
6 , markdown
7 }:
9 buildPythonPackage rec {
10   pname = "Flask-API";
11   version = "3.1";
12   format = "setuptools";
14   disabled = pythonOlder "3.6";
16   src = fetchFromGitHub {
17     owner = "flask-api";
18     repo = "flask-api";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-nHgeI5FLKkDp4uWO+0eaT4YSOMkeQ0wE3ffyJF+WzTM=";
21   };
23   propagatedBuildInputs = [
24     flask
25     markdown
26   ];
28   meta = with lib; {
29     homepage = "https://github.com/flask-api/flask-api";
30     changelog = "https://github.com/flask-api/flask-api/releases/tag/v${version}";
31     description = "Browsable web APIs for Flask";
32     license = licenses.bsd2;
33     maintainers = with maintainers; [ nickcao ];
34   };