{ lib, fetchFromGitHub, python3, }: python3.pkgs.buildPythonApplication rec { pname = "openttd-nml"; version = "0.7.6"; format = "setuptools"; src = fetchFromGitHub { owner = "OpenTTD"; repo = "nml"; tag = version; hash = "sha256-jAvzfmv8iLs4jb/rzRswiAPHZpx20hjfbG/NY4HGcF0="; }; propagatedBuildInputs = with python3.pkgs; [ pillow ply ]; meta = with lib; { homepage = "http://openttdcoop.org/"; description = "Compiler for OpenTTD NML files"; mainProgram = "nmlc"; license = licenses.gpl2Plus; maintainers = with maintainers; [ ToxicFrog ]; }; }