1{ lib, buildPythonPackage, fetchPypi, pytestCheckHook
2, cheroot
3, dbutils, mysqlclient, pymysql, mysql-connector, psycopg2
4}:
5
6buildPythonPackage rec {
7 version = "0.62";
8 pname = "web.py";
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "5ce684caa240654cae5950da8b4b7bc178812031e08f990518d072bd44ab525e";
13 };
14
15 propagatedBuildInputs = [ cheroot ];
16
17 # requires multiple running databases
18 doCheck = false;
19
20 pythonImportsCheck = [ "web" ];
21
22 nativeCheckInputs = [ pytestCheckHook dbutils mysqlclient pymysql mysql-connector psycopg2 ];
23
24 meta = with lib; {
25 description = "Makes web apps";
26 longDescription = ''
27 Think about the ideal way to write a web app.
28 Write the code to make it happen.
29 '';
30 homepage = "https://webpy.org/";
31 license = licenses.publicDomain;
32 maintainers = with maintainers; [ layus ];
33 };
34
35}