about summary refs log tree commit diff
path: root/pkgs/development/python-modules/agate-sql
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-03-07 15:53:42 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2021-03-08 02:01:16 +0100
commit17badcf58ad1a05e3a5d3b6eaf9db336bcb6121d (patch)
tree5502a6df8874d16d79b68f2e07c8fc69157aae74 /pkgs/development/python-modules/agate-sql
parent089b96e21799af481bfb51075660652aa0a93a47 (diff)
pythonPackages.agate-sql: format, add pythonImportsCheck, mark broken
Diffstat (limited to 'pkgs/development/python-modules/agate-sql')
-rw-r--r--pkgs/development/python-modules/agate-sql/default.nix30
1 files changed, 17 insertions, 13 deletions
diff --git a/pkgs/development/python-modules/agate-sql/default.nix b/pkgs/development/python-modules/agate-sql/default.nix
index 29bbfa81ed230..fb080bcc11b28 100644
--- a/pkgs/development/python-modules/agate-sql/default.nix
+++ b/pkgs/development/python-modules/agate-sql/default.nix
@@ -1,20 +1,24 @@
 { lib, fetchPypi, buildPythonPackage, agate, sqlalchemy, crate }:
 
 buildPythonPackage rec {
-    pname = "agate-sql";
-    version = "0.5.5";
+  pname = "agate-sql";
+  version = "0.5.5";
 
-    src = fetchPypi {
-      inherit pname version;
-      sha256 = "50a39754babef6cd0d1b1e75763324a49593394fe46ab1ea9546791b5e6b69a7";
-    };
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "50a39754babef6cd0d1b1e75763324a49593394fe46ab1ea9546791b5e6b69a7";
+  };
 
-    propagatedBuildInputs = [ agate sqlalchemy crate ];
+  propagatedBuildInputs = [ agate sqlalchemy crate ];
 
-    meta = with lib; {
-      description = "Adds SQL read/write support to agate.";
-      homepage    = "https://github.com/wireservice/agate-sql";
-      license     = with licenses; [ mit ];
-      maintainers = with maintainers; [ vrthra ];
-    };
+  pythonImportsCheck = [ "agatesql" ];
+
+  meta = with lib; {
+    description = "Adds SQL read/write support to agate.";
+    homepage = "https://github.com/wireservice/agate-sql";
+    license = with licenses; [ mit ];
+    maintainers = with maintainers; [ vrthra ];
+    # FAIL: test_to_sql_create_statement_with_schema (tests.test_agatesql.TestSQL)
+    broken = true;
+  };
 }