Skip to content

Commit b2e1b23

Browse files
committed
dealers-choice: init at 0.0.12
1 parent fb5a8c0 commit b2e1b23

1 file changed

Lines changed: 61 additions & 0 deletions

File tree

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
lib,
3+
stdenv,
4+
fetchurl,
5+
testers,
6+
meson,
7+
ninja,
8+
pkg-config,
9+
gettext,
10+
canfigger,
11+
SDL2,
12+
SDL2_ttf,
13+
SDL2_image,
14+
SDL2_net,
15+
protobufc,
16+
libsodium,
17+
}:
18+
19+
stdenv.mkDerivation (finalAttrs: {
20+
pname = "dealers-choice";
21+
version = "0.0.12";
22+
23+
src = fetchurl {
24+
url = "https://github.com/Dealer-s-Choice/dealers_choice/releases/download/v${finalAttrs.version}/dealers-choice-${finalAttrs.version}.tar.xz";
25+
hash = "sha256-6fD+5H+TFa5Ko0hkxYB9ytjuZQc9hjJmA9PZg/56KH0=";
26+
};
27+
28+
strictDeps = true;
29+
__structuredAttrs = true;
30+
31+
nativeBuildInputs = [
32+
meson
33+
ninja
34+
pkg-config
35+
gettext
36+
];
37+
38+
buildInputs = [
39+
canfigger
40+
SDL2
41+
SDL2_ttf
42+
SDL2_image
43+
SDL2_net
44+
protobufc
45+
libsodium
46+
];
47+
48+
passthru.tests.version = testers.testVersion {
49+
package = finalAttrs.finalPackage;
50+
};
51+
52+
meta = {
53+
description = "Online Multiplayer Stud and Draw Poker, Texas Hold'em and Omaha";
54+
homepage = "https://dealer-s-choice.github.io/";
55+
changelog = "https://github.com/Dealer-s-Choice/dealers_choice/blob/v${finalAttrs.version}/ChangeLog";
56+
license = lib.licenses.mit;
57+
maintainers = with lib.maintainers; [ ];
58+
platforms = lib.platforms.all;
59+
mainProgram = "dealers-choice";
60+
};
61+
})

0 commit comments

Comments
 (0)