Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 31 lines 619 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 python3, 5}: 6 7python3.pkgs.buildPythonApplication rec { 8 pname = "openttd-nml"; 9 version = "0.7.6"; 10 format = "setuptools"; 11 12 src = fetchFromGitHub { 13 owner = "OpenTTD"; 14 repo = "nml"; 15 tag = version; 16 hash = "sha256-jAvzfmv8iLs4jb/rzRswiAPHZpx20hjfbG/NY4HGcF0="; 17 }; 18 19 propagatedBuildInputs = with python3.pkgs; [ 20 pillow 21 ply 22 ]; 23 24 meta = with lib; { 25 homepage = "http://openttdcoop.org/"; 26 description = "Compiler for OpenTTD NML files"; 27 mainProgram = "nmlc"; 28 license = licenses.gpl2Plus; 29 maintainers = with maintainers; [ ToxicFrog ]; 30 }; 31}