nixpkgs/pkgs/os-specific/linux/earlyoom/default.nix
R. RyanTM e5508a4f28 earlyoom: 1.1 -> 1.2 (#50119)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/earlyoom/versions
2018-11-10 15:22:41 +01:00

27 lines
667 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "earlyoom-${VERSION}";
# This environment variable is read by make to set the build version.
VERSION = "1.2";
src = fetchFromGitHub {
owner = "rfjakob";
repo = "earlyoom";
rev = "v${VERSION}";
sha256 = "0bpqlbsjcmcizgw75j1zyw1sp2cgwhaar9y70sibw1km011yqbzd";
};
installPhase = ''
install -D earlyoom $out/bin/earlyoom
'';
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; [ ];
};
}