Loading pkgs/by-name/op/openttd-nml/package.nix +14 −5 Original line number Diff line number Diff line Loading @@ -2,24 +2,33 @@ lib, fetchFromGitHub, python3, versionCheckHook, }: python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication (finalAttrs: { pname = "openttd-nml"; version = "0.8.0"; version = "0.8.1"; format = "setuptools"; src = fetchFromGitHub { owner = "OpenTTD"; repo = "nml"; tag = version; hash = "sha256-LZhkyYTtolB9/1ZvwYa+TJJRBIifyuqlMawK7vhPV0k="; tag = finalAttrs.version; hash = "sha256-swAkUhduIhcfbAvKsPaJNBXcv8T6GDaxk3KKLLa9GQ8="; }; postPatch = '' echo 'version = "${finalAttrs.version}"' > nml/__version__.py ''; propagatedBuildInputs = with python3.pkgs; [ pillow ]; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; meta = { homepage = "http://openttdcoop.org/"; description = "Compiler for OpenTTD NML files"; Loading @@ -27,4 +36,4 @@ python3.pkgs.buildPythonApplication rec { license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ ToxicFrog ]; }; } }) Loading
pkgs/by-name/op/openttd-nml/package.nix +14 −5 Original line number Diff line number Diff line Loading @@ -2,24 +2,33 @@ lib, fetchFromGitHub, python3, versionCheckHook, }: python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication (finalAttrs: { pname = "openttd-nml"; version = "0.8.0"; version = "0.8.1"; format = "setuptools"; src = fetchFromGitHub { owner = "OpenTTD"; repo = "nml"; tag = version; hash = "sha256-LZhkyYTtolB9/1ZvwYa+TJJRBIifyuqlMawK7vhPV0k="; tag = finalAttrs.version; hash = "sha256-swAkUhduIhcfbAvKsPaJNBXcv8T6GDaxk3KKLLa9GQ8="; }; postPatch = '' echo 'version = "${finalAttrs.version}"' > nml/__version__.py ''; propagatedBuildInputs = with python3.pkgs; [ pillow ]; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; meta = { homepage = "http://openttdcoop.org/"; description = "Compiler for OpenTTD NML files"; Loading @@ -27,4 +36,4 @@ python3.pkgs.buildPythonApplication rec { license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ ToxicFrog ]; }; } })