Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, mkDiscoursePlugin, fetchFromGitHub }: 2 3mkDiscoursePlugin { 4 name = "discourse-github"; 5 bundlerEnvArgs.gemdir = ./.; 6 src = fetchFromGitHub { 7 owner = "discourse"; 8 repo = "discourse-github"; 9 rev = "53e22ccbd32dd868435f66efa2d48e0389673dea"; 10 sha256 = "sha256-QaKmnftCxkgGUP5U9wNYm483D+GdpcU8F96CLl8woo8="; 11 }; 12 meta = with lib; { 13 homepage = "https://github.com/discourse/discourse-github"; 14 maintainers = with maintainers; [ talyz ]; 15 license = licenses.mit; 16 description = "Adds GitHub badges and linkback functionality"; 17 }; 18 19}