tsui: init 0.2.0
This commit is contained in:
parent
a32d29a9c8
commit
2c33db1773
2 changed files with 32 additions and 0 deletions
|
@ -270,6 +270,7 @@
|
|||
git-repo-go = pkgs.callPackage ./pkgs/git-repo-go { };
|
||||
hassbridge = pkgs.callPackage ./pkgs/hassbridge { };
|
||||
tinyows = pkgs.callPackage ./pkgs/tinyows { };
|
||||
tsui = pkgs.callPackage ./pkgs/tsui { };
|
||||
};
|
||||
|
||||
devShells.default =
|
||||
|
|
31
pkgs/tsui/default.nix
Normal file
31
pkgs/tsui/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
xorg,
|
||||
}:
|
||||
let
|
||||
version = "0.2.0";
|
||||
|
||||
in
|
||||
buildGoModule {
|
||||
pname = "tsui";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "neuralinkcorp";
|
||||
repo = "tsui";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-DVkiZc+7XNgj47T1uZg6bnfoMw+0dP4+72AxfCYKcL4=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
xorg.libX11.dev
|
||||
];
|
||||
|
||||
vendorHash = "sha256-FIbkPE5KQ4w7Tc7kISQ7ZYFZAoMNGiVlFWzt8BPCf+A=";
|
||||
|
||||
# Inject the version info in the binary.
|
||||
ldflags = [
|
||||
"-X main.Version=${version}"
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue