Migrate packages to use callPackage pattern
All checks were successful
CI / build (push) Successful in 2m46s

This commit is contained in:
Fabian Hauser 2024-10-19 19:40:58 +03:00
parent 478b8903e0
commit 15ece3585e
11 changed files with 92 additions and 62 deletions

24
packages/docs/default.nix Normal file
View file

@ -0,0 +1,24 @@
{
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";
}