From 0ebe4b615e47c9739adce956f5e3d202b67caf14 Mon Sep 17 00:00:00 2001 From: Spencer Janssen Date: Fri, 23 Oct 2015 13:58:42 -0500 Subject: [PATCH] cockatrice: init at 2015-09-24 --- pkgs/games/cockatrice/default.nix | 24 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/games/cockatrice/default.nix diff --git a/pkgs/games/cockatrice/default.nix b/pkgs/games/cockatrice/default.nix new file mode 100644 index 000000000000..53aab088da01 --- /dev/null +++ b/pkgs/games/cockatrice/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl, cmake, qtbase, qtmultimedia, protobuf, qttools +}: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "cockatrice"; + version = "2015-09-24"; + + src = fetchurl { + url = "https://github.com/Cockatrice/Cockatrice/archive/${version}-Release.tar.gz"; + sha256 = "068f93k3bg4cmdm0iyh2vfmk51nnzf3d6g6cvlm5q8dz1zk5nwzf"; + }; + + buildInputs = [ + cmake qtbase qtmultimedia protobuf qttools + ]; + + meta = { + repositories.git = git://github.com/Cockatrice/Cockatrice.git; + description = "A cross-platform virtual tabletop for multiplayer card games"; + license = stdenv.lib.licenses.gpl2; + maintainers = with stdenv.lib.maintainers; [ spencerjanssen ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3d3b6f157407..c44409cbb9ca 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13653,6 +13653,8 @@ let chessdb = callPackage ../games/chessdb { }; + cockatrice = qt5Libs.callPackage ../games/cockatrice { }; + confd = goPackages.confd.bin // { outputs = [ "bin" ]; }; construoBase = lowPrio (callPackage ../games/construo {