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
35
pkgs/tools/system/s-tui/default.nix
Normal file
35
pkgs/tools/system/s-tui/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, python3Packages
|
||||
, nix-update-script
|
||||
, s-tui
|
||||
, testers
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
pname = "s-tui";
|
||||
version = "1.1.3";
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-t3h8d0yc7i3UvO8CVfBd3/3h3RfGN6yE6hutymOZUdA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
urwid
|
||||
psutil
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { attrPath = pname; };
|
||||
tests = testers.testVersion { package = s-tui; };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://amanusk.github.io/s-tui/";
|
||||
description = "Stress-Terminal UI monitoring tool";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ infinisil ];
|
||||
broken = stdenv.isDarwin; # https://github.com/amanusk/s-tui/issues/49
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue