Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 45 lines 837 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 mkDerivation, 5 cmake, 6 protobuf, 7 qtbase, 8 qtmultimedia, 9 qttools, 10 qtwebsockets, 11 wrapQtAppsHook, 12}: 13 14mkDerivation rec { 15 pname = "cockatrice"; 16 version = "2025-04-03-Release-2.10.2"; 17 18 src = fetchFromGitHub { 19 owner = "Cockatrice"; 20 repo = "Cockatrice"; 21 rev = version; 22 sha256 = "sha256-zXAK830SdGT3xN3ST8h9LLy/oWr4MH6TZf57gLfI0e8="; 23 }; 24 25 buildInputs = [ 26 qtbase 27 qtmultimedia 28 protobuf 29 qttools 30 qtwebsockets 31 ]; 32 33 nativeBuildInputs = [ 34 cmake 35 wrapQtAppsHook 36 ]; 37 38 meta = { 39 homepage = "https://github.com/Cockatrice/Cockatrice"; 40 description = "Cross-platform virtual tabletop for multiplayer card games"; 41 license = lib.licenses.gpl2Plus; 42 maintainers = with lib.maintainers; [ evanjs ]; 43 platforms = with lib.platforms; linux; 44 }; 45}