02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
61 lines
1,014 B
Nix
61 lines
1,014 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, six
|
|
, sqlalchemy
|
|
, colour
|
|
, flexmock
|
|
, jinja2
|
|
, mock
|
|
, pg8000
|
|
, phonenumbers
|
|
, pygments
|
|
, pymysql
|
|
, pytestCheckHook
|
|
, python-dateutil
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sqlalchemy-utils";
|
|
version = "0.38.3";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "SQLAlchemy-Utils";
|
|
sha256 = "sha256-n5r7pgekBFXPcDrfqYRlhL8mFooMWmCnAGO3DWUFH00=";
|
|
};
|
|
|
|
patches = [
|
|
# We don't run MySQL, MSSQL, or PostgreSQL
|
|
./skip-database-tests.patch
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
six
|
|
sqlalchemy
|
|
];
|
|
|
|
checkInputs = [
|
|
colour
|
|
flexmock
|
|
jinja2
|
|
mock
|
|
pg8000
|
|
phonenumbers
|
|
pygments
|
|
pymysql
|
|
pytestCheckHook
|
|
python-dateutil
|
|
];
|
|
|
|
disabledTests = [
|
|
"test_literal_bind"
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|