1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00
nixpkgs/pkgs/games/cockatrice/default.nix
2021-01-15 13:36:04 +07:00

30 lines
798 B
Nix

{ lib, stdenv, fetchFromGitHub, mkDerivation, cmake, protobuf
, qtbase, qtmultimedia, qttools, qtwebsockets, wrapQtAppsHook
}:
mkDerivation rec {
pname = "cockatrice";
version = "2020-08-23-Release-2.7.5";
src = fetchFromGitHub {
owner = "Cockatrice";
repo = "Cockatrice";
rev = version;
sha256 = "1yaxm7q0ja3rgx197hh8ynjc6ncc4hm0qdn9v7f0l4fbv0bdpv34";
};
buildInputs = [
qtbase qtmultimedia protobuf qttools qtwebsockets
];
nativeBuildInputs = [ cmake wrapQtAppsHook ];
meta = {
homepage = "https://github.com/Cockatrice/Cockatrice";
description = "A cross-platform virtual tabletop for multiplayer card games";
license = lib.licenses.gpl2;
maintainers = with lib.maintainers; [ evanjs ];
platforms = with lib.platforms; linux;
};
}