pythonPackages.asyncio: refactor disable for anything but 34

This commit is contained in:
Chris Ostrouchov 2018-12-02 08:10:58 -05:00 committed by Frederik Rietdijk
parent c38fb3f89c
commit ef66dfe40c

View file

@ -1,9 +1,9 @@
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder }:
{ stdenv, buildPythonPackage, fetchPypi, isPy34 }:
buildPythonPackage rec {
pname = "asyncio";
version = "3.4.3";
disabled = pythonOlder "3.3";
disabled = !isPy34;
src = fetchPypi {
inherit pname version;