Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 31 lines 639 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, sqlalchemy 5, python 6}: 7 8buildPythonPackage rec { 9 pname = "sqlalchemy-citext"; 10 version = "1.3-0"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "7d7343037a35153d6f94c3c2f6baf391f88a57651c3bde5d6749d216859ae4c5"; 15 }; 16 17 propagatedBuildInputs = [ 18 sqlalchemy 19 ]; 20 21 checkPhase = '' 22 ${python.interpreter} tests/test_citext.py 23 ''; 24 25 meta = with lib; { 26 description = "A sqlalchemy plugin that allows postgres use of CITEXT"; 27 homepage = https://github.com/mahmoudimus/sqlalchemy-citext; 28 license = licenses.mit; 29 maintainers = [ maintainers.costrouc ]; 30 }; 31}