1 { lib, fetchFromGitHub, fetchpatch, python }:
3 python.pkgs.buildPythonApplication rec {
8 src = fetchFromGitHub {
12 hash = "sha256-HKKjiW++FwjdorqquSCIdi1InE6KbMbFKZFYHBxzg8Q=";
16 # https://github.com/balta2ar/brotab/pull/102
18 name = "remove-unnecessary-pip-import.patch";
19 url = "https://github.com/balta2ar/brotab/commit/825cd48f255c911aabbfb495f6b8fc73f27d3fe5.patch";
20 hash = "sha256-IN28AOLPKPUc3KkxIGFMpZNNXA1+O12NxS+Hl4KMXbg=";
24 propagatedBuildInputs = with python.pkgs; [
32 substituteInPlace requirements/base.txt \
33 --replace "Flask==2.0.2" "Flask>=2.0.2" \
34 --replace "psutil==5.8.0" "psutil>=5.8.0" \
35 --replace "requests==2.24.0" "requests>=2.24.0"
38 __darwinAllowLocalNetworking = true;
40 nativeCheckInputs = with python.pkgs; [
45 homepage = "https://github.com/balta2ar/brotab";
46 description = "Control your browser's tabs from the command line";
47 license = licenses.mit;
48 maintainers = with maintainers; [ doronbehar ];