mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
e7af719b96
adopted the source and fixed the compiler warnings
21 lines
571 B
Nix
21 lines
571 B
Nix
{ stdenv, fetchgit, ... }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "loadwatch-1.1-1-g6d2544c";
|
|
src = fetchgit {
|
|
url = "git://woffs.de/git/fd/loadwatch.git";
|
|
sha256 = "1bhw5ywvhyb6snidsnllfpdi1migy73wg2gchhsfbcpm8aaz9c9b";
|
|
rev = "6d2544c0caaa8a64bbafc3f851e06b8056c30e6e";
|
|
};
|
|
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;
|
|
};
|
|
}
|