From d49663068c98f1aeed8b3564ac4c5ddd11ca2421 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Tue, 6 Sep 2022 13:54:04 +0300 Subject: [PATCH] =?UTF-8?q?mu-repo:=201.8.1=20=E2=86=92=201.8.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/applications/misc/mu-repo/default.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/misc/mu-repo/default.nix b/pkgs/applications/misc/mu-repo/default.nix index eacd1971610..9da761c5884 100644 --- a/pkgs/applications/misc/mu-repo/default.nix +++ b/pkgs/applications/misc/mu-repo/default.nix @@ -1,25 +1,30 @@ -{ lib, fetchFromGitHub, buildPythonApplication, pytestCheckHook, git }: +{ lib, fetchFromGitHub, buildPythonApplication, pytestCheckHook, git, testers, mu-repo }: buildPythonApplication rec { pname = "mu-repo"; - version = "1.8.1"; + version = "1.8.2"; src = fetchFromGitHub { owner = "fabioz"; - repo = pname; + repo = "mu-repo"; rev = "mu_repo_${lib.replaceStrings [ "." ] [ "_" ] version}"; - sha256 = "0mmjdkvmdlsndi2q56ybxyz2988ppxsbbr1g54nzzkkvab2bc2na"; + hash = "sha256-COc7hbu72eA+ikZQkz6zXtFyaa/AKhoF+Zvsr6ZVOuY="; }; propagatedBuildInputs = [ git ]; checkInputs = [ pytestCheckHook git ]; + passthru.tests.version = testers.testVersion { + package = mu-repo; + }; + meta = with lib; { 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 ]; + mainProgram = "mu"; }; }