2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitHub, mkDerivation, cmake, protobuf
|
2020-04-24 23:36:52 +00:00
|
|
|
, qtbase, qtmultimedia, qttools, qtwebsockets, wrapQtAppsHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "cockatrice";
|
2021-04-08 16:26:57 +00:00
|
|
|
version = "2021-02-03-Development-2.8.1-beta";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Cockatrice";
|
|
|
|
repo = "Cockatrice";
|
2020-11-03 02:18:15 +00:00
|
|
|
rev = version;
|
2021-04-08 16:26:57 +00:00
|
|
|
sha256 = "0g1d7zq4lh4jf08mvvgp6m2r2gdvy4y1mhf46c0s8607h2l8vavh";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2021-01-15 22:18:51 +00:00
|
|
|
qtbase qtmultimedia protobuf qttools qtwebsockets
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
nativeBuildInputs = [ cmake wrapQtAppsHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/Cockatrice/Cockatrice";
|
|
|
|
description = "A cross-platform virtual tabletop for multiplayer card games";
|
2021-04-08 16:26:57 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2021-01-15 22:18:51 +00:00
|
|
|
maintainers = with lib.maintainers; [ evanjs ];
|
|
|
|
platforms = with lib.platforms; linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|