summary refs log tree commit diff
path: root/pkgs/games/cockatrice/default.nix
blob: fa3b906268dc8269e8751483d6d9ce70f5a4295b (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
25
{ stdenv, fetchurl, cmake, qtbase, qtmultimedia, protobuf, qttools
}:

stdenv.mkDerivation rec {
    name = "${pname}-unstable-${version}";
    pname = "cockatrice";
    version = "2017-01-20";

    src = fetchurl {
        url = "https://github.com/Cockatrice/Cockatrice/archive/${version}-Release.tar.gz";
        sha256 = "1gbcn8vffqdagidlamx670jxymhzaw28r4c6aqg3pq0s6by1l65f";
    };

    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 ];
      platforms = with stdenv.lib.platforms; linux;
    };
}