blob: b4b6a87471cee34f863b999844ee6b47c06fa14c (
plain)
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
33
34
35
36
37
|
{
lib,
buildPythonPackage,
fetchPypi,
psycopg2,
sqlalchemy,
}:
buildPythonPackage rec {
pname = "sqlalchemy-citext";
version = "1.8.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "a1740e693a9a334e7c8f60ae731083fe75ce6c1605bb9ca6644a6f1f63b15b77";
};
propagatedBuildInputs = [
sqlalchemy
# not listed in `install_requires`, but is imported in citext/__init__.py
psycopg2
];
# tests are not packaged in pypi tarball
doCheck = false;
pythonImportsCheck = [ "citext" ];
meta = {
description = "Sqlalchemy plugin that allows postgres use of CITEXT";
homepage = "https://github.com/mahmoudimus/sqlalchemy-citext";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|