567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
22 lines
530 B
Nix
22 lines
530 B
Nix
{
|
|
lib,
|
|
mkDiscoursePlugin,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
mkDiscoursePlugin {
|
|
name = "discourse-docs";
|
|
src = fetchFromGitHub {
|
|
owner = "discourse";
|
|
repo = "discourse-docs";
|
|
rev = "ff5d738a9f9d85847e6fc226f8324ad9cf466007";
|
|
sha256 = "sha256-p5QYM6jbsqe9a3UouHdVimSxZeBvsoM/hb0UQ7iV1IM=";
|
|
};
|
|
meta = {
|
|
homepage = "https://github.com/discourse/discourse-docs";
|
|
maintainers = with lib.maintainers; [ dpausp ];
|
|
license = lib.licenses.mit;
|
|
description = "Find and filter knowledge base topics";
|
|
};
|
|
}
|