2024-04-21 22:28:35 +00:00
|
|
|
{ inputs
|
|
|
|
|
|
|
|
# Dependencies
|
|
|
|
, main
|
|
|
|
, mdbook
|
|
|
|
, stdenv
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit (main) pname version;
|
|
|
|
|
|
|
|
src = inputs.nix-filter {
|
|
|
|
root = inputs.self;
|
|
|
|
include = [
|
|
|
|
"book.toml"
|
|
|
|
"conduwuit-example.toml"
|
2024-09-08 14:24:38 +00:00
|
|
|
"CODE_OF_CONDUCT.md"
|
2024-05-09 01:26:05 +00:00
|
|
|
"CONTRIBUTING.md"
|
2024-04-21 22:28:35 +00:00
|
|
|
"README.md"
|
2024-09-08 14:24:38 +00:00
|
|
|
"development.md"
|
2024-05-12 03:53:42 +00:00
|
|
|
"debian/conduwuit.service"
|
2024-04-21 22:28:35 +00:00
|
|
|
"debian/README.md"
|
2024-06-17 01:30:51 +00:00
|
|
|
"arch/conduwuit.service"
|
2024-04-21 22:28:35 +00:00
|
|
|
"docs"
|
2024-06-16 02:09:27 +00:00
|
|
|
"theme"
|
2024-04-21 22:28:35 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
mdbook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildPhase = ''
|
2024-06-16 02:09:27 +00:00
|
|
|
mdbook build -d $out
|
2024-04-21 22:28:35 +00:00
|
|
|
'';
|
|
|
|
}
|