nixpkgs/pkgs/games/cockatrice/default.nix

26 lines
814 B
Nix
Raw Normal View History

2015-10-23 20:58:42 +02:00
{ stdenv, fetchurl, cmake, qtbase, qtmultimedia, protobuf, qttools
}:
stdenv.mkDerivation rec {
name = "${pname}-unstable-${version}";
2015-10-23 20:58:42 +02:00
pname = "cockatrice";
2017-03-01 05:51:28 +01:00
version = "2017-01-20";
2015-10-23 20:58:42 +02:00
src = fetchurl {
url = "https://github.com/Cockatrice/Cockatrice/archive/${version}-Release.tar.gz";
2017-03-01 05:51:28 +01:00
sha256 = "1gbcn8vffqdagidlamx670jxymhzaw28r4c6aqg3pq0s6by1l65f";
2015-10-23 20:58:42 +02:00
};
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;
2015-10-23 20:58:42 +02:00
};
}