From 103720697112b6c36be8eb1a5d6cabb6aa0720f4 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Sat, 15 Feb 2020 08:51:41 -0800 Subject: [PATCH] pythonPackages.babelgladeextractor: disable for python2 Uses python3 specific calls in setup.py: ``` File "setup.py", line 23, in _slurp with open(path, encoding="utf-8") as fp: TypeError: 'encoding' is an invalid keyword argument for this function ``` --- pkgs/development/python-modules/babelgladeextractor/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/babelgladeextractor/default.nix b/pkgs/development/python-modules/babelgladeextractor/default.nix index 7b73396155c..0df03754127 100644 --- a/pkgs/development/python-modules/babelgladeextractor/default.nix +++ b/pkgs/development/python-modules/babelgladeextractor/default.nix @@ -9,6 +9,7 @@ buildPythonPackage rec { pname = "babelgladeextractor"; version = "0.7.0"; + disabled = (!isPy3k); # uses python3 specific file io in setup.py src = fetchPypi { pname = "BabelGladeExtractor";