aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/applications/misc/mu-repo/default.nix
blob: eacd1971610f4639191f573ea7d952d15e282a47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, fetchFromGitHub, buildPythonApplication, pytestCheckHook, git }:

buildPythonApplication rec {
  pname = "mu-repo";
  version = "1.8.1";

  src = fetchFromGitHub {
    owner = "fabioz";
    repo = pname;
    rev = "mu_repo_${lib.replaceStrings [ "." ] [ "_" ] version}";
    sha256 = "0mmjdkvmdlsndi2q56ybxyz2988ppxsbbr1g54nzzkkvab2bc2na";
  };

  propagatedBuildInputs = [ git ];

  checkInputs = [ pytestCheckHook git ];

  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 ];
  };
}