about summary refs log tree commit diff
path: root/pkgs/tools/system/loadwatch/default.nix
blob: ea1de93b2709273bb4b9a1f2f7c7ef665fbec29a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ stdenv, fetchurl, ... }:

stdenv.mkDerivation {
  name = "loadwatch-1.1";
  src = fetchurl {
    url = "mirror://debian/pool/main/l/loadwatch/loadwatch_1.0+1.1alpha1.orig.tar.gz";
    sha256 = "1abjl3cy4sa4ivdm7wghv9rq93h8kix4wjbiv7pb906rdqs4881a";
  };
  installPhase = ''
    mkdir -p $out/bin
    install loadwatch lw-ctl $out/bin
  '';
  meta = with stdenv.lib; {
    description = "Run a program using only idle cycles";
    license = licenses.gpl2;
    maintainers = with maintainers; [ woffs ];
    platforms = platforms.linux;
  };
}