nixpkgs/pkgs/games/openttd/nml.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
583 B
Nix
Raw Normal View History

2022-06-10 02:10:23 +00:00
{ stdenv
, lib
, fetchFromGitHub
, python3
}:
2021-07-03 12:50:21 +00:00
2022-06-10 02:10:23 +00:00
python3.pkgs.buildPythonApplication rec {
2021-07-03 12:50:21 +00:00
pname = "openttd-nml";
2022-09-08 14:12:10 +00:00
version = "0.7.0";
2021-07-03 12:50:21 +00:00
src = fetchFromGitHub {
owner = "OpenTTD";
repo = "nml";
2022-09-08 14:12:10 +00:00
rev = "refs/tags/${version}";
hash = "sha256-tmipHRe6qXoSLNbc0OEKxBJZrmTX3DEiuSfQeWRj1sU=";
2021-07-03 12:50:21 +00:00
};
2022-06-10 02:10:23 +00:00
propagatedBuildInputs = with python3.pkgs; [
pillow
ply
];
2021-07-03 12:50:21 +00:00
meta = with lib; {
2022-06-10 02:10:23 +00:00
homepage = "http://openttdcoop.org/";
2021-07-03 12:50:21 +00:00
description = "Compiler for OpenTTD NML files";
2022-06-10 02:10:23 +00:00
license = licenses.gpl2;
2021-07-03 12:50:21 +00:00
maintainers = with maintainers; [ ToxicFrog ];
};
}