1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/system/loadwatch/default.nix

20 lines
544 B
Nix
Raw Normal View History

2018-06-08 11:45:15 +01:00
{ 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;
};
}