mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
git-point: init at 0.2.2
Not to be confused with https://gitpoint.co/, an (abandoned?) GitHub mobile app. `git-point` is a tool to set arbitrary refs without shooting yourself in the foot. It's a porcelain around the plumbing off `git update-ref`.
This commit is contained in:
parent
34857ed13a
commit
7617f8bcd4
1 changed files with 38 additions and 0 deletions
38
pkgs/by-name/gi/git-point/package.nix
Normal file
38
pkgs/by-name/gi/git-point/package.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "git-point";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Qyriad";
|
||||
repo = "git-point";
|
||||
rev = "v0.2.2";
|
||||
hash = "sha256-mH++Ddfv+OqjRTTGhagAtnNZpD13OtKhAiGxh7Mu0lY=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
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 procelain `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";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue