2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchgit, ... }:
|
2018-06-08 11:45:15 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2018-06-10 19:37:28 +01:00
|
|
|
name = "loadwatch-1.1-1-g6d2544c";
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://woffs.de/git/fd/loadwatch.git";
|
|
|
|
sha256 = "1bhw5ywvhyb6snidsnllfpdi1migy73wg2gchhsfbcpm8aaz9c9b";
|
|
|
|
rev = "6d2544c0caaa8a64bbafc3f851e06b8056c30e6e";
|
2018-06-08 11:45:15 +01:00
|
|
|
};
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
install loadwatch lw-ctl $out/bin
|
|
|
|
'';
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-06-08 11:45:15 +01:00
|
|
|
description = "Run a program using only idle cycles";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ woffs ];
|
2021-03-04 08:06:03 +00:00
|
|
|
platforms = platforms.all;
|
2018-06-08 11:45:15 +01:00
|
|
|
};
|
|
|
|
}
|