about summary refs log tree commit diff
path: root/pkgs/by-name/so/solitaire-tui/package.nix
blob: feba37c1d9298eb8d1b5b6eaac0e862f543aec41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib
, fetchFromGitHub
, buildGoModule
}:

buildGoModule {
  pname = "solitaire-tui";
  version = "0-unstable-2023-04-20";

  src = fetchFromGitHub {
    owner = "brianstrauch";
    repo = "solitaire-tui";
    rev = "45fffc4b13dbf1056f25a01c612dd835ddab5501";
    hash = "sha256-xbqKtqFVvL+1x/SDoMEJ1LgnTy31LmZ/Je8K/bhP2bI=";
  };

  vendorHash = "sha256-jFbxT0ekimBNjIHGgMmCUrwZTS3Sdop/MFQMVdBF/38=";

  ldflags = [ "-s" "-w" ];

  meta = with lib; {
    homepage = "https://github.com/brianstrauch/solitaire-tui";
    description = "Klondike solitaire for the terminal";
    mainProgram = "solitaire-tui";
    maintainers = with maintainers; [ nyadiia ];
    license = licenses.asl20;
  };
}