diff options
Diffstat (limited to 'pkgs/os-specific/linux/earlyoom')
-rw-r--r-- | pkgs/os-specific/linux/earlyoom/default.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/os-specific/linux/earlyoom/default.nix b/pkgs/os-specific/linux/earlyoom/default.nix index 575da8aca73..930e9381bb7 100644 --- a/pkgs/os-specific/linux/earlyoom/default.nix +++ b/pkgs/os-specific/linux/earlyoom/default.nix @@ -1,17 +1,17 @@ -{ stdenv, fetchFromGitHub, pandoc, installShellFiles, withManpage ? false }: +{ lib, stdenv, fetchFromGitHub, pandoc, installShellFiles, withManpage ? false }: stdenv.mkDerivation rec { pname = "earlyoom"; - version = "1.6.1"; + version = "1.6.2"; src = fetchFromGitHub { owner = "rfjakob"; repo = "earlyoom"; rev = "v${version}"; - sha256 = "1cn0bgbgiq69i8mk8zxly1f7j01afm82g672qzccz6swsi2637j4"; + sha256 = "16iyn51xlrsbshc7p5xl2338yyfzknaqc538sa7mamgccqwgyvvq"; }; - nativeBuildInputs = stdenv.lib.optionals withManpage [ pandoc installShellFiles ]; + nativeBuildInputs = lib.optionals withManpage [ pandoc installShellFiles ]; patches = [ ./fix-dbus-path.patch ]; @@ -19,11 +19,11 @@ stdenv.mkDerivation rec { installPhase = '' install -D earlyoom $out/bin/earlyoom - '' + stdenv.lib.optionalString withManpage '' + '' + lib.optionalString withManpage '' installManPage earlyoom.1 ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Early OOM Daemon for Linux"; homepage = "https://github.com/rfjakob/earlyoom"; license = licenses.mit; |