@@ -1,4 +1,13 @@
1−{ lib, buildPythonPackage, fetchFromGitHub, stdenv, isPy3k, fetchpatch, humanfriendly, verboselogs, capturer, pytest, mock, utillinux }:
1+{ lib
2+, buildPythonPackage
3+, fetchFromGitHub
4+, humanfriendly
5+, verboselogs
6+, capturer
7+, pytest
8+, mock
9+, utillinux
10+}:
211
312buildPythonPackage rec {
413 pname = "coloredlogs";
@@ -11,13 +20,6 @@ buildPythonPackage rec {
1120 sha256 = "0rnmxwrim4razlv4vi3krxk5lc5ksck6h5374j8avqwplika7q2x";
1221 };
1322
14− # patch by risicle
15− patches = lib.optional (stdenv.isDarwin && isPy3k) (fetchpatch {
16− name = "darwin-py3-capture-fix.patch";
17− url = "https://github.com/xolox/python-coloredlogs/pull/74.patch";
18− sha256 = "0pk7k94iz0gdripw623vzdl4hd83vwhsfzshl8pbvh1n6swi0xx9";
19− });
20−
2123 checkPhase = ''
2224 PATH=$PATH:$out/bin pytest . -k "not test_plain_text_output_format \
2325 and not test_auto_install"