9 stdenvNoCC.mkDerivation rec {
10 pname = "git-identity";
13 src = fetchFromGitHub {
15 repo = "git-identity";
16 rev = "refs/tags/v${version}";
17 hash = "sha256-u4lIW0bntaKrVUwodXZ8ZwWxSZtLuhVSUAbIj8jjcLw=";
27 ronn --roff git-identity.1.ronn
34 cp git-identity $out/bin/git-identity
35 installManPage git-identity.1
36 installShellCompletion --cmd git-identity \
37 --bash git-identity.bash-completion \
38 --zsh git-identity.zsh-completion
42 passthru.updateScript = nix-update-script { };
45 description = "Manage your identity in Git";
46 mainProgram = "git-identity";
47 homepage = "https://github.com/madx/git-identity";
48 license = lib.licenses.wtfpl;
49 maintainers = with lib.maintainers; [ mynacol ];
50 platforms = lib.platforms.all;