Merge pull request #307746 from r-ryantm/auto-update/mame
[NixPkgs.git] / pkgs / games / cockatrice / default.nix
blob0d8b925faa2bb2a244537d50980c179cb6a62667
1 { lib, fetchFromGitHub, mkDerivation, cmake, protobuf
2 , qtbase, qtmultimedia, qttools, qtwebsockets, wrapQtAppsHook
3 }:
5 mkDerivation rec {
6   pname = "cockatrice";
7   version = "2023-09-14-Release-2.9.0";
9   src = fetchFromGitHub {
10     owner = "Cockatrice";
11     repo = "Cockatrice";
12     rev = version;
13     sha256 = "sha256-mzYh0qRKiHY64LnoOfF4kDEO06IW1SrCqEiOlu81Fso=";
14   };
16   buildInputs = [
17      qtbase qtmultimedia protobuf qttools qtwebsockets
18   ];
20   nativeBuildInputs = [ cmake wrapQtAppsHook ];
22   meta = {
23     homepage = "https://github.com/Cockatrice/Cockatrice";
24     description = "A cross-platform virtual tabletop for multiplayer card games";
25     license = lib.licenses.gpl2Plus;
26     maintainers = with lib.maintainers; [ evanjs ];
27     platforms = with lib.platforms; linux;
28   };