2019-07-18 22:37:43 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, sqlalchemy
|
|
|
|
, python
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sqlalchemy-citext";
|
2020-08-16 18:31:16 +01:00
|
|
|
version = "1.7.0";
|
2019-07-18 22:37:43 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 18:31:16 +01:00
|
|
|
sha256 = "69ba00f5505f92a1455a94eefc6d3fcf72dda3691ab5398a0b4d0d8d85bd6aab";
|
2019-07-18 22:37:43 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
sqlalchemy
|
|
|
|
];
|
|
|
|
|
2020-09-04 17:19:28 +01:00
|
|
|
# tests are not packaged in pypi tarball
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "citext" ];
|
2019-07-18 22:37:43 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A sqlalchemy plugin that allows postgres use of CITEXT";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/mahmoudimus/sqlalchemy-citext";
|
2019-07-18 22:37:43 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|