idb-companion: init at 1.1.8

This commit is contained in:
Siddarth Kumar 2024-02-23 22:20:48 +05:30
parent 40cb903ec3
commit 94e2f842c5
No known key found for this signature in database
GPG key ID: F84DB2CA5207F534

View file

@ -0,0 +1,35 @@
{ 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 ];
};
})