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

23 lines
555 B
Nix
Raw Normal View History

2020-09-12 16:57:39 +01:00
{ lib, buildPythonPackage, pythonOlder, fetchPypi, flask, markdown }:
2018-08-14 18:35:28 +01:00
buildPythonPackage rec {
pname = "Flask-API";
version = "3.0.post1";
2018-08-14 18:35:28 +01:00
2020-09-12 16:57:39 +01:00
disabled = pythonOlder "3.6";
2018-08-14 18:35:28 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "1khw0f9ywn1mbdlcl0xspacqjz2pxq00m4g73bksbc1k0i88j61k";
2018-08-14 18:35:28 +01:00
};
propagatedBuildInputs = [ flask markdown ];
meta = with lib; {
homepage = "https://github.com/miracle2k/flask-assets";
2018-08-14 18:35:28 +01:00
description = "Browsable web APIs for Flask";
license = licenses.bsd2;
maintainers = with maintainers; [ ];
};
}