diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2024-03-13 13:52:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-13 13:52:55 +0100 |
commit | d80c897e8d23121454a11c062fed05ca9f7de62f (patch) | |
tree | 777bff866563691ac2cf60ede1ae243302355412 /pkgs/by-name | |
parent | d13d07454bc358624db4009d1ded830a48a6e0bf (diff) | |
parent | 94e2f842c5122464ccbef8d60affe434130b0c3a (diff) | |
download | nixlib-d80c897e8d23121454a11c062fed05ca9f7de62f.tar nixlib-d80c897e8d23121454a11c062fed05ca9f7de62f.tar.gz nixlib-d80c897e8d23121454a11c062fed05ca9f7de62f.tar.bz2 nixlib-d80c897e8d23121454a11c062fed05ca9f7de62f.tar.lz nixlib-d80c897e8d23121454a11c062fed05ca9f7de62f.tar.xz nixlib-d80c897e8d23121454a11c062fed05ca9f7de62f.tar.zst nixlib-d80c897e8d23121454a11c062fed05ca9f7de62f.zip |
Merge pull request #290932 from siddarthkay/init/idb-companion
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 ]; + }; +}) |