From 12b06705433588471ab7d3eaa3ac5232d9f735fb Mon Sep 17 00:00:00 2001 From: arminius-smh Date: Sat, 2 Nov 2024 14:53:01 +0100 Subject: [PATCH 1/2] maintainers: add arminius-smh --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 6fd827cd72b9..03f7829181e1 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -1822,6 +1822,12 @@ githubId = 10587952; name = "Armijn Hemel"; }; + arminius-smh = { + email = "armin@sprejz.de"; + github = "arminius-smh"; + githubId = 159054879; + name = "Armin Manfred Sprejz"; + }; arnarg = { email = "arnarg@fastmail.com"; github = "arnarg"; From bd112af16a933ac573b2e97eb1932e6769a13511 Mon Sep 17 00:00:00 2001 From: arminius-smh Date: Sat, 2 Nov 2024 15:09:11 +0100 Subject: [PATCH 2/2] hyprlauncher: init at 0.1.2 --- pkgs/by-name/hy/hyprlauncher/package.nix | 45 ++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 pkgs/by-name/hy/hyprlauncher/package.nix diff --git a/pkgs/by-name/hy/hyprlauncher/package.nix b/pkgs/by-name/hy/hyprlauncher/package.nix new file mode 100644 index 000000000000..6f81ac39dd0c --- /dev/null +++ b/pkgs/by-name/hy/hyprlauncher/package.nix @@ -0,0 +1,45 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, + pkg-config, + glib, + pango, + gtk4, + wrapGAppsHook4, +}: + +rustPlatform.buildRustPackage rec { + pname = "hyprlauncher"; + version = "0.1.2"; + + src = fetchFromGitHub { + owner = "hyprutils"; + repo = "hyprlauncher"; + rev = "refs/tags/v${version}"; + hash = "sha256-SxsCfEHrJpFSi2BEFFqmJLGJIVzkluDU6ogKkTRT9e8="; + }; + + cargoHash = "sha256-MENreS+DXdJIurWUqHbeb0cCJlRnjjW1bmGdg0QoxlQ="; + + strictDeps = true; + + nativeBuildInputs = [ + pkg-config + wrapGAppsHook4 + ]; + buildInputs = [ + glib + pango + gtk4 + ]; + + meta = { + description = "GUI for launching applications, written in Rust"; + homepage = "https://github.com/hyprutils/hyprlauncher"; + license = lib.licenses.gpl2Only; + maintainers = with lib.maintainers; [ arminius-smh ]; + platforms = lib.platforms.linux; + mainProgram = "hyprlauncher"; + }; +}