summaryrefslogtreecommitdiff
path: root/tw
diff options
context:
space:
mode:
authorTimo Wilken2023-04-26 15:12:33 +0200
committerTimo Wilken2023-04-26 15:12:33 +0200
commit338af1ae3e2d4b98813b4855ff5c504f8453e789 (patch)
tree34a7e248dc2888eeace54a941bd259003bf4dce1 /tw
parentb44e2c7cfef5a41193a378d4415425af0c59dfa8 (diff)
Fix yamllint build
Diffstat (limited to 'tw')
-rw-r--r--tw/home.scm3
-rw-r--r--tw/packages/python.scm19
2 files changed, 21 insertions, 1 deletions
diff --git a/tw/home.scm b/tw/home.scm
index 8d08ee14..6c2ded06 100644
--- a/tw/home.scm
+++ b/tw/home.scm
@@ -14,6 +14,7 @@
#:use-module (tw packages catppuccin)
#:use-module (tw packages ci)
#:use-module (tw packages games)
+ #:use-module (tw packages python)
#:use-module (tw packages xorg)
#:use-module (tw system)
#:use-module (tw theme))
@@ -338,7 +339,7 @@ auto-expand-secmem
papirus-icon-theme catppuccin-gtk-theme catppuccin-mocha-dark-cursors
;; Development & language servers
- gnu-make python-lsp-server python-yamllint shellcheck gcc binutils patchelf elfutils
+ gnu-make python-lsp-server python-yamllint-1.31 shellcheck gcc binutils patchelf elfutils
clang ; for clangd
glibc ; for ldd
;; Supported OotB by eglot, but not packaged by guix:
diff --git a/tw/packages/python.scm b/tw/packages/python.scm
new file mode 100644
index 00000000..4fb62ab6
--- /dev/null
+++ b/tw/packages/python.scm
@@ -0,0 +1,19 @@
+(define-module (tw packages python)
+ #:use-module (gnu packages python-build)
+ #:use-module (gnu packages python-xyz)
+ #:use-module (guix build-system pyproject)
+ #:use-module (guix build-system python)
+ #:use-module (guix download)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix packages))
+
+(define-public python-yamllint-1.31
+ (package
+ (inherit python-yamllint)
+ (version "1.31.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "yamllint" version))
+ (sha256
+ (base32 "0rbs7xq7y7bp3k75z7jamrdrrfyp95hifsz0hwm1cgkk5z8z30rd"))))))