tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
mu-repo: 1.8.0 → 1.8.1
Nikolay Korotkiy
5 years ago
43e8cb49
49cd7307
+7
-8
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
mu-repo
default.nix
+7
-8
pkgs/applications/misc/mu-repo/default.nix
···
1
1
-
{ lib, fetchFromGitHub, buildPythonApplication, pytest, git }:
1
1
+
{ lib, fetchFromGitHub, buildPythonApplication, pytestCheckHook, git }:
2
2
3
3
buildPythonApplication rec {
4
4
pname = "mu-repo";
5
5
-
version = "1.8.0";
5
5
+
version = "1.8.1";
6
6
7
7
src = fetchFromGitHub {
8
8
owner = "fabioz";
9
9
repo = pname;
10
10
-
rev = with lib;
11
11
-
"mu_repo_" + concatStringsSep "_" (splitVersion version);
12
12
-
sha256 = "1dxfggzbhiips0ww2s93yba9842ycp0i3x2i8vvcx0vgicv3rv6f";
10
10
+
rev = "mu_repo_${lib.replaceStrings [ "." ] [ "_" ] version}";
11
11
+
sha256 = "0mmjdkvmdlsndi2q56ybxyz2988ppxsbbr1g54nzzkkvab2bc2na";
13
12
};
14
13
15
15
-
checkInputs = [ pytest git ];
16
16
-
# disable test which assumes it's a git repo
17
17
-
checkPhase = "py.test mu_repo --ignore=mu_repo/tests/test_checkout.py";
14
14
+
propagatedBuildInputs = [ git ];
15
15
+
16
16
+
checkInputs = [ pytestCheckHook git ];
18
17
19
18
meta = with lib; {
20
19
description = "Tool to help in dealing with multiple git repositories";