aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/sqlalchemy-i18n/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/sqlalchemy-i18n/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/sqlalchemy-i18n/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/sqlalchemy-i18n/default.nix b/nixpkgs/pkgs/development/python-modules/sqlalchemy-i18n/default.nix
new file mode 100644
index 00000000000..4ef0adefe3e
--- /dev/null
+++ b/nixpkgs/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;
+ };
+}