earlyoom: init at 0.11
This commit is contained in:
parent
8e3d0b8323
commit
5abc164e2d
26
pkgs/os-specific/linux/earlyoom/default.nix
Normal file
26
pkgs/os-specific/linux/earlyoom/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ lib, stdenv, fetchFromGitHub }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "earlyoom-${version}";
|
||||||
|
version = "0.11";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "rfjakob";
|
||||||
|
repo = "earlyoom";
|
||||||
|
rev = "08b7ed8e72feed2eec2e558ba2cfacbf6d469594";
|
||||||
|
sha256 = "1k3xslb70fzk80wlka32l0k2v45qn1xgwyjkjiz85gv6v4mv92vl";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp earlyoom $out/bin
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Early OOM Daemon for Linux";
|
||||||
|
homepage = https://github.com/rfjakob/earlyoom;
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
|
maintainers = with lib.maintainers; [ ];
|
||||||
|
};
|
||||||
|
}
|
@ -851,6 +851,8 @@ with pkgs;
|
|||||||
|
|
||||||
dynamic-colors = callPackage ../tools/misc/dynamic-colors { };
|
dynamic-colors = callPackage ../tools/misc/dynamic-colors { };
|
||||||
|
|
||||||
|
earlyoom = callPackage ../os-specific/linux/earlyoom { };
|
||||||
|
|
||||||
ecasound = callPackage ../applications/audio/ecasound { };
|
ecasound = callPackage ../applications/audio/ecasound { };
|
||||||
|
|
||||||
edac-utils = callPackage ../os-specific/linux/edac-utils { };
|
edac-utils = callPackage ../os-specific/linux/edac-utils { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user