git-my: init at 1.1.2

This commit is contained in:
bb010g 2019-10-18 19:39:16 -07:00 committed by Dusk Banks
parent 846097b7af
commit ddb272bf1d
2 changed files with 31 additions and 0 deletions

View file

@ -104,6 +104,8 @@ let
git-machete = python3Packages.callPackage ./git-machete { };
git-my = callPackage ./git-my { };
git-octopus = callPackage ./git-octopus { };
git-open = callPackage ./git-open { };

View file

@ -0,0 +1,29 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "git-my";
version = "1.1.2";
src = fetchFromGitHub {
owner = "davidosomething";
repo = "git-my";
rev = version;
sha256 = "0jji5zw25jygj7g4f6f3k0p0s9g37r8iad8pa0s67cxbq2v4sc0v";
};
dontBuild = true;
installPhase = ''
install -Dm755 -t "$out"/bin ./git-my
'';
meta = with stdenv.lib; {
description =
"List remote branches if they're merged and/or available locally";
homepage = https://github.com/davidosomething/git-my;
license = licenses.free;
maintainers = with maintainers; [ bb010g ];
platforms = platforms.all;
};
}