nixpkgs/pkgs/games/cockatrice/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
803 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, mkDerivation, cmake, protobuf
, qtbase, qtmultimedia, qttools, qtwebsockets, wrapQtAppsHook
2015-10-23 20:58:42 +02:00
}:
mkDerivation rec {
pname = "cockatrice";
version = "2021-02-03-Development-2.8.1-beta";
2015-10-23 20:58:42 +02:00
src = fetchFromGitHub {
owner = "Cockatrice";
repo = "Cockatrice";
rev = version;
sha256 = "0g1d7zq4lh4jf08mvvgp6m2r2gdvy4y1mhf46c0s8607h2l8vavh";
};
2015-10-23 20:58:42 +02:00
buildInputs = [
qtbase qtmultimedia protobuf qttools qtwebsockets
];
2015-10-23 20:58:42 +02:00
nativeBuildInputs = [ cmake wrapQtAppsHook ];
meta = {
homepage = "https://github.com/Cockatrice/Cockatrice";
description = "A cross-platform virtual tabletop for multiplayer card games";
license = lib.licenses.gpl2Plus;
2021-01-15 05:31:39 +01:00
maintainers = with lib.maintainers; [ evanjs ];
platforms = with lib.platforms; linux;
};
2015-10-23 20:58:42 +02:00
}