swt23w23/shell.nix
Simon Bruder bac025fd0a
Make project REUSE compliant
This finally makes the licensing under AGPL-3.0-or-later explicit after
I got the okay from the kickstart source owners.

This also checks the REUSE compliance in a pre commit hook, and
therefore also in CI.
2023-12-11 17:59:14 +01:00

30 lines
531 B
Nix

# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-FileCopyrightText: 2023 swt23w23
{ pkgs ? import <nixpkgs> { } }:
let
texlive = pkgs.texlive.combine {
inherit (pkgs.texlive) scheme-small
datetime2
datetime2-german
latexmk;
};
in
with pkgs;
mkShell {
buildInputs = [
asciidoctor
editorconfig-checker
gitlint
jdk17
plantuml
pre-commit
reuse # licensing
texlive
watchexec # enables automatic compiling on change
];
shellHook = ''
pre-commit install
'';
}