mu-repo: 1.8.0 → 1.8.1

+7 -8
+7 -8
pkgs/applications/misc/mu-repo/default.nix
··· 1 - { lib, fetchFromGitHub, buildPythonApplication, pytest, git }: 1 + { lib, fetchFromGitHub, buildPythonApplication, pytestCheckHook, git }: 2 2 3 3 buildPythonApplication rec { 4 4 pname = "mu-repo"; 5 - version = "1.8.0"; 5 + version = "1.8.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "fabioz"; 9 9 repo = pname; 10 - rev = with lib; 11 - "mu_repo_" + concatStringsSep "_" (splitVersion version); 12 - sha256 = "1dxfggzbhiips0ww2s93yba9842ycp0i3x2i8vvcx0vgicv3rv6f"; 10 + rev = "mu_repo_${lib.replaceStrings [ "." ] [ "_" ] version}"; 11 + sha256 = "0mmjdkvmdlsndi2q56ybxyz2988ppxsbbr1g54nzzkkvab2bc2na"; 13 12 }; 14 13 15 - checkInputs = [ pytest git ]; 16 - # disable test which assumes it's a git repo 17 - checkPhase = "py.test mu_repo --ignore=mu_repo/tests/test_checkout.py"; 14 + propagatedBuildInputs = [ git ]; 15 + 16 + checkInputs = [ pytestCheckHook git ]; 18 17 19 18 meta = with lib; { 20 19 description = "Tool to help in dealing with multiple git repositories";