mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
Simon Bruder
bac025fd0a
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.
30 lines
531 B
Nix
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
|
|
'';
|
|
}
|