mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00

This reverts commit65a333600d
. This wasn't tested for correctness with something like fodwatch [0], and should not have been (self-)merged so quickly, especially without further review. It also resulted in the breakage of at least one package [1] (and that's the one we know of and was caught). A few packages that were updated in between this commit and this revert were not reverted back to using `rev`, but other than that, this is a 1:1 revert. [0]: https://codeberg.org/raphaelr/fodwatch [1]: https://github.com/NixOS/nixpkgs/pull/396904 /758551e458
48 lines
911 B
Nix
48 lines
911 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
wrapGAppsHook4,
|
|
glib,
|
|
gtk4,
|
|
pango,
|
|
librsvg,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "regreet";
|
|
version = "0.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rharish101";
|
|
repo = "ReGreet";
|
|
rev = version;
|
|
hash = "sha256-f8Xvno5QqmWz4SUiFYDvs8lFU1ZaqQ8gpTaVzWxW4T8=";
|
|
};
|
|
|
|
useFetchCargoVendor = true;
|
|
cargoHash = "sha256-abCQ3RsnZ/a1DbjQFOiA7Xs7bbqSJxwNps8yV6Q4FIw=";
|
|
|
|
buildFeatures = [ "gtk4_8" ];
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
wrapGAppsHook4
|
|
];
|
|
buildInputs = [
|
|
glib
|
|
gtk4
|
|
pango
|
|
librsvg
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Clean and customizable greeter for greetd";
|
|
homepage = "https://github.com/rharish101/ReGreet";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ fufexan ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "regreet";
|
|
};
|
|
}
|