From 6f72b441414cc60710c02ed8c0d2684143af688b Mon Sep 17 00:00:00 2001 From: "Wu, Zhenyu" Date: Thu, 14 Mar 2024 10:44:25 +0800 Subject: g3kb-switch: init at 1.4 --- pkgs/by-name/g3/g3kb-switch/package.nix | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pkgs/by-name/g3/g3kb-switch/package.nix (limited to 'pkgs/by-name') diff --git a/pkgs/by-name/g3/g3kb-switch/package.nix b/pkgs/by-name/g3/g3kb-switch/package.nix new file mode 100644 index 000000000000..625cd6ef9a3d --- /dev/null +++ b/pkgs/by-name/g3/g3kb-switch/package.nix @@ -0,0 +1,33 @@ +{ lib +, stdenv +, cmake +, pkg-config +, glib +, fetchFromGitHub +}: +stdenv.mkDerivation rec { + pname = "g3kb-switch"; + version = "1.4"; + src = fetchFromGitHub { + owner = "lyokha"; + repo = "g3kb-switch"; + rev = version; + sha256 = "sha256-mcZduHcteZ+nS0YEZG5DfmpA8xrnLhwxumq6hLuLPIs="; + }; + + nativeBuildInputs = [ + cmake + pkg-config + ]; + buildInputs = [ + glib + ]; + + meta = with lib; { + homepage = "https://github.com/lyokha/g3kb-switch"; + description = "CLI keyboard layout switcher for GNOME Shell"; + license = licenses.bsd2; + maintainers = with maintainers; [ Freed-Wu ]; + platforms = platforms.unix; + }; +} -- cgit 1.4.1