diff options
author | Siddarth Kumar <siddarthkay@gmail.com> | 2024-02-23 22:20:48 +0530 |
---|---|---|
committer | Siddarth Kumar <siddarthkay@gmail.com> | 2024-03-13 13:35:27 +0530 |
commit | 94e2f842c5122464ccbef8d60affe434130b0c3a (patch) | |
tree | 35f99b1163a3d54439d98e6dc43464d280aeda06 /pkgs/by-name | |
parent | 40cb903ec3b90867e56633d7b0acd6a9a768c8c6 (diff) | |
download | nixlib-94e2f842c5122464ccbef8d60affe434130b0c3a.tar nixlib-94e2f842c5122464ccbef8d60affe434130b0c3a.tar.gz nixlib-94e2f842c5122464ccbef8d60affe434130b0c3a.tar.bz2 nixlib-94e2f842c5122464ccbef8d60affe434130b0c3a.tar.lz nixlib-94e2f842c5122464ccbef8d60affe434130b0c3a.tar.xz nixlib-94e2f842c5122464ccbef8d60affe434130b0c3a.tar.zst nixlib-94e2f842c5122464ccbef8d60affe434130b0c3a.zip |
idb-companion: init at 1.1.8
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/id/idb-companion/package.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/by-name/id/idb-companion/package.nix b/pkgs/by-name/id/idb-companion/package.nix new file mode 100644 index 000000000000..f133373acfa6 --- /dev/null +++ b/pkgs/by-name/id/idb-companion/package.nix @@ -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 ]; + }; +}) |