mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
29 lines
791 B
Nix
29 lines
791 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 = "Cross-platform virtual tabletop for multiplayer card games";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = with lib.maintainers; [ evanjs ];
|
|
platforms = with lib.platforms; linux;
|
|
};
|
|
}
|