mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-05 04:23:47 +00:00
20 lines
570 B
Nix
20 lines
570 B
Nix
{ lib, mkDiscoursePlugin, fetchFromGitHub }:
|
|
|
|
mkDiscoursePlugin {
|
|
name = "discourse-github";
|
|
bundlerEnvArgs.gemdir = ./.;
|
|
src = fetchFromGitHub {
|
|
owner = "discourse";
|
|
repo = "discourse-github";
|
|
rev = "77e336a1b4ea08e2bb8a010d30146e4844afb3f3";
|
|
sha256 = "sha256-VHuf4ymT+W676RAuA3WPQl9QXLdQz4s8vP9EC8XAwW0=";
|
|
};
|
|
meta = with lib; {
|
|
homepage = "https://github.com/discourse/discourse-github";
|
|
maintainers = with maintainers; [ talyz ];
|
|
license = licenses.mit;
|
|
description = "Adds GitHub badges and linkback functionality";
|
|
};
|
|
|
|
}
|