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