2020-01-22 06:13:19 +00:00
|
|
|
{ stdenv, fetchFromGitHub, mkDerivation, cmake, protobuf
|
|
|
|
, 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";
|
|
|
|
version = "2019-08-31-Release-2.7.2";
|
2015-10-23 18:58:42 +00:00
|
|
|
|
2020-01-22 06:13:19 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Cockatrice";
|
|
|
|
repo = "Cockatrice";
|
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "17nfz4z6zfkiwcrq1rpm8bc7zh4gvcmb3fis9gdjjbji20dvcfxp";
|
|
|
|
};
|
2015-10-23 18:58:42 +00:00
|
|
|
|
2020-01-22 06:13:19 +00:00
|
|
|
buildInputs = [
|
|
|
|
cmake qtbase qtmultimedia protobuf qttools qtwebsockets
|
|
|
|
];
|
2015-10-23 18:58:42 +00:00
|
|
|
|
2020-01-22 06:13:19 +00: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 00:59:22 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ ];
|
2020-01-22 06:13:19 +00:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
2015-10-23 18:58:42 +00:00
|
|
|
}
|