depot/third_party/nixpkgs/pkgs/development/python-modules/sqlalchemy-citext/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

37 lines
773 B
Nix

{
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 = with lib; {
description = "Sqlalchemy plugin that allows postgres use of CITEXT";
homepage = "https://github.com/mahmoudimus/sqlalchemy-citext";
license = licenses.mit;
maintainers = [ ];
};
}