nixpkgs/pkgs/applications/misc/mu-repo/default.nix

26 lines
695 B
Nix
Raw Normal View History

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