Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / sqlobject / default.nix
blobe4ac317418ab2ca087b6817d0d25498a4eddaa13
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pytestCheckHook
5 , formencode
6 , pastedeploy
7 , paste
8 , pydispatcher
9 , pythonOlder
12 buildPythonPackage rec {
13   pname = "sqlobject";
14   version = "3.11.0";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchPypi {
20     pname = "SQLObject";
21     inherit version;
22     hash = "sha256-QrGyrM6e1cxCtF4GxoivXU/Gj2H8VnG7EFcgimLfdng=";
23   };
25   propagatedBuildInputs = [
26     formencode
27     paste
28     pastedeploy
29     pydispatcher
30   ];
32   nativeCheckInputs = [
33     pytestCheckHook
34   ];
36   disabledTests = [
37     # https://github.com/sqlobject/sqlobject/issues/179
38     "test_fail"
39   ];
41   pythonImportsCheck = [
42     "sqlobject"
43   ];
45   meta = with lib; {
46     description = "Object Relational Manager for providing an object interface to your database";
47     homepage = "https://www.sqlobject.org/";
48     changelog = "https://github.com/sqlobject/sqlobject/blob/${version}/docs/News.rst";
49     license = licenses.lgpl21Only;
50     maintainers = with maintainers; [ ];
51   };