2020-11-04 11:41:37 +01:00
|
|
|
{ lib, fetchFromGitHub, buildPythonApplication, pytestCheckHook, git }:
|
2019-10-25 19:18:01 +02:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "mu-repo";
|
2020-11-04 11:41:37 +01:00
|
|
|
version = "1.8.1";
|
2019-10-25 19:18:01 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fabioz";
|
|
|
|
repo = pname;
|
2020-11-04 11:41:37 +01:00
|
|
|
rev = "mu_repo_${lib.replaceStrings [ "." ] [ "_" ] version}";
|
|
|
|
sha256 = "0mmjdkvmdlsndi2q56ybxyz2988ppxsbbr1g54nzzkkvab2bc2na";
|
2019-10-25 19:18:01 +02:00
|
|
|
};
|
|
|
|
|
2020-11-04 11:41:37 +01:00
|
|
|
propagatedBuildInputs = [ git ];
|
|
|
|
|
|
|
|
checkInputs = [ pytestCheckHook git ];
|
2019-10-25 19:18:01 +02:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|