2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook
|
2021-01-05 17:05:55 +00:00
|
|
|
, cheroot
|
|
|
|
, dbutils, mysqlclient, pymysql, mysql-connector, psycopg2
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-12-07 07:45:13 +00:00
|
|
|
version = "0.62";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "web.py";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-07 07:45:13 +00:00
|
|
|
sha256 = "5ce684caa240654cae5950da8b4b7bc178812031e08f990518d072bd44ab525e";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-05 17:05:55 +00:00
|
|
|
propagatedBuildInputs = [ cheroot ];
|
|
|
|
|
|
|
|
# requires multiple running databases
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "web" ];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook dbutils mysqlclient pymysql mysql-connector psycopg2 ];
|
2021-01-05 17:05:55 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Makes web apps";
|
|
|
|
longDescription = ''
|
|
|
|
Think about the ideal way to write a web app.
|
|
|
|
Write the code to make it happen.
|
|
|
|
'';
|
|
|
|
homepage = "https://webpy.org/";
|
|
|
|
license = licenses.publicDomain;
|
2021-01-05 17:05:55 +00:00
|
|
|
maintainers = with maintainers; [ layus SuperSandro2000 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|