mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
30 lines
793 B
Nix
30 lines
793 B
Nix
{ lib, fetchFromGitHub, mkDerivation, cmake, protobuf
|
|
, qtbase, qtmultimedia, qttools, qtwebsockets, wrapQtAppsHook
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "cockatrice";
|
|
version = "2023-09-14-Release-2.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Cockatrice";
|
|
repo = "Cockatrice";
|
|
rev = version;
|
|
sha256 = "sha256-mzYh0qRKiHY64LnoOfF4kDEO06IW1SrCqEiOlu81Fso=";
|
|
};
|
|
|
|
buildInputs = [
|
|
qtbase qtmultimedia protobuf qttools qtwebsockets
|
|
];
|
|
|
|
nativeBuildInputs = [ cmake wrapQtAppsHook ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/Cockatrice/Cockatrice";
|
|
description = "A cross-platform virtual tabletop for multiplayer card games";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = with lib.maintainers; [ evanjs ];
|
|
platforms = with lib.platforms; linux;
|
|
};
|
|
}
|