depot/pkgs/games/cockatrice/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

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;
};
}