1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 fetchpatch, 6 glibcLocales, 7 pythonOlder, 8 unittestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "urwid-mitmproxy"; 13 version = "2.1.2.1"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "mitmproxy"; 20 repo = "urwid-mitmproxy"; 21 rev = "refs/tags/${version}"; 22 hash = "sha256-93AauYWbrG/2smAhbNKGE0twGJZ2u9gBetlXGCpciH8="; 23 }; 24 25 pythonImportsCheck = [ "urwid" ]; 26 27 # Tests which assert on strings don't decode results correctly, see urwid 28 doCheck = false; 29 30 meta = with lib; { 31 description = "Urwid fork used by mitmproxy"; 32 homepage = "https://github.com/mitmproxy/urwid-mitmproxy"; 33 license = licenses.lgpl21Plus; 34 maintainers = with maintainers; [ fab ]; 35 }; 36}