Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 36 lines 773 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, psycopg2 5, sqlalchemy 6, python 7}: 8 9buildPythonPackage rec { 10 pname = "sqlalchemy-citext"; 11 version = "1.8.0"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "a1740e693a9a334e7c8f60ae731083fe75ce6c1605bb9ca6644a6f1f63b15b77"; 16 }; 17 18 propagatedBuildInputs = [ 19 sqlalchemy 20 21 # not listed in `install_requires`, but is imported in citext/__init__.py 22 psycopg2 23 ]; 24 25 # tests are not packaged in pypi tarball 26 doCheck = false; 27 28 pythonImportsCheck = [ "citext" ]; 29 30 meta = with lib; { 31 description = "A sqlalchemy plugin that allows postgres use of CITEXT"; 32 homepage = "https://github.com/mahmoudimus/sqlalchemy-citext"; 33 license = licenses.mit; 34 maintainers = [ maintainers.costrouc ]; 35 }; 36}