summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorSpencer Janssen <spencerjanssen@gmail.com>2015-10-23 13:58:42 -0500
committerSpencer Janssen <spencerjanssen@gmail.com>2015-10-24 17:00:20 -0500
commit0ebe4b615e47c9739adce956f5e3d202b67caf14 (patch)
tree0ed4ee0066695afe697d5ea581b511c8b3b81d30 /pkgs
parentc65cfc8b669e1200d13a88602811f5acc2ac08de (diff)
downloadnixpkgs-0ebe4b615e47c9739adce956f5e3d202b67caf14.tar
nixpkgs-0ebe4b615e47c9739adce956f5e3d202b67caf14.tar.gz
nixpkgs-0ebe4b615e47c9739adce956f5e3d202b67caf14.tar.bz2
nixpkgs-0ebe4b615e47c9739adce956f5e3d202b67caf14.tar.lz
nixpkgs-0ebe4b615e47c9739adce956f5e3d202b67caf14.tar.xz
nixpkgs-0ebe4b615e47c9739adce956f5e3d202b67caf14.tar.zst
nixpkgs-0ebe4b615e47c9739adce956f5e3d202b67caf14.zip
cockatrice: init at 2015-09-24
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/games/cockatrice/default.nix24
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/games/cockatrice/default.nix b/pkgs/games/cockatrice/default.nix
new file mode 100644
index 00000000000..53aab088da0
--- /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 3d3b6f15740..c44409cbb9c 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 {