summaryrefslogtreecommitdiff
path: root/pkgs/games/cockatrice/default.nix
blob: be79a61b87a2b66540d76154712224272be652b0 (about) (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
  lib,
  fetchFromGitHub,
  mkDerivation,
  cmake,
  protobuf,
  qtbase,
  qtmultimedia,
  qttools,
  qtwebsockets,
  wrapQtAppsHook,
}:

mkDerivation rec {
  pname = "cockatrice";
  version = "2025-04-03-Release-2.10.2";

  src = fetchFromGitHub {
    owner = "Cockatrice";
    repo = "Cockatrice";
    rev = version;
    sha256 = "sha256-zXAK830SdGT3xN3ST8h9LLy/oWr4MH6TZf57gLfI0e8=";
  };

  buildInputs = [
    qtbase
    qtmultimedia
    protobuf
    qttools
    qtwebsockets
  ];

  nativeBuildInputs = [
    cmake
    wrapQtAppsHook
  ];

  meta = {
    homepage = "https://github.com/Cockatrice/Cockatrice";
    description = "Cross-platform virtual tabletop for multiplayer card games";
    license = lib.licenses.gpl2Plus;
    maintainers = with lib.maintainers; [ evanjs ];
    platforms = with lib.platforms; linux;
  };
}