depot/third_party/nixpkgs/pkgs/development/python-modules/sqlalchemy-citext/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

31 lines
641 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, sqlalchemy
, python
}:
buildPythonPackage rec {
pname = "sqlalchemy-citext";
version = "1.3-0";
src = fetchPypi {
inherit pname version;
sha256 = "7d7343037a35153d6f94c3c2f6baf391f88a57651c3bde5d6749d216859ae4c5";
};
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 ];
};
}