From 25648e20b15a868485f2d791883757f0101d0706 Mon Sep 17 00:00:00 2001 From: emaryn Date: Fri, 9 May 2025 11:21:24 +0800 Subject: [PATCH] mu-repo: 1.8.2 -> 1.9.0 Diff: https://github.com/fabioz/mu-repo/compare/mu_repo_1_8_2...mu_repo_1_9_0 --- pkgs/applications/misc/mu-repo/default.nix | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/misc/mu-repo/default.nix b/pkgs/applications/misc/mu-repo/default.nix index c2acd018b78e..7b72cf93982c 100644 --- a/pkgs/applications/misc/mu-repo/default.nix +++ b/pkgs/applications/misc/mu-repo/default.nix @@ -1,7 +1,7 @@ { lib, - fetchFromGitHub, buildPythonApplication, + fetchFromGitHub, pytestCheckHook, git, testers, @@ -10,32 +10,34 @@ buildPythonApplication rec { pname = "mu-repo"; - version = "1.8.2"; + version = "1.9.0"; src = fetchFromGitHub { owner = "fabioz"; repo = "mu-repo"; - rev = "mu_repo_${lib.replaceStrings [ "." ] [ "_" ] version}"; - hash = "sha256-COc7hbu72eA+ikZQkz6zXtFyaa/AKhoF+Zvsr6ZVOuY="; + tag = "mu_repo_${lib.replaceStrings [ "." ] [ "_" ] version}"; + hash = "sha256-aSRf0B/skoZLsn4dykWOFKVNtHYCsD9RtZ1frHDrcJU="; }; - propagatedBuildInputs = [ git ]; + dependencies = [ git ]; nativeCheckInputs = [ pytestCheckHook git ]; + disabledTests = [ "test_action_diff" ]; + passthru.tests.version = testers.testVersion { package = mu-repo; }; - meta = with lib; { + meta = { description = "Tool to help in dealing with multiple git repositories"; homepage = "http://fabioz.github.io/mu-repo/"; - license = licenses.gpl3; - platforms = platforms.unix; - maintainers = with maintainers; [ sikmir ]; + license = lib.licenses.gpl3; + platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ sikmir ]; mainProgram = "mu"; }; }