Merge pull request #247869 from NickCao/flask-api
python310Packages.flask-api: 3.0.post1 -> 3.1
This commit is contained in:
commit
27c92a78f3
1 changed files with 21 additions and 8 deletions
|
@ -1,22 +1,35 @@
|
||||||
{ lib, buildPythonPackage, pythonOlder, fetchPypi, flask, markdown }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, pythonOlder
|
||||||
|
, fetchFromGitHub
|
||||||
|
, flask
|
||||||
|
, markdown
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "Flask-API";
|
pname = "Flask-API";
|
||||||
version = "3.0.post1";
|
version = "3.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "flask-api";
|
||||||
sha256 = "1khw0f9ywn1mbdlcl0xspacqjz2pxq00m4g73bksbc1k0i88j61k";
|
repo = "flask-api";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-nHgeI5FLKkDp4uWO+0eaT4YSOMkeQ0wE3ffyJF+WzTM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ flask markdown ];
|
propagatedBuildInputs = [
|
||||||
|
flask
|
||||||
|
markdown
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/miracle2k/flask-assets";
|
homepage = "https://github.com/flask-api/flask-api";
|
||||||
|
changelog = "https://github.com/flask-api/flask-api/releases/tag/v${version}";
|
||||||
description = "Browsable web APIs for Flask";
|
description = "Browsable web APIs for Flask";
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ nickcao ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue