8 python3.pkgs.buildPythonApplication rec {
14 src = fetchFromGitHub {
17 rev = "refs/tags/${version}";
18 sha256 = "sha256-55BqUSZJPDz5g1FTdkuWa9wcsrLwh6YagD5bQ9ZpQv4=";
21 pythonPath = with python3.pkgs; [
27 ${python3.interpreter} -O -m compileall .
31 mkdir -p $out/share/pokete
32 cp -r assets pokete_classes pokete_data mods *.py $out/share/pokete/
34 ln -s $out/share/pokete/pokete.py $out/bin/pokete
38 wrapPythonProgramsIn $out/share/pokete "$pythonPath"
42 pokete-version = testers.testVersion {
44 command = "pokete --help";
49 description = "A terminal based Pokemon like game";
50 homepage = "https://lxgr-linux.github.io/pokete";
51 license = licenses.gpl3Only;
52 maintainers = with maintainers; [ fgaz ];