Files
nixpkgs/pkgs/servers/web-apps/discourse/plugins/discourse-docs/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
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>
2025-12-10 18:09:49 +01:00

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";
};
}