2020-11-30 08:33:03 +00:00
|
|
|
{ lib, fetchFromGitHub, buildPythonApplication, pytestCheckHook, git }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "mu-repo";
|
2020-11-30 08:33:03 +00:00
|
|
|
version = "1.8.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fabioz";
|
|
|
|
repo = pname;
|
2020-11-30 08:33:03 +00:00
|
|
|
rev = "mu_repo_${lib.replaceStrings [ "." ] [ "_" ] version}";
|
|
|
|
sha256 = "0mmjdkvmdlsndi2q56ybxyz2988ppxsbbr1g54nzzkkvab2bc2na";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-11-30 08:33:03 +00:00
|
|
|
propagatedBuildInputs = [ git ];
|
|
|
|
|
|
|
|
checkInputs = [ pytestCheckHook git ];
|
2020-04-24 23:36:52 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|