summary refs log tree commit diff
path: root/pkgs/games/cockatrice/default.nix
blob: 53aab088da015ee8967222968b1009738a55788f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 ];
    };
}