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-06-05 23:47:21 -07:00
|
|
|
version = "1.15.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;
|
2020-06-05 23:47:21 -07:00
|
|
|
sha256 = "eb42ba62fbc048c91d5cf1ac729e0ea4ee329cc526bddafed4e7a8aa6b57fbbb";
|
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
|
|
|
};
|
|
|
|
|
|
|
|
}
|