From 43e8cb49b985aeee7878e51d9cc245910e9a8ac2 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Wed, 4 Nov 2020 13:41:37 +0300 Subject: [PATCH] =?UTF-8?q?mu-repo:=201.8.0=20=E2=86=92=201.8.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/applications/misc/mu-repo/default.nix | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/misc/mu-repo/default.nix b/pkgs/applications/misc/mu-repo/default.nix index ddee1939b02..eacd1971610 100644 --- a/pkgs/applications/misc/mu-repo/default.nix +++ b/pkgs/applications/misc/mu-repo/default.nix @@ -1,20 +1,19 @@ -{ lib, fetchFromGitHub, buildPythonApplication, pytest, git }: +{ lib, fetchFromGitHub, buildPythonApplication, pytestCheckHook, git }: buildPythonApplication rec { pname = "mu-repo"; - version = "1.8.0"; + version = "1.8.1"; src = fetchFromGitHub { owner = "fabioz"; repo = pname; - rev = with lib; - "mu_repo_" + concatStringsSep "_" (splitVersion version); - sha256 = "1dxfggzbhiips0ww2s93yba9842ycp0i3x2i8vvcx0vgicv3rv6f"; + rev = "mu_repo_${lib.replaceStrings [ "." ] [ "_" ] version}"; + sha256 = "0mmjdkvmdlsndi2q56ybxyz2988ppxsbbr1g54nzzkkvab2bc2na"; }; - checkInputs = [ pytest git ]; - # disable test which assumes it's a git repo - checkPhase = "py.test mu_repo --ignore=mu_repo/tests/test_checkout.py"; + propagatedBuildInputs = [ git ]; + + checkInputs = [ pytestCheckHook git ]; meta = with lib; { description = "Tool to help in dealing with multiple git repositories";