nixpkgs/pkgs/applications/display-managers/greetd/regreet.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
839 B
Nix
Raw Normal View History

2023-03-02 22:37:56 +00:00
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
2023-08-15 20:01:51 +00:00
, wrapGAppsHook
2023-03-02 22:37:56 +00:00
, glib
, gtk4
, pango
2023-08-15 20:01:51 +00:00
, librsvg
2023-03-02 22:37:56 +00:00
}:
2023-04-03 21:46:03 +00:00
rustPlatform.buildRustPackage rec {
2023-03-02 22:37:56 +00:00
pname = "regreet";
2023-06-08 15:41:41 +00:00
version = "0.1.1";
2023-03-02 22:37:56 +00:00
src = fetchFromGitHub {
owner = "rharish101";
repo = "ReGreet";
2023-04-03 21:46:03 +00:00
rev = version;
2023-06-08 15:41:41 +00:00
hash = "sha256-MPLlHYTfDyL2Uy50A4lVke9SblXCErgJ24SP3kFuIPw=";
2023-03-02 22:37:56 +00:00
};
2023-06-08 15:41:41 +00:00
cargoHash = "sha256-dR6veXCGVMr5TbCvP0EqyQKTG2XM65VHF9U2nRWyzfA=";
2023-03-02 22:37:56 +00:00
buildFeatures = [ "gtk4_8" ];
2023-08-15 20:01:51 +00:00
nativeBuildInputs = [ pkg-config wrapGAppsHook];
buildInputs = [ glib gtk4 pango librsvg ];
2023-03-02 22:37:56 +00:00
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";
2023-03-02 22:37:56 +00:00
};
}