pythonPackages.sqlalchemy-utils: init at 0.34.0
This commit is contained in:
parent
cd878d09d9
commit
eaa81a4cce
2 changed files with 52 additions and 0 deletions
50
pkgs/development/python-modules/sqlalchemy-utils/default.nix
Normal file
50
pkgs/development/python-modules/sqlalchemy-utils/default.nix
Normal file
|
@ -0,0 +1,50 @@
|
|||
{ lib, fetchPypi, buildPythonPackage
|
||||
, six, sqlalchemy
|
||||
, mock, pytz, isort, flake8, jinja2, pg8000, pyodbc, pytest, pymysql, dateutil
|
||||
, docutils, flexmock, psycopg2, pygments }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sqlalchemy-utils";
|
||||
version = "0.34.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "SQLAlchemy-Utils";
|
||||
sha256 = "0rlixs084isgxsvvpz96njqzikvg8x021sgjp4yj71jpd8blvg8f";
|
||||
};
|
||||
|
||||
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
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -4843,6 +4843,8 @@ in {
|
|||
|
||||
sqlalchemy_migrate = callPackage ../development/python-modules/sqlalchemy-migrate { };
|
||||
|
||||
sqlalchemy-utils = callPackage ../development/python-modules/sqlalchemy-utils { };
|
||||
|
||||
staticjinja = callPackage ../development/python-modules/staticjinja { };
|
||||
|
||||
statsmodels = callPackage ../development/python-modules/statsmodels { };
|
||||
|
|
Loading…
Reference in a new issue