pkgs/development/mobile: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, requireFile, p7zip, jre, libusb1, platform-tools, gtk2, glib, libXtst }:
|
||||
{ stdenv, lib, requireFile, p7zip, jre, libusb1, platform-tools, gtk2, glib, libXtst }:
|
||||
|
||||
# TODO:
|
||||
#
|
||||
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
|
||||
sed -i \
|
||||
-e 's|$(uname -m)|i686|' \
|
||||
-e 's|export JAVA_HOME=.*|export JAVA_HOME=${jre}|' \
|
||||
-e 's|export LD_LIBRARY_PATH=.*|export LD_LIBRARY_PATH=${stdenv.lib.makeLibraryPath [ libXtst glib gtk2 ]}:./x10flasher_lib/linux/lib32|' \
|
||||
-e 's|export LD_LIBRARY_PATH=.*|export LD_LIBRARY_PATH=${lib.makeLibraryPath [ libXtst glib gtk2 ]}:./x10flasher_lib/linux/lib32|' \
|
||||
FlashTool FlashToolConsole
|
||||
'';
|
||||
|
||||
@@ -51,12 +51,12 @@ stdenv.mkDerivation rec {
|
||||
mv * $out/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
homepage = "http://www.flashtool.net/";
|
||||
description = "S1 flashing software for Sony phones from X10 to Xperia Z Ultra";
|
||||
license = stdenv.lib.licenses.unfreeRedistributableFirmware;
|
||||
license = licenses.unfreeRedistributableFirmware;
|
||||
platforms = [ "i686-linux" ];
|
||||
hydraPlatforms = stdenv.lib.platforms.none;
|
||||
hydraPlatforms = platforms.none;
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user