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";
|
2020-10-25 02:06:54 -07:00
|
|
|
version = "1.16.6";
|
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;
|
2020-10-25 02:06:54 -07:00
|
|
|
sha256 = "8fc1e6a62ccb7c9830f1e7e9288e2d20eaf373cc8875b5c55b7d5d9b7717be91";
|
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
|
|
|
};
|
|
|
|
|
|
|
|
}
|