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; + }; +}