Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 561 B view raw
1{ lib, buildPythonPackage, pythonOlder, fetchPypi, flask, markdown }: 2 3buildPythonPackage rec { 4 pname = "Flask-API"; 5 version = "2.0"; 6 7 disabled = pythonOlder "3.6"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "6986642e5b25b7def710ca9489ed2b88c94006bfc06eca01c78da7cf447e66e5"; 12 }; 13 14 propagatedBuildInputs = [ flask markdown ]; 15 16 meta = with lib; { 17 homepage = "https://github.com/miracle2k/flask-assets"; 18 description = "Browsable web APIs for Flask"; 19 license = licenses.bsd2; 20 maintainers = with maintainers; [ ]; 21 }; 22}