Skip to content

Commit

Permalink
turses: Fix
Browse files Browse the repository at this point in the history
(cherry picked from commit 308dfc1)
  • Loading branch information
infinisil authored and worldofpeace committed Mar 9, 2019
1 parent 70f1335 commit f0fb7c6
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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";

Expand All @@ -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 = ''
Expand Down

0 comments on commit f0fb7c6

Please sign in to comment.