mgitstatus: init at 2.2
This commit is contained in:
parent
4366d967b8
commit
6d1b499c70
1 changed files with 36 additions and 0 deletions
36
pkgs/by-name/mg/mgitstatus/package.nix
Normal file
36
pkgs/by-name/mg/mgitstatus/package.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ fetchFromGitHub
|
||||
, lib
|
||||
, stdenvNoCC
|
||||
, testers
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "mgitstatus";
|
||||
version = "2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fboender";
|
||||
repo = "multi-git-status";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-jzoX7Efq9+1UdXQdhLRqBlhU3cBrk5AZblg9AYetItg=";
|
||||
};
|
||||
|
||||
installFlags = [
|
||||
"PREFIX=$(out)"
|
||||
];
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = finalAttrs.finalPackage;
|
||||
version = "v${finalAttrs.version}";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Show uncommitted, untracked and unpushed changes for multiple Git repos";
|
||||
downloadPage = "https://github.com/fboender/multi-git-status/releases/tag/v${finalAttrs.version}";
|
||||
homepage = "https://github.com/fboender/multi-git-status";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ getpsyched ];
|
||||
mainProgram = "mgitstatus";
|
||||
platforms = platforms.all;
|
||||
};
|
||||
})
|
Loading…
Reference in a new issue