4331bc8da7
- htop has moved upstreams, which has been producing new releases, so update the derivation to pull from the new repository on GitHub. - All of the patches I have locally have been merged upstream, so drop them from the depot. - Pull from a reasonably recent git commit instead of from a numbered release, as the ZFS ARC stats and CPU meter columnation patches haven't made it into a release yet. Change-Id: I66ad4c035df07709abf4f75a9d4e1486920091d0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2105 Reviewed-by: multi <depot@in-addr.xyz> Tested-by: BuildkiteCI
19 lines
453 B
Nix
19 lines
453 B
Nix
{ pkgs, ... }:
|
|
|
|
let
|
|
newVer = "3.0.2";
|
|
|
|
newSrc = pkgs.fetchFromGitHub {
|
|
owner = "htop-dev";
|
|
repo = "htop";
|
|
rev = "59ef15b2ad6037f40d7fe4207b2b59dd11b14b8b";
|
|
sha256 = "0sirwfvqwwq2x2k25vd4k4cf9d5qv17yjizidxq4y5xfh2v0djmd";
|
|
};
|
|
in
|
|
with pkgs; htop.overrideAttrs
|
|
({ nativeBuildInputs ? [], ... }:
|
|
{
|
|
nativeBuildInputs = nativeBuildInputs ++ [ autoreconfHook ];
|
|
src = newSrc;
|
|
version = newVer;
|
|
})
|