depot/third_party/nixpkgs/pkgs/development/python-modules/urwid-mitmproxy/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

33 lines
746 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
}:
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 ];
};
}