tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
earlyoom: init at 0.11
Leon Isenberg
9 years ago
5abc164e
8e3d0b83
+28
2 changed files
expand all
collapse all
unified
split
pkgs
os-specific
linux
earlyoom
default.nix
top-level
all-packages.nix
+26
pkgs/os-specific/linux/earlyoom/default.nix
···
1
1
+
{ lib, stdenv, fetchFromGitHub }:
2
2
+
3
3
+
stdenv.mkDerivation rec {
4
4
+
name = "earlyoom-${version}";
5
5
+
version = "0.11";
6
6
+
7
7
+
src = fetchFromGitHub {
8
8
+
owner = "rfjakob";
9
9
+
repo = "earlyoom";
10
10
+
rev = "08b7ed8e72feed2eec2e558ba2cfacbf6d469594";
11
11
+
sha256 = "1k3xslb70fzk80wlka32l0k2v45qn1xgwyjkjiz85gv6v4mv92vl";
12
12
+
};
13
13
+
14
14
+
installPhase = ''
15
15
+
mkdir -p $out/bin
16
16
+
cp earlyoom $out/bin
17
17
+
'';
18
18
+
19
19
+
meta = {
20
20
+
description = "Early OOM Daemon for Linux";
21
21
+
homepage = https://github.com/rfjakob/earlyoom;
22
22
+
license = lib.licenses.mit;
23
23
+
platforms = lib.platforms.linux;
24
24
+
maintainers = with lib.maintainers; [ ];
25
25
+
};
26
26
+
}
+2
pkgs/top-level/all-packages.nix
···
851
851
852
852
dynamic-colors = callPackage ../tools/misc/dynamic-colors { };
853
853
854
854
+
earlyoom = callPackage ../os-specific/linux/earlyoom { };
855
855
+
854
856
ecasound = callPackage ../applications/audio/ecasound { };
855
857
856
858
edac-utils = callPackage ../os-specific/linux/edac-utils { };