Merge pull request #57092 from Infinisil/fix/turses

turses: Fix
This commit is contained in:
worldofpeace 2019-03-08 20:27:15 -05:00 committed by GitHub
commit 2ef7d171f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,11 @@
{ stdenv, python3Packages }:
{ stdenv, python36Packages }:
with stdenv.lib;
with python3Packages;
# Needs Python <3.7 for now, see https://github.com/louipc/turses/issues/4
with python36Packages;
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "turses";
version = "0.3.1";
@ -13,7 +14,9 @@ buildPythonPackage rec {
sha256 = "15mkhm3b5ka42h8qph0mhh8izfc1200v7651c62k7ldcs50ib9j6";
};
buildInputs = [ mock pytest coverage tox ];
disabled = ! python36Packages.pythonOlder "3.7";
checkInputs = [ mock pytest coverage tox ];
propagatedBuildInputs = [ urwid tweepy future ];
checkPhase = ''