summaryrefslogtreecommitdiff
path: root/pkgs/rftg.nix
blob: 28dc261b8c6904a5e365c88ea6cc75e87d94b45c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  lib,
  stdenv,
  fetchFromGitHub,
  gtk2,
  autoreconfHook,
  pkg-config
}:

stdenv.mkDerivation rec {
  pname = "rftg";
  version = "0.9.5";

  src = fetchFromGitHub {
    owner = "bnordli";
    repo = "rftg";
    rev = version;
    sha256 = "sha256-FI78WKe7/RyL7XmK+vFr6wHjLr6LaRweHNJgieEX5AE=";
  };
  sourceRoot = "source/src";

  nativeBuildInputs = [ autoreconfHook pkg-config ];
  buildInputs = [ gtk2.dev ];

  meta = {
    homepage = "https://github.com/bnordli/rftg";
    description = "Implementation of the card game Race for the Galaxy, including an AI";
    license = lib.licenses.gpl2Plus;
    maintainers = [ ];
  };
}