mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
Merge pull request #198844 from SubhrajyotiSen/maestro
This commit is contained in:
commit
a633c0e2e2
33
pkgs/development/mobile/maestro/default.nix
Normal file
33
pkgs/development/mobile/maestro/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ lib, stdenv, fetchurl, unzip, makeWrapper, jre_headless }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "maestro";
|
||||
version = "1.11.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mobile-dev-inc/maestro/releases/download/cli-${version}/maestro-${version}.zip";
|
||||
sha256 = "0hjsrwp6d1k68p0qhn7v9689ihy06ssnfpi8dj61jw6r64c234m4";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
nativeBuildInputs = [ unzip makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
unzip $src -d $out
|
||||
mv $out/maestro-$version/* $out
|
||||
rm -rf $out/maestro-$version
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/maestro --prefix PATH : "${lib.makeBinPath [ jre_headless ]}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Mobile UI Automation tool";
|
||||
homepage = "https://maestro.mobile.dev/";
|
||||
license = licenses.asl20;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with maintainers; [ SubhrajyotiSen ];
|
||||
};
|
||||
}
|
@ -31803,6 +31803,8 @@ with pkgs;
|
||||
|
||||
maestral-gui = libsForQt5.callPackage ../applications/networking/maestral-qt { };
|
||||
|
||||
maestro = callPackage ../development/mobile/maestro { };
|
||||
|
||||
myfitnesspal = with python3Packages; toPythonApplication myfitnesspal;
|
||||
|
||||
insync = callPackage ../applications/networking/insync { };
|
||||
|
Loading…
Reference in New Issue
Block a user