nixpkgs/pkgs/development/python-modules/flask-api/default.nix

23 lines
561 B
Nix
Raw Normal View History

2020-09-12 15:57:39 +00:00
{ lib, buildPythonPackage, pythonOlder, fetchPypi, flask, markdown }:
2018-08-14 17:35:28 +00:00
buildPythonPackage rec {
pname = "Flask-API";
2019-12-19 19:31:10 +00:00
version = "2.0";
2018-08-14 17:35:28 +00:00
2020-09-12 15:57:39 +00:00
disabled = pythonOlder "3.6";
2018-08-14 17:35:28 +00:00
src = fetchPypi {
inherit pname version;
2019-12-19 19:31:10 +00:00
sha256 = "6986642e5b25b7def710ca9489ed2b88c94006bfc06eca01c78da7cf447e66e5";
2018-08-14 17:35:28 +00:00
};
propagatedBuildInputs = [ flask markdown ];
meta = with lib; {
homepage = "https://github.com/miracle2k/flask-assets";
2018-08-14 17:35:28 +00:00
description = "Browsable web APIs for Flask";
license = licenses.bsd2;
maintainers = with maintainers; [ ];
};
}