summary refs log tree commit diff
path: root/pkgs/development/python-modules/sqlalchemy-i18n/default.nix
blob: 4ef0adefe3e74bee67b65421d045d7269312866a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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;
  };
}