2024-10-19 18:40:58 +02:00
|
|
|
{
|
|
|
|
mdbook-cmdrun,
|
|
|
|
mdbook-plantuml,
|
|
|
|
mdbook,
|
|
|
|
plantuml,
|
|
|
|
self,
|
|
|
|
stdenv,
|
|
|
|
...
|
|
|
|
}:
|
2024-10-02 15:52:04 +02:00
|
|
|
let
|
|
|
|
version = self.rev or self.dirtyRev;
|
|
|
|
in
|
2024-10-19 18:40:58 +02:00
|
|
|
stdenv.mkDerivation {
|
2024-10-02 15:52:04 +02:00
|
|
|
inherit version;
|
|
|
|
name = "qois-docs-${version}";
|
2024-10-19 18:40:58 +02:00
|
|
|
buildInputs = [
|
2024-10-02 15:52:04 +02:00
|
|
|
mdbook
|
|
|
|
mdbook-cmdrun
|
|
|
|
mdbook-plantuml
|
|
|
|
plantuml
|
|
|
|
];
|
2024-10-19 18:40:58 +02:00
|
|
|
src = self;
|
2024-10-02 15:52:04 +02:00
|
|
|
buildPhase = "mdbook build --dest-dir $out";
|
|
|
|
}
|