3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/sqlalchemy-citext/default.nix
2020-08-16 19:31:16 +02:00

32 lines
641 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, sqlalchemy
, python
}:
buildPythonPackage rec {
pname = "sqlalchemy-citext";
version = "1.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "69ba00f5505f92a1455a94eefc6d3fcf72dda3691ab5398a0b4d0d8d85bd6aab";
};
propagatedBuildInputs = [
sqlalchemy
];
checkPhase = ''
${python.interpreter} tests/test_citext.py
'';
meta = with lib; {
description = "A sqlalchemy plugin that allows postgres use of CITEXT";
homepage = "https://github.com/mahmoudimus/sqlalchemy-citext";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}