Merge pull request #73777 from doronbehar/package-brotab

brotab: init at 0.0.5
This commit is contained in:
Daniel Schaefer 2020-02-11 20:49:06 +01:00 committed by GitHub
commit 8cc8b3b235
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ lib, fetchFromGitHub, glibcLocales, python }:
python.pkgs.buildPythonApplication rec {
version = "1.1.0";
pname = "brotab";
src = fetchFromGitHub {
owner = "balta2ar";
repo = pname;
rev = version;
sha256 = "17yj5i8p28a7zmixdfa1i4gfc7c2fmdkxlymazasar58dz8m68mw";
};
propagatedBuildInputs = with python.pkgs; [
requests
flask
requests
pytest
psutil
];
# test_integration.py requires Chrome browser session
checkPhase = ''
${python.interpreter} -m unittest brotab/tests/test_{brotab,utils}.py
'';
meta = with lib; {
homepage = "https://github.com/balta2ar/brotab";
description = "Control your browser's tabs from the command line";
license = licenses.mit;
maintainers = with maintainers; [ doronbehar ];
};
}

View File

@ -18435,6 +18435,10 @@ in
browsh = callPackage ../applications/networking/browsers/browsh { };
brotab = callPackage ../tools/misc/brotab {
python = python3;
};
bookworm = callPackage ../applications/office/bookworm { };
chromium = callPackage ../applications/networking/browsers/chromium (config.chromium or {});