summaryrefslogtreecommitdiff
path: root/ctftilde/guix-devshell
diff options
context:
space:
mode:
authorW. Kosior <koszko@koszko.org>2024-05-18 01:00:12 +0200
committerW. Kosior <koszko@koszko.org>2024-05-18 01:00:22 +0200
commit2b55cf92033ed02cabd545540241585e05f1fbb0 (patch)
tree9da86016dea518287552b56aaf457da970d4220f /ctftilde/guix-devshell
downloadAGH-ctf-course-2024-2b55cf92033ed02cabd545540241585e05f1fbb0.tar.gz
AGH-ctf-course-2024-2b55cf92033ed02cabd545540241585e05f1fbb0.zip
Initial commit.
Diffstat (limited to 'ctftilde/guix-devshell')
-rwxr-xr-xctftilde/guix-devshell26
1 files changed, 26 insertions, 0 deletions
diff --git a/ctftilde/guix-devshell b/ctftilde/guix-devshell
new file mode 100755
index 0000000..547f313
--- /dev/null
+++ b/ctftilde/guix-devshell
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# SPDX-License-Identifier: CC0-1.0
+#
+# Copyright (C) 2023 Wojtek Kosior <koszko@koszko.org>
+
+set -e
+
+# Guile and its libraries
+PACKAGES="guile guile-lib guile-cantius"
+# build system dependencies
+PACKAGES="$PACKAGES make reuse autoconf automake pkg-config gettext"
+PACKAGES="$PACKAGES lawrence-boilerplate"
+# tools for compiling auxiliary resource files
+PACKAGES="$PACKAGES imagemagick inkscape"
+# documentation viewers — for developer's convenience
+PACKAGES="$PACKAGES texinfo man-db"
+
+if test 0 = "$#"
+then :
+ printf 'guix shell %s\n' "$PACKAGES"
+ guix shell $PACKAGES
+else :
+ printf 'guix shell %s -- %s\n' "$PACKAGES" "$*"
+ guix shell $PACKAGES -- "$@"
+fi