forked from mirrors/nixpkgs
python3Packages.web: 0.61 -> 0.62, fix build
This commit is contained in:
parent
49ca6941c2
commit
c1011fcea4
|
@ -1,19 +1,26 @@
|
||||||
{ stdenv
|
{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook
|
||||||
, buildPythonPackage
|
, cheroot
|
||||||
, fetchPypi
|
, dbutils, mysqlclient, pymysql, mysql-connector, psycopg2
|
||||||
, isPy3k
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "0.62";
|
version = "0.62";
|
||||||
pname = "web.py";
|
pname = "web.py";
|
||||||
disabled = isPy3k;
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "5ce684caa240654cae5950da8b4b7bc178812031e08f990518d072bd44ab525e";
|
sha256 = "5ce684caa240654cae5950da8b4b7bc178812031e08f990518d072bd44ab525e";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ cheroot ];
|
||||||
|
|
||||||
|
# requires multiple running databases
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "web" ];
|
||||||
|
|
||||||
|
checkInputs = [ pytestCheckHook dbutils mysqlclient pymysql mysql-connector psycopg2 ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Makes web apps";
|
description = "Makes web apps";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
@ -22,7 +29,7 @@ buildPythonPackage rec {
|
||||||
'';
|
'';
|
||||||
homepage = "https://webpy.org/";
|
homepage = "https://webpy.org/";
|
||||||
license = licenses.publicDomain;
|
license = licenses.publicDomain;
|
||||||
maintainers = with maintainers; [ layus ];
|
maintainers = with maintainers; [ layus SuperSandro2000 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue