mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-09 16:18:34 +01:00
git-fork: init at 2.57.1 (#449687)
This commit is contained in:
commit
ec193bdd93
|
|
@ -7023,6 +7023,13 @@
|
|||
name = "Will Dietz";
|
||||
keys = [ { fingerprint = "389A 78CB CD88 5E0C 4701 DEB9 FD42 C7D0 D414 94C8"; } ];
|
||||
};
|
||||
dudeofawesome = {
|
||||
email = "tourist-04.iced@icloud.com";
|
||||
github = "dudeofawesome";
|
||||
githubId = 1683595;
|
||||
name = "Louis Orleans";
|
||||
keys = [ { fingerprint = "llSOkL8Tn5+LOmWa4PDci+dQXZIRy11NSumDiFzNkAM"; } ];
|
||||
};
|
||||
dudymas = {
|
||||
email = "jeremy.white@cloudposse.com";
|
||||
github = "dudymas";
|
||||
|
|
|
|||
42
pkgs/by-name/gi/git-fork/package.nix
Normal file
42
pkgs/by-name/gi/git-fork/package.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
undmg,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "git-fork";
|
||||
version = "2.57.1";
|
||||
src = fetchurl {
|
||||
url = "https://cdn.fork.dev/mac/Fork-${finalAttrs.version}.dmg";
|
||||
hash = "sha256-hIrR655lCKBDkZS6cF7BD+WMvX13T9180rpAfUYc8YA=";
|
||||
};
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
nativeBuildInputs = [ undmg ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p "$out/"{bin,Applications}
|
||||
mv Fork.app "$out/Applications/"
|
||||
ln -s "$out/Applications/Fork.app/Contents/MacOS/Fork" "$out/bin/fork"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Git client";
|
||||
homepage = "https://git-fork.com";
|
||||
license = lib.licenses.unfree;
|
||||
maintainers = with lib.maintainers; [ dudeofawesome ];
|
||||
platforms = lib.platforms.darwin;
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||
mainProgram = "fork";
|
||||
};
|
||||
})
|
||||
Loading…
Reference in a new issue