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