forked from mirrors/nixpkgs
d994dabace
We do not use a "plugin system" for Git addons anymore, and therefore this directory is no longer useful. Indeed that directory is way more confusing, given that it includes more than mere Git addons, going from Bitbucket server command-line tools to complete rewrites of Git in exotic programming languages. Also, without this directory, the mental load of decision-making reduces a lot. When anyone is interested in including a new git-related tool, just put it into pkgs/applications/version-management, without apologies.
35 lines
779 B
Nix
35 lines
779 B
Nix
{ lib, stdenv, fetchFromGitHub, git, perl, makeWrapper }:
|
|
|
|
with lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "git-octopus";
|
|
version = "1.4";
|
|
|
|
installFlags = [ "prefix=$(out)" ];
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
# perl provides shasum
|
|
postInstall = ''
|
|
for f in $out/bin/*; do
|
|
wrapProgram $f --prefix PATH : ${makeBinPath [ git perl ]}
|
|
done
|
|
'';
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lesfurets";
|
|
repo = "git-octopus";
|
|
rev = "v${version}";
|
|
sha256 = "14p61xk7jankp6gc26xciag9fnvm7r9vcbhclcy23f4ghf4q4sj1";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://github.com/lesfurets/git-octopus";
|
|
description = "The continuous merge workflow";
|
|
license = licenses.lgpl3;
|
|
platforms = platforms.unix;
|
|
maintainers = [maintainers.mic92];
|
|
};
|
|
}
|