2021-01-25 00:26:54 -08:00
|
|
|
{ lib, fetchFromGitHub, mkDerivation, cmake, protobuf
|
2020-01-21 22:13:19 -08:00
|
|
|
, qtbase, qtmultimedia, qttools, qtwebsockets, wrapQtAppsHook
|
2015-10-23 11:58:42 -07:00
|
|
|
}:
|
|
|
|
|
2020-01-21 22:13:19 -08:00
|
|
|
mkDerivation rec {
|
|
|
|
pname = "cockatrice";
|
2021-02-26 09:45:26 -08:00
|
|
|
version = "2021-01-26-Release-2.8.0";
|
2015-10-23 11:58:42 -07:00
|
|
|
|
2020-01-21 22:13:19 -08:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Cockatrice";
|
|
|
|
repo = "Cockatrice";
|
2020-11-01 14:39:49 -08:00
|
|
|
rev = version;
|
2021-02-26 09:45:26 -08:00
|
|
|
sha256 = "0q8ffcklb2b7hcqhy3d2f9kz9aw22pp04pc9y4sslyqmf17pwnz9";
|
2020-01-21 22:13:19 -08:00
|
|
|
};
|
2015-10-23 11:58:42 -07:00
|
|
|
|
2020-01-21 22:13:19 -08:00
|
|
|
buildInputs = [
|
2020-12-30 23:48:55 -08:00
|
|
|
qtbase qtmultimedia protobuf qttools qtwebsockets
|
2020-01-21 22:13:19 -08:00
|
|
|
];
|
2015-10-23 11:58:42 -07:00
|
|
|
|
2020-12-30 23:48:55 -08:00
|
|
|
nativeBuildInputs = [ cmake wrapQtAppsHook ];
|
2020-01-21 22:13:19 -08:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/Cockatrice/Cockatrice";
|
|
|
|
description = "A cross-platform virtual tabletop for multiplayer card games";
|
2021-01-14 20:31:39 -08:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = with lib.maintainers; [ evanjs ];
|
|
|
|
platforms = with lib.platforms; linux;
|
2020-01-21 22:13:19 -08:00
|
|
|
};
|
2015-10-23 11:58:42 -07:00
|
|
|
}
|