2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-10-08 15:17:17 +00:00
|
|
|
, pytestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
, FormEncode
|
2021-10-08 15:17:17 +00:00
|
|
|
, pastedeploy
|
2020-04-24 23:36:52 +00:00
|
|
|
, paste
|
|
|
|
, pydispatcher
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2022-01-07 04:07:37 +00:00
|
|
|
pname = "sqlobject";
|
2021-04-26 19:14:03 +00:00
|
|
|
version = "3.9.1";
|
2022-01-07 04:07:37 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2022-01-07 04:07:37 +00:00
|
|
|
pname = "SQLObject";
|
|
|
|
inherit version;
|
2021-04-26 19:14:03 +00:00
|
|
|
sha256 = "45064184decf7f42d386704e5f47a70dee517d3e449b610506e174025f84d921";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-01-07 04:07:37 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
FormEncode
|
|
|
|
paste
|
|
|
|
pastedeploy
|
|
|
|
pydispatcher
|
|
|
|
];
|
2021-10-08 15:17:17 +00:00
|
|
|
|
2022-01-07 04:07:37 +00:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
disabledTests = [
|
|
|
|
# https://github.com/sqlobject/sqlobject/issues/179
|
|
|
|
"test_fail"
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"sqlobject"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Object Relational Manager for providing an object interface to your database";
|
|
|
|
homepage = "http://www.sqlobject.org/";
|
|
|
|
license = licenses.lgpl21;
|
2021-10-08 15:17:17 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|