depot/third_party/nixpkgs/pkgs/games/cockatrice/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

29 lines
791 B
Nix

{ lib, fetchFromGitHub, mkDerivation, cmake, protobuf
, qtbase, qtmultimedia, qttools, qtwebsockets, wrapQtAppsHook
}:
mkDerivation rec {
pname = "cockatrice";
version = "2023-09-14-Release-2.9.0";
src = fetchFromGitHub {
owner = "Cockatrice";
repo = "Cockatrice";
rev = version;
sha256 = "sha256-mzYh0qRKiHY64LnoOfF4kDEO06IW1SrCqEiOlu81Fso=";
};
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;
};
}