Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
771 B · 34 lines
Nix
1234567891011121314151617181920212223242526272829303132333435{ autoreconfHook, fetchFromGitHub, lib, stdenv,}:
stdenv.mkDerivation { pname = "check-uptime"; version = "0-unstable-2016-11-12";
src = fetchFromGitHub { owner = "madrisan"; repo = "nagios-plugins-uptime"; rev = "51822dacd1d404b3eabf3b4984c64b2475ed6f3b"; hash = "sha256-0zOvaVWCFKlbblGyObir1QI0cU186J6y1+0ki/+KCaM="; };
nativeBuildInputs = [ autoreconfHook ];
enableParallelBuilding = true;
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.gpl3Plus; mainProgram = "check_uptime"; maintainers = with lib.maintainers; [ peterhoeg ]; };}