Files
nixpkgs/pkgs/by-name/gi/git-point/package.nix
Ben Siraphob 5506449838 pkgs/by-name: fix typos
Assisted-by: Claude Code (claude-opus-5)
2026-08-05 09:56:33 -07:00

38 lines
913 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage {
pname = "git-point";
version = "0.2.2";
src = fetchFromGitHub {
owner = "Qyriad";
repo = "git-point";
rev = "v0.2.2";
hash = "sha256-mH++Ddfv+OqjRTTGhagAtnNZpD13OtKhAiGxh7Mu0lY=";
};
cargoHash = "sha256-YwinEAJ8djCE2tHp8VcfcyHSa8rUn8RBnsdW0YqIM3o=";
postInstall = ''
mkdir -p "$out/share/man/man1"
"$out/bin/git-point" --mangen > "$out/share/man/man1/git-point.1"
'';
meta = {
homepage = "https://github.com/Qyriad/git-point";
description = "Set arbitrary refs without shooting yourself in the foot, a porcelain `git update-ref`";
maintainers = [
lib.maintainers.qyriad
lib.maintainers.philiptaron
];
license = lib.licenses.mit;
sourceProvenance = [ lib.sourceTypes.fromSource ];
platforms = lib.platforms.all;
mainProgram = "git-point";
};
}