xcodes: init at 1.3.0
This commit is contained in:
parent
cc4e1f69ed
commit
be26319236
@ -64,6 +64,12 @@
|
||||
githubId = 64707304;
|
||||
name = "Dmitry Kulikov";
|
||||
};
|
||||
_0x120581f = {
|
||||
email = "nixpkgs@0x120581f.dev";
|
||||
name = "0x120581f";
|
||||
github = "0x120581f";
|
||||
githubId = 130835755;
|
||||
};
|
||||
_0x4A6F = {
|
||||
email = "mail-maintainer@0x4A6F.dev";
|
||||
matrix = "@0x4a6f:matrix.org";
|
||||
|
40
pkgs/development/tools/xcodes/default.nix
Normal file
40
pkgs/development/tools/xcodes/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ lib, stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xcodes";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/XcodesOrg/xcodes/releases/download/${finalAttrs.version}/xcodes.zip";
|
||||
hash = "sha256:0cqb0gfb80xrnm4fipr46kbzqz2kicc13afhdxkbifzm4k83any5";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
unpackPhase = ''
|
||||
runHook preUnpack
|
||||
unzip -q $src
|
||||
runHook postUnpack
|
||||
'';
|
||||
|
||||
dontPatch = true;
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/bin
|
||||
install -m755 xcodes $out/bin/xcodes
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
dontFixup = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command-line tool to install and switch between multiple versions of Xcode";
|
||||
homepage = "https://github.com/XcodesOrg/xcodes";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ _0x120581f ];
|
||||
platforms = platforms.darwin;
|
||||
};
|
||||
})
|
@ -3763,6 +3763,8 @@ with pkgs;
|
||||
|
||||
xcodeenv = callPackage ../development/mobile/xcodeenv { };
|
||||
|
||||
xcodes = callPackage ../development/tools/xcodes { };
|
||||
|
||||
gomobile = callPackage ../development/mobile/gomobile { };
|
||||
|
||||
ssh-agents = callPackage ../tools/networking/ssh-agents { };
|
||||
|
Loading…
Reference in New Issue
Block a user