Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at github-to-sqlite-beautifulsoup4 26 lines 719 B view raw
1{ lib, stdenv, fetchFromGitHub, autoreconfHook }: 2 3stdenv.mkDerivation { 4 pname = "check-uptime"; 5 version = "20161112"; 6 7 src = fetchFromGitHub { 8 owner = "madrisan"; 9 repo = "nagios-plugins-uptime"; 10 rev = "51822dacd1d404b3eabf3b4984c64b2475ed6f3b"; 11 sha256 = "18q9ibzqn97dsyr9xs3w9mqk80nmmfw3kcjidrdsj542amlsycyk"; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook ]; 15 16 enableParallelBuilding = true; 17 18 postInstall = "ln -sr $out/libexec $out/bin"; 19 20 meta = with lib; { 21 description = "Uptime check plugin for Sensu/Nagios/others"; 22 homepage = "https://github.com/madrisan/nagios-plugins-uptime"; 23 license = licenses.gpl3; 24 maintainers = with maintainers; [ peterhoeg ]; 25 }; 26}