blob: 19e68bdb2d8a56c06de4c38c05cd5efa3e77190c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
cheroot,
legacy-cgi,
dbutils,
mysqlclient,
pymysql,
mysql-connector,
psycopg2,
}:
buildPythonPackage rec {
version = "0.62";
format = "setuptools";
pname = "web.py";
src = fetchPypi {
inherit pname version;
sha256 = "5ce684caa240654cae5950da8b4b7bc178812031e08f990518d072bd44ab525e";
};
propagatedBuildInputs = [
cheroot
legacy-cgi
];
# requires multiple running databases
doCheck = false;
pythonImportsCheck = [ "web" ];
nativeCheckInputs = [
pytestCheckHook
dbutils
mysqlclient
pymysql
mysql-connector
psycopg2
];
meta = {
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 = lib.licenses.publicDomain;
maintainers = with lib.maintainers; [ layus ];
};
}
|