1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 08:34:50 +00:00
nixpkgs/pkgs/development/python-modules/sqlalchemy-citext/default.nix
2020-06-11 10:00:22 +02:00

32 lines
641 B
Nix

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