added extra vault instance
This commit is contained in:
parent
0898f15d51
commit
5c1e159d93
7 changed files with 87 additions and 1 deletions
|
@ -14,6 +14,7 @@ final: prev: {
|
|||
};
|
||||
|
||||
dnd-5e-latex-template = prev.callPackage ./dnd-5e-latex-template { };
|
||||
dnd-5e-latex-character-sheet-template = prev.callPackage ./dnd-5e-latex-character-sheet-template { };
|
||||
|
||||
gitea-agatheme = prev.callPackage ./gitea-agatheme { };
|
||||
};
|
||||
|
|
28
nixos/pkgs/dnd-5e-latex-character-sheet-template/default.nix
Normal file
28
nixos/pkgs/dnd-5e-latex-character-sheet-template/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ lib, stdenvNoCC, fetchFromGitHub }: stdenvNoCC.mkDerivation rec {
|
||||
pname = "dnd-5e-latex-character-sheet-template";
|
||||
version = "0.1.0";
|
||||
tlType = "run";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "matsavage";
|
||||
repo = "DND-5e-LaTeX-Character-Sheet-Template";
|
||||
rev = "d9ab382c7c9da4680a99355cb99510a318f159e3";
|
||||
sha256 = lib.fakeSha256;
|
||||
};
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
path="$out/tex/latex/${pname}"
|
||||
mkdir -p "$path"
|
||||
cp -r $src/* $path
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "DnD 5e latex character template";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue