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