android-studio: Fix the meta attributes
This commit is contained in:
parent
a2b2c1e4bd
commit
ace11d11b2
|
@ -34,7 +34,7 @@
|
|||
|
||||
let
|
||||
androidStudio = stdenv.mkDerivation {
|
||||
inherit src meta;
|
||||
inherit src;
|
||||
name = "${pname}";
|
||||
buildInputs = [
|
||||
makeWrapper
|
||||
|
@ -103,12 +103,13 @@ let
|
|||
name = "${pname}-fhs-env";
|
||||
};
|
||||
|
||||
in writeTextFile {
|
||||
name = "${pname}-${version}";
|
||||
destination = "/bin/${pname}";
|
||||
executable = true;
|
||||
text = ''
|
||||
#!${bash}/bin/bash
|
||||
${fhsEnv}/bin/${pname}-fhs-env ${androidStudio}/bin/studio.sh
|
||||
'';
|
||||
}
|
||||
in
|
||||
writeTextFile {
|
||||
name = "${pname}-${version}";
|
||||
destination = "/bin/${pname}";
|
||||
executable = true;
|
||||
text = ''
|
||||
#!${bash}/bin/bash
|
||||
${fhsEnv}/bin/${pname}-fhs-env ${androidStudio}/bin/studio.sh
|
||||
'';
|
||||
} // { inherit meta; }
|
||||
|
|
|
@ -13,7 +13,11 @@ in rec {
|
|||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "The Official IDE for Android";
|
||||
description = "The Official IDE for Android (stable version)";
|
||||
longDescription = ''
|
||||
Android Studio is the official IDE for Android app development, based on
|
||||
IntelliJ IDEA.
|
||||
'';
|
||||
homepage = https://developer.android.com/studio/index.html;
|
||||
license = licenses.asl20;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
|
@ -36,8 +40,9 @@ in rec {
|
|||
};
|
||||
|
||||
meta = stable.meta // {
|
||||
description = "The Official IDE for Android (preview version)";
|
||||
homepage = https://developer.android.com/studio/preview/index.html;
|
||||
maintainers = with stdenv.lib.maintainers; [ tomsmeets ];
|
||||
maintainers = with stdenv.lib.maintainers; [ primeos tomsmeets ];
|
||||
};
|
||||
} {
|
||||
fontsConf = makeFontsConf {
|
||||
|
|
Loading…
Reference in New Issue