From 03b4d1df53b17c72b08752b051e6d16a91392d4b Mon Sep 17 00:00:00 2001 From: Declan Tsien Date: Thu, 6 Oct 2022 08:54:08 +0800 Subject: [PATCH 13/13] gnu: Add greetd-ddlm. * gnu/packages/display-managers.scm (greetd-ddlm): New variable. --- gnu/packages/display-managers.scm | 44 +++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm index 6915115df5..a4843a1137 100644 --- a/gnu/packages/display-managers.scm +++ b/gnu/packages/display-managers.scm @@ -139,6 +139,50 @@ (define-public sddm ;; QML files are MIT licensed and images are CC BY 3.0. (license (list license:gpl2+ license:expat license:cc-by3.0)))) +(define-public greetd-ddlm + (let ((revision "0") + (commit "1115a50a1ca42ba25296de29165637c5a10b0417")) + (package + (name "greetd-ddlm") + (version (git-version "0.1.0" revision commit)) + (home-page "https://github.com/deathowl/ddlm") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "00qklf8vr7id7mm9bvsyqcha23hc8pry0d9ggwlzg74mjkxkxm2w")) + (modules '((guix build utils))) + (snippet '(begin + (substitute* "Cargo.toml" + (("version = \"0.6.0\"") + "version = \"0.8\"")))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("framebuffer" ,rust-framebuffer-0.2) + ("byteorder" ,rust-byteorder-1) + ("rusttype" ,rust-rusttype-0.7) + ("chrono" ,rust-chrono-0.4) + ("nix" ,rust-nix-0.15) + ("memmap" ,rust-memmap-0.7) + ("lazy_static" ,rust-lazy-static-1) + ("termion" ,rust-termion-1) + ("pam" ,rust-pam-0.7) + ("users" ,rust-users-0.9) + ("greetd_ipc" ,rust-greetd-ipc-0.8) + ("getopts" ,rust-getopts-0.2) + ("hostname" ,rust-hostname-0.3) + ("osstrtools" ,rust-osstrtools-0.2) + ("structopt" ,rust-structopt-0.3)))) + (synopsis + "GTK based greeter for greetd, to be run under cage or similar") + (description + "GTK based greeter for @command{greetd}, to be run under @command{cage} +or similar.") + (license license:gpl3+)))) (define-public greetd-wlgreet (package -- 2.37.3