Skip to content

Commit

Permalink
Merge pull request #80522 from doronbehar/update-brotab
Browse files Browse the repository at this point in the history
brotab: 1.1.0 -> 1.2.1
  • Loading branch information
bhipple committed Mar 30, 2020
2 parents 2ce7e4f + 896f19d commit ecfb2b4
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions pkgs/tools/misc/brotab/default.nix
Original file line number Diff line number Diff line change
@@ -1,29 +1,32 @@
{ lib, fetchFromGitHub, glibcLocales, python }:

python.pkgs.buildPythonApplication rec {
version = "1.1.0";
version = "1.2.1";
pname = "brotab";

src = fetchFromGitHub {
owner = "balta2ar";
repo = pname;
rev = version;
sha256 = "17yj5i8p28a7zmixdfa1i4gfc7c2fmdkxlymazasar58dz8m68mw";
sha256 = "14yz0szwzdjvwkw24rma34y6iiwnw9qzsm89gkglc0xxa6msg6j3";
};

propagatedBuildInputs = with python.pkgs; [
requests
flask
requests
pytest
psutil
setuptools
];

checkBuildInputs = with python.pkgs; [
pytest
];

# 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";
Expand Down

0 comments on commit ecfb2b4

Please sign in to comment.