Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

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`.

+38
+38
pkgs/by-name/gi/git-point/package.nix
···
··· 1 + { 2 + lib, 3 + rustPlatform, 4 + fetchFromGitHub, 5 + }: 6 + 7 + rustPlatform.buildRustPackage rec { 8 + pname = "git-point"; 9 + version = "0.2.2"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "Qyriad"; 13 + repo = "git-point"; 14 + rev = "v0.2.2"; 15 + hash = "sha256-mH++Ddfv+OqjRTTGhagAtnNZpD13OtKhAiGxh7Mu0lY="; 16 + }; 17 + 18 + useFetchCargoVendor = true; 19 + cargoHash = "sha256-YwinEAJ8djCE2tHp8VcfcyHSa8rUn8RBnsdW0YqIM3o="; 20 + 21 + postInstall = '' 22 + mkdir -p "$out/share/man/man1" 23 + "$out/bin/git-point" --mangen > "$out/share/man/man1/git-point.1" 24 + ''; 25 + 26 + meta = { 27 + homepage = "https://github.com/Qyriad/git-point"; 28 + description = "Set arbitrary refs without shooting yourself in the foot, a procelain `git update-ref`"; 29 + maintainers = [ 30 + lib.maintainers.qyriad 31 + lib.maintainers.philiptaron 32 + ]; 33 + license = [ lib.licenses.mit ]; 34 + sourceProvenance = [ lib.sourceTypes.fromSource ]; 35 + platforms = lib.platforms.all; 36 + mainProgram = "git-point"; 37 + }; 38 + }