biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / version-management / git-stree / default.nix
blobd15db48902fa16ba442ffae73af86efbad6514df
1 { stdenv, lib, fetchFromGitHub, ... }:
3 stdenv.mkDerivation {
4   pname = "git-stree";
5   version = "0.4.5";
7   src = fetchFromGitHub {
8     owner = "tdd";
9     repo = "git-stree";
10     rev = "0.4.5";
11     sha256 = "0y5h44n38w6rhy9m591dvibxpfggj3q950ll7y4h49bhpks4m0l9";
12   };
14   installPhase = ''
15     mkdir -p $out/bin $out/share/bash-completion/completions
16     install -m 0755 git-stree $out/bin/
17     install -m 0644 git-stree-completion.bash $out/share/bash-completion/completions/
18   '';
20   meta = with lib; {
21     description = "Better Git subtree helper command";
22     homepage = "http://deliciousinsights.github.io/git-stree";
23     license = licenses.mit;
24     maintainers = [ maintainers.benley ];
25     platforms = platforms.unix;
26     mainProgram = "git-stree";
27   };