5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
37 lines
794 B
Nix
37 lines
794 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, fetchpatch
|
|
, glibcLocales
|
|
, pythonOlder
|
|
, unittestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "urwid-mitmproxy";
|
|
version = "2.1.2.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mitmproxy";
|
|
repo = "urwid-mitmproxy";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-93AauYWbrG/2smAhbNKGE0twGJZ2u9gBetlXGCpciH8=";
|
|
};
|
|
|
|
pythonImportsCheck = [
|
|
"urwid"
|
|
];
|
|
|
|
# Tests which assert on strings don't decode results correctly, see urwid
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Urwid fork used by mitmproxy";
|
|
homepage = "https://github.com/mitmproxy/urwid-mitmproxy";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|