mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 13:23:17 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
31 lines
609 B
Nix
31 lines
609 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, python3
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "openttd-nml";
|
|
version = "0.7.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OpenTTD";
|
|
repo = "nml";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-OobTyPD7FtYMhJL3BDFXaZCOO2iPn8kjEw2OEdqQbr8=";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
pillow
|
|
ply
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "http://openttdcoop.org/";
|
|
description = "Compiler for OpenTTD NML files";
|
|
mainProgram = "nmlc";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ ToxicFrog ];
|
|
};
|
|
}
|