vuls: init at 0.27.0 (#348530)
[NixPkgs.git] / pkgs / by-name / mg / mgitstatus / package.nix
blob1214123cedd6a25bcd7fa699eef2c6bd4f94d33b
1 { fetchFromGitHub
2 , lib
3 , stdenvNoCC
4 , testers
5 }:
7 stdenvNoCC.mkDerivation (finalAttrs: {
8   pname = "mgitstatus";
9   version = "2.2";
11   src = fetchFromGitHub {
12     owner = "fboender";
13     repo = "multi-git-status";
14     rev = finalAttrs.version;
15     hash = "sha256-jzoX7Efq9+1UdXQdhLRqBlhU3cBrk5AZblg9AYetItg=";
16   };
18   installFlags = [
19     "PREFIX=$(out)"
20   ];
22   passthru.tests.version = testers.testVersion {
23     package = finalAttrs.finalPackage;
24     version = "v${finalAttrs.version}";
25   };
27   meta = with lib; {
28     description = "Show uncommitted, untracked and unpushed changes for multiple Git repos";
29     downloadPage = "https://github.com/fboender/multi-git-status/releases/tag/v${finalAttrs.version}";
30     homepage = "https://github.com/fboender/multi-git-status";
31     changelog = "https://github.com/fboender/multi-git-status/releases/tag/${finalAttrs.src.rev}";
32     license = licenses.mit;
33     maintainers = with maintainers; [ getpsyched ];
34     mainProgram = "mgitstatus";
35     platforms = platforms.all;
36   };