mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
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.
28 lines
734 B
Nix
28 lines
734 B
Nix
{ stdenv, lib, fetchFromGitHub, ... }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "git-stree";
|
|
version = "0.4.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tdd";
|
|
repo = "git-stree";
|
|
rev = "0.4.5";
|
|
sha256 = "0y5h44n38w6rhy9m591dvibxpfggj3q950ll7y4h49bhpks4m0l9";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin $out/share/bash-completion/completions
|
|
install -m 0755 git-stree $out/bin/
|
|
install -m 0644 git-stree-completion.bash $out/share/bash-completion/completions/
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A better Git subtree helper command";
|
|
homepage = "http://deliciousinsights.github.io/git-stree";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.benley ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|