summary refs log tree commit diff
diff options
context:
space:
mode:
authorLancelot SIX <lsix@lancelotsix.com>2017-05-02 22:10:58 +0200
committerLancelot SIX <lsix@lancelotsix.com>2017-05-03 22:33:04 +0200
commit8adb26319f48eec7e8af65ac1b4b726d7bd715e4 (patch)
tree9a3c32549c73fe200186407ade3729e7bd24361f
parent78db95cd52f5831a945f8e8a62a5c6360ea655e5 (diff)
downloadnixlib-8adb26319f48eec7e8af65ac1b4b726d7bd715e4.tar
nixlib-8adb26319f48eec7e8af65ac1b4b726d7bd715e4.tar.gz
nixlib-8adb26319f48eec7e8af65ac1b4b726d7bd715e4.tar.bz2
nixlib-8adb26319f48eec7e8af65ac1b4b726d7bd715e4.tar.lz
nixlib-8adb26319f48eec7e8af65ac1b4b726d7bd715e4.tar.xz
nixlib-8adb26319f48eec7e8af65ac1b4b726d7bd715e4.tar.zst
nixlib-8adb26319f48eec7e8af65ac1b4b726d7bd715e4.zip
pythonPackages.pytest-asyncio: enable only for python3
-rw-r--r--pkgs/development/python-modules/pytest-asyncio/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/pytest-asyncio/default.nix b/pkgs/development/python-modules/pytest-asyncio/default.nix
index a8e3f7e02685..966a207e50cf 100644
--- a/pkgs/development/python-modules/pytest-asyncio/default.nix
+++ b/pkgs/development/python-modules/pytest-asyncio/default.nix
@@ -1,9 +1,11 @@
-{ stdenv, buildPythonPackage, fetchurl, pytest }:
+{ stdenv, buildPythonPackage, fetchurl, pytest, isPy3k }:
 buildPythonPackage rec {
   name = "${pname}-${version}";
   pname = "pytest-asyncio";
   version = "0.5.0";
 
+  disabled = !isPy3k;
+
   src = fetchurl {
     url = "mirror://pypi/p/${pname}/${name}.tar.gz";
     sha256 = "03sxq8fglr4lw4y6wqlbli9ypr65fxzx6hlpn5wpccx8v5472iff";