regreet: clean up and modernize

- removed `with lib;`
- replaced `rec` with `finalAttrs`
- removed redundant `useFetchCargoVendor`
This commit is contained in:
Acid Bong
2025-08-02 21:16:55 +03:00
parent 32d4d81c95
commit e487dee12f
+7 -7
View File
@@ -10,14 +10,14 @@
librsvg,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "regreet";
version = "0.2.0";
src = fetchFromGitHub {
owner = "rharish101";
repo = "ReGreet";
rev = version;
rev = finalAttrs.version;
hash = "sha256-f8Xvno5QqmWz4SUiFYDvs8lFU1ZaqQ8gpTaVzWxW4T8=";
};
@@ -36,12 +36,12 @@ rustPlatform.buildRustPackage rec {
librsvg
];
meta = with lib; {
meta = {
description = "Clean and customizable greeter for greetd";
homepage = "https://github.com/rharish101/ReGreet";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ fufexan ];
platforms = platforms.linux;
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ fufexan ];
platforms = lib.platforms.linux;
mainProgram = "regreet";
};
}
})