depot/third_party/nixpkgs/pkgs/development/python-modules/sqlalchemy-utils/default.nix
Default email 14910f5943 Project import generated by Copybara.
GitOrigin-RevId: 5aaed40d22f0d9376330b6fa413223435ad6fee5
2022-01-13 15:06:32 -05:00

50 lines
1 KiB
Nix

{ lib, fetchPypi, buildPythonPackage
, six, sqlalchemy
, mock, pytz, isort, flake8, jinja2, pg8000, pyodbc, pytest, pymysql, python-dateutil
, docutils, flexmock, psycopg2, pygments }:
buildPythonPackage rec {
pname = "sqlalchemy-utils";
version = "0.37.9";
src = fetchPypi {
inherit version;
pname = "SQLAlchemy-Utils";
sha256 = "4667edbdcb1ece011076b69772ef524bfbb17cc97e03f11ee6b85d98e7741d61";
};
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
python-dateutil
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 ];
};
}