diff --git a/pkgs/desktops/budgie/plugins/budgie-user-indicator-redux/default.nix b/pkgs/desktops/budgie/plugins/budgie-user-indicator-redux/default.nix new file mode 100644 index 000000000000..0d031dbaeb5a --- /dev/null +++ b/pkgs/desktops/budgie/plugins/budgie-user-indicator-redux/default.nix @@ -0,0 +1,53 @@ +{ lib +, stdenv +, fetchFromGitHub +, accountsservice +, budgie +, gtk3 +, intltool +, libgee +, libpeas +, meson +, ninja +, pkg-config +, sassc +, vala +}: + +stdenv.mkDerivation rec { + pname = "budgie-user-indicator-redux"; + version = "1.0.1"; + + src = fetchFromGitHub { + owner = "EbonJaeger"; + repo = "budgie-user-indicator-redux"; + rev = "v${version}"; + hash = "sha256-HGfcNlkIQD9nNzHm97LpNz3smYwDhxu4EArPo6msahI="; + }; + + nativeBuildInputs = [ + intltool + meson + ninja + pkg-config + vala + ]; + + buildInputs = [ + accountsservice + budgie.budgie-desktop + gtk3 + libgee + libpeas + sassc + ]; + + meta = with lib; { + description = "Manage your user session from the Budgie panel"; + homepage = "https://github.com/EbonJaeger/budgie-user-indicator-redux"; + changelog = "https://github.com/EbonJaeger/budgie-user-indicator-redux/blob/${src.rev}/CHANGELOG.md"; + license = licenses.gpl2Plus; + platforms = platforms.linux; + maintainers = [ maintainers.federicoschonborn ]; + }; +} diff --git a/pkgs/desktops/budgie/plugins/default.nix b/pkgs/desktops/budgie/plugins/default.nix index 290618e9924d..e096802b6600 100644 --- a/pkgs/desktops/budgie/plugins/default.nix +++ b/pkgs/desktops/budgie/plugins/default.nix @@ -1,3 +1,4 @@ { callPackage }: { budgie-analogue-clock-applet = callPackage ./budgie-analogue-clock-applet { }; + budgie-user-indicator-redux = callPackage ./budgie-user-indicator-redux { }; }