pythonPackages.affinity: disable for Python 3

This commit is contained in:
Robert Schütz 2018-03-02 02:46:11 +01:00
parent a5e1dfe3e2
commit 143fd427d4

View File

@ -1,13 +1,17 @@
{ lib, buildPythonPackage, fetchPypi }:
{ lib, buildPythonPackage, fetchPypi, isPy3k }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "affinity";
version = "0.1.0";
# syntax error
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1i6j7kszvnzh5vh9k48cqwx2kzf73a6abgv9s6bf0j2zmfjl2wb6";
};
meta = {
description = "control processor affinity on windows and linux";
homepage = http://cheeseshop.python.org/pypi/affinity;