commit
ea91f5f614
1 changed files with 7 additions and 8 deletions
|
@ -1,20 +1,19 @@
|
||||||
{ lib, fetchFromGitHub, buildPythonApplication, pytest, git }:
|
{ lib, fetchFromGitHub, buildPythonApplication, pytestCheckHook, git }:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "mu-repo";
|
pname = "mu-repo";
|
||||||
version = "1.8.0";
|
version = "1.8.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "fabioz";
|
owner = "fabioz";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = with lib;
|
rev = "mu_repo_${lib.replaceStrings [ "." ] [ "_" ] version}";
|
||||||
"mu_repo_" + concatStringsSep "_" (splitVersion version);
|
sha256 = "0mmjdkvmdlsndi2q56ybxyz2988ppxsbbr1g54nzzkkvab2bc2na";
|
||||||
sha256 = "1dxfggzbhiips0ww2s93yba9842ycp0i3x2i8vvcx0vgicv3rv6f";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest git ];
|
propagatedBuildInputs = [ git ];
|
||||||
# disable test which assumes it's a git repo
|
|
||||||
checkPhase = "py.test mu_repo --ignore=mu_repo/tests/test_checkout.py";
|
checkInputs = [ pytestCheckHook git ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Tool to help in dealing with multiple git repositories";
|
description = "Tool to help in dealing with multiple git repositories";
|
||||||
|
|
Loading…
Reference in a new issue