From beebdd4863527ff6a979a9b005fd00cb7be2c0bc Mon Sep 17 00:00:00 2001 From: genga Date: Tue, 12 Nov 2024 17:05:17 +0300 Subject: [PATCH] mud: 1.0.1 -> 1.0.10 mud: update --- pkgs/by-name/mu/mud/package.nix | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/mu/mud/package.nix b/pkgs/by-name/mu/mud/package.nix index 6114eb39d735..94b56792d72e 100644 --- a/pkgs/by-name/mu/mud/package.nix +++ b/pkgs/by-name/mu/mud/package.nix @@ -1,25 +1,24 @@ { lib, - stdenv, fetchFromGitHub, python3Packages, - versionCheckHook, }: python3Packages.buildPythonApplication rec { pname = "mud"; - version = "1.0.1"; + version = "1.0.10"; pyproject = true; src = fetchFromGitHub { owner = "jasursadikov"; repo = "mud"; rev = "refs/tags/v${version}"; - hash = "sha256-pW4B4+RN7hKtG2enJ33OHBeGsLj8w20ylvjcOL6owAk="; + hash = "sha256-UPlAA63iANuChpqWLUDHQrcRjYkHvLcwXW/lVrAfY20="; }; build-system = with python3Packages; [ hatchling + setuptools-scm ]; dependencies = with python3Packages; [ @@ -28,14 +27,9 @@ python3Packages.buildPythonApplication rec { pythonImportsCheck = [ "mud" ]; - # Version checking fails on darwin with: - # PermissionError: [Errno 1] Operation not permitted: '/var/empty/.mudsettings' - # despite adding `export HOME=$(mktemp -d)` in the `preVersionCheck` phase. - # The tool - nativeCheckInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [ - versionCheckHook - ]; - versionCheckProgramArg = [ "--version" ]; + # Removed versionCheckHook due to conflict with the new release, + # a mud config file is required to run the version check command. + # Mud can only be initialized in a directory containing git repos. meta = { description = "multi-directory git runner which allows you to run git commands in a multiple repositories";