Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 18 lines 555 B view raw
1{ lib, mkDiscoursePlugin, fetchFromGitHub }: 2 3mkDiscoursePlugin rec { 4 name = "discourse-oauth2-basic"; 5 bundlerEnvArgs.gemdir = ./.; 6 src = fetchFromGitHub { 7 owner = "discourse"; 8 repo = name; 9 rev = "06ba5daa9aabd0487f2f30b944b6500f1f481308"; 10 sha256 = "sha256-T08Q36k2hb9wVimKIa4O5mWcrr6VBTfHvhRJiLBiRPY="; 11 }; 12 meta = with lib; { 13 homepage = "https://github.com/discourse/${name}"; 14 maintainers = with maintainers; [ ehmry ]; 15 license = licenses.mit; 16 description = "A basic OAuth2 plugin for use with Discourse"; 17 }; 18}