nixpkgs/pkgs/by-name/id/idb-companion/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

36 lines
859 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 = "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 ];
};
})