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