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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
816 B
Nix
Raw Normal View History

2022-09-06 10:54:04 +00:00
{ lib, fetchFromGitHub, buildPythonApplication, pytestCheckHook, git, testers, mu-repo }:
2019-10-25 17:18:01 +00:00
buildPythonApplication rec {
pname = "mu-repo";
2022-09-06 10:54:04 +00:00
version = "1.8.2";
2019-10-25 17:18:01 +00:00
src = fetchFromGitHub {
owner = "fabioz";
2022-09-06 10:54:04 +00:00
repo = "mu-repo";
2020-11-04 10:41:37 +00:00
rev = "mu_repo_${lib.replaceStrings [ "." ] [ "_" ] version}";
2022-09-06 10:54:04 +00:00
hash = "sha256-COc7hbu72eA+ikZQkz6zXtFyaa/AKhoF+Zvsr6ZVOuY=";
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
2022-09-06 10:54:04 +00:00
passthru.tests.version = testers.testVersion {
package = mu-repo;
};
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 ];
2022-09-06 10:54:04 +00:00
mainProgram = "mu";
2019-10-25 17:18:01 +00:00
};
}