2022-09-30 11:47:45 +00:00
|
|
|
{ lib, fetchFromGitHub, buildPythonApplication, pytestCheckHook, git, testers, mu-repo }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "mu-repo";
|
2022-09-30 11:47:45 +00:00
|
|
|
version = "1.8.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fabioz";
|
2022-09-30 11:47:45 +00:00
|
|
|
repo = "mu-repo";
|
2020-11-30 08:33:03 +00:00
|
|
|
rev = "mu_repo_${lib.replaceStrings [ "." ] [ "_" ] version}";
|
2022-09-30 11:47:45 +00:00
|
|
|
hash = "sha256-COc7hbu72eA+ikZQkz6zXtFyaa/AKhoF+Zvsr6ZVOuY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-11-30 08:33:03 +00:00
|
|
|
propagatedBuildInputs = [ git ];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook git ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-09-30 11:47:45 +00:00
|
|
|
passthru.tests.version = testers.testVersion {
|
|
|
|
package = mu-repo;
|
|
|
|
};
|
|
|
|
|
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 ];
|
2022-09-30 11:47:45 +00:00
|
|
|
mainProgram = "mu";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|