add default.nix

This commit is contained in:
Seán C McCord 2022-12-24 17:59:55 -05:00
parent 70866e5917
commit 87f643c740
Signed by: scm
GPG key ID: 8302D5513BFE9618

23
default.nix Normal file
View file

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