tvl-depot/users/multi/pkgs/htop/default.nix
multi 4331bc8da7 chore(users/multi): Update htop derivation for new upstream.
- 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
2020-11-18 00:29:58 +00:00

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;
})