2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-07-18 16:06:22 +00:00
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, sqlalchemy
|
|
|
|
, sqlalchemy-utils
|
2023-01-20 10:41:00 +00:00
|
|
|
, six
|
2020-07-18 16:06:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "SQLAlchemy-i18n";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "1.1.0";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "de33376483a581ca14218d8f57a114466c5f72b674a95839b6c4564a6e67796f";
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
sqlalchemy
|
|
|
|
sqlalchemy-utils
|
2023-01-20 10:41:00 +00:00
|
|
|
six
|
2020-07-18 16:06:22 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# tests require running a postgresql server
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/kvesteri/sqlalchemy-i18n";
|
|
|
|
description = "Internationalization extension for SQLAlchemy models";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|