2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage
|
|
|
|
, six, sqlalchemy
|
2021-07-04 02:40:35 +00:00
|
|
|
, mock, pytz, isort, flake8, jinja2, pg8000, pyodbc, pytest, pymysql, python-dateutil
|
2020-04-24 23:36:52 +00:00
|
|
|
, docutils, flexmock, psycopg2, pygments }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sqlalchemy-utils";
|
2022-02-10 20:34:41 +00:00
|
|
|
version = "0.38.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "SQLAlchemy-Utils";
|
2022-02-10 20:34:41 +00:00
|
|
|
sha256 = "9e01d6d3fb52d3926fcd4ea4a13f3540701b751aced0316bff78264402c2ceb4";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
six
|
|
|
|
sqlalchemy
|
|
|
|
];
|
|
|
|
|
|
|
|
# Attempts to access localhost and there's also no database access
|
|
|
|
doCheck = false;
|
|
|
|
checkInputs = [
|
|
|
|
mock
|
|
|
|
pytz
|
|
|
|
isort
|
|
|
|
flake8
|
|
|
|
jinja2
|
|
|
|
pg8000
|
|
|
|
pyodbc
|
|
|
|
pytest
|
|
|
|
pymysql
|
2021-07-04 02:40:35 +00:00
|
|
|
python-dateutil
|
2020-04-24 23:36:52 +00:00
|
|
|
docutils
|
|
|
|
flexmock
|
|
|
|
psycopg2
|
|
|
|
pygments
|
|
|
|
];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest tests
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/kvesteri/sqlalchemy-utils";
|
|
|
|
description = "Various utility functions and datatypes for SQLAlchemy";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ eadwu ];
|
|
|
|
};
|
|
|
|
}
|