python2Packages.screeninfo: disable python2

This commit is contained in:
Jonathan Ringer 2020-11-05 20:26:57 -08:00
parent aef2a4e684
commit 90aa139224

View File

@ -1,8 +1,9 @@
{ stdenv, buildPythonApplication, fetchPypi, isPy36, dataclasses, libX11, libXinerama, libXrandr }:
{ stdenv, buildPythonApplication, fetchPypi, isPy27, isPy36, dataclasses, libX11, libXinerama, libXrandr }:
buildPythonApplication rec {
pname = "screeninfo";
version = "0.6.6";
disabled = isPy27; # dataclasses isn't available for python2
src = fetchPypi {
inherit pname version;