841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
31 lines
625 B
Nix
31 lines
625 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, sqlalchemy
|
|
, sqlalchemy-utils
|
|
, psycopg2
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "SQLAlchemy-i18n";
|
|
version = "1.1.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "de33376483a581ca14218d8f57a114466c5f72b674a95839b6c4564a6e67796f";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
sqlalchemy
|
|
sqlalchemy-utils
|
|
];
|
|
|
|
# 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;
|
|
};
|
|
}
|