2020-01-22 07:13:19 +01:00
|
|
|
{ stdenv, fetchFromGitHub, mkDerivation, cmake, protobuf
|
|
|
|
, 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";
|
2020-03-20 22:32:14 +01:00
|
|
|
version = "2020-03-20-Release-2.7.4";
|
2015-10-23 20:58:42 +02:00
|
|
|
|
2020-01-22 07:13:19 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Cockatrice";
|
|
|
|
repo = "Cockatrice";
|
|
|
|
rev = "${version}";
|
2020-03-20 22:32:14 +01:00
|
|
|
sha256 = "1d229gswfcqxch19wb744d9h897qwzf2y9imwrbcwnlhpbr1j62k";
|
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 = [
|
|
|
|
cmake qtbase qtmultimedia protobuf qttools qtwebsockets
|
|
|
|
];
|
2015-10-23 20:58:42 +02:00
|
|
|
|
2020-01-22 07:13:19 +01:00
|
|
|
nativeBuildInputs = [ wrapQtAppsHook ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/Cockatrice/Cockatrice";
|
|
|
|
description = "A cross-platform virtual tabletop for multiplayer card games";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2020-02-01 01:59:38 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ evanjs ];
|
2020-01-22 07:13:19 +01:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
2015-10-23 20:58:42 +02:00
|
|
|
}
|