9 python3.pkgs.buildPythonApplication rec {
15 src = fetchFromGitHub {
18 rev = "refs/tags/${version}";
19 sha256 = "sha256-T18908Einsgful8hYMVHl0cL4sIYFvhpy0MbLIcVhxs=";
22 pythonPath = with python3.pkgs; [
28 ${python3.interpreter} -O -m compileall .
32 mkdir -p $out/share/pokete
33 cp -r assets pokete_classes pokete_data mods *.py $out/share/pokete/
35 ln -s $out/share/pokete/pokete.py $out/bin/pokete
39 wrapPythonProgramsIn $out/share/pokete "$pythonPath"
43 pokete-version = testers.testVersion {
45 command = "${faketty}/bin/faketty pokete --help";
46 version = "v${version}";
51 description = "Terminal based Pokemon like game";
52 mainProgram = "pokete";
53 homepage = "https://lxgr-linux.github.io/pokete";
54 license = licenses.gpl3Only;
55 maintainers = with maintainers; [ fgaz ];