From 87f643c740f9b608f7c571904060a9d98eebd668 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=C3=A1n=20C=20McCord?= Date: Sat, 24 Dec 2022 17:59:55 -0500 Subject: [PATCH] add default.nix --- default.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 default.nix diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..94103dc --- /dev/null +++ b/default.nix @@ -0,0 +1,23 @@ +{ buildGoModule, fetchFromGitHub, lib }: +let + pname = "waybar-kb"; +in +buildGoModule { + inherit pname; + version = "2022-12-24"; + + src = fetchGit { + url = "https://git.cycore.io/scm/waybar-kb.git"; + ref = "master"; + sha256 = "sha256-XgHxRChcyeoUibIFAleROUCPskHDzZSD1Kl7FUMVt7U="; + }; + + vendorSha256 = "sha256-rixop68iSE+OHjtMyLBbnphnjFBEtItqgheq2MyEfnc="; + + meta = with lib; { + description = "waybar keyboard layout status and manipulator"; + homepage = "https://git.cycore.io/scm/waybar-kb"; + license = licenses.mit; + platforms = platforms.linux; + }; +}