Merge pull request #302922 from tomodachi94/update/git-credential-oauth/install-manpage

git-credential-oauth: install manpage

authored by tomberek and committed by GitHub d2fc79db af1145bc

+7 -1
+7 -1
pkgs/applications/version-management/git-credential-oauth/default.nix
··· 1 - { lib, buildGoModule, fetchFromGitHub }: 1 + { lib, buildGoModule, fetchFromGitHub, installShellFiles }: 2 2 3 3 buildGoModule rec { 4 4 pname = "git-credential-oauth"; ··· 10 10 rev = "v${version}"; 11 11 hash = "sha256-bqyoAAqli0L6Kf+W1sTh2vmmfaIj2OdpQyvQZnYOWWA="; 12 12 }; 13 + 14 + nativeBuildInputs = [ installShellFiles ]; 13 15 14 16 ldflags = [ 15 17 "-s" ··· 18 20 ]; 19 21 20 22 vendorHash = "sha256-cCqbEv4kBnF6FWvfaXCOxadPVXR/AxXS3nXHf6WmsSs="; 23 + 24 + postInstall = '' 25 + installManPage $src/git-credential-oauth.1 26 + ''; 21 27 22 28 meta = { 23 29 description = "Git credential helper that securely authenticates to GitHub, GitLab and BitBucket using OAuth";