mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
36 lines
861 B
Nix
36 lines
861 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "idb-companion";
|
|
version = "1.1.8";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/facebook/idb/releases/download/v${finalAttrs.version}/idb-companion.universal.tar.gz";
|
|
hash = "sha256-O3LMappbGiKhiCBahAkNOilDR6hGGA79dVzxo8hI4+c=";
|
|
};
|
|
|
|
sourceRoot = "idb-companion.universal";
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out
|
|
cp -r . $out/
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A powerful command line tool for automating iOS simulators and devices";
|
|
homepage = "https://github.com/facebook/idb";
|
|
license = licenses.mit;
|
|
platforms = platforms.darwin;
|
|
mainProgram = "idb_companion";
|
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
|
maintainers = with maintainers; [ siddarthkay ];
|
|
};
|
|
})
|