3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/cockatrice/default.nix

30 lines
813 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, mkDerivation, cmake, protobuf
, qtbase, qtmultimedia, qttools, qtwebsockets, wrapQtAppsHook
2015-10-23 19:58:42 +01:00
}:
mkDerivation rec {
pname = "cockatrice";
version = "2020-08-23-Release-2.7.5";
2015-10-23 19:58:42 +01:00
src = fetchFromGitHub {
owner = "Cockatrice";
repo = "Cockatrice";
rev = version;
sha256 = "1yaxm7q0ja3rgx197hh8ynjc6ncc4hm0qdn9v7f0l4fbv0bdpv34";
};
2015-10-23 19:58:42 +01:00
buildInputs = [
cmake qtbase qtmultimedia protobuf qttools qtwebsockets
];
2015-10-23 19:58:42 +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 00:59:38 +00:00
maintainers = with stdenv.lib.maintainers; [ evanjs ];
platforms = with stdenv.lib.platforms; linux;
};
2015-10-23 19:58:42 +01:00
}