Merge pull request #286284 from siddarthkay/init/xcbeautify
xcbeautify: init at 1.4.0
This commit is contained in:
commit
dc302b0e90
|
@ -17460,6 +17460,12 @@
|
||||||
github = "shymega";
|
github = "shymega";
|
||||||
githubId = 1334592;
|
githubId = 1334592;
|
||||||
};
|
};
|
||||||
|
siddarthkay = {
|
||||||
|
email = "siddarthkay@gmail.com";
|
||||||
|
github = "siddarthkay";
|
||||||
|
githubId = 64726664;
|
||||||
|
name = "Siddarth Kumar";
|
||||||
|
};
|
||||||
siddharthdhakane = {
|
siddharthdhakane = {
|
||||||
email = "siddharthdhakane@gmail.com";
|
email = "siddharthdhakane@gmail.com";
|
||||||
github = "siddharthdhakane";
|
github = "siddharthdhakane";
|
||||||
|
|
41
pkgs/by-name/xc/xcbeautify/package.nix
Normal file
41
pkgs/by-name/xc/xcbeautify/package.nix
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, unzip
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "xcbeautify";
|
||||||
|
version = "1.4.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/cpisciotta/xcbeautify/releases/download/${version}/xcbeautify-${version}-${stdenv.hostPlatform.darwinArch}-apple-macosx.zip";
|
||||||
|
hash = lib.getAttr stdenv.hostPlatform.darwinArch {
|
||||||
|
arm64 = "sha256-4b4mXT5IfNOS8iOrZASDhTrmOehG4mePcoiKxR+IdZk=";
|
||||||
|
x86_64 = "sha256-adEfAK7n3Q/Yd1deyJx7htX7hZaGDztEeBv4z2A0wzg=";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ unzip ];
|
||||||
|
|
||||||
|
unpackPhase = ''
|
||||||
|
unzip $src
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
install -D xcbeautify $out/bin/xcbeautify
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Little beautifier tool for xcodebuild";
|
||||||
|
homepage = "https://github.com/cpisciotta/xcbeautify";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.darwin;
|
||||||
|
mainProgram = "xcbeautify";
|
||||||
|
maintainers = with maintainers; [ siddarthkay ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user