nixpkgs/pkgs/games/cockatrice/default.nix

26 lines
814 B
Nix
Raw Normal View History

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