about summary refs log tree commit diff
path: root/users/multi/pkgs/htop/default.nix
blob: f023410bd2a380f33fe1ec7dc32bc333028adebd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ 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;
      })