pythonPackages.asyncio: refactor disable for anything but 34

This commit is contained in:
Chris Ostrouchov
2018-12-03 16:50:41 +01:00
committed by Frederik Rietdijk
parent c38fb3f89c
commit ef66dfe40c
@@ -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;