pythonPackages.agate-sql: format, add pythonImportsCheck, mark broken

This commit is contained in:
Sandro Jäckel 2021-03-07 15:53:42 +01:00
parent 089b96e217
commit 17badcf58a
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,20 +1,24 @@
{ lib, fetchPypi, buildPythonPackage, agate, sqlalchemy, crate }: { lib, fetchPypi, buildPythonPackage, agate, sqlalchemy, crate }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "agate-sql"; pname = "agate-sql";
version = "0.5.5"; version = "0.5.5";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "50a39754babef6cd0d1b1e75763324a49593394fe46ab1ea9546791b5e6b69a7"; sha256 = "50a39754babef6cd0d1b1e75763324a49593394fe46ab1ea9546791b5e6b69a7";
}; };
propagatedBuildInputs = [ agate sqlalchemy crate ]; propagatedBuildInputs = [ agate sqlalchemy crate ];
meta = with lib; { pythonImportsCheck = [ "agatesql" ];
description = "Adds SQL read/write support to agate.";
homepage = "https://github.com/wireservice/agate-sql"; meta = with lib; {
license = with licenses; [ mit ]; description = "Adds SQL read/write support to agate.";
maintainers = with maintainers; [ vrthra ]; 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;
};
} }