{ 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 = [ ]; }; }