mirror of
https://github.com/FliegendeWurst/nur-packages.git
synced 2024-11-08 10:20:38 +00:00
26 lines
643 B
Nix
26 lines
643 B
Nix
{ stdenv, lib, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "freqtop";
|
|
version = "2022-02-01";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "stolk";
|
|
repo = "freqtop";
|
|
rev = "d364fe9207e1d89e91bdbe67ca4d49c94ce0d6e0";
|
|
sha256 = "06qb8mxcpgnsd6f069lfmag719qdi7kwak8q61isqwilwdcs4qg5";
|
|
};
|
|
|
|
installPhase = ''
|
|
install -D -m755 freqtop $out/bin/freqtop
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Monitor for the CPU Frequency Scaling under Linux";
|
|
homepage = "https://github.com/stolk/freqtop";
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ fliegendewurst ];
|
|
};
|
|
}
|