2021-07-03 13:50:21 +01:00
|
|
|
{ stdenv, lib, fetchFromGitHub, python3Packages }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "openttd-nml";
|
2022-01-19 07:14:20 +00:00
|
|
|
version = "0.6.1";
|
2021-07-03 13:50:21 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpenTTD";
|
|
|
|
repo = "nml";
|
|
|
|
rev = version;
|
2022-01-19 07:14:20 +00:00
|
|
|
sha256 = "0z0n4lqvnqigfjjhmmz7mvis7iivd4a8d287ya2yscfg5hznnqh2";
|
2021-07-03 13:50:21 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [ply pillow];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Compiler for OpenTTD NML files";
|
|
|
|
homepage = "http://openttdcoop.org/";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ ToxicFrog ];
|
|
|
|
};
|
|
|
|
}
|