diff options
author | Symphorien Gibol <symphorien+git@xlumurb.eu> | 2020-04-24 12:00:00 +0000 |
---|---|---|
committer | Symphorien Gibol <symphorien+git@xlumurb.eu> | 2020-07-06 18:35:21 +0200 |
commit | 7918f8c47acce77b282792cb8fa7b8efc9e99bbc (patch) | |
tree | 2ee8e49ad34f86bc09fe235c14295a803d597cf6 /pkgs/development/python-modules/sqlalchemy-i18n | |
parent | a71acfeb0bab7bf375bb74b810d5f95964f8a1cc (diff) |
python3Packages.sqlalchemy-i18n: init at 1.0.3
Diffstat (limited to 'pkgs/development/python-modules/sqlalchemy-i18n')
-rw-r--r-- | pkgs/development/python-modules/sqlalchemy-i18n/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/sqlalchemy-i18n/default.nix b/pkgs/development/python-modules/sqlalchemy-i18n/default.nix new file mode 100644 index 0000000000000..4ef0adefe3e74 --- /dev/null +++ b/pkgs/development/python-modules/sqlalchemy-i18n/default.nix @@ -0,0 +1,32 @@ +{ stdenv +, lib +, fetchPypi +, buildPythonPackage +, sqlalchemy +, sqlalchemy-utils +, psycopg2 +}: + +buildPythonPackage rec { + pname = "SQLAlchemy-i18n"; + version = "1.0.3"; + + src = fetchPypi { + inherit pname version; + sha256 = "15xah8643p29kciz365ixs9pbsflj92pzr2d9anbdh2biyf4cka8"; + }; + + 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; + }; +} |