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