uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
36
pkgs/tools/misc/brotab/default.nix
Normal file
36
pkgs/tools/misc/brotab/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib, fetchFromGitHub, glibcLocales, python }:
|
||||
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
version = "1.3.0";
|
||||
pname = "brotab";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "balta2ar";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1ja9qaf3rxm0chgzs5mpw973h7ibb454k9mbfbb2gl12gr9zllyw";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python.pkgs; [
|
||||
requests
|
||||
flask
|
||||
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";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ doronbehar ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue