depot/third_party/nixpkgs/pkgs/development/python-modules/sqlobject/default.nix
Default email b41113241d Project import generated by Copybara.
GitOrigin-RevId: ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90
2022-09-22 14:36:57 +02:00

51 lines
919 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, FormEncode
, pastedeploy
, paste
, pydispatcher
, pythonOlder
}:
buildPythonPackage rec {
pname = "sqlobject";
version = "3.10.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "SQLObject";
inherit version;
hash = "sha256-i/wBFu8z/DS5Gtj00ZKrbuPsvqDH3O5GmbrknGbvJ7A=";
};
propagatedBuildInputs = [
FormEncode
paste
pastedeploy
pydispatcher
];
checkInputs = [
pytestCheckHook
];
disabledTests = [
# https://github.com/sqlobject/sqlobject/issues/179
"test_fail"
];
pythonImportsCheck = [
"sqlobject"
];
meta = with lib; {
description = "Object Relational Manager for providing an object interface to your database";
homepage = "http://www.sqlobject.org/";
license = licenses.lgpl21Only;
maintainers = with maintainers; [ ];
};
}