2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2019-10-19 02:39:16 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-10-19 02:39:16 +00:00
|
|
|
description =
|
|
|
|
"List remote branches if they're merged and/or available locally";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/davidosomething/git-my";
|
2019-10-19 02:39:16 +00:00
|
|
|
license = licenses.free;
|
|
|
|
maintainers = with maintainers; [ bb010g ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|