modules/ryan-packages/freedesktop.scm
dd7a86f85112b6a5ab2a3ed5d0779244d380fdba
· 1.0 KB · 24 lines
raw
| 1 | (define-module (ryan-packages freedesktop) |
| 2 | #:use-module (guix download) |
| 3 | #:use-module (guix packages) |
| 4 | #:use-module (guix git-download) |
| 5 | #:use-module (guix utils) |
| 6 | #:use-module (gnu packages) |
| 7 | #:use-module (gnu packages freedesktop) |
| 8 | #:use-module (gnu packages wm)) |
| 9 | |
| 10 | (define-public xdg-desktop-portal-wlr-new |
| 11 | (package |
| 12 | (inherit xdg-desktop-portal-wlr) |
| 13 | (version "0.7.0") |
| 14 | (source (origin |
| 15 | (method git-fetch) |
| 16 | (uri (git-reference |
| 17 | (url "https://github.com/emersion/xdg-desktop-portal-wlr") |
| 18 | (commit (string-append "v" version)))) |
| 19 | (sha256 |
| 20 | (base32 |
| 21 | "1b3hpp3ybjgnnmnwsyb5bsnvz9q5nr3zz0j1alh02g24f68lf00k")) |
| 22 | (patches (search-patches "xdg-desktop-portal-wlr-harcoded-length.patch")))) |
| 23 | (native-inputs (modify-inputs (package-native-inputs xdg-desktop-portal-wlr) |
| 24 | (append wlroots))))) |