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