about summary refs log tree commit diff
path: root/pkgs/development/python-modules/sqlobject
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-01-05 14:50:01 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2022-01-05 14:50:01 +0100
commit50284bd7c0e621c43c93f415f228213c0a029bcb (patch)
treeebe8722853dd8d060c3d3ec9c33c8e6021002525 /pkgs/development/python-modules/sqlobject
parent2dedc1eaa4d18458514f9fd482e7fa0aeb1a83d8 (diff)
python3Packages.sqlobject: disable failing test
Diffstat (limited to 'pkgs/development/python-modules/sqlobject')
-rw-r--r--pkgs/development/python-modules/sqlobject/default.nix26
1 files changed, 22 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/sqlobject/default.nix b/pkgs/development/python-modules/sqlobject/default.nix
index c645a850f4972..817ba2dfc7061 100644
--- a/pkgs/development/python-modules/sqlobject/default.nix
+++ b/pkgs/development/python-modules/sqlobject/default.nix
@@ -9,17 +9,35 @@
 }:
 
 buildPythonPackage rec {
-  pname = "SQLObject";
+  pname = "sqlobject";
   version = "3.9.1";
+  format = "setuptools";
 
   src = fetchPypi {
-    inherit pname version;
+    pname = "SQLObject";
+    inherit version;
     sha256 = "45064184decf7f42d386704e5f47a70dee517d3e449b610506e174025f84d921";
   };
 
-  propagatedBuildInputs = [ FormEncode pastedeploy paste pydispatcher ];
+  propagatedBuildInputs = [
+    FormEncode
+    paste
+    pastedeploy
+    pydispatcher
+  ];
 
-  checkInputs = [ pytestCheckHook ];
+  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";