python311Packages.urwid-mitmproxy: init at 2.1.2.1
This commit is contained in:
parent
2ff705ac55
commit
30358e72db
37
pkgs/development/python-modules/urwid-mitmproxy/default.nix
Normal file
37
pkgs/development/python-modules/urwid-mitmproxy/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -13312,6 +13312,8 @@ self: super: with self; {
|
|||
|
||||
urwidtrees = callPackage ../development/python-modules/urwidtrees { };
|
||||
|
||||
urwid-mitmproxy = callPackage ../development/python-modules/urwid-mitmproxy { };
|
||||
|
||||
urwid-readline = callPackage ../development/python-modules/urwid-readline { };
|
||||
|
||||
usb-devices = callPackage ../development/python-modules/usb-devices { };
|
||||
|
|
Loading…
Reference in a new issue