pythonPackages.coloredlogs: remove obsolete patch
This commit is contained in:
parent
c057e8df83
commit
e5a097a8cd
1 changed files with 10 additions and 8 deletions
|
@ -1,4 +1,13 @@
|
||||||
{ lib, buildPythonPackage, fetchFromGitHub, stdenv, isPy3k, fetchpatch, humanfriendly, verboselogs, capturer, pytest, mock, utillinux }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, humanfriendly
|
||||||
|
, verboselogs
|
||||||
|
, capturer
|
||||||
|
, pytest
|
||||||
|
, mock
|
||||||
|
, utillinux
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "coloredlogs";
|
pname = "coloredlogs";
|
||||||
|
@ -11,13 +20,6 @@ buildPythonPackage rec {
|
||||||
sha256 = "0rnmxwrim4razlv4vi3krxk5lc5ksck6h5374j8avqwplika7q2x";
|
sha256 = "0rnmxwrim4razlv4vi3krxk5lc5ksck6h5374j8avqwplika7q2x";
|
||||||
};
|
};
|
||||||
|
|
||||||
# patch by risicle
|
|
||||||
patches = lib.optional (stdenv.isDarwin && isPy3k) (fetchpatch {
|
|
||||||
name = "darwin-py3-capture-fix.patch";
|
|
||||||
url = "https://github.com/xolox/python-coloredlogs/pull/74.patch";
|
|
||||||
sha256 = "0pk7k94iz0gdripw623vzdl4hd83vwhsfzshl8pbvh1n6swi0xx9";
|
|
||||||
});
|
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
PATH=$PATH:$out/bin pytest . -k "not test_plain_text_output_format \
|
PATH=$PATH:$out/bin pytest . -k "not test_plain_text_output_format \
|
||||||
and not test_auto_install"
|
and not test_auto_install"
|
||||||
|
|
Loading…
Reference in a new issue