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"; }; }