regreet: clean up and modernize

- removed `with lib;`
- replaced `rec` with `finalAttrs`
- removed redundant `useFetchCargoVendor`

Acid Bong e487dee1 32d4d81c

+7 -7
+7 -7
pkgs/by-name/re/regreet/package.nix
··· 10 librsvg, 11 }: 12 13 - rustPlatform.buildRustPackage rec { 14 pname = "regreet"; 15 version = "0.2.0"; 16 17 src = fetchFromGitHub { 18 owner = "rharish101"; 19 repo = "ReGreet"; 20 - rev = version; 21 hash = "sha256-f8Xvno5QqmWz4SUiFYDvs8lFU1ZaqQ8gpTaVzWxW4T8="; 22 }; 23 ··· 36 librsvg 37 ]; 38 39 - meta = with lib; { 40 description = "Clean and customizable greeter for greetd"; 41 homepage = "https://github.com/rharish101/ReGreet"; 42 - license = licenses.gpl3Plus; 43 - maintainers = with maintainers; [ fufexan ]; 44 - platforms = platforms.linux; 45 mainProgram = "regreet"; 46 }; 47 - }
··· 10 librsvg, 11 }: 12 13 + rustPlatform.buildRustPackage (finalAttrs: { 14 pname = "regreet"; 15 version = "0.2.0"; 16 17 src = fetchFromGitHub { 18 owner = "rharish101"; 19 repo = "ReGreet"; 20 + rev = finalAttrs.version; 21 hash = "sha256-f8Xvno5QqmWz4SUiFYDvs8lFU1ZaqQ8gpTaVzWxW4T8="; 22 }; 23 ··· 36 librsvg 37 ]; 38 39 + meta = { 40 description = "Clean and customizable greeter for greetd"; 41 homepage = "https://github.com/rharish101/ReGreet"; 42 + license = lib.licenses.gpl3Plus; 43 + maintainers = with lib.maintainers; [ fufexan ]; 44 + platforms = lib.platforms.linux; 45 mainProgram = "regreet"; 46 }; 47 + })