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
40
pkgs/tools/filesystems/zpool-iostat-viz/default.nix
Normal file
40
pkgs/tools/filesystems/zpool-iostat-viz/default.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3Packages
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "zpool-iostat-viz";
|
||||
version = "unstable-2021-11-13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chadmiller";
|
||||
repo = pname;
|
||||
rev = "cdd8f3d882ab7a9990fb2d26af3e5b2bcc4bb312";
|
||||
sha256 = "sha256-vNXD5SauBpCtP7VPTumQ0/wXfW0PjtooS21cjpAole8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
python3Packages.wrapPython
|
||||
];
|
||||
|
||||
# There is no setup.py
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
doCheck = false;
|
||||
|
||||
installPhase = ''
|
||||
wrapPythonPrograms
|
||||
install -D zpool-iostat-viz $out/bin/zpool-iostat-viz
|
||||
installManPage zpool-iostat-viz.1
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "\"zpool iostats\" for humans; find the slow parts of your ZFS pool";
|
||||
homepage = "https://github.com/chadmiller/zpool-iostat-viz";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ julm ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue