2023-12-11 17:59:14 +01:00
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
# SPDX-FileCopyrightText: 2023 swt23w23
|
2023-11-11 03:22:57 +01:00
|
|
|
{ pkgs ? import <nixpkgs> { } }:
|
2023-11-14 19:18:45 +01:00
|
|
|
let
|
|
|
|
texlive = pkgs.texlive.combine {
|
|
|
|
inherit (pkgs.texlive) scheme-small
|
|
|
|
datetime2
|
|
|
|
datetime2-german
|
|
|
|
latexmk;
|
|
|
|
};
|
|
|
|
in
|
2023-11-11 03:22:57 +01:00
|
|
|
with pkgs;
|
|
|
|
mkShell {
|
|
|
|
buildInputs = [
|
|
|
|
asciidoctor
|
2023-11-12 20:42:54 +01:00
|
|
|
editorconfig-checker
|
|
|
|
gitlint
|
2023-11-11 03:22:57 +01:00
|
|
|
jdk17
|
|
|
|
plantuml
|
2023-11-12 20:42:54 +01:00
|
|
|
pre-commit
|
2023-12-11 17:59:14 +01:00
|
|
|
reuse # licensing
|
2023-11-14 19:18:45 +01:00
|
|
|
texlive
|
2023-11-11 03:22:57 +01:00
|
|
|
watchexec # enables automatic compiling on change
|
|
|
|
];
|
2023-11-12 20:42:54 +01:00
|
|
|
|
|
|
|
shellHook = ''
|
|
|
|
pre-commit install
|
|
|
|
'';
|
2023-11-11 03:22:57 +01:00
|
|
|
}
|