Commit ca12846a authored by Anthony Roussel's avatar Anthony Roussel Committed by Anthony ROUSSEL
Browse files

nagiosPlugins.check_uptime: 20161112 -> unstable-2016-11-12

parent 8715f2d2
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -6,26 +6,28 @@
}:

stdenv.mkDerivation {
  pname = "check_uptime";
  version = "20161112";
  pname = "check-uptime";
  version = "unstable-2016-11-12";

  src = fetchFromGitHub {
    owner = "madrisan";
    repo = "nagios-plugins-uptime";
    rev = "51822dacd1d404b3eabf3b4984c64b2475ed6f3b";
    sha256 = "18q9ibzqn97dsyr9xs3w9mqk80nmmfw3kcjidrdsj542amlsycyk";
    hash = "sha256-0zOvaVWCFKlbblGyObir1QI0cU186J6y1+0ki/+KCaM=";
  };

  nativeBuildInputs = [ autoreconfHook ];

  enableParallelBuilding = true;

  postInstall = "ln -sr $out/libexec $out/bin";
  postInstall = ''
    ln -sr $out/libexec $out/bin
  '';

  meta = {
    description = "Uptime check plugin for Sensu/Nagios/others";
    homepage = "https://github.com/madrisan/nagios-plugins-uptime";
    license = lib.licenses.gpl3;
    license = lib.licenses.gpl3Plus;
    mainProgram = "check_uptime";
    maintainers = with lib.maintainers; [ peterhoeg ];
  };