7 stdenv.mkDerivation rec {
12 url = "mirror://sourceforge/limitcpu/cpulimit-${version}.tar.gz";
13 sha256 = "sha256-lGmU7GDznwMJW4m9dOZguJwUyCq6dUVmk5jjArx7I0w=";
16 buildFlags = with stdenv; [
20 else if isFreeBSD then
27 installFlags = [ "PREFIX=$(out)" ];
30 homepage = "https://limitcpu.sourceforge.net/";
31 description = "Tool to throttle the CPU usage of programs";
32 platforms = with platforms; linux ++ freebsd;
33 license = licenses.gpl2Only;
34 maintainers = [ maintainers.rycee ];
35 mainProgram = "cpulimit";