2018-10-25 18:25:00 -07:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-04-26 22:47:38 -07:00
|
|
|
, isPy3k
|
|
|
|
, passlib
|
2018-10-25 18:25:00 -07:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pg8000";
|
2019-10-16 02:43:11 -07:00
|
|
|
version = "1.13.2";
|
2018-10-25 18:25:00 -07:00
|
|
|
|
2019-04-26 22:47:38 -07:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2018-10-25 18:25:00 -07:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-16 02:43:11 -07:00
|
|
|
sha256 = "eebcb4176a7e407987e525a07454882f611985e0becb2b73f76efb93bbdc0aab";
|
2018-10-25 18:25:00 -07:00
|
|
|
};
|
|
|
|
|
2019-04-26 22:47:38 -07:00
|
|
|
propagatedBuildInputs = [ passlib ];
|
2018-10-25 18:25:00 -07:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/tlocke/pg8000";
|
2018-10-25 18:25:00 -07:00
|
|
|
description = "PostgreSQL interface library, for asyncio";
|
2019-07-03 02:27:39 -07:00
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
2019-02-17 05:00:33 -08:00
|
|
|
platforms = platforms.unix;
|
2018-10-25 18:25:00 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|