blob: 67fcc490da02939c9ef0f696ffce6d21b63de84e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
(define-module (sigils packages wayland)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix utils)
#:use-module (guix gexp)
#:use-module ((guix licenses)
#:prefix license:)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system zig)
#:use-module (gnu packages bash)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages wm)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages zig-xyz))
(define-public river-bedload
(package
(name "river-bedload")
(version "0.1.1")
(home-page "https://git.sr.ht/~novakane/river-bedload")
(source
(origin (method git-fetch)
(uri (git-reference
(url "https://git.sr.ht/~novakane/river-bedload")
(commit (string-append "v" version))))
(sha256
(base32 "146lm94c92y5xivcpz749bvbg599phcsp9nqamqlvq3jlms4bk00"))))
(build-system zig-build-system)
(native-inputs (list pkg-config))
(inputs (list zig-wayland wayland wayland-protocols))
(arguments '(#:tests? #f))
(synopsis "Display information about river in json in the stdout.")
(description "river-bedload displays information about a running river instance in json")
(license license:gpl3)))
(define-public libvarlink
(package
(name "libvarlink")
(version "23")
(home-page "https://varlink.org/")
(source
(origin (method git-fetch)
(uri (git-reference
(url "https://github.com/varlink/libvarlink.git")
(commit version)))
(sha256
(base32 "18cw413rfh1widw06xjxjh5iq3rkfnlsjaka0p8whd4v3hgbsk51"))))
(build-system meson-build-system)
(native-inputs (list bash-minimal
python))
(arguments
(list #:phases #~(modify-phases %standard-phases
(add-after 'patch-source-shebangs 'patch-run-command
(lambda _
(substitute* "lib/meson.build"
(("/bin/sh") (which "sh")))
(substitute* "varlink-wrapper.py"
(("/usr/bin/env") (which "env")))
(substitute* "lib/test-object.c"
(("setlocale\\([^)]*\\)") "1")))))))
(synopsis "C implementation of the Varlink protocol and command line tool")
(description "Varlink C library and command line tool.")
(license license:asl2.0)))
(define-public kanshi-varlink
(package/inherit kanshi
(inputs (modify-inputs (package-inputs kanshi)
(append libvarlink)))
(arguments '(#:configure-flags '("-Dipc=enabled")))))
(define-public lswt
(package
(name "lswt")
(version "2.0.0")
(home-page "https://sr.ht/~leon_plickat/lswt/")
(build-system gnu-build-system)
(source
(origin (method git-fetch)
(uri (git-reference
(url "https://git.sr.ht/~leon_plickat/lswt")
(commit (string-append "v" version))))
(sha256
(base32 "0g9mw4w2ksmbjlwj2s7gp291rjwrgn0snviv95xxw3pcdhizlczj"))))
(inputs (list wayland))
(arguments
(list
#:tests? #f
#:phases #~(modify-phases %standard-phases
(delete 'configure))
#:make-flags #~(list (string-append "CC=" #$(cc-for-target))
(string-append "PREFIX=" #$output))))
(synopsis "list wayland toplevels")
(description "list wayland toplevels")
(license license:gpl3+)))
|