infrastructure/packages/docs/default.nix
Fabian Hauser 15ece3585e
All checks were successful
CI / build (push) Successful in 2m46s
Migrate packages to use callPackage pattern
2024-10-19 20:00:52 +03:00

24 lines
355 B
Nix

{
mdbook-cmdrun,
mdbook-plantuml,
mdbook,
plantuml,
self,
stdenv,
...
}:
let
version = self.rev or self.dirtyRev;
in
stdenv.mkDerivation {
inherit version;
name = "qois-docs-${version}";
buildInputs = [
mdbook
mdbook-cmdrun
mdbook-plantuml
plantuml
];
src = self;
buildPhase = "mdbook build --dest-dir $out";
}