2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook
|
2020-12-23 19:21:18 +00:00
|
|
|
, cheroot
|
|
|
|
, dbutils, mysqlclient, pymysql, mysql-connector, psycopg2
|
2018-10-29 13:34:51 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-11-29 14:04:45 +00:00
|
|
|
version = "0.62";
|
2018-10-29 13:34:51 +00:00
|
|
|
pname = "web.py";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:45 +00:00
|
|
|
sha256 = "5ce684caa240654cae5950da8b4b7bc178812031e08f990518d072bd44ab525e";
|
2018-10-29 13:34:51 +00:00
|
|
|
};
|
|
|
|
|
2020-12-23 19:21:18 +00:00
|
|
|
propagatedBuildInputs = [ cheroot ];
|
|
|
|
|
|
|
|
# requires multiple running databases
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "web" ];
|
|
|
|
|
|
|
|
checkInputs = [ pytestCheckHook dbutils mysqlclient pymysql mysql-connector psycopg2 ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-29 13:34:51 +00:00
|
|
|
description = "Makes web apps";
|
|
|
|
longDescription = ''
|
|
|
|
Think about the ideal way to write a web app.
|
|
|
|
Write the code to make it happen.
|
|
|
|
'';
|
2020-01-22 10:26:22 +00:00
|
|
|
homepage = "https://webpy.org/";
|
2018-10-29 13:34:51 +00:00
|
|
|
license = licenses.publicDomain;
|
2020-12-23 19:21:18 +00:00
|
|
|
maintainers = with maintainers; [ layus SuperSandro2000 ];
|
2018-10-29 13:34:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|