diff --git a/pkgs/by-name/hy/hyprlauncher/package.nix b/pkgs/by-name/hy/hyprlauncher/package.nix new file mode 100644 index 0000000000000..3ca479b381a2e --- /dev/null +++ b/pkgs/by-name/hy/hyprlauncher/package.nix @@ -0,0 +1,58 @@ +{ + lib, + gcc15Stdenv, + fetchFromGitHub, + cmake, + pkg-config, + aquamarine, + cairo, + hyprgraphics, + hyprlang, + hyprtoolkit, + hyprutils, + hyprwire, + libdrm, + libqalculate, + libxkbcommon, + pixman, +}: + +gcc15Stdenv.mkDerivation (finalAttrs: { + pname = "hyprlauncher"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "hyprwm"; + repo = "hyprlauncher"; + tag = "v${finalAttrs.version}"; + hash = "sha256-6JVor77g1LR/22lZYCArUm/geIXE0aGJZ4DHIlgSOj4="; + }; + + nativeBuildInputs = [ + cmake + pkg-config + ]; + + buildInputs = [ + aquamarine + cairo + hyprgraphics + hyprlang + hyprtoolkit + hyprutils + hyprwire + libdrm + libqalculate + libxkbcommon + pixman + ]; + + meta = { + inherit (finalAttrs.src.meta) homepage; + description = "A multipurpose and versatile launcher / picker for Hyprland"; + license = lib.licenses.bsd3; + teams = [ lib.teams.hyprland ]; + platforms = with lib.platforms; linux ++ freebsd; + mainProgram = "hyprlauncher"; + }; +}) diff --git a/pkgs/by-name/hy/hyprpwcenter/package.nix b/pkgs/by-name/hy/hyprpwcenter/package.nix new file mode 100644 index 0000000000000..095cf994f61b0 --- /dev/null +++ b/pkgs/by-name/hy/hyprpwcenter/package.nix @@ -0,0 +1,52 @@ +{ + lib, + gcc15Stdenv, + fetchFromGitHub, + cmake, + pkg-config, + aquamarine, + cairo, + hyprgraphics, + hyprtoolkit, + hyprutils, + libdrm, + pipewire, + pixman, +}: + +gcc15Stdenv.mkDerivation (finalAttrs: { + pname = "hyprpwcenter"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "hyprwm"; + repo = "hyprpwcenter"; + tag = "v${finalAttrs.version}"; + hash = "sha256-/kE3VlkJjpFxjbgdKCFumg/Oxn4n7Z//5atAObpPiRY="; + }; + + nativeBuildInputs = [ + cmake + pkg-config + ]; + + buildInputs = [ + aquamarine + cairo + hyprgraphics + hyprtoolkit + hyprutils + libdrm + pipewire + pixman + ]; + + meta = { + inherit (finalAttrs.src.meta) homepage; + description = "A GUI Pipewire control center"; + license = lib.licenses.bsd3; + teams = [ lib.teams.hyprland ]; + platforms = with lib.platforms; linux ++ freebsd; + mainProgram = "hyprpwcenter"; + }; +}) diff --git a/pkgs/by-name/hy/hyprtoolkit/package.nix b/pkgs/by-name/hy/hyprtoolkit/package.nix new file mode 100644 index 0000000000000..f59f1aa4bda32 --- /dev/null +++ b/pkgs/by-name/hy/hyprtoolkit/package.nix @@ -0,0 +1,67 @@ +{ + lib, + gcc15Stdenv, + fetchFromGitHub, + cmake, + pkg-config, + hyprwayland-scanner, + wayland-scanner, + aquamarine, + cairo, + hyprgraphics, + hyprlang, + hyprutils, + iniparser, + libdrm, + libgbm, + libGL, + libxkbcommon, + pango, + pixman, + wayland, + wayland-protocols, +}: + +gcc15Stdenv.mkDerivation (finalAttrs: { + pname = "hyprtoolkit"; + version = "0.1.1"; + + src = fetchFromGitHub { + owner = "hyprwm"; + repo = "hyprtoolkit"; + tag = "v${finalAttrs.version}"; + hash = "sha256-SjZAlFpZ/ZpYXj59toamF4qx5rC8RP0U/yEsPVniyI8="; + }; + + nativeBuildInputs = [ + cmake + pkg-config + hyprwayland-scanner + wayland-scanner + ]; + + buildInputs = [ + aquamarine + cairo + hyprgraphics + hyprlang + hyprutils + iniparser + libdrm + libgbm + libGL + libxkbcommon + pango + pixman + wayland + wayland-protocols + ]; + + meta = { + inherit (finalAttrs.src.meta) homepage; + description = "A modern C++ Wayland-native GUI toolkit"; + license = lib.licenses.bsd3; + teams = [ lib.teams.hyprland ]; + platforms = with lib.platforms; linux ++ freebsd; + }; +}) diff --git a/pkgs/by-name/hy/hyprwire/package.nix b/pkgs/by-name/hy/hyprwire/package.nix new file mode 100644 index 0000000000000..2cafdd96a1ecc --- /dev/null +++ b/pkgs/by-name/hy/hyprwire/package.nix @@ -0,0 +1,42 @@ +{ + lib, + gcc15Stdenv, + fetchFromGitHub, + cmake, + pkg-config, + hyprutils, + libffi, + pugixml, +}: + +gcc15Stdenv.mkDerivation (finalAttrs: { + pname = "hyprwire"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "hyprwm"; + repo = "hyprwire"; + tag = "v${finalAttrs.version}"; + hash = "sha256-84KqFPakU1Pv7axkwbSi1D5XssSHIW8B2xduOUq5Mw4="; + }; + + nativeBuildInputs = [ + cmake + pkg-config + ]; + + buildInputs = [ + pugixml + hyprutils + libffi + ]; + + meta = { + inherit (finalAttrs.src.meta) homepage; + description = "A fast and consistent wire protocol for IPC "; + license = lib.licenses.bsd3; + teams = [ lib.teams.hyprland ]; + platforms = with lib.platforms; linux ++ freebsd; + mainProgram = "hyprwire"; + }; +})