acr-cli: init at 0.14 (#359508)
[NixPkgs.git] / pkgs / games / openttd / nml.nix
blobda4a387a7d4fc0a5e4ed22f42587900790a74c12
1 { lib
2 , fetchFromGitHub
3 , python3
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "openttd-nml";
8   version = "0.7.5";
10   src = fetchFromGitHub {
11     owner = "OpenTTD";
12     repo = "nml";
13     rev = "refs/tags/${version}";
14     hash = "sha256-OobTyPD7FtYMhJL3BDFXaZCOO2iPn8kjEw2OEdqQbr8=";
15   };
17   propagatedBuildInputs = with python3.pkgs; [
18     pillow
19     ply
20   ];
22   meta = with lib; {
23     homepage = "http://openttdcoop.org/";
24     description = "Compiler for OpenTTD NML files";
25     mainProgram = "nmlc";
26     license = licenses.gpl2Plus;
27     maintainers = with maintainers; [ ToxicFrog ];
28   };