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
|
2023-03-15 16:39:30 +00:00
|
|
|
, formencode
|
2021-10-08 15:17:17 +00:00
|
|
|
, pastedeploy
|
2020-04-24 23:36:52 +00:00
|
|
|
, paste
|
|
|
|
, pydispatcher
|
2022-09-22 12:36:57 +00:00
|
|
|
, pythonOlder
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2022-01-07 04:07:37 +00:00
|
|
|
pname = "sqlobject";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "3.11.0";
|
2022-01-07 04:07:37 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-09-22 12:36:57 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchPypi {
|
2022-01-07 04:07:37 +00:00
|
|
|
pname = "SQLObject";
|
|
|
|
inherit version;
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-QrGyrM6e1cxCtF4GxoivXU/Gj2H8VnG7EFcgimLfdng=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-01-07 04:07:37 +00:00
|
|
|
propagatedBuildInputs = [
|
2023-03-15 16:39:30 +00:00
|
|
|
formencode
|
2022-01-07 04:07:37 +00:00
|
|
|
paste
|
|
|
|
pastedeploy
|
|
|
|
pydispatcher
|
|
|
|
];
|
2021-10-08 15:17:17 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-01-07 04:07:37 +00:00
|
|
|
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";
|
2023-11-16 04:20:00 +00:00
|
|
|
homepage = "https://www.sqlobject.org/";
|
2023-08-22 20:05:09 +00:00
|
|
|
changelog = "https://github.com/sqlobject/sqlobject/blob/${version}/docs/News.rst";
|
2022-09-22 12:36:57 +00:00
|
|
|
license = licenses.lgpl21Only;
|
2021-10-08 15:17:17 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|