python.pkgs.urwid: fix tests

This commit is contained in:
Joerg Thalheim 2017-11-02 22:41:03 +00:00
parent b2e6b56016
commit 14d3a7d744

View File

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi }:
{ stdenv, buildPythonPackage, fetchPypi, fetchpatch }:
buildPythonPackage (rec {
pname = "urwid";
@ -10,6 +10,19 @@ buildPythonPackage (rec {
sha256 = "18cnd1wdjcas08x5qwa5ayw6jsfcn33w4d9f7q3s29fy6qzc1kng";
};
patches = [
# fix tests
(fetchpatch {
url = "https://github.com/mwhudson/urwid/commit/4b0ed8b6030450e6d99909a7c683e9642e546387.patch";
sha256 = "0azpn0ylbg8mfpr0y27n4lnq0ph75a4d4m9wdv3napnhf1vh9ahx";
})
# fix tests
(fetchpatch {
url = "https://github.com/floppym/urwid/commit/f68f2cf089cfd5ec45863baf59a91d5aeb0cf5c3.patch";
sha256 = "1b3vz7mrwz2bqvdwvbyv2j835f9lzapgw0j2km4sam76bxmgfpgq";
})
];
meta = with stdenv.lib; {
description = "A full-featured console (xterm et al.) user interface library";
homepage = http://excess.org/urwid;