python.pkgs.pg8000: does not support Python 2.7 (#60220)

* python.pkgs.pg8000: does not support Python 2.7

* python3.pkgs.pg8000: update propagatedBuildInputs
This commit is contained in:
Robert Schütz 2019-04-27 07:47:38 +02:00 committed by Frederik Rietdijk
parent 900dfa2705
commit a416ef58b7

View File

@ -1,20 +1,22 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pytz , isPy3k
, six , passlib
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pg8000"; pname = "pg8000";
version = "1.13.1"; version = "1.13.1";
disabled = !isPy3k;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "2208c7aaffe8d61f5c4ccbefeb74ba033003899e64aee37c0eb98aadae8b9c6b"; sha256 = "2208c7aaffe8d61f5c4ccbefeb74ba033003899e64aee37c0eb98aadae8b9c6b";
}; };
propagatedBuildInputs = [ pytz six ]; propagatedBuildInputs = [ passlib ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/tlocke/pg8000; homepage = https://github.com/tlocke/pg8000;