Commit Graph

59 Commits

Author SHA1 Message Date
Andrei Lapshin
0e3b22768d Android Studio: allow to pass shell arguments
Pass parameters to Android Studio shell script.
This way Android Studio can be used as git diff/merge tool.
For example
```
[difftool "androidstudio"]
        cmd = android-studio nosplash diff $LOCAL $REMOTE 2>/dev/null
        trustExitCode = true

[mergetool "androidstudio"]
        cmd = android-studio nosplash merge $LOCAL $REMOTE $BASE $MERGED 2>/dev/null
        trustExitCode = true
```

See https://www.jetbrains.com/help/idea/working-with-the-ide-features-from-command-line.html#arguments
2022-05-28 14:15:48 +03:00
Andrei Lapshin
f615c7545b androidStudioPackages: add myself as maintainer 2022-05-10 20:58:54 +03:00
Sandro
3dfa9add5e
Merge pull request #171356 from ari-becker/patch-1
android-studio: add e2fsprogs dependency
2022-05-09 17:06:20 +02:00
Sandro
4f68abccd8
Merge pull request #168391 from danielbarter/android-studio_tiling_wm
android-studio: fixing gui on tiling window managers
2022-05-04 13:46:59 +02:00
Ari Becker
09046b11ce
Remove whitespace 2022-05-03 09:27:23 +03:00
Ari Becker
ec9f5dfd31
android-studio: add e2fsprogs dependency
Closes #171355
2022-05-03 09:23:59 +03:00
Fabián Heredia Montiel
399a20a384 android-studio: remove myself as maintainer 2022-04-21 13:01:45 -05:00
Daniel Barter
58b94a6eb0 android-studio: fixing gui for tiling window managers 2022-04-12 13:30:40 -07:00
Vanilla
f73cd87913
maintainers: remove meutraa 2022-02-28 08:44:13 +08:00
Bobby Rong
8187f20f97
Merge pull request #161767 from VergeDX/android-studio
android-studio: Remove version string from desktop and icon file.
2022-02-26 21:10:40 +08:00
K900
cb2cfba6f7 treewide: switch all desktop file generators to new API
Notably:
- remove explicit arguments that match the defaults
- convert everything to the right Nix types
2022-02-25 13:40:38 -08:00
Vanilla
86cd00d92d
android-studio: Remove version string from desktop and icon file. 2022-02-25 11:26:52 +08:00
Fabián Heredia Montiel
969baf2cb3 android-studio: add usbutils to runtime path
Closes https://github.com/NixOS/nixpkgs/issues/151037
2021-12-16 18:29:29 -06:00
Fabián Heredia Montiel
6c156651f4 android-studio: add fabianhjr to maintainers 2021-10-19 11:30:38 -05:00
Sandro
cf8a4370cb
Merge pull request #132203 from alapshin/android-studio 2021-08-19 00:22:31 +02:00
IvarWithoutBones
0d315b7f70 androidStudioPackages.{canary,dev}: properly fix interpreter paths of deployed scripts 2021-08-02 16:41:24 +02:00
Andrei Lapshin
d887fd1ac7 androidStudioPackages.stable: 4.2.2 -> 2020.3.1 2021-07-31 13:09:23 +03:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Andrei Lapshin
9a025431e9 androidStudioPackages.{canary,dev}: 2020.3.1.10 -> 2020.3.1.15 2021-05-14 08:23:48 +03:00
Jan Tojnar
913394a1d9
Merge branch 'staging-next' into staging 2021-03-01 19:30:56 +01:00
meutraa
7230b47079
androidStudioPackages: change --set JAVA_HOME to --set-default in wrapper 2021-02-24 09:54:30 +00:00
Ben Siraphob
127733211e
treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
meutraa
337aecf983
androidStudioPackages: set JAVA_HOME in wrapper to bundled version 2021-02-10 17:30:03 +00:00
IvarWithoutBones
3c350e4b75 androidStudioPackages.{stable,beta,canary,dev}: Fix LLDB debugger 2021-02-08 02:00:12 +01:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
meutraa
e253027617
androidStudioPackages.{canary,dev}: 20.3.1.2 -> 2020.3.1.3 2020-12-26 21:32:05 +00:00
meutraa
e909c93a29
androidStudioPackages.beta: change maintainer to meutraa 2020-08-31 23:08:14 +01:00
galagora
fb7752a597 maintainers: add meutraa 2020-07-21 19:57:17 +03:00
galagora
167d5d8c3b maintainers: add galagora 2020-07-21 19:50:24 +03:00
Michael Weiss
03db2c67ac
androidStudioPackages.{beta,dev,canary}: Remove myself as maintainer
See #88071.
I'll try to maintain at least the stable channel for now and will mark
the other channels as broken after the next major stable release.
2020-07-17 15:15:09 +02:00
Nicolas Schneider
c296bf7169 android-studio: add ps to closure
When killing processes, android-studio uses `ps` to figure out which
subprocesses to kill. Without `ps` in the closure, this fails and the
process is never killed.
2020-04-21 22:48:47 +02:00
Michael Weiss
adcd8baa02
android-studio: Fix the license (unfree)
Android Studio states that it contains proprietary code!
2020-04-12 17:27:54 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Andrei Lapshin
ca00dc80bc android-studio: add missing emulator dependency 2019-12-19 10:45:37 +03:00
Vladimir Serov
d8606230a5
[fix] android-studio: added certificate bundle to /etc/pki
This fixes Flutter SDK failing on flutter pub, due to missing certificates.
Flutter does not check /etc/ssl, and can only find them in /etc/pki.
2019-11-04 16:53:02 +03:00
Alexander Bakker
a7e87bcc5b android-studio: add new emulator dependencies (#70857)
Fix #70844.
2019-10-11 12:57:42 +02:00
Michael Weiss
ef2328331c
androidStudioPackages.*: Remove the "-wrapper" suffix from name
This causes problems when parsing the name attribute, e.g. for Repology
and parseDrvName. I've added "-unwrapped" to the derivation with the
downloaded content to keep it easier to differentiate between the two.
2019-09-06 21:29:17 +02:00
Tad Fisher
29a300bff7 androidStudioPackages: prefix PATH rather than replacing 2019-05-21 14:10:01 -07:00
Michael Weiss
25205afb35
android-studio: 3.3.2.0 -> 3.4.0.18
androidStudioPackages.beta: 3.4.0.17 -> 3.4.0.18
2019-04-18 20:35:37 +02:00
Matthew Bauer
f0a6725bdc
Merge pull request #58848 from tadfisher/android-studio-unwrapped
android-studio: add "unwrapped" passthru attr
2019-04-03 11:52:24 -04:00
Tad Fisher
39badefbc0 android-studio: add "unwrapped" passthru attr 2019-04-02 13:52:23 -07:00
Michael Weiss
009719383c
androidStudioPackages.{dev,canary}: 3.5.0.7 -> 3.5.0.8 2019-03-28 22:03:09 +01:00
Michael Weiss
f7a3a5ad94
androidStudioPackages.beta: Rename the binary according to the channel
The old name "android-studio-preview" was a bit misleading while
"android-studio-beta" should clearly reflect that this is from the beta
channel. I hope that this does not break any workflows but since
"android-studio-preview" was most likely not called from any scripts the
risk should be low (also: most people probably use the stable version
anyway).
2019-01-17 19:13:06 +01:00
Michael Weiss
85e46d12b3 android-studio: Refactor the code & minor improvements 2018-09-02 18:45:40 +02:00
Bastian Köcher
6d28393eb1 android-studio: Add desktop item 2018-08-31 12:05:24 +02:00
Vladimír Čunát
86b5b1e174
Revert "android-studio-preview: Print a deprecation warning"
This reverts commit 88bfbf6c7d.
It broke the tarball job.  Discussion:
https://github.com/NixOS/nixpkgs/pull/44310#issuecomment-409690460
2018-08-02 16:32:55 +02:00
Michael Weiss
88bfbf6c7d android-studio-preview: Print a deprecation warning
Hope this is ok... :)
2018-08-01 19:47:36 +02:00
Michael Weiss
d8b44edd8f androidStudioPackages: Use more intuitive names for the derivations 2018-08-01 19:47:36 +02:00
Michael Weiss
31583d7cb6 androidStudioPackages: Refactor the code 2018-08-01 19:47:36 +02:00