about summary refs log tree commit diff
path: root/pkgs/applications/display-managers
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2022-10-14 01:00:02 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2022-10-14 01:03:17 -0300
commit1f162fbab7751ab3f22b408072da4d5a850bf7a5 (patch)
tree44883eca36d02392f810ddbec3c41284c042c737 /pkgs/applications/display-managers
parent3f58c33b2436b02d202d35413b294aa9324b5d71 (diff)
dlm: move from os-specific/linux to applications/display-managers/greetd
Diffstat (limited to 'pkgs/applications/display-managers')
-rw-r--r--pkgs/applications/display-managers/greetd/dlm.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/display-managers/greetd/dlm.nix b/pkgs/applications/display-managers/greetd/dlm.nix
new file mode 100644
index 0000000000000..3b6f4773a29cf
--- /dev/null
+++ b/pkgs/applications/display-managers/greetd/dlm.nix
@@ -0,0 +1,26 @@
+{ lib
+, rustPlatform
+, fetchFromSourcehut
+}:
+
+rustPlatform.buildRustPackage rec {
+  pname = "dlm";
+  version = "2020-01-07";
+
+  src = fetchFromSourcehut {
+    owner = "~kennylevinsen";
+    repo = pname;
+    rev = "6b0e11c4f453b1a4d7a32019227539a980b7ce66";
+    sha256 = "1r3w7my0g3v2ya317qnvjx8wnagjahpj7yx72a65hf2pjbf5x42p";
+  };
+
+  cargoSha256 = "01a8k60qnx2pgxb2adgw30c2hjb60w6230khm5hyqgmp7z4rm8k8";
+
+  meta = with lib; {
+    description = "A stupid simple graphical login manager";
+    homepage = "https://git.sr.ht/~kennylevinsen/dlm";
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ luc65r ];
+    platforms = platforms.linux;
+  };
+}