about summary refs log tree commit diff
path: root/pkgs/development/python-modules/agate-sql/default.nix
blob: fb080bcc11b28c1f67a92af4e1ce103c03d17cfd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, fetchPypi, buildPythonPackage, agate, sqlalchemy, crate }:

buildPythonPackage rec {
  pname = "agate-sql";
  version = "0.5.5";

  src = fetchPypi {
    inherit pname version;
    sha256 = "50a39754babef6cd0d1b1e75763324a49593394fe46ab1ea9546791b5e6b69a7";
  };

  propagatedBuildInputs = [ agate sqlalchemy crate ];

  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;
  };
}