nixpkgs/pkgs/applications/display-managers/greetd/dlm.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

28 lines
688 B
Nix

{ 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";
mainProgram = "dlm";
homepage = "https://git.sr.ht/~kennylevinsen/dlm";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ luc65r ];
platforms = platforms.linux;
};
}