brotab: 1.1.0 -> 1.2.1
Cleanup and fix deps a little bit.
This commit is contained in:
parent
329102c47b
commit
896f19d28c
@ -1,29 +1,32 @@
|
|||||||
{ lib, fetchFromGitHub, glibcLocales, python }:
|
{ lib, fetchFromGitHub, glibcLocales, python }:
|
||||||
|
|
||||||
python.pkgs.buildPythonApplication rec {
|
python.pkgs.buildPythonApplication rec {
|
||||||
version = "1.1.0";
|
version = "1.2.1";
|
||||||
pname = "brotab";
|
pname = "brotab";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "balta2ar";
|
owner = "balta2ar";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "17yj5i8p28a7zmixdfa1i4gfc7c2fmdkxlymazasar58dz8m68mw";
|
sha256 = "14yz0szwzdjvwkw24rma34y6iiwnw9qzsm89gkglc0xxa6msg6j3";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python.pkgs; [
|
propagatedBuildInputs = with python.pkgs; [
|
||||||
requests
|
requests
|
||||||
flask
|
flask
|
||||||
requests
|
|
||||||
pytest
|
|
||||||
psutil
|
psutil
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
|
checkBuildInputs = with python.pkgs; [
|
||||||
|
pytest
|
||||||
];
|
];
|
||||||
|
|
||||||
# test_integration.py requires Chrome browser session
|
# test_integration.py requires Chrome browser session
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
${python.interpreter} -m unittest brotab/tests/test_{brotab,utils}.py
|
${python.interpreter} -m unittest brotab/tests/test_{brotab,utils}.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/balta2ar/brotab";
|
homepage = "https://github.com/balta2ar/brotab";
|
||||||
description = "Control your browser's tabs from the command line";
|
description = "Control your browser's tabs from the command line";
|
||||||
|
Loading…
Reference in New Issue
Block a user