mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
Merge branch 'stdenv-updates' into pi-stdenv-updates
Conflicts: pkgs/development/compilers/gcc/4.7/default.nix Trivial.
This commit is contained in:
commit
67aa9243f0
@ -4,12 +4,12 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.0.0";
|
||||
version = "2.0.2";
|
||||
name = "audacity-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://audacity.googlecode.com/files/audacity-minsrc-${version}.tar.bz2";
|
||||
sha256 = "0spbib3f86b4qri0g13idyxvysg28hkpsglmjza681zrln62hjfq";
|
||||
sha256 = "17c7p5jww5zcg2k2fs1751mv5kbadcmgicszi1zxwj2p5b35x2mc";
|
||||
};
|
||||
buildInputs = [ pkgconfig wxGTK libsndfile expat alsaLib libsamplerate
|
||||
libvorbis libmad flac id3lib ffmpeg gettext ];
|
||||
|
@ -8,12 +8,12 @@
|
||||
assert stdenv ? glibc;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.1";
|
||||
version = "1.1.1";
|
||||
name = "darktable-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/darktable/darktable-${version}.tar.gz";
|
||||
sha256 = "8f2401422ab3e0bb038b3fedf411aaf69994d679674757ee7886b6146b9fdd4f";
|
||||
sha256 = "0k1m7nd42yn4c2jr1ps1g96fqk9pq20cxjp7dmlza61pj2j9nads";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
|
@ -1,55 +0,0 @@
|
||||
Index: src/3rdParty/salomesmesh/CMakeLists.txt
|
||||
===================================================================
|
||||
--- a/src/3rdParty/salomesmesh/CMakeLists.txt (revision 4193)
|
||||
+++ a/src/3rdParty/salomesmesh/CMakeLists.txt (working copy)
|
||||
@@ -191,7 +191,7 @@
|
||||
INCLUDE_DIRECTORIES(src/StdMeshers)
|
||||
|
||||
ADD_LIBRARY(StdMeshers SHARED ${StdMeshers_source_files})
|
||||
-TARGET_LINK_LIBRARIES(StdMeshers SMESH TKernel TKMath TKAdvTools f2c)
|
||||
+TARGET_LINK_LIBRARIES(StdMeshers SMESH TKernel TKMath TKAdvTools f2c gfortran)
|
||||
SET(StdMeshers_CFLAGS "")
|
||||
IF(WIN32)
|
||||
SET(StdMeshers_CFLAGS "-DSTDMESHERS_EXPORTS -DMEFISTO2D_EXPORTS")
|
||||
@@ -218,9 +218,9 @@
|
||||
# Libraries are installed by default in /usr/local/lib/SMESH-5.1.2.7
|
||||
INSTALL(TARGETS SMDS Driver DriverSTL DriverDAT DriverUNV
|
||||
SMESHDS SMESH StdMeshers
|
||||
- DESTINATION /usr/local/lib/${INSTALL_PATH_NAME})
|
||||
+ DESTINATION lib)
|
||||
# Headers are installed by default in /usr/local/include/SMESH-5.1.2.7
|
||||
INSTALL(DIRECTORY inc/
|
||||
- DESTINATION /usr/local/include/${INSTALL_PATH_NAME}
|
||||
+ DESTINATION include
|
||||
FILES_MATCHING PATTERN "*.h*")
|
||||
ENDIF(UNIX)
|
||||
Index: src/3rdParty/Pivy-0.5/CMakeLists.txt
|
||||
===================================================================
|
||||
--- a/src/3rdParty/Pivy-0.5/CMakeLists.txt (revision 4193)
|
||||
+++ a/src/3rdParty/Pivy-0.5/CMakeLists.txt (working copy)
|
||||
@@ -56,6 +56,7 @@
|
||||
set_target_properties(coin PROPERTIES OUTPUT_NAME "_coin")
|
||||
set_target_properties(coin PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin/pivy)
|
||||
set_target_properties(coin PROPERTIES PREFIX "")
|
||||
+ install(TARGETS coin DESTINATION bin/pivy)
|
||||
endif(MSVC)
|
||||
|
||||
fc_copy_sources_outpath("bin/pivy" "coin"
|
||||
Index: CMakeLists.txt
|
||||
===================================================================
|
||||
--- a/CMakeLists.txt (revision 4193)
|
||||
+++ a/CMakeLists.txt (working copy)
|
||||
@@ -57,13 +57,6 @@
|
||||
|
||||
# ================================================================================
|
||||
|
||||
-
|
||||
-if(WIN32)
|
||||
- SET(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR})
|
||||
-else(WIN32)
|
||||
- SET(CMAKE_INSTALL_PREFIX "/usr/lib/freecad")
|
||||
-endif(WIN32)
|
||||
-
|
||||
# ================================================================================
|
||||
# == Win32 is default behaviour use the LibPack copied in Source tree ============
|
||||
if(MSVC)
|
@ -1,17 +1,15 @@
|
||||
{ fetchsvn, stdenv, cmake, coin3d, xercesc, ode, eigen, qt4, opencascade, gts,
|
||||
{ fetchgit, stdenv, cmake, coin3d, xercesc, ode, eigen, qt4, opencascade, gts,
|
||||
boost, zlib,
|
||||
python, swig, gfortran, soqt, libf2c, pyqt4, makeWrapper }:
|
||||
|
||||
# It builds but fails to install
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "freecad-${version}";
|
||||
version = "svn-${src.rev}";
|
||||
version = "git-20121213";
|
||||
|
||||
src = fetchsvn {
|
||||
url = https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk;
|
||||
rev = "4184";
|
||||
sha256 = "26bd8407ce38f070b81ef39145aed093eed3c200d165a605b8169162d66568ce";
|
||||
src = fetchgit {
|
||||
url = git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad;
|
||||
rev = "d3949cedc7e3c924d426660515e06eaf55d1a67f";
|
||||
sha256 = "0a07ih0z5d8m69zasmvi7z4lgq0pa67k2g7r1l6nz2d0b30py61w";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake coin3d xercesc ode eigen qt4 opencascade gts boost
|
||||
@ -19,12 +17,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# The freecad people are used to boost 1.42, and we have newer boost that
|
||||
# require the -DBOOST_FILESYSTEM_VERSION=2 for freecad to build
|
||||
# For zlib to build in i686-linux, as g++ plus glibc defines _LARGEFILE64_SOURCE,
|
||||
# we need the -D-FILE_OFFSET_BITS=64 indication for zlib headers to work.
|
||||
NIX_CFLAGS_COMPILE = "-DBOOST_FILESYSTEM_VERSION=2 -D_FILE_OFFSET_BITS=64";
|
||||
|
||||
# This should work on both x86_64, and i686 linux
|
||||
preBuild = ''
|
||||
export NIX_LDFLAGS="-L${gfortran.gcc}/lib64 -L${gfortran.gcc}/lib $NIX_LDFLAGS";
|
||||
@ -35,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
--set COIN_GL_NO_CURRENT_CONTEXT_CHECK 1
|
||||
'';
|
||||
|
||||
patches = [ ./cmakeinstall.patch ./pythonpath.patch ];
|
||||
patches = [ ./pythonpath.patch ];
|
||||
|
||||
meta = {
|
||||
homepage = http://free-cad.sourceforge.net/;
|
||||
|
@ -1,14 +1,18 @@
|
||||
http://sourceforge.net/apps/phpbb/free-cad/viewtopic.php?f=4&t=847&p=6364
|
||||
|
||||
Index: src/Main/MainGui.cpp
|
||||
===================================================================
|
||||
--- a/src/Main/MainGui.cpp (revision 4193)
|
||||
+++ a/src/Main/MainGui.cpp (working copy)
|
||||
@@ -149,10 +149,10 @@
|
||||
diff --git a/src/Main/MainGui.cpp b/src/Main/MainGui.cpp
|
||||
index 03407c5..b029384 100644
|
||||
--- a/src/Main/MainGui.cpp
|
||||
+++ b/src/Main/MainGui.cpp
|
||||
@@ -190,15 +190,15 @@ int main( int argc, char ** argv )
|
||||
// http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559846
|
||||
putenv("LANG=C");
|
||||
putenv("LC_ALL=C");
|
||||
- putenv("PYTHONPATH=");
|
||||
+ //putenv("PYTHONPATH=");
|
||||
#elif defined(FC_OS_MACOSX)
|
||||
(void)QLocale::system();
|
||||
putenv("LANG=C");
|
||||
putenv("LC_ALL=C");
|
||||
- putenv("PYTHONPATH=");
|
||||
+ //putenv("PYTHONPATH=");
|
||||
#else
|
||||
setlocale(LC_NUMERIC, "C");
|
||||
|
@ -1,19 +1,24 @@
|
||||
{stdenv, fetchurl, qt4, bison, flex, eigen, boost, mesa, glew, opencsg, cgal
|
||||
{stdenv, fetchgit, qt4, bison, flex, eigen, boost, mesa, glew, opencsg, cgal
|
||||
, mpfr, gmp
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2011.12";
|
||||
version = "git-20121213";
|
||||
name = "openscad-${version}";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/downloads/openscad/openscad/${name}.src.tar.gz";
|
||||
sha256 = "0gaqwzxbbzc21lhb4y26j8g0g28dhrwrgkndizp5ddab5axi4zjh";
|
||||
};
|
||||
# src = fetchurl {
|
||||
# url = "https://github.com/downloads/openscad/openscad/${name}.src.tar.gz";
|
||||
# sha256 = "0gaqwzxbbzc21lhb4y26j8g0g28dhrwrgkndizp5ddab5axi4zjh";
|
||||
# };
|
||||
src = fetchgit {
|
||||
url = "https://github.com/openscad/openscad.git";
|
||||
rev = "c0612a9ed0899c96963e04c848a59b0164a689a2";
|
||||
sha256 = "1zqiwk1cjbj7sng9sdarbrs0zxkn9fsa84dyv8n0zlyh40s7kvw2";
|
||||
};
|
||||
|
||||
buildInputs = [qt4 bison flex eigen boost mesa glew opencsg cgal gmp mpfr];
|
||||
|
||||
configurePhase = ''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I ${eigen}/include/eigen2 "
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$(echo ${eigen}/include/eigen*) "
|
||||
qmake PREFIX="$out"
|
||||
'';
|
||||
|
||||
|
@ -23,7 +23,7 @@ assert mercurialSupport -> (mercurial != null);
|
||||
|
||||
let
|
||||
name = "ikiwiki";
|
||||
version = "3.20121017";
|
||||
version = "3.20121212";
|
||||
|
||||
lib = stdenv.lib;
|
||||
in
|
||||
@ -32,7 +32,7 @@ stdenv.mkDerivation {
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ftp.de.debian.org/debian/pool/main/i/ikiwiki/${name}_${version}.tar.gz";
|
||||
sha256 = "c0bb6ef9340ebc7eec40812b091700b2bcfd61e7321a22f41026ce130e877028";
|
||||
sha256 = "1frsr2sqzsnagbxvyjsgk4nrl1p1048vybsd1zw1ln1mqik31ydz";
|
||||
};
|
||||
|
||||
buildInputs = [ perl TextMarkdown URI HTMLParser HTMLScrubber HTMLTemplate
|
||||
|
@ -4,8 +4,8 @@ stdenv.mkDerivation rec {
|
||||
name = "st-0.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://hg.suckless.org/st/archive/0.3.tar.gz;
|
||||
sha256 = "12ypldjjpsq3nvhszgjsk4wgqkwcvz06qiqw8k5npv3rd1nbx9cl";
|
||||
url = "http://dl.suckless.org/st/${name}.tar.gz";
|
||||
sha256 = "0d0fjixiis4ixbz4l18rqhnssa7cy2bap3jkjyphqlqhl7lahv3d";
|
||||
};
|
||||
|
||||
buildInputs = [ libX11 ncurses libXext libXft ];
|
||||
|
@ -13,18 +13,18 @@ let
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "opera-12.11-1661";
|
||||
name = "opera-12.12-1707";
|
||||
|
||||
src =
|
||||
if stdenv.system == "i686-linux" then
|
||||
fetchurl {
|
||||
url = "${mirror}/linux/1211/${name}.i386.linux.tar.xz";
|
||||
sha256 = "0ax2kcnl0hb7fz56c9gcjia3dnwabxl2mq2hvszmbky4i399jlkk";
|
||||
url = "${mirror}/linux/1212/${name}.i386.linux.tar.xz";
|
||||
sha256 = "1jkrhxjxa5kz4bhyma0zlnsszdn84sq4pks3x8bfcayn12m6yxkz";
|
||||
}
|
||||
else if stdenv.system == "x86_64-linux" then
|
||||
fetchurl {
|
||||
url = "${mirror}/linux/1211/${name}.x86_64.linux.tar.xz";
|
||||
sha256 = "1pnad4kdasrmm27kg6frldipyzcfy1y610rasbqic9frzb9q8dbp";
|
||||
url = "${mirror}/linux/1212/${name}.x86_64.linux.tar.xz";
|
||||
sha256 = "0acizxgyqblcvl91dwmvi937fi1kw6whz5qgxyl1fkygbayji90v";
|
||||
}
|
||||
else throw "Opera is not supported on ${stdenv.system} (only i686-linux and x86_64 linux are supported)";
|
||||
|
||||
|
@ -3,11 +3,11 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
||||
name = "kadu-0.10.1";
|
||||
name = "kadu-0.12.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://download.kadu.im/stable/kadu-0.10.1.tar.bz2;
|
||||
sha256 = "0j88pyp2nqpc57j38zr135ypfiv4v329gfgiz9rdbqi8j26cyp7g";
|
||||
url = http://download.kadu.im/stable/kadu-0.12.2.tar.bz2;
|
||||
sha256 = "0rqhkiyn8c7jigpxmvwh7daxsgjxlvd16zjdss1azdzd9x2dbym1";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake qt4 libgadu libXScrnSaver libsndfile libX11 alsaLib aspell libidn qca2 phonon pkgconfig
|
||||
@ -21,8 +21,12 @@ stdenv.mkDerivation {
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
# because I was not able to get those working
|
||||
patches = [ ./disable_some_plugins.patch ];
|
||||
# Disable the kadu plugins I wasn't able to get to work
|
||||
patchPhase = ''
|
||||
sed -i -e '/mpd_mediaplayer/d' \
|
||||
-e '/encryption_ng/d' \
|
||||
-e '/encryption_ng_simlite/d' Plugins.cmake
|
||||
'';
|
||||
|
||||
NIX_LDFLAGS="-lX11";
|
||||
|
||||
|
@ -1,28 +0,0 @@
|
||||
diff --git a/Plugins.cmake b/Plugins.cmake
|
||||
index ad63f20..c14a781 100644
|
||||
--- a/Plugins.cmake
|
||||
+++ b/Plugins.cmake
|
||||
@@ -30,9 +30,9 @@ set (COMPILE_PLUGINS
|
||||
|
||||
# encryption
|
||||
# Encrypted chat support
|
||||
- encryption_ng
|
||||
+ # encryption_ng
|
||||
# OpenSSL encrypted chat support
|
||||
- encryption_ng_simlite
|
||||
+ # encryption_ng_simlite
|
||||
|
||||
# docking
|
||||
# Tray icon support (common part of all docking modules)
|
||||
@@ -104,9 +104,9 @@ if (UNIX)
|
||||
|
||||
# mediaplayer
|
||||
# MPD mediaplayer support
|
||||
- mpd_mediaplayer
|
||||
+ # mpd_mediaplayer
|
||||
# MPRIS Media Players support
|
||||
- mprisplayer_mediaplayer
|
||||
+ # mprisplayer_mediaplayer
|
||||
)
|
||||
endif (UNIX)
|
||||
|
@ -1,20 +1,27 @@
|
||||
{ stdenv, fetchurl, ncurses, openssl, perl, python, aspell, gnutls
|
||||
, zlib, curl , pkgconfig, libgcrypt, ruby, lua5, tcl, guile }:
|
||||
, zlib, curl , pkgconfig, libgcrypt, ruby, lua5, tcl, guile
|
||||
, pythonPackages, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.3.9";
|
||||
version = "0.3.9.2";
|
||||
name = "weechat-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://weechat.org/files/src/${name}.tar.gz";
|
||||
sha256 = "8666c788cbb212036197365df3ba3cf964a23e4f644d76ea51d66dbe3be593bb";
|
||||
sha256 = "114cffqwnrqx8r4dslz7sc4i4ky4akzh863rnzaw3dnn9ky9r503";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[ ncurses perl python openssl aspell gnutls zlib curl pkgconfig
|
||||
libgcrypt ruby lua5 tcl guile
|
||||
libgcrypt ruby lua5 tcl guile pythonPackages.pycrypto makeWrapper
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/weechat-curses" \
|
||||
--prefix PYTHONPATH : "$PYTHONPATH" \
|
||||
--prefix PYTHONPATH : "$out/lib/${python.libPrefix}/site-packages"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://http://www.weechat.org/;
|
||||
description = "A fast, light and extensible chat client";
|
||||
|
@ -10,16 +10,22 @@
|
||||
, libXdamage
|
||||
, libXext
|
||||
, alsaLib
|
||||
, ffmpeg
|
||||
, libxkbfile
|
||||
#, xmlto, docbook_xml_dtd_412, docbook_xml_xslt
|
||||
, libXinerama
|
||||
, libXv
|
||||
, pulseaudioSupport ? true, pulseaudio
|
||||
}:
|
||||
|
||||
assert printerSupport -> cups != null;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "freerdp-${version}";
|
||||
version = "1.0.0";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/downloads/FreeRDP/FreeRDP/FreeRDP-${version}.tar.gz";
|
||||
sha256 = "df9f5f3275436f3e413824ca40f1e41733a95121f45e1ed41ab410701c5764cc";
|
||||
url = "https://github.com/FreeRDP/FreeRDP/archive/${version}.tar.gz";
|
||||
sha256 = "1my8gamvfrn6v9gcqxsa9cgxr42shc0l826zvxj8wpcay6gd321w";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
@ -32,11 +38,17 @@ stdenv.mkDerivation rec {
|
||||
libXdamage
|
||||
libXext
|
||||
alsaLib
|
||||
ffmpeg
|
||||
libxkbfile
|
||||
# xmlto docbook_xml_dtd_412 docbook_xml_xslt
|
||||
libXinerama
|
||||
libXv
|
||||
] ++ stdenv.lib.optional printerSupport cups;
|
||||
|
||||
configureFlags = [
|
||||
"--with-x"
|
||||
] ++ stdenv.lib.optional printerSupport "--with-printer=cups";
|
||||
"--with-x" "-DWITH_MANPAGES=OFF"
|
||||
] ++ stdenv.lib.optional printerSupport "--with-printer=cups"
|
||||
++ stdenv.lib.optional pulseaudioSupport "-DWITH_PULSEAUDIO=ON";
|
||||
|
||||
meta = {
|
||||
description = "A Remote Desktop Protocol Client";
|
||||
|
@ -1,53 +1,63 @@
|
||||
{ stdenv
|
||||
, fetchgit
|
||||
, cmake
|
||||
, openssl
|
||||
, printerSupport ? true, cups
|
||||
, pkgconfig
|
||||
, zlib
|
||||
, libX11
|
||||
, libXcursor
|
||||
, alsaLib
|
||||
, cmake
|
||||
, libxkbfile
|
||||
, libXinerama
|
||||
, libXdamage
|
||||
, libXext
|
||||
, directfb
|
||||
, cunit
|
||||
, alsaLib
|
||||
, ffmpeg
|
||||
, libxkbfile
|
||||
#, xmlto, docbook_xml_dtd_412, docbook_xml_xslt
|
||||
, libXinerama
|
||||
#, directfb
|
||||
#, cunit
|
||||
, libXv
|
||||
, pulseaudioSupport ? true, pulseaudio
|
||||
}:
|
||||
|
||||
assert printerSupport -> cups != null;
|
||||
|
||||
let rev = "498b88a1da748a4a2b4dbd12c795ca87fee24bab"; in
|
||||
let rev = "ec6effcb1e7759551cf31f5b18d768afc67db97d"; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "freerdp-1.0pre${rev}";
|
||||
name = "freerdp-1.1pre${rev}";
|
||||
|
||||
src = fetchgit {
|
||||
url = git://github.com/FreeRDP/FreeRDP.git;
|
||||
inherit rev;
|
||||
sha256 = "91ef562e96db483ada28236e524326a75b6942becce4fd2a65ace386186eccf7";
|
||||
sha256 = "4e5af9a6769c4b34c6b75dffe83a385d1d86068c523ea9f62fabc651a2958455";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
cmake
|
||||
openssl
|
||||
pkgconfig
|
||||
zlib
|
||||
libX11
|
||||
libXcursor
|
||||
libxkbfile
|
||||
libXinerama
|
||||
libXdamage
|
||||
libXext
|
||||
directfb
|
||||
# directfb
|
||||
# cunit
|
||||
alsaLib
|
||||
cmake
|
||||
cunit
|
||||
ffmpeg
|
||||
libxkbfile
|
||||
# xmlto docbook_xml_dtd_412 docbook_xml_xslt
|
||||
libXinerama
|
||||
libXv
|
||||
] ++ stdenv.lib.optional printerSupport cups;
|
||||
|
||||
doCheck = false;
|
||||
|
||||
checkPhase = ''LD_LIBRARY_PATH="libfreerdp-cache:libfreerdp-chanman:libfreerdp-common:libfreerdp-core:libfreerdp-gdi:libfreerdp-kbd:libfreerdp-rail:libfreerdp-rfx:libfreerdp-utils" cunit/test_freerdp'';
|
||||
|
||||
cmakeFlags = [ "-DWITH_DIRECTFB=ON" "-DWITH_CUNIT=ON" ];
|
||||
cmakeFlags = [ "-DWITH_DIRECTFB=OFF" "-DWITH_CUNIT=OFF" "-DWITH_MANPAGES=OFF"
|
||||
] ++ stdenv.lib.optional pulseaudioSupport "-DWITH_PULSEAUDIO=ON";
|
||||
|
||||
meta = {
|
||||
description = "A Remote Desktop Protocol Client";
|
||||
|
62
pkgs/applications/science/astronomy/celestia/default.nix
Normal file
62
pkgs/applications/science/astronomy/celestia/default.nix
Normal file
@ -0,0 +1,62 @@
|
||||
{ stdenv, fetchurl, freeglut, gtk2, gtkglext, libjpeg_turbo, libtheora, libXmu
|
||||
, lua, mesa, pkgconfig, perl, automake, autoconf, libtool, gettext
|
||||
}:
|
||||
|
||||
let
|
||||
name = "celestia-1.6.1";
|
||||
|
||||
gcc46Patch = fetchurl {
|
||||
url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/celestia-1.6.1-gcc46.patch?h=packages/celestia";
|
||||
sha256 = "1q840ip5h2q93r0d68jwrvf40ns5qzqss9vzd6xnwvs3wa77m5wp";
|
||||
name = "celestia-1.6.1-gcc46.patch";
|
||||
};
|
||||
|
||||
libpng15Patch = fetchurl {
|
||||
url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/celestia-1.6.1-libpng15.patch?h=packages/celestia";
|
||||
sha256 = "19yqbi5k944d3jm0q2mvcfg52kicy4j347gj62dyaijzj505x4pm";
|
||||
name = "celestia-1.6.1-libpng15.patch";
|
||||
};
|
||||
|
||||
linkingPatch = fetchurl {
|
||||
url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/celestia-1.6.1-linking.patch?h=packages/celestia";
|
||||
sha256 = "1qzv18b2prqbhy21js5bnf7vwkmrq1dmrq8r0wab7v10axjqdv35";
|
||||
name = "celestia-1.6.1-linking.patch";
|
||||
};
|
||||
|
||||
gcc47Patch = fetchurl {
|
||||
url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/gcc-4.7-fixes.diff?h=packages/celestia";
|
||||
sha256 = "1jqkafwrg1829cwqvlxxkqbf42zqfsgpqd8a5b2qlzma5napdmg5";
|
||||
name = "gcc-4.7-fixes.diff";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit name;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/celestia/${name}.tar.gz";
|
||||
sha256 = "1i1lvhbgllsh2z8i6jj4mvrjak4a7r69psvk7syw03s4p7670mfk";
|
||||
};
|
||||
|
||||
buildInputs = [ freeglut gtk2 gtkglext libjpeg_turbo libtheora libXmu mesa pkgconfig lua
|
||||
perl automake autoconf libtool gettext ];
|
||||
|
||||
patchPhase = ''
|
||||
patch -Np0 -i "${gcc46Patch}"
|
||||
patch -Np0 -i "${libpng15Patch}"
|
||||
patch -Np1 -i "${linkingPatch}"
|
||||
patch -Np1 -i "${gcc47Patch}"
|
||||
autoreconf
|
||||
configureFlagsArray=( --with-gtk --with-lua=${lua} CFLAGS="-O2 -fsigned-char" CXXFLAGS="-O2 -fsigned-char" )
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "Free space simulation";
|
||||
homepage = "http://www.shatters.net/celestia/";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
};
|
||||
}
|
@ -9,11 +9,11 @@ let
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "hol_light-20120529";
|
||||
name = "hol_light-20121213";
|
||||
src = fetchsvn {
|
||||
url = http://hol-light.googlecode.com/svn/trunk;
|
||||
rev = "141";
|
||||
sha256 = "a11d7e5db7c6035a2debcf9e73f43c6322389aeac5bc4d123ebf58918052a57f";
|
||||
rev = "153";
|
||||
sha256 = "1n4da5k3jya8mf7dgif8cl5sr2dqf6vl21fw1fcdna215v2x1rc0";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib camlp5 ];
|
||||
|
32
pkgs/applications/science/logic/logisim/default.nix
Normal file
32
pkgs/applications/science/logic/logisim/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ stdenv, fetchurl, jre }:
|
||||
|
||||
let version = "2.7.1"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "logisim-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/project/circuit/2.7.x/${version}/logisim-generic-${version}.jar";
|
||||
sha256 = "1hkvc9zc7qmvjbl9579p84hw3n8wl3275246xlzj136i5b0phain";
|
||||
};
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -pv $out/bin
|
||||
cp -v $src $out/logisim.jar
|
||||
|
||||
cat > $out/bin/logisim << EOF
|
||||
#!${stdenv.shell}
|
||||
${jre}/bin/java -jar $out/logisim.jar
|
||||
EOF
|
||||
|
||||
chmod +x $out/bin/logisim
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://ozark.hendrix.edu/~burch/logisim";
|
||||
description = "Logisim is an educational tool for designing and simulating digital logic circuits.";
|
||||
license = "GPLv2+";
|
||||
};
|
||||
}
|
@ -12,14 +12,14 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "3.20121127";
|
||||
version = "3.20121211";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "git-annex-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://git.kitenet.net/?p=git-annex.git;a=snapshot;sf=tgz;h=${version}";
|
||||
sha256 = "bec0c2c236daf10f0ed5de1097cb31f6c2725aa856d900f782a5a07d6db1d508";
|
||||
sha256 = "1l5sffcn6mcfk0s808z490s30dbq8m4wi8a11ard35hyf599zawq";
|
||||
name = "git-annex-${version}.tar.gz";
|
||||
};
|
||||
|
||||
|
@ -16,11 +16,11 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mkvtoolnix-5.8.0";
|
||||
name = "mkvtoolnix-5.9.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.bunkus.org/videotools/mkvtoolnix/sources/${name}.tar.bz2";
|
||||
sha256 = "0q294zk5cpfh1s89n70d9b2fs14rlacdlnhchlsjmf1mq3jcg7iw";
|
||||
sha256 = "1qdxzi72w5p77brlpp7y7llsgzlvl4p8fk1kzg934cqw6cqza4yr";
|
||||
};
|
||||
|
||||
buildInputs = [ libmatroska flac libvorbis file boost lzo xdg_utils expat wxGTK zlib ruby gettext pkgconfig curl ];
|
||||
|
@ -4,11 +4,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "i3-${version}";
|
||||
version = "4.3";
|
||||
version = "4.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://i3wm.org/downloads/${name}.tar.bz2";
|
||||
sha256 = "895bf586092535efb2bc723ba599c71a027768115e56052f111fc8bb148db925";
|
||||
sha256 = "06s8gzcxxh06zp1586kp4bxaj8yj5i9jacwg0nizbmmnx94mg1wr";
|
||||
};
|
||||
|
||||
buildInputs = [ which pkgconfig libxcb xcbutilkeysyms xcbutil bison xcbutilwm
|
||||
|
@ -1,14 +1,14 @@
|
||||
{ stdenv, fetchurl, x11, lua, gettext, groff }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ion-3rc-20070902";
|
||||
name = "ion-3-20090110";
|
||||
meta = {
|
||||
description = "Ion is a tiling tabbed window manager designed with keyboard users in mind.";
|
||||
homepage = http://modeemi.fi/~tuomov/ion;
|
||||
};
|
||||
src = fetchurl {
|
||||
url = http://iki.fi/tuomov/dl/ion-3rc-20070902.tar.gz;
|
||||
sha256 = "062a0rgxzz4h1hih5lp7l2nfvhz095brag9fmnanzqc4dac228xl";
|
||||
url = http://tuomov.iki.fi/software/dl/ion-3-20090110.tar.gz;
|
||||
sha256 = "1nkks5a95986nyfkxvg2rik6zmwx0lh7szd5fji7yizccwzc9xns";
|
||||
};
|
||||
buildInputs = [ x11 lua gettext groff ];
|
||||
buildFlags = "LUA_DIR=${lua} X11_PREFIX=/no-such-path PREFIX=\${out}";
|
||||
|
@ -44,7 +44,9 @@
|
||||
# the default download location for Cabal packages is Hackage,
|
||||
# you still have to specify the checksum
|
||||
src = fetchurl {
|
||||
url = "http://hackage.haskell.org/packages/archive/${self.pname}/${self.version}/${self.fname}.tar.gz";
|
||||
# cannot use mirrors system because of subtly different directory structures
|
||||
urls = ["http://hackage.haskell.org/packages/archive/${self.pname}/${self.version}/${self.fname}.tar.gz"
|
||||
"http://hdiff.luite.com/packages/archive/${self.pname}/${self.fname}.tar.gz"];
|
||||
inherit (self) sha256;
|
||||
};
|
||||
|
||||
|
@ -88,7 +88,7 @@ ensure_version () {
|
||||
|
||||
ensure_target () {
|
||||
echo "Ensuring target. CURRENT_TARGET: $CURRENT_TARGET" >&2
|
||||
[ -z "$CURRENT_TARGET" ] && target default.nix
|
||||
[ -z "$CURRENT_TARGET" ] && target "$(basename "$CONFIG_NAME" .upstream).nix"
|
||||
}
|
||||
|
||||
ensure_name () {
|
||||
@ -152,8 +152,7 @@ full_path () {
|
||||
|
||||
target () {
|
||||
CURRENT_TARGET="$1"
|
||||
test -e "$CURRENT_TARGET" ||
|
||||
{ [ "$CURRENT_TARGET" = "${CURRENT_TARGET#/}" ] && CURRENT_TARGET="$CONFIG_DIR/$CURRENT_TARGET"; }
|
||||
{ [ "$CURRENT_TARGET" = "${CURRENT_TARGET#/}" ] && CURRENT_TARGET="$CONFIG_DIR/$CURRENT_TARGET"; }
|
||||
echo "Target set to: $CURRENT_TARGET"
|
||||
}
|
||||
|
||||
@ -190,6 +189,12 @@ replace_once () {
|
||||
replacement="$3"
|
||||
instance="${4:-1}"
|
||||
|
||||
echo "Replacing once:"
|
||||
echo "file: [[$file]]"
|
||||
echo "regexp: [[$regexp]]"
|
||||
echo "replacement: [[$replacement]]"
|
||||
echo "instance: [[$instance]]"
|
||||
|
||||
position="$(line_position "$file" "$regexp" "$instance")"
|
||||
sed -re "${position}s $regexp $replacement " -i "$file"
|
||||
}
|
||||
@ -204,7 +209,7 @@ set_var_value () {
|
||||
quote='"'
|
||||
let "$no_quotes" && quote=""
|
||||
|
||||
replace_once "$file" "${var} *= *.*" "${var} = ${quote}${value}${quote};"
|
||||
replace_once "$file" "${var} *= *.*" "${var} = ${quote}${value}${quote};" "$instance"
|
||||
}
|
||||
|
||||
do_regenerate () {
|
||||
@ -227,8 +232,9 @@ do_overwrite () {
|
||||
|
||||
process_config () {
|
||||
CONFIG_DIR="$(directory_of "$1")"
|
||||
CONFIG_NAME="$(basename "$1")"
|
||||
BEGIN_EXPRESSION='# Generated upstream information';
|
||||
source "$CONFIG_DIR/$(basename "$1")"
|
||||
source "$CONFIG_DIR/$CONFIG_NAME"
|
||||
ensure_name
|
||||
ensure_attribute_name
|
||||
retrieve_version
|
||||
|
@ -3,7 +3,7 @@
|
||||
, img ? "bzImage"
|
||||
, rootModules ?
|
||||
[ "cifs" "virtio_net" "virtio_pci" "virtio_blk" "virtio_balloon" "nls_utf8" "ext2" "ext3"
|
||||
"unix" "hmac" "md4" "ecb" "des_generic"
|
||||
"ext4" "unix" "hmac" "md4" "ecb" "des_generic"
|
||||
]
|
||||
}:
|
||||
|
||||
@ -38,35 +38,19 @@ rec {
|
||||
# Copy what we need from Glibc.
|
||||
cp -p ${pkgs.stdenv.glibc}/lib/ld-linux*.so.? $out/lib
|
||||
cp -p ${pkgs.stdenv.glibc}/lib/libc.so.* $out/lib
|
||||
cp -p ${pkgs.stdenv.glibc}/lib/librt.so.* $out/lib
|
||||
cp -p ${pkgs.stdenv.glibc}/lib/libdl.so.* $out/lib
|
||||
cp -p ${pkgs.stdenv.glibc}/lib/libm.so.* $out/lib
|
||||
|
||||
# Copy some utillinux stuff.
|
||||
cp ${utillinux}/bin/mount ${utillinux}/bin/umount $out/bin
|
||||
cp -pd ${utillinux}/lib/libblkid*.so.* $out/lib
|
||||
cp -pd ${utillinux}/lib/libuuid*.so.* $out/lib
|
||||
|
||||
# Copy some coreutils.
|
||||
cp ${coreutils}/bin/basename $out/bin
|
||||
cp ${coreutils}/bin/mkdir $out/bin
|
||||
cp ${coreutils}/bin/mknod $out/bin
|
||||
cp ${coreutils}/bin/cat $out/bin
|
||||
cp ${coreutils}/bin/chroot $out/bin
|
||||
cp ${coreutils}/bin/sleep $out/bin
|
||||
cp ${coreutils}/bin/ln $out/bin
|
||||
|
||||
# Copy some other tools.
|
||||
cp ${bash}/bin/bash $out/bin
|
||||
cp ${module_init_tools}/sbin/insmod $out/bin/insmod
|
||||
cp ${nettools}/sbin/ifconfig $out/bin
|
||||
cp ${sysvinit}/sbin/halt $out/bin
|
||||
# Copy BusyBox.
|
||||
cp -pd ${pkgs.busybox}/bin/* ${pkgs.busybox}/sbin/* $out/bin
|
||||
|
||||
# Run patchelf to make the programs refer to the copied libraries.
|
||||
for i in $out/bin/* $out/lib/*; do if ! test -L $i; then nuke-refs $i; fi; done
|
||||
|
||||
for i in $out/bin/*; do
|
||||
echo "patching $i..."
|
||||
patchelf --set-interpreter $out/lib/ld-linux*.so.? --set-rpath $out/lib $i || true
|
||||
if [ -f "$i" -a ! -L "$i" ]; then
|
||||
echo "patching $i..."
|
||||
patchelf --set-interpreter $out/lib/ld-linux*.so.? --set-rpath $out/lib $i || true
|
||||
fi
|
||||
done
|
||||
''; # */
|
||||
|
||||
@ -84,8 +68,7 @@ rec {
|
||||
|
||||
|
||||
stage1Init = writeScript "vm-run-stage1" ''
|
||||
#! ${initrdUtils}/bin/bash -e
|
||||
echo START
|
||||
#! ${initrdUtils}/bin/ash -e
|
||||
|
||||
export PATH=${initrdUtils}/bin
|
||||
|
||||
@ -167,8 +150,7 @@ rec {
|
||||
|
||||
mount -o remount,ro dummy /fs
|
||||
|
||||
echo DONE
|
||||
halt -d -p -f
|
||||
poweroff -f
|
||||
'';
|
||||
|
||||
|
||||
|
@ -16,69 +16,85 @@
|
||||
-->
|
||||
<sdk:sdk-addon xmlns:sdk="http://schemas.android.com/sdk/android/addon/5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<sdk:license id="android-sdk-license" type="text">This is the Android Software Development Kit License Agreement.
|
||||
<sdk:license id="android-sdk-license" type="text">Terms and Conditions
|
||||
|
||||
This is the Android Software Development Kit License Agreement.
|
||||
|
||||
|
||||
1. Introduction
|
||||
|
||||
1.1 The Android Software Development Kit (referred to in this License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of this License Agreement. This License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK.
|
||||
|
||||
1.2 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
|
||||
1.1 The Android Software Development Kit (referred to in this License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of this License Agreement. This License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK.
|
||||
|
||||
1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time.
|
||||
|
||||
1.3 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
|
||||
|
||||
|
||||
2. Accepting this License Agreement
|
||||
|
||||
|
||||
2.1 In order to use the SDK, you must first agree to this License Agreement. You may not use the SDK if you do not accept this License Agreement.
|
||||
|
||||
2.2 You can accept this License Agreement by:
|
||||
2.2 By clicking to accept, you hereby agree to the terms of this License Agreement.
|
||||
|
||||
(A) clicking to accept or agree to this License Agreement, where this option is made available to you; or
|
||||
2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries including the country in which you are resident or from which you use the SDK.
|
||||
|
||||
(B) by actually using the SDK. In this case, you agree that use of the SDK constitutes acceptance of the Licensing Agreement from that point onwards.
|
||||
2.4 If you are agreeing to be bound by this License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to this License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of your employer or other entity.
|
||||
|
||||
2.3 You may not use the SDK and may not accept the Licensing Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries including the country in which you are resident or from which you use the SDK.
|
||||
|
||||
2.4 If you are agreeing to be bound by this License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to this License Agreement. If you do not have the requisite authority, you may not accept the Licensing Agreement or use the SDK on behalf of your employer or other entity.
|
||||
|
||||
3. SDK License from Google
|
||||
|
||||
3.1 Subject to the terms of this License Agreement, Google grants you a limited, worldwide, royalty-free, non- assignable and non-exclusive license to use the SDK solely to develop applications to run on the Android platform.
|
||||
|
||||
3.2 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.
|
||||
3.1 Subject to the terms of this License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable and non-exclusive license to use the SDK solely to develop applications to run on the Android platform.
|
||||
|
||||
3.3 Except to the extent required by applicable third party licenses, you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK. Except to the extent required by applicable third party licenses, you may not load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK.
|
||||
3.2 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.
|
||||
|
||||
3.4 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not this License Agreement.
|
||||
3.3 You may not use the SDK for any purpose not expressly permitted by this License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK; or (b) load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK.
|
||||
|
||||
3.5 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you.
|
||||
3.4 You agree that you will not take any actions that may cause or result in the fragmentation of Android, including but not limited to distributing, participating in the creation of, or promoting in any way a software development kit derived from the SDK.
|
||||
|
||||
3.6 Nothing in this License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features.
|
||||
3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not this License Agreement.
|
||||
|
||||
3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you.
|
||||
|
||||
3.7 Nothing in this License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features.
|
||||
|
||||
3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK.
|
||||
|
||||
3.7 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK.
|
||||
|
||||
4. Use of the SDK by You
|
||||
|
||||
|
||||
4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under this License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications.
|
||||
|
||||
4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) this License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries).
|
||||
|
||||
4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, your must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so.
|
||||
4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so.
|
||||
|
||||
4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier.
|
||||
|
||||
4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through the Android platform and/or applications for the Android platform, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so.
|
||||
4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so.
|
||||
|
||||
4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under this License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach.
|
||||
|
||||
|
||||
5. Your Developer Credentials
|
||||
|
||||
|
||||
5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials.
|
||||
|
||||
|
||||
6. Privacy and Information
|
||||
|
||||
|
||||
6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected.
|
||||
|
||||
6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy.
|
||||
|
||||
7. Third Party Applications for the Android Platform
|
||||
|
||||
7. Third Party Applications
|
||||
|
||||
|
||||
7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources.
|
||||
|
||||
@ -86,55 +102,65 @@
|
||||
|
||||
7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, this License Agreement does not affect your legal relationship with these third parties.
|
||||
|
||||
|
||||
8. Using Android APIs
|
||||
|
||||
|
||||
8.1 Google Data APIs
|
||||
|
||||
8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service.
|
||||
|
||||
8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so.
|
||||
|
||||
|
||||
9. Terminating this License Agreement
|
||||
|
||||
|
||||
9.1 This License Agreement will continue to apply until terminated by either you or Google as set out below.
|
||||
|
||||
9.2 If you want to terminate this License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials.
|
||||
|
||||
9.3 Google may at any time, terminate this License Agreement with you if:
|
||||
|
||||
(A) you have breached any provision of this License Agreement; or
|
||||
|
||||
(B) Google is required to do so by law; or
|
||||
|
||||
(C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or
|
||||
|
||||
(D) Google decides to no longer providing the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable.
|
||||
(D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable.
|
||||
|
||||
9.4 When this License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst this License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely.
|
||||
|
||||
|
||||
10. DISCLAIMER OF WARRANTIES
|
||||
|
||||
10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE.
|
||||
|
||||
10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE.
|
||||
|
||||
10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE.
|
||||
|
||||
10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
|
||||
|
||||
|
||||
11. LIMITATION OF LIABILITY
|
||||
|
||||
11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.
|
||||
|
||||
11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.
|
||||
|
||||
|
||||
12. Indemnification
|
||||
|
||||
|
||||
12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with this License Agreement.
|
||||
|
||||
|
||||
13. Changes to the License Agreement
|
||||
|
||||
|
||||
13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available.
|
||||
|
||||
|
||||
14. General Legal Terms
|
||||
|
||||
14.1 This License Agreement constitute the whole legal agreement between you and Google and govern your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replace any prior agreements between you and Google in relation to the SDK.
|
||||
|
||||
14.1 This License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK.
|
||||
|
||||
14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in this License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google.
|
||||
|
||||
@ -148,7 +174,7 @@
|
||||
|
||||
14.7 This License Agreement, and your relationship with Google under this License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from this License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
|
||||
|
||||
April 10, 2009
|
||||
November 13, 2012
|
||||
</sdk:license>
|
||||
|
||||
<sdk:license id="android-googletv-license" type="text">Terms and Conditions
|
||||
@ -157,9 +183,9 @@ This is the Google TV Add-on for the Android Software Development Kit License Ag
|
||||
|
||||
1. Introduction
|
||||
|
||||
1.1 The Google TV Add-on for the Android Software Development Kit (referred to in this License Agreement as the "Google TV Add-on" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of this License Agreement. This License Agreement forms a legally binding contract between you and Google in relation to your use of the Google TV Add-on.
|
||||
1.1 The Google TV Add-on for the Android Software Development Kit (referred to in this License Agreement as the "Google TV Add-on" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of this License Agreement. This License Agreement forms a legally binding contract between you and Google in relation to your use of the Google TV Add-on.
|
||||
|
||||
1.2 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
|
||||
1.2 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
|
||||
|
||||
2. Accepting this License Agreement
|
||||
|
||||
@ -179,7 +205,7 @@ This is the Google TV Add-on for the Android Software Development Kit License Ag
|
||||
|
||||
3.1 Subject to the terms of this License Agreement, Google grants you a limited, worldwide, royalty-free, non- assignable and non-exclusive license to use the Google TV Add-on solely to develop applications to run on the Google TV platform.
|
||||
|
||||
3.2 You agree that Google or third parties own all legal right, title and interest in and to the Google TV Add-on, including any Intellectual Property Rights that subsist in the Google TV Add-on. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.
|
||||
3.2 You agree that Google or third parties own all legal right, title and interest in and to the Google TV Add-on, including any Intellectual Property Rights that subsist in the Google TV Add-on. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.
|
||||
|
||||
3.3 Except to the extent required by applicable third party licenses, you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the Google TV Add-on or any part of the Google TV Add-on. Except to the extent required by applicable third party licenses, you may not load any part of the Google TV Add-on onto a mobile handset, television, or any other hardware device except a personal computer, combine any part of the Google TV Add-on with other software, or distribute any software or device incorporating a part of the Google TV Add-on.
|
||||
|
||||
@ -257,7 +283,7 @@ This is the Google TV Add-on for the Android Software Development Kit License Ag
|
||||
|
||||
10. DISCLAIMER OF WARRANTIES
|
||||
|
||||
10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE GOOGLE TV ADD-ON IS AT YOUR SOLE RISK AND THAT THE GOOGLE TV ADD-ON IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE.
|
||||
10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE GOOGLE TV ADD-ON IS AT YOUR SOLE RISK AND THAT THE GOOGLE TV ADD-ON IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE.
|
||||
|
||||
10.2 YOUR USE OF THE GOOGLE TV ADD-ON AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE GOOGLE TV ADD-ON IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE.
|
||||
|
||||
@ -704,11 +730,41 @@ August 15, 2011
|
||||
<sdk:libs/>
|
||||
</sdk:add-on>
|
||||
|
||||
<sdk:add-on>
|
||||
<!-- Generated at Mon Nov 12 17:15:51 2012 from git_jb-mr1-dev @ 526865 -->
|
||||
<sdk:vendor-id>google</sdk:vendor-id>
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-id>google_apis</sdk:name-id>
|
||||
<sdk:name-display>Google APIs</sdk:name-display>
|
||||
<sdk:description>Android + Google APIs</sdk:description>
|
||||
<sdk:api-level>17</sdk:api-level>
|
||||
<sdk:revision>1</sdk:revision>
|
||||
<sdk:libs>
|
||||
<sdk:lib>
|
||||
<sdk:name>com.google.android.maps</sdk:name>
|
||||
</sdk:lib>
|
||||
<sdk:lib>
|
||||
<sdk:name>com.android.future.usb.accessory</sdk:name>
|
||||
</sdk:lib>
|
||||
<sdk:lib>
|
||||
<sdk:name>com.google.android.media.effects</sdk:name>
|
||||
</sdk:lib>
|
||||
</sdk:libs>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>132568033</sdk:size>
|
||||
<sdk:checksum type="sha1">62cb086f11e15713878c8834d58ef1a2454c19a4</sdk:checksum>
|
||||
<sdk:url>google_apis-17_r01.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:add-on>
|
||||
|
||||
<!-- EXTRAS VENDOR=ANDROID ........................ -->
|
||||
|
||||
<sdk:extra>
|
||||
<!-- Generated at Thu Aug 9 13:20:52 2012 from git_jb-dev @ 416700 -->
|
||||
<sdk:revision>10</sdk:revision>
|
||||
<!-- Generated at Mon Nov 12 17:16:25 2012 from git_jb-mr1-dev @ 526865 -->
|
||||
<sdk:revision>11</sdk:revision>
|
||||
<sdk:vendor-display>Android</sdk:vendor-display>
|
||||
<sdk:vendor-id>android</sdk:vendor-id>
|
||||
<sdk:name-display>Android Support Library</sdk:name-display>
|
||||
@ -716,11 +772,12 @@ August 15, 2011
|
||||
<sdk:old-paths>compatibility</sdk:old-paths>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>1161015</sdk:size>
|
||||
<sdk:checksum type="sha1">7c62e542d46ac3bdb89e1b90503d6afae557cf7d</sdk:checksum>
|
||||
<sdk:url>support_r10.zip</sdk:url>
|
||||
<sdk:size>1264808</sdk:size>
|
||||
<sdk:checksum type="sha1">d30d182d8e4c86bb4464c03a83ccffce7bc84ecd</sdk:checksum>
|
||||
<sdk:url>support_r11.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:extra>
|
||||
|
||||
<!-- EXTRAS VENDOR=GOOGLE ....................... -->
|
||||
@ -768,15 +825,15 @@ August 15, 2011
|
||||
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
|
||||
<sdk:name-display>Google Play services</sdk:name-display>
|
||||
<sdk:path>google_play_services</sdk:path>
|
||||
<sdk:revision>1</sdk:revision>
|
||||
<sdk:revision>4</sdk:revision>
|
||||
<sdk:description>Google Play Services client library and sample code</sdk:description>
|
||||
<sdk:desc-url>https://developers.google.com/android/google-play-services/index</sdk:desc-url>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>363692</sdk:size>
|
||||
<sdk:checksum type="sha1">b1808a7d5f91a3ed42839b950fd254c60e9328f1</sdk:checksum>
|
||||
<sdk:url>google_play_services_1013.zip</sdk:url>
|
||||
<sdk:size>3732458</sdk:size>
|
||||
<sdk:checksum type="sha1">bbb3d11225fcf60a0bae75afa2c4737010468bf6</sdk:checksum>
|
||||
<sdk:url>google_play_services_2012110_r04.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:extra>
|
||||
@ -806,14 +863,14 @@ August 15, 2011
|
||||
<sdk:name-display>Google Play Billing Library</sdk:name-display>
|
||||
<sdk:path>play_billing</sdk:path>
|
||||
<sdk:old-paths>market_billing</sdk:old-paths>
|
||||
<sdk:revision>2</sdk:revision>
|
||||
<sdk:description>Google Play Billing sample code</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/guide/market/billing/index.html</sdk:desc-url>
|
||||
<sdk:revision>3</sdk:revision>
|
||||
<sdk:description>Google Play Billing files and sample code</sdk:description>
|
||||
<sdk:desc-url>http://developer.android.com/google/play/billing/index.html</sdk:desc-url>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>55191</sdk:size>
|
||||
<sdk:checksum type="sha1">3c84c05c60a9cabb578cebce0515860be7ad23d2</sdk:checksum>
|
||||
<sdk:url>market_billing_r02.zip</sdk:url>
|
||||
<sdk:size>435718</sdk:size>
|
||||
<sdk:checksum type="sha1">a133d454c992ef2a18e62fa810e8185f1be4b054</sdk:checksum>
|
||||
<sdk:url>play_billing_r03.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
@ -890,4 +947,4 @@ August 15, 2011
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:extra>
|
||||
</sdk:sdk-addon>
|
||||
</sdk:sdk-addon>
|
||||
|
@ -182,5 +182,17 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
google_apis_17 = buildGoogleApis {
|
||||
name = "google_apis-17";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/google_apis-17_r01.zip;
|
||||
sha1 = "62cb086f11e15713878c8834d58ef1a2454c19a4";
|
||||
};
|
||||
meta = {
|
||||
description = "Android + Google APIs";
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
@ -2,22 +2,22 @@
|
||||
, platformTools, support, platforms, sysimages, addons
|
||||
, zlib_32bit
|
||||
, libX11_32bit, libxcb_32bit, libXau_32bit, libXdmcp_32bit, libXext_32bit
|
||||
, libX11, libXext, libXrender
|
||||
, libX11, libXext, libXrender, libxcb, libXau, libXdmcp
|
||||
, freetype, fontconfig, gtk, atk
|
||||
}:
|
||||
{platformVersions, useGoogleAPIs}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "android-sdk-20.0.3";
|
||||
name = "android-sdk-21";
|
||||
|
||||
src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux")
|
||||
then fetchurl {
|
||||
url = http://dl.google.com/android/android-sdk_r20.0.3-linux.tgz;
|
||||
sha256 = "0xfb41xsjaf7n6b9gsrxm24jwg2fi1hzn73y69rlqm55bw1vxhc1";
|
||||
url = http://dl.google.com/android/android-sdk_r21-linux.tgz;
|
||||
md5 = "7f8d73b629f808cdcfc9f9900bbd7580";
|
||||
}
|
||||
else if stdenv.system == "x86_64-darwin" then fetchurl {
|
||||
url = http://dl.google.com/android/android-sdk_r20.0.3-macosx.zip;
|
||||
sha256 = "0eecaa04950d5c540f36ab4183a4cbaef3ae6a7434467bfc32febaeb796a8ff2";
|
||||
url = http://dl.google.com/android/android-sdk_r21-macosx.zip;
|
||||
md5 = "67e46adca90dd18d7291443f6c15d6af";
|
||||
}
|
||||
else throw "platform not ${stdenv.system} supported!";
|
||||
|
||||
@ -32,12 +32,22 @@ stdenv.mkDerivation {
|
||||
''
|
||||
# There are a number of native binaries. We must patch them to let them find the interpreter and libstdc++
|
||||
|
||||
for i in dmtracedump emulator emulator-arm emulator-x86 hprof-conv mksdcard sqlite3
|
||||
for i in dmtracedump emulator emulator-arm emulator-mips emulator-x86 hprof-conv mksdcard sqlite3
|
||||
do
|
||||
patchelf --set-interpreter ${stdenv_32bit.gcc.libc}/lib/ld-linux.so.2 $i
|
||||
patchelf --set-rpath ${stdenv_32bit.gcc.gcc}/lib $i
|
||||
done
|
||||
|
||||
${stdenv.lib.optionalString (stdenv.system == "x86_64-linux") ''
|
||||
# We must also patch the 64-bit emulator instances, if needed
|
||||
|
||||
for i in emulator64-arm emulator64-mips emulator64-x86
|
||||
do
|
||||
patchelf --set-interpreter ${stdenv.gcc.libc}/lib/ld-linux-x86-64.so.2 $i
|
||||
patchelf --set-rpath ${stdenv.gcc.gcc}/lib64 $i
|
||||
done
|
||||
''}
|
||||
|
||||
# These tools also need zlib in addition to libstdc++
|
||||
|
||||
for i in etc1tool zipalign
|
||||
@ -48,11 +58,19 @@ stdenv.mkDerivation {
|
||||
|
||||
# The emulators need additional libraries, which are not in the RPATH => let's wrap them
|
||||
|
||||
for i in emulator emulator-arm emulator-x86
|
||||
for i in emulator emulator-arm emulator-mips emulator-x86
|
||||
do
|
||||
wrapProgram `pwd`/$i \
|
||||
--prefix LD_LIBRARY_PATH : `pwd`/lib:${libX11_32bit}/lib:${libxcb_32bit}/lib:${libXau_32bit}/lib:${libXdmcp_32bit}/lib:${libXext_32bit}/lib
|
||||
done
|
||||
|
||||
${stdenv.lib.optionalString (stdenv.system == "x86_64-linux") ''
|
||||
for i in emulator64-arm emulator64-mips emulator64-x86
|
||||
do
|
||||
wrapProgram `pwd`/$i \
|
||||
--prefix LD_LIBRARY_PATH : `pwd`/lib:${libX11}/lib:${libxcb}/lib:${libXau}/lib:${libXdmcp}/lib:${libXext}/lib
|
||||
done
|
||||
''}
|
||||
''}
|
||||
|
||||
patchShebangs .
|
||||
|
@ -32,7 +32,7 @@ rec {
|
||||
androidsdk = import ./androidsdk.nix {
|
||||
inherit (pkgs) stdenv fetchurl unzip makeWrapper;
|
||||
inherit (pkgs) freetype fontconfig gtk atk;
|
||||
inherit (pkgs.xorg) libX11 libXext libXrender;
|
||||
inherit (pkgs.xorg) libX11 libXext libXrender libxcb libXau libXdmcp;
|
||||
|
||||
inherit platformTools support platforms sysimages addons;
|
||||
|
||||
|
@ -1,15 +1,15 @@
|
||||
{stdenv, stdenv_32bit, fetchurl, unzip, zlib, ncurses}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "android-platform-tools-r15_rc7";
|
||||
name = "android-platform-tools-r16";
|
||||
src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux")
|
||||
then fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/platform-tools_r15_rc7-linux.zip;
|
||||
sha1 = "444e12ba413341282cd810d2e4bdb49975c95758";
|
||||
url = https://dl-ssl.google.com/android/repository/platform-tools_r16-linux.zip;
|
||||
sha1 = "84d563ae5e324f223f335f11bf511bf6207c05fb";
|
||||
}
|
||||
else if stdenv.system == "x86_64-darwin" then fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/platform-tools_r15_rc7-macosx.zip;
|
||||
sha1 = "974eac4afbe404278fcda8f8cd39b55c82be012d";
|
||||
url = https://dl-ssl.google.com/android/repository/platform-tools_r16-macosx.zip;
|
||||
sha1 = "fbb0f8d2786a83b8c3eb6df402e706e136db8fed";
|
||||
}
|
||||
else throw "System ${stdenv.system} not supported!";
|
||||
|
||||
|
@ -194,5 +194,17 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
platform_17 = buildPlatform {
|
||||
name = "android-platform-4.2";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-17_r01.zip;
|
||||
sha1 = "c2e7c8c8db40e06b804ddb1725ac2c3555b55025";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 4.2";
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
@ -194,5 +194,17 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
platform_17 = buildPlatform {
|
||||
name = "android-platform-4.2";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/android-17_r01.zip;
|
||||
sha1 = "c2e7c8c8db40e06b804ddb1725ac2c3555b55025";
|
||||
};
|
||||
meta = {
|
||||
description = "Android SDK Platform 4.2";
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
@ -16,69 +16,85 @@
|
||||
-->
|
||||
<sdk:sdk-repository xmlns:sdk="http://schemas.android.com/sdk/android/repository/7" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<sdk:license id="android-sdk-license" type="text">This is the Android Software Development Kit License Agreement.
|
||||
<sdk:license id="android-sdk-license" type="text">Terms and Conditions
|
||||
|
||||
This is the Android Software Development Kit License Agreement.
|
||||
|
||||
|
||||
1. Introduction
|
||||
|
||||
1.1 The Android Software Development Kit (referred to in this License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of this License Agreement. This License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK.
|
||||
|
||||
1.2 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
|
||||
1.1 The Android Software Development Kit (referred to in this License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of this License Agreement. This License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK.
|
||||
|
||||
1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time.
|
||||
|
||||
1.3 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
|
||||
|
||||
|
||||
2. Accepting this License Agreement
|
||||
|
||||
|
||||
2.1 In order to use the SDK, you must first agree to this License Agreement. You may not use the SDK if you do not accept this License Agreement.
|
||||
|
||||
2.2 You can accept this License Agreement by:
|
||||
2.2 By clicking to accept, you hereby agree to the terms of this License Agreement.
|
||||
|
||||
(A) clicking to accept or agree to this License Agreement, where this option is made available to you; or
|
||||
2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries including the country in which you are resident or from which you use the SDK.
|
||||
|
||||
(B) by actually using the SDK. In this case, you agree that use of the SDK constitutes acceptance of the Licensing Agreement from that point onwards.
|
||||
2.4 If you are agreeing to be bound by this License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to this License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of your employer or other entity.
|
||||
|
||||
2.3 You may not use the SDK and may not accept the Licensing Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries including the country in which you are resident or from which you use the SDK.
|
||||
|
||||
2.4 If you are agreeing to be bound by this License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to this License Agreement. If you do not have the requisite authority, you may not accept the Licensing Agreement or use the SDK on behalf of your employer or other entity.
|
||||
|
||||
3. SDK License from Google
|
||||
|
||||
3.1 Subject to the terms of this License Agreement, Google grants you a limited, worldwide, royalty-free, non- assignable and non-exclusive license to use the SDK solely to develop applications to run on the Android platform.
|
||||
|
||||
3.2 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.
|
||||
3.1 Subject to the terms of this License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable and non-exclusive license to use the SDK solely to develop applications to run on the Android platform.
|
||||
|
||||
3.3 Except to the extent required by applicable third party licenses, you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK. Except to the extent required by applicable third party licenses, you may not load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK.
|
||||
3.2 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.
|
||||
|
||||
3.4 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not this License Agreement.
|
||||
3.3 You may not use the SDK for any purpose not expressly permitted by this License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK; or (b) load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK.
|
||||
|
||||
3.5 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you.
|
||||
3.4 You agree that you will not take any actions that may cause or result in the fragmentation of Android, including but not limited to distributing, participating in the creation of, or promoting in any way a software development kit derived from the SDK.
|
||||
|
||||
3.6 Nothing in this License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features.
|
||||
3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not this License Agreement.
|
||||
|
||||
3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you.
|
||||
|
||||
3.7 Nothing in this License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features.
|
||||
|
||||
3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK.
|
||||
|
||||
3.7 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK.
|
||||
|
||||
4. Use of the SDK by You
|
||||
|
||||
|
||||
4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under this License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications.
|
||||
|
||||
4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) this License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries).
|
||||
|
||||
4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, your must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so.
|
||||
4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so.
|
||||
|
||||
4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier.
|
||||
|
||||
4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through the Android platform and/or applications for the Android platform, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so.
|
||||
4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so.
|
||||
|
||||
4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under this License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach.
|
||||
|
||||
|
||||
5. Your Developer Credentials
|
||||
|
||||
|
||||
5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials.
|
||||
|
||||
|
||||
6. Privacy and Information
|
||||
|
||||
|
||||
6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected.
|
||||
|
||||
6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy.
|
||||
|
||||
7. Third Party Applications for the Android Platform
|
||||
|
||||
7. Third Party Applications
|
||||
|
||||
|
||||
7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources.
|
||||
|
||||
@ -86,55 +102,65 @@
|
||||
|
||||
7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, this License Agreement does not affect your legal relationship with these third parties.
|
||||
|
||||
|
||||
8. Using Android APIs
|
||||
|
||||
|
||||
8.1 Google Data APIs
|
||||
|
||||
8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service.
|
||||
|
||||
8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so.
|
||||
|
||||
|
||||
9. Terminating this License Agreement
|
||||
|
||||
|
||||
9.1 This License Agreement will continue to apply until terminated by either you or Google as set out below.
|
||||
|
||||
9.2 If you want to terminate this License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials.
|
||||
|
||||
9.3 Google may at any time, terminate this License Agreement with you if:
|
||||
|
||||
(A) you have breached any provision of this License Agreement; or
|
||||
|
||||
(B) Google is required to do so by law; or
|
||||
|
||||
(C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or
|
||||
|
||||
(D) Google decides to no longer providing the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable.
|
||||
(D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable.
|
||||
|
||||
9.4 When this License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst this License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely.
|
||||
|
||||
|
||||
10. DISCLAIMER OF WARRANTIES
|
||||
|
||||
10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE.
|
||||
|
||||
10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE.
|
||||
|
||||
10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE.
|
||||
|
||||
10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
|
||||
|
||||
|
||||
11. LIMITATION OF LIABILITY
|
||||
|
||||
11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.
|
||||
|
||||
11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.
|
||||
|
||||
|
||||
12. Indemnification
|
||||
|
||||
|
||||
12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with this License Agreement.
|
||||
|
||||
|
||||
13. Changes to the License Agreement
|
||||
|
||||
|
||||
13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available.
|
||||
|
||||
|
||||
14. General Legal Terms
|
||||
|
||||
14.1 This License Agreement constitute the whole legal agreement between you and Google and govern your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replace any prior agreements between you and Google in relation to the SDK.
|
||||
|
||||
14.1 This License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK.
|
||||
|
||||
14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in this License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google.
|
||||
|
||||
@ -148,7 +174,7 @@
|
||||
|
||||
14.7 This License Agreement, and your relationship with Google under this License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from this License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
|
||||
|
||||
April 10, 2009
|
||||
November 13, 2012
|
||||
</sdk:license>
|
||||
|
||||
<!-- PLATFORMS ........................ -->
|
||||
@ -180,6 +206,7 @@ April 10, 2009
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:platform>
|
||||
|
||||
<!-- Generated manually from earlier versions -->
|
||||
@ -213,6 +240,7 @@ April 10, 2009
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:platform>
|
||||
|
||||
<sdk:platform>
|
||||
@ -245,6 +273,7 @@ April 10, 2009
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:platform>
|
||||
|
||||
<!-- Generated on Thu Oct 22 10:16:34 PDT 2009 using eclair-sdk 17704: Platform. Addon. Tools. Doc. -->
|
||||
@ -280,6 +309,7 @@ April 10, 2009
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:platform>
|
||||
|
||||
<!-- Generated on Mon Nov 23 14:08:02 PST 2009 using eclair-release 20723: Platform. Addon. -->
|
||||
@ -315,6 +345,7 @@ April 10, 2009
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:platform>
|
||||
|
||||
<!-- Generated on Thu May 6 15:57:41 PDT 2010 using eclair 35983: Platform. -->
|
||||
@ -339,6 +370,7 @@ April 10, 2009
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:platform>
|
||||
|
||||
<!-- Generated on Wed Jun 30 16:13:06 PDT 2010 using froyo-release 43546: Platform. Addon. -->
|
||||
@ -363,6 +395,7 @@ April 10, 2009
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:platform>
|
||||
|
||||
<!-- Generated on Thu Jan 20 09:40:59 PST 2011 using gingerbread-sdk-release 93351: Platform. -->
|
||||
@ -388,6 +421,7 @@ April 10, 2009
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:platform>
|
||||
|
||||
<!-- Generated on Fri Feb 4 16:41:27 PST 2011 using gingerbread-release 101070: Platform. -->
|
||||
@ -412,6 +446,7 @@ April 10, 2009
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:platform>
|
||||
|
||||
<!-- Generated on Thu Feb 17 08:41:10 PST 2011 using honeycomb 104254: Platform. -->
|
||||
@ -436,6 +471,7 @@ April 10, 2009
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:platform>
|
||||
|
||||
<!-- Generated on Wed May 4 19:39:17 PDT 2011 using honeycomb-mr1 123685: Platform.
|
||||
@ -462,6 +498,7 @@ April 10, 2009
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:platform>
|
||||
|
||||
<!-- Generated on Fri Jul 15 11:50:12 PDT 2011 using honeycomb-mr2-release 140714: Platform. -->
|
||||
@ -486,6 +523,7 @@ April 10, 2009
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>4</sdk:api>
|
||||
</sdk:layoutlib>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:platform>
|
||||
|
||||
<sdk:platform>
|
||||
@ -505,6 +543,7 @@ April 10, 2009
|
||||
<sdk:url>android-14_r03.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:platform>
|
||||
|
||||
<sdk:platform>
|
||||
@ -527,6 +566,7 @@ April 10, 2009
|
||||
<sdk:url>android-15_r03.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:platform>
|
||||
|
||||
<sdk:platform>
|
||||
@ -549,6 +589,30 @@ April 10, 2009
|
||||
<sdk:url>android-16_r03.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:platform>
|
||||
|
||||
<sdk:platform>
|
||||
<!-- Generated at Mon Nov 12 17:12:35 2012 from git_jb-mr1-dev @ 526865 -->
|
||||
<sdk:revision>1</sdk:revision>
|
||||
<sdk:description>Android SDK Platform 4.2</sdk:description>
|
||||
<sdk:version>4.2</sdk:version>
|
||||
<sdk:api-level>17</sdk:api-level>
|
||||
<sdk:min-tools-rev>
|
||||
<sdk:major>21</sdk:major>
|
||||
</sdk:min-tools-rev>
|
||||
<sdk:layoutlib>
|
||||
<sdk:api>9</sdk:api>
|
||||
<sdk:revision>1</sdk:revision>
|
||||
</sdk:layoutlib>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>47886130</sdk:size>
|
||||
<sdk:checksum type="sha1">c2e7c8c8db40e06b804ddb1725ac2c3555b55025</sdk:checksum>
|
||||
<sdk:url>android-17_r01.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:platform>
|
||||
|
||||
<!-- SYSTEM IMAGES ........................ -->
|
||||
@ -566,6 +630,7 @@ April 10, 2009
|
||||
<sdk:url>sysimg_armv7a-14_r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:system-image>
|
||||
|
||||
<sdk:system-image>
|
||||
@ -581,6 +646,7 @@ April 10, 2009
|
||||
<sdk:url>sysimg_armv7a-15_r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:system-image>
|
||||
|
||||
<sdk:system-image>
|
||||
@ -596,6 +662,23 @@ April 10, 2009
|
||||
<sdk:url>sysimg_armv7a-16_r03.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:system-image>
|
||||
|
||||
<sdk:system-image>
|
||||
<!-- Generated at Mon Nov 12 17:14:39 2012 from git_jb-mr1-dev @ 526865 -->
|
||||
<sdk:revision>1</sdk:revision>
|
||||
<sdk:description>Android SDK Platform 4.2</sdk:description>
|
||||
<sdk:api-level>17</sdk:api-level>
|
||||
<sdk:abi>armeabi-v7a</sdk:abi>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>116831648</sdk:size>
|
||||
<sdk:checksum type="sha1">45b9344473e0a6d063c2b1fe58d8cd47d307905e</sdk:checksum>
|
||||
<sdk:url>sysimg_armv7a-17_r01.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:system-image>
|
||||
|
||||
<!-- SAMPLES ........................ -->
|
||||
@ -615,6 +698,7 @@ April 10, 2009
|
||||
<sdk:url>samples-2.1_r01-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:sample>
|
||||
|
||||
<!-- Generated on Tue May 11 19:15:20 PDT 2010 using froyo 36658: Samples. -->
|
||||
@ -632,6 +716,7 @@ April 10, 2009
|
||||
<sdk:url>samples-2.2_r01-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:sample>
|
||||
|
||||
<!-- Generated on Tue Nov 30 19:39:34 PST 2010 using gingerbread 79962: Samples. -->
|
||||
@ -650,6 +735,7 @@ April 10, 2009
|
||||
<sdk:url>samples-2.3_r01-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:sample>
|
||||
|
||||
<!-- Generated on Tue Feb 8 17:37:15 PST 2011 using gingerbread 102121: Samples. -->
|
||||
@ -667,6 +753,7 @@ April 10, 2009
|
||||
<sdk:url>samples-2.3.3_r01-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:sample>
|
||||
|
||||
<!-- Generated on Thu Feb 17 08:45:49 PST 2011 using honeycomb 104254: Samples. -->
|
||||
@ -684,6 +771,7 @@ April 10, 2009
|
||||
<sdk:url>samples-3.0_r01-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:sample>
|
||||
|
||||
<!-- Generated on Wed May 4 19:49:56 PDT 2011 using honeycomb-mr1 123685: Samples. -->
|
||||
@ -701,6 +789,7 @@ April 10, 2009
|
||||
<sdk:url>samples-3.1_r01-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:sample>
|
||||
|
||||
<!-- Generated on Fri Jul 15 11:52:24 PDT 2011 using honeycomb-mr2 142871: Samples. -->
|
||||
@ -718,6 +807,7 @@ April 10, 2009
|
||||
<sdk:url>samples-3.2_r01-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:sample>
|
||||
|
||||
<sdk:sample>
|
||||
@ -731,6 +821,7 @@ April 10, 2009
|
||||
<sdk:url>samples-14_r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:sample>
|
||||
|
||||
<sdk:sample>
|
||||
@ -744,6 +835,7 @@ April 10, 2009
|
||||
<sdk:url>samples-15_r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:sample>
|
||||
|
||||
<sdk:sample>
|
||||
@ -757,132 +849,125 @@ April 10, 2009
|
||||
<sdk:url>samples-16_r01.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:sample>
|
||||
|
||||
<sdk:sample>
|
||||
<!-- Generated at Mon Nov 12 17:18:09 2012 from git_jb-mr1-dev @ 526865 -->
|
||||
<sdk:revision>1</sdk:revision>
|
||||
<sdk:api-level>17</sdk:api-level>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>14840030</sdk:size>
|
||||
<sdk:checksum type="sha1">12d58cb26503610fc05bd7618c434cc6f983bc41</sdk:checksum>
|
||||
<sdk:url>samples-17_r01.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:sample>
|
||||
|
||||
<!-- PLATFORM-TOOLS ........................ -->
|
||||
|
||||
<sdk:platform-tool>
|
||||
<!-- Generated at Thu Jul 19 18:38:34 2012 from git_jb-dev @ 407773 -->
|
||||
<!-- Generated at Mon Nov 12 17:13:48 2012 from git_jb-mr1-dev @ 527242 -->
|
||||
<sdk:revision>
|
||||
<sdk:major>14</sdk:major>
|
||||
<sdk:major>16</sdk:major>
|
||||
</sdk:revision>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="windows">
|
||||
<sdk:size>11159472</sdk:size>
|
||||
<sdk:checksum type="sha1">6028258d8f2fba14d8b40c3cf507afa0289aaa13</sdk:checksum>
|
||||
<sdk:url>platform-tools_r14-windows.zip</sdk:url>
|
||||
<sdk:size>11938435</sdk:size>
|
||||
<sdk:checksum type="sha1">0d6245b685c7d303cf4a054a3d373c4427b7ad01</sdk:checksum>
|
||||
<sdk:url>platform-tools_r16-windows.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="linux">
|
||||
<sdk:size>10985068</sdk:size>
|
||||
<sdk:checksum type="sha1">6e2bc329c9485eb383172cbc2cde8b0c0cd1843f</sdk:checksum>
|
||||
<sdk:url>platform-tools_r14-linux.zip</sdk:url>
|
||||
<sdk:size>12676089</sdk:size>
|
||||
<sdk:checksum type="sha1">84d563ae5e324f223f335f11bf511bf6207c05fb</sdk:checksum>
|
||||
<sdk:url>platform-tools_r16-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="macosx">
|
||||
<sdk:size>11342461</sdk:size>
|
||||
<sdk:checksum type="sha1">4a015090c6a209fc33972acdbc65745e0b3c08b9</sdk:checksum>
|
||||
<sdk:url>platform-tools_r14-macosx.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:platform-tool>
|
||||
|
||||
<sdk:platform-tool>
|
||||
<!-- Generated at Wed Oct 17 15:42:13 2012 from git_jb-dev @ 505673 -->
|
||||
<sdk:revision>
|
||||
<sdk:major>15</sdk:major>
|
||||
<sdk:preview>9</sdk:preview>
|
||||
</sdk:revision>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="windows">
|
||||
<sdk:size>11170483</sdk:size>
|
||||
<sdk:checksum type="sha1">853afdf5f63aaac61dcfd016a7acb930b6dac377</sdk:checksum>
|
||||
<sdk:url>platform-tools_r15_rc9-windows.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="linux">
|
||||
<sdk:size>10996592</sdk:size>
|
||||
<sdk:checksum type="sha1">c1aa2bc0d6f7dac7e292151ee77752bbfb10d1c5</sdk:checksum>
|
||||
<sdk:url>platform-tools_r15_rc9-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="macosx">
|
||||
<sdk:size>11345162</sdk:size>
|
||||
<sdk:checksum type="sha1">22ac626ec3526b606d358193a16df10179f1d4f5</sdk:checksum>
|
||||
<sdk:url>platform-tools_r15_rc9-macosx.zip</sdk:url>
|
||||
<sdk:size>13147351</sdk:size>
|
||||
<sdk:checksum type="sha1">fbb0f8d2786a83b8c3eb6df402e706e136db8fed</sdk:checksum>
|
||||
<sdk:url>platform-tools_r16-macosx.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:platform-tool>
|
||||
|
||||
<!-- TOOLS ........................ -->
|
||||
|
||||
<sdk:tool>
|
||||
<!-- Generated at Thu Aug 9 13:16:38 2012 from git_tools_r20 @ 427395 -->
|
||||
<!-- Generated at Mon Nov 12 17:07:47 2012 from git_tools_r21 @ 519525 -->
|
||||
<sdk:revision>
|
||||
<sdk:major>20</sdk:major>
|
||||
<sdk:minor>0</sdk:minor>
|
||||
<sdk:micro>3</sdk:micro>
|
||||
<sdk:major>21</sdk:major>
|
||||
</sdk:revision>
|
||||
<sdk:min-platform-tools-rev>
|
||||
<sdk:major>12</sdk:major>
|
||||
<sdk:major>16</sdk:major>
|
||||
</sdk:min-platform-tools-rev>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="windows">
|
||||
<sdk:size>90272048</sdk:size>
|
||||
<sdk:checksum type="sha1">54fb94168e631e211910f88aa40c532205730dd4</sdk:checksum>
|
||||
<sdk:url>tools_r20.0.3-windows.zip</sdk:url>
|
||||
<sdk:size>98982670</sdk:size>
|
||||
<sdk:checksum type="sha1">57bbfadcedbef44fc322e5e037666393668cf3fe</sdk:checksum>
|
||||
<sdk:url>tools_r21-windows.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="linux">
|
||||
<sdk:size>82723559</sdk:size>
|
||||
<sdk:checksum type="sha1">09bc633b406ae81981e3a0db19426acbb01ef219</sdk:checksum>
|
||||
<sdk:url>tools_r20.0.3-linux.zip</sdk:url>
|
||||
<sdk:size>91495104</sdk:size>
|
||||
<sdk:checksum type="sha1">013b9c04407a9d73b8bf3c574327fbe870acd264</sdk:checksum>
|
||||
<sdk:url>tools_r21-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="macosx">
|
||||
<sdk:size>58197071</sdk:size>
|
||||
<sdk:checksum type="sha1">09cee5ff3226277a6f0c07dcd29cba4ffc2e1da4</sdk:checksum>
|
||||
<sdk:url>tools_r20.0.3-macosx.zip</sdk:url>
|
||||
<sdk:size>65767130</sdk:size>
|
||||
<sdk:checksum type="sha1">fcfa3a6932f2ed0d970a0ca959bb2b4972f7d46d</sdk:checksum>
|
||||
<sdk:url>tools_r21-macosx.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:tool>
|
||||
|
||||
<sdk:tool>
|
||||
<!-- Generated at Wed Oct 17 15:40:42 2012 from git_mirror-aosp-master @ 506320 -->
|
||||
<!-- Generated at Fri Nov 30 13:45:55 2012 from git_tools_r21 @ 539280 -->
|
||||
<sdk:revision>
|
||||
<sdk:major>21</sdk:major>
|
||||
<sdk:preview>9</sdk:preview>
|
||||
<sdk:minor>0</sdk:minor>
|
||||
<sdk:micro>1</sdk:micro>
|
||||
<sdk:preview>1</sdk:preview>
|
||||
</sdk:revision>
|
||||
<sdk:min-platform-tools-rev>
|
||||
<sdk:major>15</sdk:major>
|
||||
<sdk:preview>9</sdk:preview>
|
||||
<sdk:major>16</sdk:major>
|
||||
</sdk:min-platform-tools-rev>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="windows">
|
||||
<sdk:size>98865433</sdk:size>
|
||||
<sdk:checksum type="sha1">a1379cef10f33e74061f6935fd74922b0351addb</sdk:checksum>
|
||||
<sdk:url>tools_r21_rc9-windows.zip</sdk:url>
|
||||
<sdk:size>98998088</sdk:size>
|
||||
<sdk:checksum type="sha1">1503aaf2c91cb07c0240a2db3af0de027941a4f6</sdk:checksum>
|
||||
<sdk:url>tools_r21.0.1_rc1-windows.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="linux">
|
||||
<sdk:size>91377922</sdk:size>
|
||||
<sdk:checksum type="sha1">dde958cb26276b632a02ca6d530506c09ce4e086</sdk:checksum>
|
||||
<sdk:url>tools_r21_rc9-linux.zip</sdk:url>
|
||||
<sdk:size>91510079</sdk:size>
|
||||
<sdk:checksum type="sha1">183670a7f9878d8d3693d5fcf32e1357b69f0fed</sdk:checksum>
|
||||
<sdk:url>tools_r21.0.1_rc1-linux.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
<sdk:archive arch="any" os="macosx">
|
||||
<sdk:size>65655657</sdk:size>
|
||||
<sdk:checksum type="sha1">43803f6179707ca6bd4a37e129bcf022ebda0043</sdk:checksum>
|
||||
<sdk:url>tools_r21_rc9-macosx.zip</sdk:url>
|
||||
<sdk:size>65777178</sdk:size>
|
||||
<sdk:checksum type="sha1">109d4f287904875f067e021be3fd1f549e6afb67</sdk:checksum>
|
||||
<sdk:url>tools_r21.0.1_rc1-macosx.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:tool>
|
||||
|
||||
<!-- DOCS ........................ -->
|
||||
|
||||
<sdk:doc>
|
||||
<!-- Generated at Tue Oct 9 14:08:23 2012 from git_jb-dev @ 495790 -->
|
||||
<sdk:revision>3</sdk:revision>
|
||||
<sdk:api-level>16</sdk:api-level>
|
||||
<!-- Generated at Mon Nov 12 17:17:53 2012 from git_jb-mr1-dev @ 528390 -->
|
||||
<sdk:revision>1</sdk:revision>
|
||||
<sdk:api-level>17</sdk:api-level>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>164244602</sdk:size>
|
||||
<sdk:checksum type="sha1">3168152f52f5edc0c85523c875c96e7431ab4545</sdk:checksum>
|
||||
<sdk:url>docs-16_r03.zip</sdk:url>
|
||||
<sdk:size>171564393</sdk:size>
|
||||
<sdk:checksum type="sha1">fb988cdd2beaac0dd47dc630821ccc30557c67e5</sdk:checksum>
|
||||
<sdk:url>docs-17_r01.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:doc>
|
||||
|
||||
<!-- SOURCES ........................ -->
|
||||
@ -898,6 +983,7 @@ April 10, 2009
|
||||
<sdk:url>sources-14_r01.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:source>
|
||||
|
||||
<sdk:source>
|
||||
@ -911,6 +997,7 @@ April 10, 2009
|
||||
<sdk:url>sources-15_r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:source>
|
||||
|
||||
<sdk:source>
|
||||
@ -924,5 +1011,20 @@ April 10, 2009
|
||||
<sdk:url>sources-16_r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:source>
|
||||
</sdk:sdk-repository>
|
||||
|
||||
<sdk:source>
|
||||
<!-- Generated at Mon Nov 12 17:16:08 2012 from git_jb-mr1-dev @ 526865 -->
|
||||
<sdk:revision>1</sdk:revision>
|
||||
<sdk:api-level>17</sdk:api-level>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>18976816</sdk:size>
|
||||
<sdk:checksum type="sha1">6f1f18cd2d2b1852d7f6892df9cee3823349d43a</sdk:checksum>
|
||||
<sdk:url>sources-17_r01.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
<sdk:uses-license ref="android-sdk-license"/>
|
||||
</sdk:source>
|
||||
</sdk:sdk-repository>
|
||||
|
@ -1,10 +1,10 @@
|
||||
{stdenv, fetchurl, unzip}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "android-support";
|
||||
name = "android-support-r11";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/support_r10.zip;
|
||||
sha1 = "7c62e542d46ac3bdb89e1b90503d6afae557cf7d";
|
||||
url = https://dl-ssl.google.com/android/repository/support_r11.zip;
|
||||
sha1 = "d30d182d8e4c86bb4464c03a83ccffce7bc84ecd";
|
||||
};
|
||||
|
||||
buildCommand = ''
|
||||
|
@ -38,5 +38,13 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
sysimg_17 = buildSystemImage {
|
||||
name = "armeabi-v7a-17";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/sysimg_armv7a-17_r01.zip;
|
||||
sha1 = "45b9344473e0a6d063c2b1fe58d8cd47d307905e";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
42
pkgs/development/arduino/arduino-core/default.nix
Normal file
42
pkgs/development/arduino/arduino-core/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ stdenv, fetchurl, jdk, jre, ant, coreutils, gnugrep }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
version = "1.0.2";
|
||||
name = "arduino-core";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://arduino.googlecode.com/files/arduino-${version}-src.tar.gz";
|
||||
sha256 = "0nszl2hdjjgxk87gyk0xi0ww9grbq83hch3iqmpaf9yp4y9bra0x";
|
||||
};
|
||||
|
||||
buildInputs = [ jdk ant ];
|
||||
|
||||
phases = "unpackPhase patchPhase buildPhase installPhase";
|
||||
|
||||
patchPhase = ''
|
||||
#
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
cd ./core && ant
|
||||
cd ../build && ant
|
||||
cd ..
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/arduino
|
||||
cp -r ./build/linux/work/hardware/ $out/share/arduino
|
||||
cp -r ./build/linux/work/libraries/ $out/share/arduino
|
||||
cp -r ./build/linux/work/tools/ $out/share/arduino
|
||||
cp -r ./build/linux/work/lib/ $out/share/arduino
|
||||
echo ${version} > $out/share/arduino/lib/version.txt
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Arduino libraries";
|
||||
homepage = http://arduino.cc/;
|
||||
license = "GPL";
|
||||
maintainers = [ stdenv.lib.maintainers.antono ];
|
||||
};
|
||||
}
|
28
pkgs/development/arduino/ino/default.nix
Normal file
28
pkgs/development/arduino/ino/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchurl, buildPythonPackage, minicom, avrdude, arduino_core, avrgcclibc }:
|
||||
|
||||
buildPythonPackage {
|
||||
name = "ino-0.3.4";
|
||||
namePrefix = "";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://pypi.python.org/packages/source/i/ino/ino-0.3.4.tar.gz";
|
||||
sha256 = "1v7z3da31cv212k28aci269qkg92p377fm7i76rymjjpjra7payv";
|
||||
};
|
||||
|
||||
# TODO: add avrgcclibc, it must be rebuild with C++ support
|
||||
propagatedBuildInputs = [ minicom avrdude arduino_core ];
|
||||
|
||||
patchPhase = ''
|
||||
echo "Patching Arduino distribution path"
|
||||
sed -i 's@/usr/local/share/arduino@${arduino_core}/share/arduino@g' ino/environment.py
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Command line toolkit for working with Arduino hardware";
|
||||
homepage = http://inotool.org/;
|
||||
license = "MIT";
|
||||
maintainers = [ stdenv.lib.maintainers.antono ];
|
||||
};
|
||||
}
|
@ -1,47 +1,45 @@
|
||||
{builderDefsPackage
|
||||
, gmp, mpfr, libffi
|
||||
, ...} @ x:
|
||||
builderDefsPackage (a :
|
||||
let
|
||||
propagatedBuildInputs = with a; [
|
||||
{stdenv, fetchurl
|
||||
, gmp, mpfr, libffi
|
||||
, noUnicode ? false,
|
||||
}:
|
||||
let
|
||||
s = # Generated upstream information
|
||||
rec {
|
||||
baseName="ecl";
|
||||
version="12.12.1";
|
||||
name="${baseName}-${version}";
|
||||
hash="15y2dgj95li6mxiz9pnllj9x88km0z8gfh46kysfllkp2pl7rrsl";
|
||||
url="mirror://sourceforge/project/ecls/ecls/12.12/ecl-12.12.1.tgz";
|
||||
sha256="15y2dgj95li6mxiz9pnllj9x88km0z8gfh46kysfllkp2pl7rrsl";
|
||||
};
|
||||
buildInputs = [
|
||||
libffi
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
gmp mpfr
|
||||
];
|
||||
buildInputs = [ gmp libffi mpfr ];
|
||||
in
|
||||
rec {
|
||||
mainVersion = "12.7";
|
||||
revision = "1";
|
||||
version = "${mainVersion}.${revision}";
|
||||
|
||||
name = "ecl-${version}";
|
||||
|
||||
src = a.fetchurl {
|
||||
url = "mirror://sourceforge/project/ecls/ecls/${mainVersion}/${name}.tar.gz";
|
||||
sha256 = "0k8ww142g3bybvvnlijqsbidl8clbs1pb4ympk2ds07z5swvy2ap";
|
||||
};
|
||||
|
||||
stdenv.mkDerivation {
|
||||
inherit (s) name version;
|
||||
inherit buildInputs propagatedBuildInputs;
|
||||
src = fetchurl {
|
||||
inherit (s) url sha256;
|
||||
};
|
||||
configureFlags = [
|
||||
"--enable-threads"
|
||||
]
|
||||
++
|
||||
(a.lib.optional (! (a.lib.attrByPath ["noUnicode"] false a))
|
||||
(stdenv.lib.optional (! noUnicode)
|
||||
"--enable-unicode")
|
||||
;
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doConfigure" "doMakeInstall" "fixEclConfig"];
|
||||
|
||||
fixEclConfig = a.fullDepEntry ''
|
||||
postInstall = ''
|
||||
sed -e 's/@[-a-zA-Z_]*@//g' -i $out/bin/ecl-config
|
||||
'' ["minInit"];
|
||||
|
||||
'';
|
||||
meta = {
|
||||
description = "A Lisp implementation aiming to be small and fast";
|
||||
maintainers = [
|
||||
a.lib.maintainers.raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
linux;
|
||||
inherit (s) version;
|
||||
description = "Lisp implementation aiming to be small, fast and easy to embed";
|
||||
license = stdenv.lib.licenses.mit ;
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}) x
|
||||
}
|
||||
|
4
pkgs/development/compilers/ecl/default.upstream
Normal file
4
pkgs/development/compilers/ecl/default.upstream
Normal file
@ -0,0 +1,4 @@
|
||||
url http://sourceforge.net/projects/ecls/files/ecls/
|
||||
SF_version_dir
|
||||
version_link '[.]tgz/download$'
|
||||
SF_redirect
|
@ -12,9 +12,9 @@ let
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
method = "fetchgit";
|
||||
rev = "14f62c94f952104d27d920ea662c8a61b370abe8";
|
||||
rev = "9097bf98446ee33c07bb155d800395775ce0d9b2";
|
||||
url = "git://gitorious.org/eql/eql";
|
||||
hash = "1ca31f0ad8cbc45d2fdf7b1e4059b1e612523c043f4688d7147c7e16fa5ba9ca";
|
||||
hash = "1fp88xmmk1sa0iqxahfiv818bp2sbf66vqrd4xq9jb731ybdvsb8";
|
||||
version = rev;
|
||||
name = "eql-git-${version}";
|
||||
};
|
||||
@ -30,7 +30,7 @@ rec {
|
||||
inherit (sourceInfo) name version;
|
||||
inherit buildInputs;
|
||||
|
||||
phaseNames = ["setVars" "fixPaths" "firstMetaTypeId" "buildEQLLib" "doQMake" "doMake" "doDeploy"];
|
||||
phaseNames = ["setVars" "fixPaths" "doQMake" "doMake" "doDeploy"];
|
||||
|
||||
setVars = a.fullDepEntry (''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -fPIC"
|
||||
@ -40,27 +40,13 @@ rec {
|
||||
sed -re 's@[(]in-home "gui/.command-history"[)]@(concatenate '"'"'string (ext:getenv "HOME") "/.eql-gui-command-history")@' -i gui/gui.lisp
|
||||
'') ["minInit" "doUnpack"];
|
||||
|
||||
firstMetaTypeId = a.fullDepEntry (''
|
||||
cd src
|
||||
qmake first_metatype_id.pro
|
||||
make
|
||||
TMP=.
|
||||
TMPDIR=.
|
||||
XKB_BINDIR="${xkbcomp}/bin" Xvfb -once -reset -terminate :2 -xkbdir ${xkeyboard_config}/etc/X11/xkb &
|
||||
sleep 10;
|
||||
DISPLAY=:2 ./first_metatype_id
|
||||
'') ["doUnpack" "addInputs"];
|
||||
|
||||
buildEQLLib = a.fullDepEntry (''
|
||||
ecl -shell make-eql-lib.lisp
|
||||
qmake eql_lib.pro
|
||||
make
|
||||
'') ["doUnpack" "addInputs" "firstMetaTypeId"];
|
||||
|
||||
doQMake = a.fullDepEntry (''
|
||||
cd src
|
||||
qmake eql_exe.pro
|
||||
make
|
||||
'') ["addInputs" "firstMetaTypeId" "buildEQLLib"];
|
||||
cd ..
|
||||
cd src
|
||||
'') ["addInputs" "doUnpack" "buildEQLLib"];
|
||||
|
||||
doDeploy = a.fullDepEntry (''
|
||||
cd ..
|
||||
@ -70,7 +56,16 @@ rec {
|
||||
ln -s $out/lib/eql/build-dir/src/*.h $out/include
|
||||
ln -s $out/lib/eql/build-dir/src/gen/*.h $out/include/gen
|
||||
ln -s $out/lib/eql/build-dir/libeql*.so* $out/lib
|
||||
'') ["minInit" "defEnsureDir"];
|
||||
'') ["minInit"];
|
||||
|
||||
buildEQLLib = a.fullDepEntry (''
|
||||
cd src
|
||||
ecl -shell make-eql-lib.lisp
|
||||
qmake eql_lib.pro
|
||||
make
|
||||
cd ..
|
||||
'') ["doUnpack" "addInputs"];
|
||||
|
||||
|
||||
meta = {
|
||||
description = "Embedded Qt Lisp (ECL+Qt)";
|
||||
|
@ -91,11 +91,13 @@ let version = "4.7.2";
|
||||
gccAbi = stdenv.lib.attrByPath [ "gcc" "abi" ] null cross;
|
||||
gccFpu = stdenv.lib.attrByPath [ "gcc" "fpu" ] null cross;
|
||||
gccFloat = stdenv.lib.attrByPath [ "gcc" "float" ] null cross;
|
||||
gccMode = stdenv.lib.attrByPath [ "gcc" "mode" ] null cross;
|
||||
withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
|
||||
withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
|
||||
withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
|
||||
withFpu = if gccFpu != null then " --with-fpu=${gccFpu}" else "";
|
||||
withFloat = if gccFloat != null then " --with-float=${gccFloat}" else "";
|
||||
withMode = if gccMode != null then " --with-mode=${gccMode}" else "";
|
||||
crossMingw = (cross != null && cross.libc == "msvcrt");
|
||||
|
||||
crossConfigureFlags =
|
||||
@ -105,6 +107,7 @@ let version = "4.7.2";
|
||||
withAbi +
|
||||
withFpu +
|
||||
withFloat +
|
||||
withMode +
|
||||
(if crossMingw && crossStageStatic then
|
||||
" --with-headers=${libcCross}/include" +
|
||||
" --with-gcc" +
|
||||
|
@ -79,7 +79,12 @@ stdenv.mkDerivation rec {
|
||||
echo -n "Generating wrappers "
|
||||
|
||||
for prg in ghc ghci ghc-${ghc.version} ghci-${ghc.version}; do
|
||||
makeWrapper ${ghc}/bin/$prg $out/bin/$prg --add-flags "-B$linkedTopDir"
|
||||
# The NIX env-vars are picked up by our patched version of ghc-paths.
|
||||
makeWrapper ${ghc}/bin/$prg $out/bin/$prg \
|
||||
--add-flags "-B$linkedTopDir" \
|
||||
--set "NIX_GHC" "$out/bin/ghc" \
|
||||
--set "NIX_GHCPKG" "$out/bin/ghc-pkg" \
|
||||
--set "NIX_GHC_LIBDIR" "$linkedTopDir"
|
||||
echo -n .
|
||||
done
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
{ stdenv, fetchurl, readline}:
|
||||
|
||||
let
|
||||
dsoPatch = fetchurl {
|
||||
url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/lua-arch.patch?h=packages/lua51";
|
||||
sha256 = "11fcyb4q55p4p7kdb8yp85xlw8imy14kzamp2khvcyxss4vw8ipw";
|
||||
name = "lua-arch.patch";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "lua-5.1.5";
|
||||
|
||||
@ -10,7 +17,19 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ readline ];
|
||||
|
||||
configurePhase = "makeFlagsArray=( INSTALL_TOP=$out INSTALL_MAN=$out/share/man/man1 PLAT=linux )";
|
||||
patches = [ dsoPatch ];
|
||||
|
||||
configurePhase = ''
|
||||
makeFlagsArray=( INSTALL_TOP=$out INSTALL_MAN=$out/share/man/man1 PLAT=linux CFLAGS="-O2 -fPIC" LDLAGS="-fPIC" )
|
||||
installFlagsArray=( TO_BIN="lua luac" TO_LIB="liblua.a liblua.so liblua.so.5.1" INSTALL_DATA='cp -d' )
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p "$out/share/doc/lua" "$out/lib/pkgconfig"
|
||||
mv "etc/lua.pc" "$out/lib/pkgconfig/"
|
||||
mv "doc/"*.{gif,png,css,html} "$out/share/doc/lua/"
|
||||
rmdir $out/{share,lib}/lua/5.1 $out/{share,lib}/lua
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.lua.org";
|
||||
@ -25,6 +44,6 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
license = "MIT";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ ];
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
};
|
||||
}
|
||||
|
23
pkgs/development/libraries/eigen/2.0.nix
Normal file
23
pkgs/development/libraries/eigen/2.0.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{stdenv, fetchurl, cmake}:
|
||||
|
||||
let
|
||||
v = "2.0.16";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "eigen-${v}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://bitbucket.org/eigen/eigen/get/${v}.tar.bz2";
|
||||
name = "eigen-${v}.tar.bz2";
|
||||
sha256 = "1akcb4g5hvc664gfc6sxb6f6jrm55fgks6017wg0smyvmm6k09v0";
|
||||
};
|
||||
|
||||
buildNativeInputs = [ cmake ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
|
||||
license = licenses.lgpl3Plus;
|
||||
homepage = http://eigen.tuxfamily.org ;
|
||||
maintainers = with stdenv.lib.maintainers; [ sander urkud raskin ];
|
||||
};
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
{stdenv, fetchurl, cmake}:
|
||||
|
||||
let
|
||||
v = "2.0.16";
|
||||
v = "3.1.2";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "eigen-${v}";
|
||||
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
||||
src = fetchurl {
|
||||
url = "http://bitbucket.org/eigen/eigen/get/${v}.tar.bz2";
|
||||
name = "eigen-${v}.tar.bz2";
|
||||
sha256 = "1akcb4g5hvc664gfc6sxb6f6jrm55fgks6017wg0smyvmm6k09v0";
|
||||
sha256 = "1hywvbn4a8f96fjn3cvd6nxzh5jvh05s1r263d9vqlgn25dxrzay";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "Boolean";
|
||||
version = "0.1.1";
|
||||
sha256 = "1id075slxgz67gv382vpr7cr19i59bjajvb60iv2xrhh73gp08yv";
|
||||
version = "0.1.2";
|
||||
sha256 = "07mhg9zf98hlm7qq9gdbrq68a8rpvdby1jwmgrvf3nv2k47dimx6";
|
||||
meta = {
|
||||
description = "Generalized booleans";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "Crypto";
|
||||
version = "4.2.5";
|
||||
sha256 = "0wv48is2jqia8hda6q65y3mhabxlw9hjzmpk3dx70rzh4w44yxb8";
|
||||
version = "4.2.5.1";
|
||||
sha256 = "0rmgl0a4k6ys2lc6d607g28c2p443a46dla903rz5aha7m9y1mba";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [ HUnit QuickCheck random ];
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "aeson";
|
||||
version = "0.6.0.2";
|
||||
sha256 = "04vyjpp3zi2g65rrkq4x4bddw0nfclniq5hhfq7l3jhybd8jxy51";
|
||||
version = "0.6.1.0";
|
||||
sha256 = "16hjwcybmgmk1sg8x02r9bxisx4gl61rlq8w2zsxfgkxwjpfhkbx";
|
||||
buildDepends = [
|
||||
attoparsec blazeBuilder deepseq dlist hashable mtl syb text time
|
||||
unorderedContainers vector
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "attoparsec";
|
||||
version = "0.10.2.0";
|
||||
sha256 = "0hvkx63knhxdc06lkv2avz2dblbvn0hhvckfqyr22ls1qrpgz71c";
|
||||
version = "0.10.3.0";
|
||||
sha256 = "1l4cnfgnynrprfvx0p3n6kca8arsmvb1yxb9ir782rrk537jci50";
|
||||
buildDepends = [ deepseq text ];
|
||||
meta = {
|
||||
homepage = "https://github.com/bos/attoparsec";
|
||||
|
@ -3,7 +3,7 @@
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "bloomfilter";
|
||||
version = "1.2.6.10";
|
||||
sha256 = "1z2jc7588fkv42dxf0dxsrgk5pmj3xapshy1vyfwipp1q6y20x4j";
|
||||
sha256 = "162vp9riwf5q2l1hnw3g157fpwnw185fk41hkgyf8qaavcrz6slv";
|
||||
buildDepends = [ deepseq ];
|
||||
meta = {
|
||||
homepage = "https://github.com/bos/bloomfilter";
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "bmp";
|
||||
version = "1.2.3.2";
|
||||
sha256 = "0lr6ys15ap3myzv48xmcy0bv17s4x2drskqz3kmbp06knrx9y1bh";
|
||||
version = "1.2.3.4";
|
||||
sha256 = "134nfchsw4q1k3kr09i5w8jxbr659as4523gs5m2dch15wrmrhf6";
|
||||
buildDepends = [ binary ];
|
||||
meta = {
|
||||
homepage = "http://code.ouroborus.net/bmp";
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "case-insensitive";
|
||||
version = "0.4.0.3";
|
||||
sha256 = "1lpfxfwfxiimvh5nxqrnjqj2687dp7rmv9wkrpmw2zm5wkxwcmzf";
|
||||
version = "0.4.0.4";
|
||||
sha256 = "1xzpri688vbd6fvvxczqx8bv53009ygzws7vbjmj2q97wcm8nmwd";
|
||||
buildDepends = [ hashable text ];
|
||||
meta = {
|
||||
homepage = "https://github.com/basvandijk/case-insensitive";
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "configurator";
|
||||
version = "0.2.0.1";
|
||||
sha256 = "02w6f5q2xkpc3kgqz6a58g7yr0q4xd8ck1b6lr64ahvqwsjbxy6p";
|
||||
version = "0.2.0.2";
|
||||
sha256 = "011rgd48gv4idkh2dwg4mlyx3s6pgm1263xq5ixsa4sg3jqh9d8b";
|
||||
buildDepends = [
|
||||
attoparsec hashable text unixCompat unorderedContainers
|
||||
];
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "cryptohash";
|
||||
version = "0.8.1";
|
||||
sha256 = "1xxnmxfpd77ahyjhy2fq3fxhiivhj6k12v1z72ndyhrd3369zqky";
|
||||
version = "0.8.2";
|
||||
sha256 = "0mym1q5sa1pqfffy0p8v12lfim1dlaczppw3c3wjhxgs222303wj";
|
||||
buildDepends = [ cereal cryptoApi tagged ];
|
||||
meta = {
|
||||
homepage = "http://github.com/vincenthz/hs-cryptohash";
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "diagrams-contrib";
|
||||
version = "0.6";
|
||||
sha256 = "059ljwsbrkzj2wvx9q4viinz46nw5lf4yjmx2c1dmwaqfz3i7j7i";
|
||||
version = "0.6.0.1";
|
||||
sha256 = "1wrfdsfb2yj93wq2ykxjyg6g0q56bmxd2rc6r3gd0zcs8kiimaar";
|
||||
buildDepends = [
|
||||
colour dataDefault diagramsLib forceLayout lens mtl vectorSpace
|
||||
];
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "diagrams-svg";
|
||||
version = "0.6";
|
||||
sha256 = "0yiqilpksgsy87dxx4664pgbbgqcr98j1da4krb751x0yxkglyh5";
|
||||
version = "0.6.0.1";
|
||||
sha256 = "0x4yjm1wdhicknls1y3fhdg89m8wcvfk2svabww9075w6ras79qk";
|
||||
buildDepends = [
|
||||
blazeSvg cmdargs colour diagramsCore diagramsLib filepath
|
||||
monoidExtras mtl split time vectorSpace
|
||||
|
@ -4,6 +4,7 @@ cabal.mkDerivation (self: {
|
||||
pname = "ghc-paths";
|
||||
version = "0.1.0.9";
|
||||
sha256 = "0ibrr1dxa35xx20cpp8jzgfak1rdmy344dfwq4vlq013c6w8z9mg";
|
||||
patches = [ ./ghc-paths-nix.patch ];
|
||||
meta = {
|
||||
description = "Knowledge of GHC's installation directories";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
|
@ -0,0 +1,43 @@
|
||||
diff -Naur ghc-paths-0.1.0.9/GHC/Paths.hs ghc-paths-0.1.0.9-new/GHC/Paths.hs
|
||||
--- ghc-paths-0.1.0.9/GHC/Paths.hs 2012-12-16 13:53:45.720148396 +0100
|
||||
+++ ghc-paths-0.1.0.9-new/GHC/Paths.hs 2012-12-16 17:22:12.765576568 +0100
|
||||
@@ -1,13 +1,35 @@
|
||||
{-# LANGUAGE CPP #-}
|
||||
+{-# LANGUAGE ScopedTypeVariables #-}
|
||||
|
||||
module GHC.Paths (
|
||||
ghc, ghc_pkg, libdir, docdir
|
||||
) where
|
||||
|
||||
+import Control.Exception as E
|
||||
+import Data.Maybe
|
||||
+import System.Environment
|
||||
+import System.IO.Unsafe
|
||||
+
|
||||
+-- Yes, there's lookupEnv now, but we want to be compatible
|
||||
+-- with older GHCs.
|
||||
+checkEnv :: String -> IO (Maybe String)
|
||||
+checkEnv var = E.catch (fmap Just (getEnv var))
|
||||
+ (\ (e :: IOException) -> return Nothing)
|
||||
+
|
||||
+nixLibdir, nixDocdir, nixGhc, nixGhcPkg :: Maybe FilePath
|
||||
+nixLibdir = unsafePerformIO (checkEnv "NIX_GHC_LIBDIR")
|
||||
+nixDocdir = unsafePerformIO (checkEnv "NIX_GHC_DOCDIR")
|
||||
+nixGhc = unsafePerformIO (checkEnv "NIX_GHC")
|
||||
+nixGhcPkg = unsafePerformIO (checkEnv "NIX_GHCPKG")
|
||||
+{-# NOINLINE nixLibdir #-}
|
||||
+{-# NOINLINE nixDocdir #-}
|
||||
+{-# NOINLINE nixGhc #-}
|
||||
+{-# NOINLINE nixGhcPkg #-}
|
||||
+
|
||||
libdir, docdir, ghc, ghc_pkg :: FilePath
|
||||
|
||||
-libdir = GHC_PATHS_LIBDIR
|
||||
-docdir = GHC_PATHS_DOCDIR
|
||||
+libdir = fromMaybe GHC_PATHS_LIBDIR nixLibdir
|
||||
+docdir = fromMaybe GHC_PATHS_DOCDIR nixDocdir
|
||||
|
||||
-ghc = GHC_PATHS_GHC
|
||||
-ghc_pkg = GHC_PATHS_GHC_PKG
|
||||
+ghc = fromMaybe GHC_PATHS_GHC nixGhc
|
||||
+ghc_pkg = fromMaybe GHC_PATHS_GHC_PKG nixGhcPkg
|
@ -4,8 +4,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "hamlet";
|
||||
version = "1.1.2";
|
||||
sha256 = "0k6wnjqmap4wv0p1hvzpd8br4wr4vda9aw87agzf7pix6hwmiybq";
|
||||
version = "1.1.3.1";
|
||||
sha256 = "04qqsjrn0fh9y4z7gjf3g60w69gqxhzq7dqkraq97p3w45fijm1i";
|
||||
buildDepends = [
|
||||
blazeBuilder blazeHtml blazeMarkup failure parsec shakespeare text
|
||||
];
|
||||
|
15
pkgs/development/libraries/haskell/hashable/1.2.0.2.nix
Normal file
15
pkgs/development/libraries/haskell/hashable/1.2.0.2.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ cabal, text }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "hashable";
|
||||
version = "1.2.0.2";
|
||||
sha256 = "1l827sh7v2jls2gcbxgbvz5hacwi43bcrxwmd3wp92hfwy1yza65";
|
||||
buildDepends = [ text ];
|
||||
meta = {
|
||||
homepage = "http://github.com/tibbe/hashable";
|
||||
description = "A class for types that can be converted to a hash value";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
||||
};
|
||||
})
|
@ -5,8 +5,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "heist";
|
||||
version = "0.10.0";
|
||||
sha256 = "0cabn1yw57qa7psmypqa20k4viis140al5zm31jlpmz599rkbi9z";
|
||||
version = "0.10.2";
|
||||
sha256 = "13v9x5dph52xddkb2dy4gfrapvihf1881fin996ag0snbma3wh68";
|
||||
buildDepends = [
|
||||
aeson attoparsec blazeBuilder blazeHtml directoryTree dlist errors
|
||||
filepath hashable MonadCatchIOTransformers mtl random text time
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "hsemail";
|
||||
version = "1.7.2";
|
||||
sha256 = "1bl017gfyvjvxs9z1fns6sknk1l55905r82i31aqbz9qyaj70gzx";
|
||||
version = "1.7.3";
|
||||
sha256 = "0i9qh4rbgcgpjiz7nj8rrmj0ai53s420dskfvwrbwl4j6z67f7la";
|
||||
buildDepends = [ mtl parsec ];
|
||||
meta = {
|
||||
homepage = "http://gitorious.org/hsemail";
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "hslogger-template";
|
||||
version = "2.0.1";
|
||||
sha256 = "1m8h4i8cxxw83vhbw61njvv86qdcff6zi3bf0nyhc4cq7pfrzqvj";
|
||||
version = "2.0.2";
|
||||
sha256 = "0qkyclj9fajvzbfcs0ik8ncy66x916r40jd85r4wi5nh482i7sp3";
|
||||
buildDepends = [ hslogger mtl ];
|
||||
meta = {
|
||||
description = "Automatic generation of hslogger functions";
|
||||
|
@ -8,8 +8,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "http-conduit";
|
||||
version = "1.8.5.1";
|
||||
sha256 = "1v70rslnga063mlpfs1w03y1s4x7kfisjqwbcbczynhz15s9hymx";
|
||||
version = "1.8.5.2";
|
||||
sha256 = "0c1a6iknvi34sh97j7cfzwyikcz0kdz4vgsc47lr7c2a75gl0via";
|
||||
buildDepends = [
|
||||
asn1Data attoparsec attoparsecConduit base64Bytestring blazeBuilder
|
||||
blazeBuilderConduit caseInsensitive certificate conduit cookie
|
||||
|
@ -1,15 +1,15 @@
|
||||
{ cabal, blazeBuilder, caseInsensitive, classyPreludeConduit
|
||||
, conduit, httpConduit, httpTypes, liftedBase, monadControl
|
||||
, network, networkConduit, text, wai, warp, word8
|
||||
, conduit, dataDefault, httpConduit, httpTypes, liftedBase
|
||||
, monadControl, network, networkConduit, text, wai, warp, word8
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "http-reverse-proxy";
|
||||
version = "0.1.0.7";
|
||||
sha256 = "1fshng7bcpzjq5iqnvl2qsyia9yi80b8sbif18a3w86gsw5xcakk";
|
||||
version = "0.1.1";
|
||||
sha256 = "0p04zpw1v0zhzri7wpikc0b8g7n21kgl8j8238vv7xqxapkal0pc";
|
||||
buildDepends = [
|
||||
blazeBuilder caseInsensitive classyPreludeConduit conduit
|
||||
httpConduit httpTypes liftedBase monadControl network
|
||||
dataDefault httpConduit httpTypes liftedBase monadControl network
|
||||
networkConduit text wai warp word8
|
||||
];
|
||||
meta = {
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "iproute";
|
||||
version = "1.2.9";
|
||||
sha256 = "0r0g8dd0f5n462kil3m2lhycl84ygd0ayh900h9x8phgwzfxzv8i";
|
||||
version = "1.2.10";
|
||||
sha256 = "1ni91llvq1mfdsjmw1laqhk964y4vlpyk5s25j8klsfn27mq6c68";
|
||||
buildDepends = [ appar byteorder network ];
|
||||
meta = {
|
||||
homepage = "http://www.mew.org/~kazu/proj/iproute/";
|
||||
|
@ -5,8 +5,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "lens";
|
||||
version = "3.7.0.2";
|
||||
sha256 = "19p71faxr78pis73r2ani0al0lmbq81cws1v2hlgqb4mv2fgw5kn";
|
||||
version = "3.7.1.2";
|
||||
sha256 = "1hapcnmyqyc3645gsy1ikwzm2srbbznps6yrfr02y2lcbnjpn3g6";
|
||||
buildDepends = [
|
||||
comonad comonadsFd comonadTransformers filepath hashable mtl
|
||||
parallel semigroups split text transformers unorderedContainers
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "mime-types";
|
||||
version = "0.1.0.0";
|
||||
sha256 = "0xc36pr84nszyych3jd8sl6kj1grsyv8ci8v7ilrbpnw7ngbkw1p";
|
||||
version = "0.1.0.1";
|
||||
sha256 = "1a34ckmv8qcyk38jydxwph59zcrhnwaah1h6pzn112kysjqjgcsl";
|
||||
buildDepends = [ text ];
|
||||
meta = {
|
||||
homepage = "https://github.com/yesodweb/wai";
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "monad-logger";
|
||||
version = "0.2.3.1";
|
||||
sha256 = "15f85cf1nsy3xbjgikrn8cr09r70h8n2c67bpbxnfjna3ak94gkn";
|
||||
version = "0.2.3.2";
|
||||
sha256 = "0b5jfmzmsb7pdawcm5i74sy934q2d78pjs39invas502kx5bxzk5";
|
||||
buildDepends = [
|
||||
conduit fastLogger monadControl mtl resourcet text transformers
|
||||
transformersBase
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "network-conduit";
|
||||
version = "0.6.2";
|
||||
sha256 = "1v9f2x4ryqiwird60n4rkj0jlyn3lqkfs40956xi11r7p656l6q6";
|
||||
version = "0.6.2.1";
|
||||
sha256 = "1pkqkkj18yn31dmxcc8xfq2drg2jm9169my0s3jsxjbyxsyq58l6";
|
||||
buildDepends = [
|
||||
conduit liftedBase monadControl network transformers
|
||||
];
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "optparse-applicative";
|
||||
version = "0.4.3";
|
||||
sha256 = "1zsydxgq3lcgzrf9iwas3gkjy0vxn4z2cj6h3m63h0qqa26sfcwz";
|
||||
version = "0.5.2.1";
|
||||
sha256 = "0w4mk851mx8dch8lnck0g82asmzrsc47xrf34jygh0f6v4kbj40i";
|
||||
buildDepends = [ transformers ];
|
||||
meta = {
|
||||
homepage = "https://github.com/pcapriotti/optparse-applicative";
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "parallel-io";
|
||||
version = "0.3.2.2";
|
||||
sha256 = "04swl1mp704ijrpmvw800x0fpzmrbd382p45kvqzynmkgqzx33a3";
|
||||
version = "0.3.3";
|
||||
sha256 = "0i86x3bf8pjlg6mdg1zg5lcrjpg75pbqs2mrgrbp4z4bkcmw051s";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [ extensibleExceptions random ];
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "persistent-postgresql";
|
||||
version = "1.1.1";
|
||||
sha256 = "19ywyf0d7n6z8ws7s7jc958g30aiy6il43qwvqh92q1cz8bd1mj9";
|
||||
version = "1.1.2.1";
|
||||
sha256 = "1iz6w9isva1drbr37c8f42g3nnl78sp27ydaj0975yqyp7nh7and";
|
||||
buildDepends = [
|
||||
aeson conduit monadControl persistent postgresqlLibpq
|
||||
postgresqlSimple text time transformers
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "persistent-sqlite";
|
||||
version = "1.1.0";
|
||||
sha256 = "0ycs8qb8vksnypzpxi0ypxk7akl68hdwyxzkbchyy6zh3zv2pa4z";
|
||||
version = "1.1.2";
|
||||
sha256 = "0pb52k7a7js71s4d2mynd62i8gk99az7y72rycs0xg9r9cr081p3";
|
||||
buildDepends = [
|
||||
aeson conduit monadControl persistent text transformers
|
||||
];
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "persistent-template";
|
||||
version = "1.1.1";
|
||||
sha256 = "18rxjqgmjzx0j0sbg9ms779pkq264vf8w0qz679xsyn98wc95i36";
|
||||
version = "1.1.2";
|
||||
sha256 = "1hz8cxx2a84c93x364vgahmv4xd3cbpjx4j7si5n0pasyq3clbvr";
|
||||
buildDepends = [ aeson monadControl persistent text transformers ];
|
||||
meta = {
|
||||
homepage = "http://www.yesodweb.com/book/persistent";
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "persistent";
|
||||
version = "1.1.0.1";
|
||||
sha256 = "07b9d9fcah3k03r2pm6mfl3qsdp4s9gbb376by3122nvc26w6sjc";
|
||||
version = "1.1.3.1";
|
||||
sha256 = "12gv2gjkrf7qchlv6kj0an8bvpkin8vdhdkxg4ck9ydw7hh292v2";
|
||||
buildDepends = [
|
||||
aeson attoparsec base64Bytestring blazeHtml blazeMarkup conduit
|
||||
liftedBase monadControl monadLogger pathPieces poolConduit
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "pretty-show";
|
||||
version = "1.2";
|
||||
sha256 = "0lbalmyrqisgd2spbvzifsy25lr6cl9sgz78hav8q8r406k7nf2l";
|
||||
version = "1.3.2";
|
||||
sha256 = "0m3kw4d68gd1mhlgi5vy3k2cqi9f0i4s502m2sgy4pww45fjllxy";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [ haskellLexer ];
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "semigroups";
|
||||
version = "0.8.4.1";
|
||||
sha256 = "05wv5amgg3nqr1if936zl330sv1k4i9p8xzdmgxsmchp4lshyr6n";
|
||||
version = "0.8.5";
|
||||
sha256 = "0dnxqqxfyxj0mpy524nvgwagsp6ynadmh2yr4k5159rzbg2xgz90";
|
||||
meta = {
|
||||
homepage = "http://github.com/ekmett/semigroups/";
|
||||
description = "Haskell 98 semigroups";
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "shakespeare-js";
|
||||
version = "1.1.0";
|
||||
sha256 = "0rb1fim6xvpgc2in71drxgimh1z75p72zj0k6hwh2hyfwkj2yh9p";
|
||||
version = "1.1.1";
|
||||
sha256 = "1xzhb3ipax2489311hmiaxp9i44099bsbclcj3ds0rhdfa62xarg";
|
||||
buildDepends = [ aeson shakespeare text ];
|
||||
meta = {
|
||||
homepage = "http://www.yesodweb.com/book/shakespearean-templates";
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "shelly";
|
||||
version = "0.15.0";
|
||||
sha256 = "138x2c76ynv0kl0kg86pawnnlk6973dqkaapycb30rf44p1m53j2";
|
||||
version = "0.15.4";
|
||||
sha256 = "1b8fn5fa350hhlswn97g6zn9454nzn9sz60x55j959phwys0fcdk";
|
||||
buildDepends = [
|
||||
mtl systemFileio systemFilepath text time unixCompat
|
||||
];
|
||||
|
@ -19,6 +19,7 @@ cabal.mkDerivation (self: {
|
||||
snapCore snapServer stm syb text time transformers
|
||||
unorderedContainers vector vectorAlgorithms xmlhtml
|
||||
];
|
||||
jailbreak = true;
|
||||
meta = {
|
||||
homepage = "http://snapframework.com/";
|
||||
description = "Top-level package for the Snap Web Framework";
|
||||
|
@ -1,10 +1,10 @@
|
||||
{ cabal, time }:
|
||||
{ cabal, text, time }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "strptime";
|
||||
version = "1.0.8";
|
||||
sha256 = "0cd4wzrg9zpnwrfpp6lxs1ib06h0fcsdqd3idsw663wr5lllfgdq";
|
||||
buildDepends = [ time ];
|
||||
version = "1.0.10";
|
||||
sha256 = "1f42yf49fqr2fyjfakscmmlnmw3w5rg7wyy6gjyrf0gcgsh0h9fd";
|
||||
buildDepends = [ text time ];
|
||||
meta = {
|
||||
description = "Efficient parsing of LocalTime using a binding to C's strptime, with some extra features (i.e. fractional seconds)";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
|
@ -11,6 +11,7 @@ cabal.mkDerivation (self: {
|
||||
buildDepends = [
|
||||
cereal certificate cryptoApi cryptocipher cryptohash mtl network
|
||||
];
|
||||
jailbreak = true;
|
||||
meta = {
|
||||
homepage = "http://github.com/vincenthz/hs-tls";
|
||||
description = "TLS/SSL protocol native implementation (Server and Client)";
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "uniplate";
|
||||
version = "1.6.9";
|
||||
sha256 = "1s1863w4867lz0xn70xga5nss8vvm11rr1kia4icbws6r52sqjlh";
|
||||
version = "1.6.10";
|
||||
sha256 = "0j0hsvlkml8v9f8iijcgq58qnxnmk7gzxcnl9rxx4fdr9fnaffj3";
|
||||
buildDepends = [ hashable syb unorderedContainers ];
|
||||
meta = {
|
||||
homepage = "http://community.haskell.org/~ndm/uniplate/";
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "unix-compat";
|
||||
version = "0.4.0.0";
|
||||
sha256 = "0xhhvqdjcmcyavf0g2q2sjghj2h4si1ijg4nc4s8kidbd957z9r8";
|
||||
version = "0.4.1.0";
|
||||
sha256 = "155m3zg692zbfyck4njx1vzvb5vgs0dkzyzlqf2x78ds6j9bzjzi";
|
||||
meta = {
|
||||
homepage = "http://github.com/jystic/unix-compat";
|
||||
description = "Portable POSIX-compatibility layer";
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "unordered-containers";
|
||||
version = "0.2.2.1";
|
||||
sha256 = "0ny8w7xw0ch3yp0fnskzygz61b72ln5s5ccsdlcqpp29cvfar6zy";
|
||||
version = "0.2.3.0";
|
||||
sha256 = "1vzgjr9jxdkmgq970ng9zi2j60awvx8iv1v6kzjlrkwzxx1a9dpd";
|
||||
buildDepends = [ deepseq hashable ];
|
||||
meta = {
|
||||
homepage = "https://github.com/tibbe/unordered-containers";
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "vault";
|
||||
version = "0.2.0.1";
|
||||
sha256 = "027wgbnmdnp98f0wvc9xsfh175n7rq8m2j9i7j1c5vxwgi61dqxq";
|
||||
version = "0.2.0.4";
|
||||
sha256 = "1a63rarksp4waj64b9kv8q77wbhdnsnxahkixl1klp25hkp8aan3";
|
||||
buildDepends = [ hashable unorderedContainers ];
|
||||
meta = {
|
||||
homepage = "https://github.com/HeinrichApfelmus/vault";
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "yaml";
|
||||
version = "0.8.1.1";
|
||||
sha256 = "0n2m205f0jq8v4g84bw642vdqqr68m3jklv98rr21s8r2fyy7937";
|
||||
version = "0.8.1.2";
|
||||
sha256 = "1prk1nxzb84svqr552pgrfxg8kd34zvnh35js8l0q58y9rifxyq0";
|
||||
buildDepends = [
|
||||
aeson attoparsec conduit resourcet text transformers
|
||||
unorderedContainers vector
|
||||
|
@ -8,8 +8,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "yesod-auth";
|
||||
version = "1.1.2.2";
|
||||
sha256 = "16g2lnnwp5219i77fb4pv2y8ljz4msflj38mvh0zw3x93747baf7";
|
||||
version = "1.1.3";
|
||||
sha256 = "0rlp56jsb0cwm1z303b7l9iy5hbip18vlm7fisna4agbf4rj2k0z";
|
||||
buildDepends = [
|
||||
aeson authenticate blazeHtml blazeMarkup hamlet httpConduit
|
||||
liftedBase mimeMail network persistent persistentTemplate pureMD5
|
||||
|
@ -9,8 +9,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "yesod-core";
|
||||
version = "1.1.6.1";
|
||||
sha256 = "0pk7pxqp9g5pkbba2na503az9pghgqvs538pcz2k3r3cpb6nhgpa";
|
||||
version = "1.1.7";
|
||||
sha256 = "1z47h7ghhi8mvmrc0rcwb3si1bq4623i5x127k8fahcy6qk4qls8";
|
||||
buildDepends = [
|
||||
aeson blazeBuilder blazeHtml blazeMarkup caseInsensitive cereal
|
||||
clientsession conduit cookie failure fastLogger hamlet httpTypes
|
||||
|
@ -14,7 +14,6 @@ cabal.mkDerivation (self: {
|
||||
shakespeareJs text time transformers wai xssSanitize yesodCore
|
||||
yesodPersistent
|
||||
];
|
||||
noHaddock = true;
|
||||
meta = {
|
||||
homepage = "http://www.yesodweb.com/";
|
||||
description = "Form handling support for Yesod Web Framework";
|
||||
|
@ -5,8 +5,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "yesod-static";
|
||||
version = "1.1.1.1";
|
||||
sha256 = "1wp3ijiwsai9npf6zl0bq3fi4rbh0qjy8bii3d178sariv7588js";
|
||||
version = "1.1.1.2";
|
||||
sha256 = "0x3vrzqqddi4fmbivmy5pi66jmnc5fh68j5fjfxn5nyhp4n6z0sw";
|
||||
buildDepends = [
|
||||
base64Bytestring cereal conduit cryptoConduit cryptohash fileEmbed
|
||||
httpTypes systemFilepath text transformers unixCompat wai
|
||||
|
@ -1,17 +1,18 @@
|
||||
{ cabal, attoparsec, blazeHtml, blazeMarkup, caseInsensitive, hspec
|
||||
, htmlConduit, httpTypes, HUnit, monadControl, network, persistent
|
||||
, poolConduit, text, transformers, wai, waiTest, xmlConduit
|
||||
, xmlTypes
|
||||
{ cabal, attoparsec, blazeBuilder, blazeHtml, blazeMarkup
|
||||
, caseInsensitive, cookie, hspec, htmlConduit, httpTypes, HUnit
|
||||
, monadControl, network, persistent, poolConduit, text, time
|
||||
, transformers, wai, waiTest, xmlConduit, xmlTypes
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "yesod-test";
|
||||
version = "0.3.2";
|
||||
sha256 = "1wd5iwar6jxbv0p7p47js4spivwhph98h403bnmf3dl7069nyjcs";
|
||||
version = "0.3.3";
|
||||
sha256 = "1jb410r905wd26swh2rk59nbyy389gcfz261adhb69awmsyql5x3";
|
||||
buildDepends = [
|
||||
attoparsec blazeHtml blazeMarkup caseInsensitive hspec htmlConduit
|
||||
httpTypes HUnit monadControl network persistent poolConduit text
|
||||
transformers wai waiTest xmlConduit xmlTypes
|
||||
attoparsec blazeBuilder blazeHtml blazeMarkup caseInsensitive
|
||||
cookie hspec htmlConduit httpTypes HUnit monadControl network
|
||||
persistent poolConduit text time transformers wai waiTest
|
||||
xmlConduit xmlTypes
|
||||
];
|
||||
meta = {
|
||||
homepage = "http://www.yesodweb.com";
|
||||
|
@ -12,8 +12,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "yesod";
|
||||
version = "1.1.7";
|
||||
sha256 = "1qcvmy8ichri9ivfkanj4gp687lwymgi170sbdzwf5phy34bhkc5";
|
||||
version = "1.1.7.2";
|
||||
sha256 = "0mxxzcmp63sdn7g30ilp40dsj2iccajc9gpxycnqxqabdzhqkbm0";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "zeromq3-haskell";
|
||||
version = "0.1.4";
|
||||
sha256 = "026b18ligbrfbg4x7vivk6r2gj9rj3vy6pm3h0s81571h6lk3dhx";
|
||||
version = "0.2";
|
||||
sha256 = "12qljfkcd4l9h3l80jibxgw2an6v782w0sxwvzxqmma29jv6hvky";
|
||||
extraLibraries = [ zeromq ];
|
||||
meta = {
|
||||
homepage = "http://github.com/twittner/zeromq-haskell/";
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
||||
name = "libgadu-1.11.0";
|
||||
name = "libgadu-1.11.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://toxygen.net/libgadu/files/libgadu-1.11.0.tar.gz;
|
||||
sha256 = "045a0bd395k3ramdvlzyfx3878p42fv4r04rgasmdsm2n33wgm38";
|
||||
url = http://toxygen.net/libgadu/files/libgadu-1.11.2.tar.gz;
|
||||
sha256 = "0kifi9blhbimihqw4kaf6wyqhlx8fpp8nq4s6y280ar9p0il2n3z";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ zlib ];
|
||||
|
15
pkgs/development/libraries/libxtc_dxtn/default.nix
Normal file
15
pkgs/development/libraries/libxtc_dxtn/default.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ stdenv, fetchurl, mesa }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libtxc_dxtn-1.0.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "people.freedesktop.org/~cbrill/libtxc_dxtn/${name}.tar.bz2";
|
||||
sha256 = "0q5fjaknl7s0z206dd8nzk9bdh8g4p23bz7784zrllnarl90saa5";
|
||||
};
|
||||
|
||||
postUnpack = ''
|
||||
tar xf ${mesa.src} --wildcards '*/include/'
|
||||
export NIX_CFLAGS_COMPILE="-I $NIX_BUILD_TOP/[mM]esa*/include"
|
||||
'';
|
||||
}
|
@ -6,13 +6,18 @@ stdenv.mkDerivation {
|
||||
name = "avr-gcc-libc";
|
||||
|
||||
srcBinutils = fetchurl {
|
||||
url = "mirror://gnu/binutils/binutils-2.21.tar.bz2";
|
||||
sha256 = "1iyhc42zfa0j2gaxy4zvpk47sdqj4rqvib0mb8597ss8yidyrav0";
|
||||
url = "mirror://gnu/binutils/binutils-2.21.1.tar.bz2";
|
||||
sha256 = "0m7nmd7gc9d9md43wbrv65hz6lbi2crqwryzpigv19ray1lzmv6d";
|
||||
};
|
||||
|
||||
srcGCC = fetchurl {
|
||||
url = "mirror://gcc/releases/gcc-4.6.1/gcc-core-4.6.1.tar.bz2";
|
||||
sha256 = "0bbb8f754a31f29013f6e9ad4c755d92bb0f154a665c4b623e86ae7174d98e33";
|
||||
url = "mirror://gcc/releases/gcc-4.6.3/gcc-core-4.6.3.tar.bz2";
|
||||
sha256 = "1hai090f0svf886nyhn4glmfw54v9lz88w2izkx5iqhd3j400gi8";
|
||||
};
|
||||
|
||||
srcGCCGPP = fetchurl {
|
||||
url = "mirror://gcc/releases/gcc-4.6.3/gcc-g++-4.6.3.tar.bz2";
|
||||
sha256 = "1s199gb6p65r5k69cdfqqcz5hgifw9bhyj65n2b91s80x4rwgq5k";
|
||||
};
|
||||
|
||||
srcAVRLibc = fetchurl {
|
||||
@ -55,10 +60,11 @@ stdenv.mkDerivation {
|
||||
|
||||
cd $TMP
|
||||
tar jxf $srcGCC
|
||||
tar jxf $srcGCCGPP
|
||||
cd gcc-*
|
||||
mkdir obj-avr
|
||||
cd obj-avr
|
||||
../configure --target=avr --prefix="$prefix" --disable-nls --enable-languages=c --disable-libssp --with-dwarf2
|
||||
../configure --target=avr --prefix="$prefix" --disable-nls --enable-languages=c,c++ --disable-libssp --with-dwarf2
|
||||
make $MAKE_FLAGS
|
||||
make install
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ stdenv, python }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "resursive-pth-loader-1.0";
|
||||
name = "python-recursive-pth-loader-1.0";
|
||||
|
||||
unpackPhase = "true";
|
||||
|
||||
|
46
pkgs/development/tools/casperjs/default.nix
Normal file
46
pkgs/development/tools/casperjs/default.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{ stdenv, fetchgit, python, phantomjs }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "casperjs-1.0.0-RC5";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://github.com/n1k0/casperjs.git";
|
||||
rev = "refs/tags/1.0.0-RC5";
|
||||
sha256 = "e7fd6b94b4b304416159196208dea7f6e8841a667df102eb378a698a92f0f2c7";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace bin/casperjs --replace "/usr/bin/env python" "${python}/bin/python" \
|
||||
--replace "'phantomjs'" "'${phantomjs}/bin/phantomjs'"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/casperjs $out/bin
|
||||
cp -a . $out/share/casperjs/.
|
||||
ln -s $out/share/casperjs/bin/casperjs $out/bin
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Navigation scripting & testing utility for PhantomJS.";
|
||||
longDescription = ''
|
||||
CasperJS is a navigation scripting & testing utility for PhantomJS.
|
||||
It eases the process of defining a full navigation scenario and provides useful high-level
|
||||
functions, methods & syntaxic sugar for doing common tasks such as:
|
||||
- defining & ordering navigation steps
|
||||
- filling forms
|
||||
- clicking links
|
||||
- capturing screenshots of a page (or an area)
|
||||
- making assertions on remote DOM
|
||||
- logging & events
|
||||
- downloading base64 encoded resources, even binary ones
|
||||
- catching errors and react accordingly
|
||||
- writing functional test suites, exporting results as JUnit XML (xUnit)
|
||||
'';
|
||||
|
||||
homepage = http://casperjs.org;
|
||||
license = stdenv.lib.licenses.mit;
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user