Merge recent master into x-updates
Hydra: ?compare=1142825 Conflicts (easy): pkgs/applications/audio/lmms/default.nix pkgs/desktops/e18/enlightenment.nix pkgs/games/exult/default.nix pkgs/os-specific/linux/alsa-plugins/default.nix
This commit is contained in:
@@ -35,6 +35,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
description = "Flex SDK for Adobe Flash / ActionScript";
|
||||
homepage = "http://www.adobe.com/support/documentation/en/flex/3/releasenotes_flex3_sdk.html#installation";
|
||||
homepage = "http://www.adobe.com/support/documentation/en/flex/3/releasenotes_flex3_sdk.html#installation";
|
||||
license = stdenv.lib.licenses.mpl11;
|
||||
};
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
||||
|
||||
{ cabal, alex, binary, boxes, dataHash, deepseq, emacs, equivalence
|
||||
, filepath, geniplate, happy, hashable, hashtables, haskeline
|
||||
, haskellSrcExts, mtl, parallel, QuickCheck, STMonadTrans, strict
|
||||
@@ -6,8 +8,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "Agda";
|
||||
version = "2.4.0.1";
|
||||
sha256 = "11my5k606zvra3w3m1wllc4dy5mfv4lr32fqd579vqcks6wpirjq";
|
||||
version = "2.4.0.2";
|
||||
sha256 = "13c4ipscnlnbv94k93yajrp32mwzikqa8rhc95h8pmqzhjgwyh8b";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ats2-${version}";
|
||||
version = "0.0.7";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/ats2-lang/ATS2-Postiats-${version}.tgz";
|
||||
sha256 = "1cv7caaf9fj6z3kln02ikkbmcy42324v39lzx3cf6qcsywwpm8fx";
|
||||
sha256 = "0i7b9v7xki9j2jjjpydz0gl33af94b4jjmk75b9w20bs003v8vd4";
|
||||
};
|
||||
|
||||
buildInputs = [ gmp ];
|
||||
|
||||
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
homepage = http://www-sop.inria.fr/indes/fp/Bigloo/;
|
||||
license = "GPLv2+";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
||||
|
||||
@@ -1,96 +0,0 @@
|
||||
source $stdenv/setup
|
||||
|
||||
|
||||
export NIX_FIXINC_DUMMY=$NIX_BUILD_TOP/dummy
|
||||
mkdir $NIX_FIXINC_DUMMY
|
||||
|
||||
|
||||
# libstdc++ needs this; otherwise it will use /lib/cpp, which is a Bad
|
||||
# Thing.
|
||||
export CPP="gcc -E"
|
||||
|
||||
|
||||
if test "$noSysDirs" = "1"; then
|
||||
|
||||
if test -e $NIX_GCC/nix-support/orig-libc; then
|
||||
|
||||
# Figure out what extra flags to pass to the gcc compilers
|
||||
# being generated to make sure that they use our glibc.
|
||||
extraCFlags="$(cat $NIX_GCC/nix-support/libc-cflags)"
|
||||
extraLDFlags="$(cat $NIX_GCC/nix-support/libc-ldflags) $(cat $NIX_GCC/nix-support/libc-ldflags-before)"
|
||||
|
||||
# Use *real* header files, otherwise a limits.h is generated
|
||||
# that does not include Glibc's limits.h (notably missing
|
||||
# SSIZE_MAX, which breaks the build).
|
||||
export NIX_FIXINC_DUMMY=$(cat $NIX_GCC/nix-support/orig-libc)/include
|
||||
|
||||
else
|
||||
# Hack: support impure environments.
|
||||
extraCFlags="-isystem /usr/include"
|
||||
extraLDFlags="-L/usr/lib64 -L/usr/lib"
|
||||
export NIX_FIXINC_DUMMY=/usr/include
|
||||
fi
|
||||
|
||||
extraCFlags="-g0 $extraCFlags"
|
||||
extraLDFlags="--strip-debug $extraLDFlags"
|
||||
|
||||
export NIX_EXTRA_CFLAGS=$extraCFlags
|
||||
for i in $extraLDFlags; do
|
||||
export NIX_EXTRA_LDFLAGS="$NIX_EXTRA_LDFLAGS -Wl,$i"
|
||||
done
|
||||
|
||||
makeFlagsArray=( \
|
||||
"${makeFlagsArray[@]}" \
|
||||
NATIVE_SYSTEM_HEADER_DIR="$NIX_FIXINC_DUMMY" \
|
||||
SYSTEM_HEADER_DIR="$NIX_FIXINC_DUMMY" \
|
||||
LIMITS_H_TEST=true \
|
||||
X_CFLAGS="$NIX_EXTRA_CFLAGS $NIX_EXTRA_LDFLAGS" \
|
||||
LDFLAGS="$NIX_EXTRA_CFLAGS $NIX_EXTRA_LDFLAGS" \
|
||||
LDFLAGS_FOR_TARGET="$NIX_EXTRA_CFLAGS $NIX_EXTRA_LDFLAGS" \
|
||||
)
|
||||
fi
|
||||
|
||||
|
||||
preConfigure() {
|
||||
# Perform the build in a different directory.
|
||||
mkdir ../build
|
||||
cd ../build
|
||||
configureScript=../$sourceRoot/configure
|
||||
}
|
||||
|
||||
|
||||
postInstall() {
|
||||
# Remove precompiled headers for now. They are very big and
|
||||
# probably not very useful yet.
|
||||
find $out/include -name "*.gch" -exec rm -rf {} \; -prune
|
||||
|
||||
# Remove `fixincl' to prevent a retained dependency on the
|
||||
# previous gcc.
|
||||
rm -rf $out/libexec/gcc/*/*/install-tools
|
||||
rm -rf $out/lib/gcc/*/*/install-tools
|
||||
|
||||
# Get rid of some "fixed" header files
|
||||
rm -rf $out/lib/gcc/*/*/include/root
|
||||
|
||||
# Replace hard links for i686-pc-linux-gnu-gcc etc. with symlinks.
|
||||
for i in $out/bin/*-gcc*; do
|
||||
if cmp -s $out/bin/gcc $i; then
|
||||
ln -sfn gcc $i
|
||||
fi
|
||||
done
|
||||
|
||||
for i in $out/bin/*-c++* $out/bin/*-g++*; do
|
||||
if cmp -s $out/bin/g++ $i; then
|
||||
ln -sfn g++ $i
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
if test -z "$profiledCompiler"; then
|
||||
buildFlags="bootstrap $buildFlags"
|
||||
else
|
||||
buildFlags="profiledbootstrap $buildFlags"
|
||||
fi
|
||||
|
||||
genericBuild
|
||||
@@ -1,66 +0,0 @@
|
||||
{ stdenv, fetchurl, noSysDirs
|
||||
, langC ? true, langCC ? true, langFortran ? false
|
||||
, profiledCompiler ? false
|
||||
, staticCompiler ? false
|
||||
, gmp ? null
|
||||
, mpfr ? null
|
||||
, texinfo ? null
|
||||
, name ? "gcc"
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
let version = "4.2.4"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "${name}-${version}";
|
||||
|
||||
builder = ./builder.sh;
|
||||
|
||||
src =
|
||||
optional /*langC*/ true (fetchurl {
|
||||
url = "mirror://gnu/gcc/gcc-${version}/gcc-core-${version}.tar.bz2";
|
||||
sha256 = "0cm5yzhqhgdfk03aayakmdj793sya42xkkqhslj7s2b697hygjfg";
|
||||
}) ++
|
||||
optional langCC (fetchurl {
|
||||
url = "mirror://gnu/gcc/gcc-${version}/gcc-g++-${version}.tar.bz2";
|
||||
sha256 = "0gq8ikci0qqgck71qqlhfld6zkwn9179x6z15vdd9blkdig55nxg";
|
||||
}) ++
|
||||
optional langFortran (fetchurl {
|
||||
url = "mirror://gnu/gcc/gcc-${version}/gcc-fortran-${version}.tar.bz2";
|
||||
sha256 = "013yqiqhdavgxzjryvylgf3lcnknmw89fx41jf2v4899srn0bhkg";
|
||||
});
|
||||
|
||||
patches =
|
||||
[./pass-cxxcpp.patch ./siginfo_t.patch]
|
||||
++ optional noSysDirs [./no-sys-dirs.patch];
|
||||
|
||||
inherit noSysDirs profiledCompiler staticCompiler;
|
||||
|
||||
buildInputs = [gmp mpfr texinfo];
|
||||
|
||||
configureFlags = "
|
||||
--disable-multilib
|
||||
--disable-libstdcxx-pch
|
||||
--with-system-zlib
|
||||
--enable-languages=${
|
||||
concatStrings (intersperse ","
|
||||
( optional langC "c"
|
||||
++ optional langCC "c++"
|
||||
++ optional langFortran "fortran"
|
||||
)
|
||||
)
|
||||
}
|
||||
${if stdenv.isi686 then "--with-arch=i686" else ""}
|
||||
";
|
||||
|
||||
NIX_EXTRA_LDFLAGS = if staticCompiler then "-static" else "";
|
||||
|
||||
passthru = { inherit langC langCC langFortran; };
|
||||
|
||||
meta = {
|
||||
homepage = "http://gcc.gnu.org/";
|
||||
license = "GPL/LGPL";
|
||||
description = "GNU Compiler Collection, 4.2.x";
|
||||
};
|
||||
}
|
||||
@@ -1,139 +0,0 @@
|
||||
diff -rc gcc-4.2.0-orig/Makefile.in gcc-4.2.0/Makefile.in
|
||||
*** gcc-4.2.0-orig/Makefile.in 2006-12-29 18:47:06.000000000 +0100
|
||||
--- gcc-4.2.0/Makefile.in 2007-05-20 21:06:42.000000000 +0200
|
||||
***************
|
||||
*** 364,369 ****
|
||||
--- 364,377 ----
|
||||
@host_makefile_frag@
|
||||
###
|
||||
|
||||
+ CFLAGS += $(NIX_EXTRA_CFLAGS)
|
||||
+ CPPFLAGS_FOR_TARGET += $(NIX_EXTRA_CFLAGS)
|
||||
+ CXXFLAGS += $(NIX_EXTRA_CFLAGS)
|
||||
+ LDFLAGS += $(NIX_EXTRA_LDFLAGS)
|
||||
+ LDFLAGS_FOR_TARGET += $(NIX_EXTRA_LDFLAGS)
|
||||
+ BOOT_CFLAGS += $(NIX_EXTRA_CFLAGS)
|
||||
+ BOOT_LDFLAGS += $(NIX_EXTRA_LDFLAGS)
|
||||
+
|
||||
# This is the list of directories that may be needed in RPATH_ENVVAR
|
||||
# so that prorgams built for the target machine work.
|
||||
TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
|
||||
diff -rc gcc-4.2.0-orig/gcc/Makefile.in gcc-4.2.0/gcc/Makefile.in
|
||||
*** gcc-4.2.0-orig/gcc/Makefile.in 2007-03-12 05:40:09.000000000 +0100
|
||||
--- gcc-4.2.0/gcc/Makefile.in 2007-05-20 19:35:13.000000000 +0200
|
||||
***************
|
||||
*** 396,402 ****
|
||||
MD5_H = $(srcdir)/../include/md5.h
|
||||
|
||||
# Default native SYSTEM_HEADER_DIR, to be overridden by targets.
|
||||
! NATIVE_SYSTEM_HEADER_DIR = /usr/include
|
||||
# Default cross SYSTEM_HEADER_DIR, to be overridden by targets.
|
||||
CROSS_SYSTEM_HEADER_DIR = @CROSS_SYSTEM_HEADER_DIR@
|
||||
|
||||
--- 396,406 ----
|
||||
MD5_H = $(srcdir)/../include/md5.h
|
||||
|
||||
# Default native SYSTEM_HEADER_DIR, to be overridden by targets.
|
||||
! # Nix: we override NATIVE_SYSTEM_HEADER_DIR in order to prevent
|
||||
! # `fixinc' from fixing header files in /usr/include. However,
|
||||
! # NATIVE_SYSTEM_HEADER_DIR must point to an existing directory, so set
|
||||
! # it to some dummy directory.
|
||||
! NATIVE_SYSTEM_HEADER_DIR = $(NIX_FIXINC_DUMMY)
|
||||
# Default cross SYSTEM_HEADER_DIR, to be overridden by targets.
|
||||
CROSS_SYSTEM_HEADER_DIR = @CROSS_SYSTEM_HEADER_DIR@
|
||||
|
||||
***************
|
||||
*** 3066,3072 ****
|
||||
-DGPLUSPLUS_INCLUDE_DIR=\"$(gcc_gxx_include_dir)\" \
|
||||
-DGPLUSPLUS_TOOL_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/$(target_noncanonical)\" \
|
||||
-DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/backward\" \
|
||||
! -DLOCAL_INCLUDE_DIR=\"$(local_includedir)\" \
|
||||
-DCROSS_INCLUDE_DIR=\"$(CROSS_SYSTEM_HEADER_DIR)\" \
|
||||
-DTOOL_INCLUDE_DIR=\"$(gcc_tooldir)/include\" \
|
||||
@TARGET_SYSTEM_ROOT_DEFINE@
|
||||
--- 3070,3076 ----
|
||||
-DGPLUSPLUS_INCLUDE_DIR=\"$(gcc_gxx_include_dir)\" \
|
||||
-DGPLUSPLUS_TOOL_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/$(target_noncanonical)\" \
|
||||
-DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/backward\" \
|
||||
! -DLOCAL_INCLUDE_DIR=\"/no-such-dir\" \
|
||||
-DCROSS_INCLUDE_DIR=\"$(CROSS_SYSTEM_HEADER_DIR)\" \
|
||||
-DTOOL_INCLUDE_DIR=\"$(gcc_tooldir)/include\" \
|
||||
@TARGET_SYSTEM_ROOT_DEFINE@
|
||||
diff -rc gcc-4.2.0-orig/gcc/cppdefault.c gcc-4.2.0/gcc/cppdefault.c
|
||||
*** gcc-4.2.0-orig/gcc/cppdefault.c 2006-01-20 22:00:03.000000000 +0100
|
||||
--- gcc-4.2.0/gcc/cppdefault.c 2007-05-20 17:16:44.000000000 +0200
|
||||
***************
|
||||
*** 41,46 ****
|
||||
--- 41,50 ----
|
||||
# undef CROSS_INCLUDE_DIR
|
||||
#endif
|
||||
|
||||
+ #undef LOCAL_INCLUDE_DIR
|
||||
+ #undef SYSTEM_INCLUDE_DIR
|
||||
+ #undef STANDARD_INCLUDE_DIR
|
||||
+
|
||||
const struct default_include cpp_include_defaults[]
|
||||
#ifdef INCLUDE_DEFAULTS
|
||||
= INCLUDE_DEFAULTS;
|
||||
diff -rc gcc-4.2.0-orig/gcc/gcc.c gcc-4.2.0/gcc/gcc.c
|
||||
*** gcc-4.2.0-orig/gcc/gcc.c 2007-03-05 21:37:05.000000000 +0100
|
||||
--- gcc-4.2.0/gcc/gcc.c 2007-05-20 17:49:48.000000000 +0200
|
||||
***************
|
||||
*** 1449,1458 ****
|
||||
/* Default prefixes to attach to command names. */
|
||||
|
||||
#ifndef STANDARD_STARTFILE_PREFIX_1
|
||||
! #define STANDARD_STARTFILE_PREFIX_1 "/lib/"
|
||||
#endif
|
||||
#ifndef STANDARD_STARTFILE_PREFIX_2
|
||||
! #define STANDARD_STARTFILE_PREFIX_2 "/usr/lib/"
|
||||
#endif
|
||||
|
||||
#ifdef CROSS_COMPILE /* Don't use these prefixes for a cross compiler. */
|
||||
--- 1449,1458 ----
|
||||
/* Default prefixes to attach to command names. */
|
||||
|
||||
#ifndef STANDARD_STARTFILE_PREFIX_1
|
||||
! #define STANDARD_STARTFILE_PREFIX_1 ""
|
||||
#endif
|
||||
#ifndef STANDARD_STARTFILE_PREFIX_2
|
||||
! #define STANDARD_STARTFILE_PREFIX_2 ""
|
||||
#endif
|
||||
|
||||
#ifdef CROSS_COMPILE /* Don't use these prefixes for a cross compiler. */
|
||||
***************
|
||||
*** 1473,1480 ****
|
||||
#endif
|
||||
|
||||
static const char *const standard_exec_prefix = STANDARD_EXEC_PREFIX;
|
||||
! static const char *const standard_exec_prefix_1 = "/usr/libexec/gcc/";
|
||||
! static const char *const standard_exec_prefix_2 = "/usr/lib/gcc/";
|
||||
static const char *md_exec_prefix = MD_EXEC_PREFIX;
|
||||
|
||||
static const char *md_startfile_prefix = MD_STARTFILE_PREFIX;
|
||||
--- 1473,1480 ----
|
||||
#endif
|
||||
|
||||
static const char *const standard_exec_prefix = STANDARD_EXEC_PREFIX;
|
||||
! static const char *const standard_exec_prefix_1 = "/no-such-path/";
|
||||
! static const char *const standard_exec_prefix_2 = "/no-such-path/";
|
||||
static const char *md_exec_prefix = MD_EXEC_PREFIX;
|
||||
|
||||
static const char *md_startfile_prefix = MD_STARTFILE_PREFIX;
|
||||
diff -rc gcc-4.2.0-orig/ltconfig gcc-4.2.0/ltconfig
|
||||
*** gcc-4.2.0-orig/ltconfig 2007-02-14 18:08:35.000000000 +0100
|
||||
--- gcc-4.2.0/ltconfig 2007-05-20 22:16:24.000000000 +0200
|
||||
***************
|
||||
*** 2322,2327 ****
|
||||
--- 2322,2332 ----
|
||||
# A language-specific compiler.
|
||||
CC=$CC
|
||||
|
||||
+ # Ugly hack to get libmudflap (and possibly other libraries) to build.
|
||||
+ # Libtool filters out \`-B' flags when linking (why?), so the \`-B' flag
|
||||
+ # to Glibc gets lost. Here we forcibly add it to any invocation.
|
||||
+ CC="\$CC $NIX_EXTRA_CFLAGS $NIX_EXTRA_LDFLAGS"
|
||||
+
|
||||
# Is the compiler the GNU C compiler?
|
||||
with_gcc=$with_gcc
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
diff -rc gcc-orig/Makefile.in gcc-4.1.1/Makefile.in
|
||||
*** gcc-orig/Makefile.in Wed Jun 21 13:40:23 2006
|
||||
--- gcc-4.1.1/Makefile.in Wed Jun 21 14:19:44 2006
|
||||
***************
|
||||
*** 213,219 ****
|
||||
RAW_CXX_TARGET_EXPORTS = \
|
||||
$(BASE_TARGET_EXPORTS) \
|
||||
CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
|
||||
! CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
|
||||
|
||||
NORMAL_TARGET_EXPORTS = \
|
||||
$(BASE_TARGET_EXPORTS) \
|
||||
--- 213,220 ----
|
||||
RAW_CXX_TARGET_EXPORTS = \
|
||||
$(BASE_TARGET_EXPORTS) \
|
||||
CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
|
||||
! CXX="$(RAW_CXX_FOR_TARGET) $(CFLAGS_FOR_BUILD)"; export CXX; \
|
||||
! CXXCPP="$(RAW_CXX_FOR_TARGET) $(CFLAGS_FOR_BUILD) -E"; export CXXCPP;
|
||||
|
||||
NORMAL_TARGET_EXPORTS = \
|
||||
$(BASE_TARGET_EXPORTS) \
|
||||
@@ -1,15 +0,0 @@
|
||||
https://bbs.archlinux.org/viewtopic.php?id=144949
|
||||
--- a/gcc/config/i386/linux-unwind.h 2011-01-03 20:52:22.000000000 +0000
|
||||
+++ b/gcc/config/i386/linux-unwind.h 2012-07-06 12:23:51.562859470 +0100
|
||||
@@ -133,9 +133,9 @@
|
||||
{
|
||||
struct rt_sigframe {
|
||||
int sig;
|
||||
- struct siginfo *pinfo;
|
||||
+ siginfo_t *pinfo;
|
||||
void *puc;
|
||||
- struct siginfo info;
|
||||
+ siginfo_t info;
|
||||
struct ucontext uc;
|
||||
} *rt_ = context->cfa;
|
||||
/* The void * cast is necessary to avoid an aliasing warning.
|
||||
@@ -173,7 +173,7 @@ stdenv.mkDerivation ({
|
||||
|
||||
meta = {
|
||||
homepage = "http://ghdl.free.fr/";
|
||||
license = "GPLv2+";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
description = "Complete VHDL simulator, using the GCC technology";
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
|
||||
@@ -251,7 +251,7 @@ stdenv.mkDerivation ({
|
||||
|
||||
meta = {
|
||||
homepage = http://gcc.gnu.org/;
|
||||
license = "GPLv3+"; # runtime support libraries are typically LGPLv3+
|
||||
license = stdenv.lib.licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+
|
||||
description = "GNU Compiler Collection, version ${version}";
|
||||
|
||||
longDescription = ''
|
||||
@@ -302,7 +302,7 @@ stdenv.mkDerivation ({
|
||||
|
||||
meta = {
|
||||
homepage = "http://ghdl.free.fr/";
|
||||
license = "GPLv2+";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
description = "Complete VHDL simulator, using the GCC technology (gcc ${version})";
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
|
||||
@@ -364,7 +364,7 @@ stdenv.mkDerivation ({
|
||||
|
||||
meta = {
|
||||
homepage = http://gcc.gnu.org/;
|
||||
license = "GPLv3+"; # runtime support libraries are typically LGPLv3+
|
||||
license = stdenv.lib.licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+
|
||||
description = "GNU Compiler Collection, version ${version}"
|
||||
+ (if stripped then "" else " (with debugging info)");
|
||||
|
||||
@@ -432,7 +432,7 @@ stdenv.mkDerivation ({
|
||||
|
||||
meta = {
|
||||
homepage = "http://ghdl.free.fr/";
|
||||
license = "GPLv2+";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
description = "Complete VHDL simulator, using the GCC technology (gcc ${version})";
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
|
||||
@@ -438,7 +438,7 @@ stdenv.mkDerivation ({
|
||||
|
||||
meta = {
|
||||
homepage = http://gcc.gnu.org/;
|
||||
license = "GPLv3+"; # runtime support libraries are typically LGPLv3+
|
||||
license = stdenv.lib.licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+
|
||||
description = "GNU Compiler Collection, version ${version}"
|
||||
+ (if stripped then "" else " (with debugging info)");
|
||||
|
||||
@@ -501,7 +501,7 @@ stdenv.mkDerivation ({
|
||||
|
||||
meta = {
|
||||
homepage = "http://ghdl.free.fr/";
|
||||
license = "GPLv2+";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
description = "Complete VHDL simulator, using the GCC technology (gcc ${version})";
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
|
||||
@@ -500,7 +500,7 @@ stdenv.mkDerivation ({
|
||||
|
||||
meta = {
|
||||
homepage = http://gcc.gnu.org/;
|
||||
license = "GPLv3+"; # runtime support libraries are typically LGPLv3+
|
||||
license = stdenv.lib.licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+
|
||||
description = "GNU Compiler Collection, version ${version}"
|
||||
+ (if stripped then "" else " (with debugging info)");
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ assert langGo -> langCC;
|
||||
with stdenv.lib;
|
||||
with builtins;
|
||||
|
||||
let version = "4.9.0";
|
||||
let version = "4.9.1";
|
||||
|
||||
# Whether building a cross-compiler for GNU/Hurd.
|
||||
crossGNU = cross != null && cross.config == "i586-pc-gnu";
|
||||
@@ -209,7 +209,7 @@ stdenv.mkDerivation ({
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/gcc/gcc-${version}/gcc-${version}.tar.bz2";
|
||||
sha256 = "0mqjxpw2klskls00lwx1k24pnyzm3whqxg3hk74c3sddgfllgc5r";
|
||||
sha256 = "0zki3ngi0gsidnmsp88mjl2868cc7cm5wm1vwqw6znja28d7hd6k";
|
||||
};
|
||||
|
||||
inherit patches;
|
||||
@@ -495,7 +495,7 @@ stdenv.mkDerivation ({
|
||||
|
||||
meta = {
|
||||
homepage = http://gcc.gnu.org/;
|
||||
license = "GPLv3+"; # runtime support libraries are typically LGPLv3+
|
||||
license = stdenv.lib.licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+
|
||||
description = "GNU Compiler Collection, version ${version}"
|
||||
+ (if stripped then "" else " (with debugging info)");
|
||||
|
||||
|
||||
@@ -59,6 +59,6 @@ stdenv.mkDerivation rec {
|
||||
description = "Free VHDL simulator, mcode flavour";
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
license = "GPLv2+";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ stdenv.mkDerivation {
|
||||
|
||||
meta = {
|
||||
homepage = http://gentoo.org;
|
||||
license = "GPLv3+"; # runtime support libraries are typically LGPLv3+
|
||||
license = stdenv.lib.licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+
|
||||
maintainers = [
|
||||
stdenv.lib.maintainers.viric
|
||||
];
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "idris";
|
||||
version = "0.9.14";
|
||||
sha256 = "0kfzp89sass93p9zsxq616zfix7ipi1rmjqmcjixihi01k7c0b8b";
|
||||
version = "0.9.14.1";
|
||||
sha256 = "11x4f0hvd51m9rlf9r0i5xsjmc73kjsayny4xyv0wgb88v9v737b";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
@@ -26,6 +26,7 @@ cabal.mkDerivation (self: {
|
||||
buildTools = [ happy ];
|
||||
extraLibraries = [ boehmgc gmp ];
|
||||
configureFlags = "-fllvm -fgmp -fffi";
|
||||
jailbreak = true;
|
||||
meta = {
|
||||
homepage = "http://www.idris-lang.org/";
|
||||
description = "Functional Programming Language with Dependent Types";
|
||||
|
||||
@@ -14,6 +14,6 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Ikarus - a Scheme compiler, aiming at R6RS";
|
||||
homepage = http://ikarus-scheme.org/;
|
||||
license = "GPLv3";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
diff -Naur clang-3.1.src-orig/lib/Driver/ToolChains.cpp clang-3.1.src/lib/Driver/ToolChains.cpp
|
||||
--- clang-3.1.src-orig/lib/Driver/ToolChains.cpp 2012-05-11 20:16:02.000000000 -0400
|
||||
+++ clang-3.1.src/lib/Driver/ToolChains.cpp 2012-10-08 01:13:01.044083509 -0400
|
||||
@@ -2146,9 +2146,6 @@
|
||||
if (DriverArgs.hasArg(options::OPT_nostdinc))
|
||||
return;
|
||||
|
||||
- if (!DriverArgs.hasArg(options::OPT_nostdlibinc))
|
||||
- addSystemInclude(DriverArgs, CC1Args, D.SysRoot + "/usr/local/include");
|
||||
-
|
||||
if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) {
|
||||
llvm::sys::Path P(D.ResourceDir);
|
||||
P.appendComponent("include");
|
||||
@@ -2264,6 +2261,7 @@
|
||||
return;
|
||||
|
||||
// Check if libc++ has been enabled and provide its include paths if so.
|
||||
+ // !!! Will need to modify this if/when nixpkgs uses libc++
|
||||
if (GetCXXStdlibType(DriverArgs) == ToolChain::CST_Libcxx) {
|
||||
// libc++ is always installed at a fixed path on Linux currently.
|
||||
addSystemInclude(DriverArgs, CC1Args,
|
||||
@@ -1,57 +0,0 @@
|
||||
diff -Naur clang-3.1.src-orig/lib/Driver/ToolChains.cpp clang-3.1.src/lib/Driver/ToolChains.cpp
|
||||
--- clang-3.1.src-orig/lib/Driver/ToolChains.cpp 2012-05-11 20:16:02.000000000 -0400
|
||||
+++ clang-3.1.src/lib/Driver/ToolChains.cpp 2012-10-08 01:22:53.458850737 -0400
|
||||
@@ -2077,16 +2077,6 @@
|
||||
addPathIfExists(LibPath + "/../" + Multilib, Paths);
|
||||
}
|
||||
}
|
||||
- addPathIfExists(SysRoot + "/lib/" + MultiarchTriple, Paths);
|
||||
- addPathIfExists(SysRoot + "/lib/../" + Multilib, Paths);
|
||||
- addPathIfExists(SysRoot + "/usr/lib/" + MultiarchTriple, Paths);
|
||||
- addPathIfExists(SysRoot + "/usr/lib/../" + Multilib, Paths);
|
||||
-
|
||||
- // Try walking via the GCC triple path in case of multiarch GCC
|
||||
- // installations with strange symlinks.
|
||||
- if (GCCInstallation.isValid())
|
||||
- addPathIfExists(SysRoot + "/usr/lib/" + GCCInstallation.getTriple().str() +
|
||||
- "/../../" + Multilib, Paths);
|
||||
|
||||
// Add the non-multilib suffixed paths (if potentially different).
|
||||
if (GCCInstallation.isValid()) {
|
||||
@@ -2100,8 +2090,6 @@
|
||||
addPathIfExists(LibPath, Paths);
|
||||
}
|
||||
}
|
||||
- addPathIfExists(SysRoot + "/lib", Paths);
|
||||
- addPathIfExists(SysRoot + "/usr/lib", Paths);
|
||||
}
|
||||
|
||||
bool Linux::HasNativeLLVMSupport() const {
|
||||
diff -Naur clang-3.1.src-orig/lib/Driver/Tools.cpp clang-3.1.src/lib/Driver/Tools.cpp
|
||||
--- clang-3.1.src-orig/lib/Driver/Tools.cpp 2012-04-18 17:32:25.000000000 -0400
|
||||
+++ clang-3.1.src/lib/Driver/Tools.cpp 2012-10-08 01:25:23.913501995 -0400
|
||||
@@ -5210,24 +5210,6 @@
|
||||
ToolChain.getArch() == llvm::Triple::thumb ||
|
||||
(!Args.hasArg(options::OPT_static) &&
|
||||
!Args.hasArg(options::OPT_shared))) {
|
||||
- CmdArgs.push_back("-dynamic-linker");
|
||||
- if (ToolChain.getArch() == llvm::Triple::x86)
|
||||
- CmdArgs.push_back("/lib/ld-linux.so.2");
|
||||
- else if (ToolChain.getArch() == llvm::Triple::arm ||
|
||||
- ToolChain.getArch() == llvm::Triple::thumb)
|
||||
- CmdArgs.push_back("/lib/ld-linux.so.3");
|
||||
- else if (ToolChain.getArch() == llvm::Triple::mips ||
|
||||
- ToolChain.getArch() == llvm::Triple::mipsel)
|
||||
- CmdArgs.push_back("/lib/ld.so.1");
|
||||
- else if (ToolChain.getArch() == llvm::Triple::mips64 ||
|
||||
- ToolChain.getArch() == llvm::Triple::mips64el)
|
||||
- CmdArgs.push_back("/lib64/ld.so.1");
|
||||
- else if (ToolChain.getArch() == llvm::Triple::ppc)
|
||||
- CmdArgs.push_back("/lib/ld.so.1");
|
||||
- else if (ToolChain.getArch() == llvm::Triple::ppc64)
|
||||
- CmdArgs.push_back("/lib64/ld64.so.1");
|
||||
- else
|
||||
- CmdArgs.push_back("/lib64/ld-linux-x86-64.so.2");
|
||||
}
|
||||
|
||||
CmdArgs.push_back("-o");
|
||||
@@ -1,42 +0,0 @@
|
||||
{ stdenv, fetchurl, perl, groff, llvm, cmake }:
|
||||
|
||||
let
|
||||
version = "3.1";
|
||||
gccReal = if (stdenv.gcc.gcc or null) == null then stdenv.gcc else stdenv.gcc.gcc;
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "clang-${version}";
|
||||
|
||||
buildInputs = [ perl llvm groff cmake ];
|
||||
|
||||
patches = stdenv.lib.optionals (stdenv.gcc.libc != null)
|
||||
[ ./clang-include-paths.patch ./clang-ld-flags.patch ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCLANG_PATH_TO_LLVM_BUILD=${llvm}"
|
||||
"-DCMAKE_BUILD_TYPE=Release"
|
||||
"-DLLVM_TARGETS_TO_BUILD=all"
|
||||
"-DGCC_INSTALL_PREFIX=${gccReal}"
|
||||
] ++ stdenv.lib.optionals (stdenv.gcc.libc != null) [
|
||||
"-DC_INCLUDE_DIRS=${stdenv.gcc.libc}/include/"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://llvm.org/releases/${version}/clang-${version}.src.tar.gz";
|
||||
sha256 = "11m7sm9f8qcrayckfg3z91zb3fimilpm0f7azn7q7qnkvhay4qzz";
|
||||
};
|
||||
|
||||
passthru = { gcc = stdenv.gcc.gcc; };
|
||||
|
||||
meta = {
|
||||
homepage = http://clang.llvm.org/;
|
||||
description = "A C language family frontend for LLVM";
|
||||
license = "BSD";
|
||||
maintainers = with stdenv.lib.maintainers; [viric vlstill];
|
||||
platforms = with stdenv.lib.platforms; all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
{ stdenv, fetchurl, perl, groff, cmake, python, binutils }:
|
||||
|
||||
let version = "3.1"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "llvm-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://llvm.org/releases/${version}/llvm-${version}.src.tar.gz";
|
||||
sha256 = "1ea05135197b5400c1f88d00ff280d775ce778f8f9ea042e25a1e1e734a4b9ab";
|
||||
};
|
||||
|
||||
buildInputs = [ perl groff cmake python ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_BUILD_TYPE=Release"
|
||||
"-DLLVM_BINUTILS_INCDIR=${binutils}/include"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
homepage = http://llvm.org/;
|
||||
description = "Collection of modular and reusable compiler and toolchain technologies";
|
||||
license = "BSD";
|
||||
maintainers = with stdenv.lib.maintainers; [viric raskin vlstill];
|
||||
platforms = with stdenv.lib.platforms; all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,137 +0,0 @@
|
||||
diff -Naur clang-3.2.src-orig/lib/Driver/ToolChains.cpp clang-3.2.src/lib/Driver/ToolChains.cpp
|
||||
--- clang-3.2.src-orig/lib/Driver/ToolChains.cpp 2012-12-16 10:59:27.000000000 -0500
|
||||
+++ clang-3.2.src/lib/Driver/ToolChains.cpp 2013-01-22 14:16:55.787547681 -0500
|
||||
@@ -2153,16 +2153,6 @@
|
||||
addPathIfExists(LibPath + "/../" + GCCTriple.str() + "/lib", Paths);
|
||||
}
|
||||
}
|
||||
- addPathIfExists(SysRoot + "/lib/" + MultiarchTriple, Paths);
|
||||
- addPathIfExists(SysRoot + "/lib/../" + Multilib, Paths);
|
||||
- addPathIfExists(SysRoot + "/usr/lib/" + MultiarchTriple, Paths);
|
||||
- addPathIfExists(SysRoot + "/usr/lib/../" + Multilib, Paths);
|
||||
-
|
||||
- // Try walking via the GCC triple path in case of multiarch GCC
|
||||
- // installations with strange symlinks.
|
||||
- if (GCCInstallation.isValid())
|
||||
- addPathIfExists(SysRoot + "/usr/lib/" + GCCInstallation.getTriple().str() +
|
||||
- "/../../" + Multilib, Paths);
|
||||
|
||||
// Add the non-multilib suffixed paths (if potentially different).
|
||||
if (GCCInstallation.isValid()) {
|
||||
@@ -2176,8 +2166,6 @@
|
||||
addPathIfExists(LibPath, Paths);
|
||||
}
|
||||
}
|
||||
- addPathIfExists(SysRoot + "/lib", Paths);
|
||||
- addPathIfExists(SysRoot + "/usr/lib", Paths);
|
||||
}
|
||||
|
||||
bool Linux::HasNativeLLVMSupport() const {
|
||||
@@ -2228,9 +2216,6 @@
|
||||
if (DriverArgs.hasArg(options::OPT_nostdinc))
|
||||
return;
|
||||
|
||||
- if (!DriverArgs.hasArg(options::OPT_nostdlibinc))
|
||||
- addSystemInclude(DriverArgs, CC1Args, D.SysRoot + "/usr/local/include");
|
||||
-
|
||||
if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) {
|
||||
llvm::sys::Path P(D.ResourceDir);
|
||||
P.appendComponent("include");
|
||||
@@ -2295,24 +2280,6 @@
|
||||
"/usr/include/powerpc64-linux-gnu"
|
||||
};
|
||||
ArrayRef<StringRef> MultiarchIncludeDirs;
|
||||
- if (getTriple().getArch() == llvm::Triple::x86_64) {
|
||||
- MultiarchIncludeDirs = X86_64MultiarchIncludeDirs;
|
||||
- } else if (getTriple().getArch() == llvm::Triple::x86) {
|
||||
- MultiarchIncludeDirs = X86MultiarchIncludeDirs;
|
||||
- } else if (getTriple().getArch() == llvm::Triple::arm) {
|
||||
- if (getTriple().getEnvironment() == llvm::Triple::GNUEABIHF)
|
||||
- MultiarchIncludeDirs = ARMHFMultiarchIncludeDirs;
|
||||
- else
|
||||
- MultiarchIncludeDirs = ARMMultiarchIncludeDirs;
|
||||
- } else if (getTriple().getArch() == llvm::Triple::mips) {
|
||||
- MultiarchIncludeDirs = MIPSMultiarchIncludeDirs;
|
||||
- } else if (getTriple().getArch() == llvm::Triple::mipsel) {
|
||||
- MultiarchIncludeDirs = MIPSELMultiarchIncludeDirs;
|
||||
- } else if (getTriple().getArch() == llvm::Triple::ppc) {
|
||||
- MultiarchIncludeDirs = PPCMultiarchIncludeDirs;
|
||||
- } else if (getTriple().getArch() == llvm::Triple::ppc64) {
|
||||
- MultiarchIncludeDirs = PPC64MultiarchIncludeDirs;
|
||||
- }
|
||||
for (ArrayRef<StringRef>::iterator I = MultiarchIncludeDirs.begin(),
|
||||
E = MultiarchIncludeDirs.end();
|
||||
I != E; ++I) {
|
||||
@@ -2324,13 +2291,6 @@
|
||||
|
||||
if (getTriple().getOS() == llvm::Triple::RTEMS)
|
||||
return;
|
||||
-
|
||||
- // Add an include of '/include' directly. This isn't provided by default by
|
||||
- // system GCCs, but is often used with cross-compiling GCCs, and harmless to
|
||||
- // add even when Clang is acting as-if it were a system compiler.
|
||||
- addExternCSystemInclude(DriverArgs, CC1Args, D.SysRoot + "/include");
|
||||
-
|
||||
- addExternCSystemInclude(DriverArgs, CC1Args, D.SysRoot + "/usr/include");
|
||||
}
|
||||
|
||||
/// \brief Helper to add the thre variant paths for a libstdc++ installation.
|
||||
diff -Naur clang-3.2.src-orig/lib/Driver/Tools.cpp clang-3.2.src/lib/Driver/Tools.cpp
|
||||
--- clang-3.2.src-orig/lib/Driver/Tools.cpp 2012-11-21 02:56:23.000000000 -0500
|
||||
+++ clang-3.2.src/lib/Driver/Tools.cpp 2013-01-22 14:24:37.167212186 -0500
|
||||
@@ -5972,34 +5972,6 @@
|
||||
ToolChain.getArch() == llvm::Triple::thumb ||
|
||||
(!Args.hasArg(options::OPT_static) &&
|
||||
!Args.hasArg(options::OPT_shared))) {
|
||||
- CmdArgs.push_back("-dynamic-linker");
|
||||
- if (isAndroid)
|
||||
- CmdArgs.push_back("/system/bin/linker");
|
||||
- else if (ToolChain.getArch() == llvm::Triple::x86)
|
||||
- CmdArgs.push_back("/lib/ld-linux.so.2");
|
||||
- else if (ToolChain.getArch() == llvm::Triple::arm ||
|
||||
- ToolChain.getArch() == llvm::Triple::thumb) {
|
||||
- if (ToolChain.getTriple().getEnvironment() == llvm::Triple::GNUEABIHF)
|
||||
- CmdArgs.push_back("/lib/ld-linux-armhf.so.3");
|
||||
- else
|
||||
- CmdArgs.push_back("/lib/ld-linux.so.3");
|
||||
- }
|
||||
- else if (ToolChain.getArch() == llvm::Triple::mips ||
|
||||
- ToolChain.getArch() == llvm::Triple::mipsel)
|
||||
- CmdArgs.push_back("/lib/ld.so.1");
|
||||
- else if (ToolChain.getArch() == llvm::Triple::mips64 ||
|
||||
- ToolChain.getArch() == llvm::Triple::mips64el) {
|
||||
- if (hasMipsN32ABIArg(Args))
|
||||
- CmdArgs.push_back("/lib32/ld.so.1");
|
||||
- else
|
||||
- CmdArgs.push_back("/lib64/ld.so.1");
|
||||
- }
|
||||
- else if (ToolChain.getArch() == llvm::Triple::ppc)
|
||||
- CmdArgs.push_back("/lib/ld.so.1");
|
||||
- else if (ToolChain.getArch() == llvm::Triple::ppc64)
|
||||
- CmdArgs.push_back("/lib64/ld64.so.1");
|
||||
- else
|
||||
- CmdArgs.push_back("/lib64/ld-linux-x86-64.so.2");
|
||||
}
|
||||
|
||||
CmdArgs.push_back("-o");
|
||||
diff -Naur clang-3.2.src-orig/lib/Frontend/InitHeaderSearch.cpp clang-3.2.src/lib/Frontend/InitHeaderSearch.cpp
|
||||
--- clang-3.2.src-orig/lib/Frontend/InitHeaderSearch.cpp 2012-10-24 12:19:39.000000000 -0400
|
||||
+++ clang-3.2.src/lib/Frontend/InitHeaderSearch.cpp 2013-01-22 14:20:32.803925775 -0500
|
||||
@@ -221,8 +221,6 @@
|
||||
case llvm::Triple::Bitrig:
|
||||
break;
|
||||
default:
|
||||
- // FIXME: temporary hack: hard-coded paths.
|
||||
- AddPath("/usr/local/include", System, true, false, false);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -330,8 +328,6 @@
|
||||
break;
|
||||
}
|
||||
|
||||
- if ( os != llvm::Triple::RTEMS )
|
||||
- AddPath("/usr/include", System, false, false, false);
|
||||
}
|
||||
|
||||
void InitHeaderSearch::
|
||||
@@ -1,40 +0,0 @@
|
||||
{ stdenv, fetchurl, perl, groff, llvm, cmake, libxml2 }:
|
||||
|
||||
let
|
||||
version = "3.2";
|
||||
gccReal = if (stdenv.gcc.gcc or null) == null then stdenv.gcc else stdenv.gcc.gcc;
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "clang-${version}";
|
||||
|
||||
buildInputs = [ perl llvm groff cmake libxml2 ];
|
||||
|
||||
patches = stdenv.lib.optional (stdenv.gcc.libc != null) ./clang-purity.patch;
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCLANG_PATH_TO_LLVM_BUILD=${llvm}"
|
||||
"-DCMAKE_BUILD_TYPE=Release"
|
||||
"-DLLVM_TARGETS_TO_BUILD=all"
|
||||
"-DGCC_INSTALL_PREFIX=${gccReal}"
|
||||
] ++ stdenv.lib.optionals (stdenv.gcc.libc != null) [
|
||||
"-DC_INCLUDE_DIRS=${stdenv.gcc.libc}/include/"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://llvm.org/releases/${version}/clang-${version}.src.tar.gz";
|
||||
sha256 = "0n2nzw3pw2v7fk67f2k2qyzd9wibvi3i5j7cjzz1csqgghzz1aia";
|
||||
};
|
||||
|
||||
passthru = { gcc = stdenv.gcc.gcc; };
|
||||
|
||||
meta = {
|
||||
homepage = http://clang.llvm.org/;
|
||||
description = "A C language family frontend for LLVM";
|
||||
license = "BSD";
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with stdenv.lib.platforms; all;
|
||||
};
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
{ stdenv, fetchurl, perl, groff, cmake, python, libffi, binutils }:
|
||||
|
||||
let version = "3.2"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "llvm-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://llvm.org/releases/${version}/llvm-${version}.src.tar.gz";
|
||||
sha256 = "0hv30v5l4fkgyijs56sr1pbrlzgd674pg143x7az2h37sb290l0j";
|
||||
};
|
||||
|
||||
patches = [ ./set_soname.patch ]; # http://llvm.org/bugs/show_bug.cgi?id=12334
|
||||
patchFlags = "-p0";
|
||||
|
||||
preConfigure = "patchShebangs .";
|
||||
|
||||
propagatedBuildInputs = [ libffi ];
|
||||
buildInputs = [ perl groff cmake python ]; # ToDo: polly, libc++; enable cxx11?
|
||||
|
||||
# created binaries need to be run before installation... I coudn't find a better way
|
||||
preBuild = ''export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:"`pwd`/lib'';
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_BUILD_TYPE=Release"
|
||||
"-DBUILD_SHARED_LIBS=ON"
|
||||
"-DLLVM_BINUTILS_INCDIR=${binutils}/include"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
#doCheck = true; # tests are broken, don't know why
|
||||
|
||||
meta = {
|
||||
homepage = http://llvm.org/;
|
||||
description = "Collection of modular and reusable compiler and toolchain technologies";
|
||||
license = "BSD";
|
||||
maintainers = with stdenv.lib.maintainers; [viric raskin vlstill];
|
||||
platforms = with stdenv.lib.platforms; all;
|
||||
};
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=409267
|
||||
http://llvm.org/bugs/show_bug.cgi?id=12334
|
||||
--- tools/llvm-shlib/Makefile.orig 2012-03-26 18:14:13.071797115 +0200
|
||||
+++ tools/llvm-shlib/Makefile 2012-03-26 17:31:12.491196254 +0200
|
||||
@@ -67,6 +67,7 @@
|
||||
# Include everything from the .a's into the shared library.
|
||||
LLVMLibsOptions := -Wl,--whole-archive $(LLVMLibsOptions) \
|
||||
-Wl,--no-whole-archive
|
||||
+ LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT)
|
||||
endif
|
||||
|
||||
ifeq ($(HOST_OS),Linux)
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = http://dragonegg.llvm.org/;
|
||||
description = "gcc plugin that replaces gcc's optimizers and code generators by those in LLVM";
|
||||
license = "GPLv2+";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
maintainers = with stdenv.lib.maintainers; [viric shlevy];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
};
|
||||
|
||||
@@ -78,7 +78,7 @@ stdenv.mkDerivation {
|
||||
|
||||
homepage = http://www.gnu.org/software/mit-scheme/;
|
||||
|
||||
license = "GPLv2+";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
{ stdenv, fetchurl, libtool, gcc, patches ? []}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "opencxx-2.8";
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/opencxx/opencxx-2.8.tar.gz;
|
||||
md5 = "0f71df82751fe8aba5122d6e0541c98a";
|
||||
};
|
||||
|
||||
buildInputs = [libtool];
|
||||
NIX_GCC = gcc;
|
||||
|
||||
inherit patches;
|
||||
}
|
||||
@@ -36,6 +36,6 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = http://opendylan.org;
|
||||
description = "Dylan is a multi-paradigm functional and object-oriented programming language.";
|
||||
license = "MIT";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,6 +32,6 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = http://opendylan.org;
|
||||
description = "Dylan is a multi-paradigm functional and object-oriented programming language.";
|
||||
license = "MIT";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -165,7 +165,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
homepage = http://openjdk.java.net/;
|
||||
license = "GPLv2";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
description = "The open-source Java Development Kit";
|
||||
maintainers = [ stdenv.lib.maintainers.eelco stdenv.lib.maintainers.shlevy ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
|
||||
@@ -180,6 +180,6 @@ let result = stdenv.mkDerivation rec {
|
||||
|
||||
passthru.jre = result; # FIXME: use multiple outputs or return actual JRE package
|
||||
|
||||
meta.license = "unfree";
|
||||
meta.license = stdenv.lib.licenses.unfree;
|
||||
|
||||
}; in result
|
||||
|
||||
@@ -80,5 +80,5 @@ stdenv.mkDerivation {
|
||||
|
||||
mozillaPlugin = if installjdk then "/jre/lib/${architecture}/plugins" else "/lib/${architecture}/plugins";
|
||||
|
||||
meta.license = "unfree";
|
||||
meta.license = stdenv.lib.licenses.unfree;
|
||||
}
|
||||
|
||||
@@ -14,23 +14,25 @@
|
||||
|
||||
*/
|
||||
|
||||
with if stdenv.system == "i686-linux" then {
|
||||
platform = "linux-i386";
|
||||
snapshot = "84339ea0f796ae468ef86797ef4587274bec19ea";
|
||||
target = "i686-unknown-linux-gnu";
|
||||
} else if stdenv.system == "x86_64-linux" then {
|
||||
platform = "linux-x86_64";
|
||||
snapshot = "bd8a6bc1f28845b7f4b768f6bfa06e7fbdcfcaae";
|
||||
target = "x86_64-unknown-linux-gnu";
|
||||
} else if stdenv.system == "x86_64-darwin" then {
|
||||
platform = "macos-x86_64";
|
||||
snapshot = "4a8c2e1b7634d73406bac32a1a97893ec3ed818d";
|
||||
} else {};
|
||||
let snapshotDate = "2014-06-21";
|
||||
with ((import ./common.nix) {inherit stdenv; version = "0.11.0"; });
|
||||
|
||||
let snapshot = if stdenv.system == "i686-linux"
|
||||
then "84339ea0f796ae468ef86797ef4587274bec19ea"
|
||||
else if stdenv.system == "x86_64-linux"
|
||||
then "bd8a6bc1f28845b7f4b768f6bfa06e7fbdcfcaae"
|
||||
else if stdenv.system == "i686-darwin"
|
||||
then "3f25b2680efbab16ad074477a19d49dcce475977"
|
||||
else if stdenv.system == "x86_64-darwin"
|
||||
then "4a8c2e1b7634d73406bac32a1a97893ec3ed818d"
|
||||
else abort "no-snapshot for platform ${stdenv.system}";
|
||||
snapshotDate = "2014-06-21";
|
||||
snapshotRev = "db9af1d";
|
||||
snapshotName = "rust-stage0-${snapshotDate}-${snapshotRev}-${platform}-${snapshot}.tar.bz2"; in
|
||||
stdenv.mkDerivation {
|
||||
name = "rust-0.11.0";
|
||||
snapshotName = "rust-stage0-${snapshotDate}-${snapshotRev}-${platform}-${snapshot}.tar.bz2";
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
inherit name;
|
||||
inherit version;
|
||||
inherit meta;
|
||||
|
||||
src = fetchurl {
|
||||
url = http://static.rust-lang.org/dist/rust-0.11.0.tar.gz;
|
||||
@@ -67,14 +69,4 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [ which file perl curl python27 makeWrapper ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.rust-lang.org/;
|
||||
description = "A safe, concurrent, practical language";
|
||||
maintainers = with maintainers; [ madjar cstrahan ];
|
||||
license = map (builtins.getAttr "shortName") [ licenses.mit licenses.asl20 ];
|
||||
# platforms as per http://static.rust-lang.org/doc/master/tutorial.html#getting-started
|
||||
platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ];
|
||||
};
|
||||
}
|
||||
|
||||
36
pkgs/development/compilers/rustc/common.nix
Normal file
36
pkgs/development/compilers/rustc/common.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{stdenv, version}:
|
||||
|
||||
{
|
||||
inherit version;
|
||||
|
||||
platform = if stdenv.system == "i686-linux"
|
||||
then "linux-i386"
|
||||
else if stdenv.system == "x86_64-linux"
|
||||
then "linux-x86_64"
|
||||
else if stdenv.system == "i686-darwin"
|
||||
then "macos-i386"
|
||||
else if stdenv.system == "x86_64-darwin"
|
||||
then "macos-x86_64"
|
||||
else abort "no snapshot to boostrap for this platform (missing platform url suffix)";
|
||||
|
||||
target = if stdenv.system == "i686-linux"
|
||||
then "i686-unknown-linux-gnu"
|
||||
else if stdenv.system == "x86_64-linux"
|
||||
then "x86_64-unknown-linux-gnu"
|
||||
else if stdenv.system == "i686-darwin"
|
||||
then "i686-apple-darwin"
|
||||
else if stdenv.system == "x86_64-darwin"
|
||||
then "x86_64-apple-darwin"
|
||||
else abort "no snapshot to boostrap for this platform (missing target triple";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.rust-lang.org/;
|
||||
description = "A safe, concurrent, practical language";
|
||||
maintainers = with maintainers; [ madjar cstrahan ];
|
||||
license = map (builtins.getAttr "shortName") [ licenses.mit licenses.asl20 ];
|
||||
# platforms as per http://static.rust-lang.org/doc/master/tutorial.html#getting-started
|
||||
platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ];
|
||||
};
|
||||
|
||||
name = "rustc-${version}";
|
||||
}
|
||||
73
pkgs/development/compilers/rustc/head.nix
Normal file
73
pkgs/development/compilers/rustc/head.nix
Normal file
@@ -0,0 +1,73 @@
|
||||
{stdenv, fetchurl, fetchgit, which, file, perl, curl, python27, makeWrapper}:
|
||||
|
||||
/* Rust's build process has a few quirks :
|
||||
|
||||
- It requires some patched in llvm that haven't landed upstream, so it
|
||||
compiles its own llvm. This might change in the future, so at some
|
||||
point we may be able to switch to nix's llvm.
|
||||
|
||||
- The Rust compiler is written is Rust, so it requires a bootstrap
|
||||
compiler, which is downloaded during the build. To make the build
|
||||
pure, we download it ourself before and put it where it is
|
||||
expected. Once the language is stable (1.0) , we might want to
|
||||
switch it to use nix's packaged rust compiler.
|
||||
|
||||
*/
|
||||
|
||||
with ((import ./common.nix) {inherit stdenv; version = "0.12.0-pre-7a25cf3f3"; });
|
||||
|
||||
let snapshot = if stdenv.system == "i686-linux"
|
||||
then "a5e1bb723020ac35173d49600e76b0935e257a6a"
|
||||
else if stdenv.system == "x86_64-linux"
|
||||
then "1a2407df17442d93d1c34c916269a345658045d7"
|
||||
else if stdenv.system == "i686-darwin"
|
||||
then "6648fa88e41ad7c0991a085366e36d56005873ca"
|
||||
else if stdenv.system == "x86_64-darwin"
|
||||
then "71b2d1dfd0abe1052908dc091e098ed22cf272c6"
|
||||
else abort "no-snapshot for platform ${stdenv.system}";
|
||||
snapshotDate = "2014-07-17";
|
||||
snapshotRev = "9fc8394";
|
||||
snapshotName = "rust-stage0-${snapshotDate}-${snapshotRev}-${platform}-${snapshot}.tar.bz2";
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
inherit name;
|
||||
inherit version;
|
||||
inherit meta;
|
||||
|
||||
src = fetchgit {
|
||||
url = https://github.com/rust-lang/rust;
|
||||
rev = "7a25cf3f30fa5fae2e868fa910ecc850f5e9ee65";
|
||||
sha256 = "1hx8vd4gn5plbdvr0zvdvqyw9x9r2vbmh112h2f5d2xxsf9p7rf1";
|
||||
};
|
||||
|
||||
# We need rust to build rust. If we don't provide it, configure will try to download it.
|
||||
snapshot = stdenv.mkDerivation {
|
||||
name = "rust-stage0";
|
||||
src = fetchurl {
|
||||
url = "http://static.rust-lang.org/stage0-snapshots/${snapshotName}";
|
||||
sha1 = snapshot;
|
||||
};
|
||||
dontStrip = true;
|
||||
installPhase = ''
|
||||
mkdir -p "$out"
|
||||
cp -r bin "$out/bin"
|
||||
'' + (if stdenv.isLinux then ''
|
||||
patchelf --interpreter "${stdenv.glibc}/lib/${stdenv.gcc.dynamicLinker}" \
|
||||
--set-rpath "${stdenv.gcc.gcc}/lib/:${stdenv.gcc.gcc}/lib64/" \
|
||||
"$out/bin/rustc"
|
||||
'' else "");
|
||||
};
|
||||
|
||||
configureFlags = [ "--enable-local-rust" "--local-rust-root=$snapshot" ];
|
||||
|
||||
# The compiler requires cc, so we patch the source to tell it where to find it
|
||||
patches = [ ./hardcode_paths.patch ./local_stage0.patch ];
|
||||
postPatch = ''
|
||||
substituteInPlace src/librustc/back/link.rs \
|
||||
--subst-var-by "ccPath" "${stdenv.gcc}/bin/cc" \
|
||||
--subst-var-by "arPath" "${stdenv.gcc.binutils}/bin/ar"
|
||||
'';
|
||||
|
||||
buildInputs = [ which file perl curl python27 makeWrapper ];
|
||||
enableParallelBuilding = true;
|
||||
}
|
||||
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
homepage = http://www.ece.purdue.edu/~qobi/software.html;
|
||||
license = "GPLv2+";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
description = "Stalin, an optimizing Scheme compiler";
|
||||
|
||||
maintainers = [ ];
|
||||
|
||||
@@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
homepage = http://www.tinycc.org/;
|
||||
license = "LGPLv2+";
|
||||
license = stdenv.lib.licenses.lgpl2Plus;
|
||||
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ ];
|
||||
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
programming environment.
|
||||
'';
|
||||
|
||||
license = "LGPLv3+";
|
||||
license = stdenv.lib.licenses.lgpl3Plus;
|
||||
|
||||
homepage = http://home.gna.org/guile-cairo/;
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
homepage = http://www.gnu.org/software/guile-gnome/;
|
||||
|
||||
license = "GPLv2+";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||
};
|
||||
|
||||
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
homepage = http://www.nongnu.org/guile-lib/;
|
||||
license = "GPLv3+";
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
||||
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
form, panel, and menu.
|
||||
'';
|
||||
|
||||
license = "LGPLv3+";
|
||||
license = stdenv.lib.licenses.lgpl3Plus;
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
||||
|
||||
@@ -22,6 +22,20 @@ stdenv.mkDerivation {
|
||||
|
||||
configureFlags = "--with-ssl=${openssl}";
|
||||
|
||||
postInstall = let
|
||||
manpages = fetchurl {
|
||||
url = "http://www.erlang.org/download/otp_doc_man_R${version}.tar.gz";
|
||||
sha256 = "1nh7l7wilyyaxvlwkjxgm3cq7wpd90sk6vxhgpvg7hwai8g52545";
|
||||
};
|
||||
in ''
|
||||
tar xf "${manpages}" -C "$out/lib/erlang"
|
||||
for i in "$out"/lib/erlang/man/man[0-9]/*.[0-9]; do
|
||||
prefix="''${i%/*}"
|
||||
ensureDir "$out/share/man/''${prefix##*/}"
|
||||
ln -s "$i" "$out/share/man/''${prefix##*/}/''${i##*/}erl"
|
||||
done
|
||||
'';
|
||||
|
||||
# Some erlang bin/ scripts run sed and awk
|
||||
postFixup = ''
|
||||
wrapProgram $out/lib/erlang/bin/erl --prefix PATH ":" "${gnused}/bin/"
|
||||
|
||||
@@ -28,6 +28,20 @@ stdenv.mkDerivation {
|
||||
|
||||
configureFlags = "--with-ssl=${openssl}";
|
||||
|
||||
postInstall = let
|
||||
manpages = fetchurl {
|
||||
url = "http://www.erlang.org/download/otp_doc_man_R${version}.tar.gz";
|
||||
sha256 = "0sqamzbd7qyz3klgl9vm1qvl0rhsfd1dx485pb0m2185qvw02nha";
|
||||
};
|
||||
in ''
|
||||
tar xf "${manpages}" -C "$out/lib/erlang"
|
||||
for i in "$out"/lib/erlang/man/man[0-9]/*.[0-9]; do
|
||||
prefix="''${i%/*}"
|
||||
ensureDir "$out/share/man/''${prefix##*/}"
|
||||
ln -s "$i" "$out/share/man/''${prefix##*/}/''${i##*/}erl"
|
||||
done
|
||||
'';
|
||||
|
||||
# Some erlang bin/ scripts run sed and awk
|
||||
postFixup = ''
|
||||
wrapProgram $out/lib/erlang/bin/erl --prefix PATH ":" "${gnused}/bin/"
|
||||
|
||||
@@ -8,10 +8,10 @@ with stdenv.lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "erlang-" + version;
|
||||
version = "R16B03-1";
|
||||
version = "16B03-1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.erlang.org/download/otp_src_${version}.tar.gz";
|
||||
url = "http://www.erlang.org/download/otp_src_R${version}.tar.gz";
|
||||
sha256 = "1rvyfh22g1fir1i4xn7v2md868wcmhajwhfsq97v7kn5kd2m7khp";
|
||||
};
|
||||
|
||||
@@ -28,8 +28,19 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags= "--with-ssl=${openssl} ${optionalString stdenv.isDarwin "--enable-darwin-64bit"}";
|
||||
|
||||
postInstall = ''
|
||||
postInstall = let
|
||||
manpages = fetchurl {
|
||||
url = "http://www.erlang.org/download/otp_doc_man_R${version}.tar.gz";
|
||||
sha256 = "17f3k5j17rdsah18gywjngip6cbfgp6nb9di6il4pahmf9yvqc8g";
|
||||
};
|
||||
in ''
|
||||
ln -s $out/lib/erlang/lib/erl_interface*/bin/erl_call $out/bin/erl_call
|
||||
tar xf "${manpages}" -C "$out/lib/erlang"
|
||||
for i in "$out"/lib/erlang/man/man[0-9]/*.[0-9]; do
|
||||
prefix="''${i%/*}"
|
||||
ensureDir "$out/share/man/''${prefix##*/}"
|
||||
ln -s "$i" "$out/share/man/''${prefix##*/}/''${i##*/}erl"
|
||||
done
|
||||
'';
|
||||
|
||||
# Some erlang bin/ scripts run sed and awk
|
||||
|
||||
@@ -28,8 +28,19 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags= "--with-ssl=${openssl} ${optionalString stdenv.isDarwin "--enable-darwin-64bit"}";
|
||||
|
||||
postInstall = ''
|
||||
postInstall = let
|
||||
manpages = fetchurl {
|
||||
url = "http://www.erlang.org/download/otp_doc_man_${version}.tar.gz";
|
||||
sha256 = "16dkz3w1q4ahy37c8a8r2h8zjcr7cxz7pd9z38chbxf6frc2pxxc";
|
||||
};
|
||||
in ''
|
||||
ln -s $out/lib/erlang/lib/erl_interface*/bin/erl_call $out/bin/erl_call
|
||||
tar xf "${manpages}" -C "$out/lib/erlang"
|
||||
for i in "$out"/lib/erlang/man/man[0-9]/*.[0-9]; do
|
||||
prefix="''${i%/*}"
|
||||
ensureDir "$out/share/man/''${prefix##*/}"
|
||||
ln -s "$i" "$out/share/man/''${prefix##*/}/''${i##*/}erl"
|
||||
done
|
||||
'';
|
||||
|
||||
# Some erlang bin/ scripts run sed and awk
|
||||
|
||||
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
homepage = http://www.gnu.org/software/guile/;
|
||||
license = "LGPLv2+";
|
||||
license = stdenv.lib.licenses.lgpl2Plus;
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||
};
|
||||
|
||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "http://love2d.org";
|
||||
description = "A Lua-based 2D game engine/scripting language";
|
||||
license = "zlib";
|
||||
license = stdenv.lib.licenses.zlib;
|
||||
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.raskin ];
|
||||
|
||||
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "http://love2d.org";
|
||||
description = "A Lua-based 2D game engine/scripting language";
|
||||
license = "zlib";
|
||||
license = stdenv.lib.licenses.zlib;
|
||||
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.raskin ];
|
||||
|
||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
|
||||
management with incremental garbage collection, making it ideal
|
||||
for configuration, scripting, and rapid prototyping.
|
||||
'';
|
||||
license = "MIT";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ ];
|
||||
};
|
||||
|
||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation {
|
||||
management with incremental garbage collection, making it ideal
|
||||
for configuration, scripting, and rapid prototyping.
|
||||
'';
|
||||
license = "MIT";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ ];
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, readline, makeWrapper }:
|
||||
{ stdenv, fetchurl, readline }:
|
||||
|
||||
let
|
||||
dsoPatch = fetchurl {
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333";
|
||||
};
|
||||
|
||||
buildInputs = [ readline makeWrapper ];
|
||||
buildInputs = [ readline ];
|
||||
|
||||
patches = if stdenv.isDarwin then [ ./5.1.darwin.patch ] else [ dsoPatch ];
|
||||
|
||||
@@ -35,9 +35,6 @@ stdenv.mkDerivation rec {
|
||||
sed <"etc/lua.pc" >"$out/lib/pkgconfig/lua.pc" -e "s|^prefix=.*|prefix=$out|"
|
||||
mv "doc/"*.{gif,png,css,html} "$out/share/doc/lua/"
|
||||
rmdir $out/{share,lib}/lua/5.1 $out/{share,lib}/lua
|
||||
wrapProgram $out/bin/lua \
|
||||
--set LUA_PATH '"$HOME/.nix-profile/lib/lua/5.1/?.lua;$HOME/.nix-profile/share/lua/5.1/?.lua"' \
|
||||
--set LUA_CPATH '"$HOME/.nix-profile/lib/lua/5.1/?.so;$HOME/.nix-profile/share/lua/5.1/?.so"'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
@@ -51,7 +48,7 @@ stdenv.mkDerivation rec {
|
||||
management with incremental garbage collection, making it ideal
|
||||
for configuration, scripting, and rapid prototyping.
|
||||
'';
|
||||
license = "MIT";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
};
|
||||
|
||||
@@ -96,7 +96,7 @@ stdenv.mkDerivation rec {
|
||||
management with incremental garbage collection, making it ideal
|
||||
for configuration, scripting, and rapid prototyping.
|
||||
'';
|
||||
license = "MIT";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
};
|
||||
|
||||
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "http://maude.cs.uiuc.edu/";
|
||||
description = "Maude -- a high-level specification language";
|
||||
license = "GPLv2";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
|
||||
longDescription = ''
|
||||
Maude is a high-performance reflective language and system
|
||||
|
||||
@@ -6,13 +6,13 @@ fftw, fftwSinglePrec, zlib, curl, qrupdate
|
||||
}:
|
||||
|
||||
let
|
||||
version = "3.8.0";
|
||||
version = "3.8.1";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "octave-${version}";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/octave/${name}.tar.bz2";
|
||||
sha256 = "1yclb8p4mcx9xcjajyynxfnc5spw90lp44d84v56ksrlvp3314si";
|
||||
sha256 = "1gcvzbgyz98mxzy3gjkdbdiirafkl73l9ywml11j412amp92wxnn";
|
||||
};
|
||||
|
||||
buildInputs = [ gfortran readline ncurses perl flex texinfo qhull libX11
|
||||
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
homepage = http://octave.org/;
|
||||
license = "GPLv3+";
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
maintainers = with stdenv.lib.maintainers; [viric raskin];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
};
|
||||
|
||||
@@ -9,7 +9,7 @@ stdenv.mkDerivation ({
|
||||
meta = {
|
||||
description = "High-level interactive language for numerical computations";
|
||||
homepage = http://www.octave.org;
|
||||
license = "GPL-3";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
};
|
||||
} // (
|
||||
if config.octave.devVersion or false then {
|
||||
|
||||
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "Ren'Py Visual Novel Engine";
|
||||
homepage = "http://renpy.org/";
|
||||
license = "MIT";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ iyzsong ];
|
||||
};
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, cmake, pkgconfig
|
||||
, jackaudio, libsndfile, fftw, curl
|
||||
, jack2, libsndfile, fftw, curl
|
||||
, libXt, qt, readline
|
||||
, useSCEL ? false, emacs
|
||||
}:
|
||||
@@ -35,6 +35,6 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
||||
buildInputs = [
|
||||
jackaudio libsndfile fftw curl libXt qt readline ]
|
||||
jack2 libsndfile fftw curl libXt qt readline ]
|
||||
++ optional useSCEL emacs;
|
||||
}
|
||||
|
||||
82
pkgs/development/interpreters/xulrunner/default.nix
Normal file
82
pkgs/development/interpreters/xulrunner/default.nix
Normal file
@@ -0,0 +1,82 @@
|
||||
{ lib, stdenv, fetchurl, pkgconfig, gtk, pango, perl, python, zip, libIDL
|
||||
, libjpeg, zlib, dbus, dbus_glib, bzip2, xlibs
|
||||
, freetype, fontconfig, file, alsaLib, nspr, nss, libnotify
|
||||
, yasm, mesa, sqlite, unzip, makeWrapper, pysqlite
|
||||
, hunspell, libevent, libstartup_notification, libvpx
|
||||
, cairo, gstreamer, gst_plugins_base, icu
|
||||
, debugBuild ? false
|
||||
}:
|
||||
|
||||
assert stdenv.gcc ? libc && stdenv.gcc.libc != null;
|
||||
|
||||
let version = "31.0"; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "xulrunner-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${version}/source/firefox-${version}.source.tar.bz2";
|
||||
sha1 = "a6c3e25ee3aeb7da42db2aaeb50a385d63532beb";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig gtk perl zip libIDL libjpeg zlib bzip2
|
||||
python dbus dbus_glib pango freetype fontconfig xlibs.libXi
|
||||
xlibs.libX11 xlibs.libXrender xlibs.libXft xlibs.libXt file
|
||||
alsaLib nspr nss libnotify xlibs.pixman yasm mesa
|
||||
xlibs.libXScrnSaver xlibs.scrnsaverproto pysqlite
|
||||
xlibs.libXext xlibs.xextproto sqlite unzip makeWrapper
|
||||
hunspell libevent libstartup_notification libvpx cairo
|
||||
gstreamer gst_plugins_base icu
|
||||
];
|
||||
|
||||
configureFlags =
|
||||
[ "--enable-application=xulrunner"
|
||||
"--disable-javaxpcom"
|
||||
"--with-system-jpeg"
|
||||
"--with-system-zlib"
|
||||
"--with-system-bz2"
|
||||
"--with-system-nspr"
|
||||
"--with-system-nss"
|
||||
"--with-system-libevent"
|
||||
"--with-system-libvpx"
|
||||
# "--with-system-png" # needs APNG support
|
||||
# "--with-system-icu" # causes ‘ar: invalid option -- 'L'’ in Firefox 28.0
|
||||
"--enable-system-ffi"
|
||||
"--enable-system-hunspell"
|
||||
"--enable-system-pixman"
|
||||
"--enable-system-sqlite"
|
||||
"--enable-system-cairo"
|
||||
"--enable-gstreamer"
|
||||
"--enable-startup-notification"
|
||||
# "--enable-content-sandbox" # available since 26.0, but not much info available
|
||||
# "--enable-content-sandbox-reporter" # keeping disabled for now
|
||||
"--disable-crashreporter"
|
||||
"--disable-tests"
|
||||
"--disable-necko-wifi" # maybe we want to enable this at some point
|
||||
"--disable-installer"
|
||||
"--disable-updater"
|
||||
"--disable-pulseaudio"
|
||||
]
|
||||
++ (if debugBuild then [ "--enable-debug" "--enable-profiling"]
|
||||
else [ "--disable-debug" "--enable-release"
|
||||
"--enable-optimize" "--enable-strip" ]);
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preConfigure =
|
||||
''
|
||||
mkdir ../objdir
|
||||
cd ../objdir
|
||||
configureScript=../mozilla-release/configure
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Mozilla Firefox XUL runner";
|
||||
homepage = http://www.mozilla.com/en-US/firefox/;
|
||||
maintainers = [ lib.maintainers.eelco ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
|
||||
passthru = { inherit gtk version; };
|
||||
}
|
||||
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
homepage = https://sourceforge.net/projects/sdlgfx/;
|
||||
license = "LGPLv2+";
|
||||
license = stdenv.lib.licenses.lgpl2Plus;
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.bjg ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
|
||||
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
homepage = https://sourceforge.net/projects/sdlgfx/;
|
||||
license = "LGPLv2+";
|
||||
license = stdenv.lib.licenses.lgpl2Plus;
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.bjg ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
|
||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "http://www.chiark.greenend.org.uk/~ian/adns/";
|
||||
description = "Asynchronous DNS Resolver Library";
|
||||
license = "LGPL-v2";
|
||||
license = stdenv.lib.licenses.lgpl2;
|
||||
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
|
||||
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||
of course, AGG can do much more than that.
|
||||
'';
|
||||
|
||||
license = "GPLv2+";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
homepage = http://www.antigrain.com/;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -26,6 +26,6 @@ stdenv.mkDerivation {
|
||||
# The wrapper code is free, but not the libraries from 3gpp.
|
||||
# It's a source code reference implementation with patents and licenses on
|
||||
# some countries, not redistributable.
|
||||
license = "unfree";
|
||||
license = stdenv.lib.licenses.unfree;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -36,6 +36,6 @@ stdenv.mkDerivation {
|
||||
# The wrapper code is free, but not the libraries from 3gpp.
|
||||
# It's a source code reference implementation with patents and licenses on
|
||||
# some countries, not redistributable.
|
||||
license = "unfree";
|
||||
license = stdenv.lib.licenses.unfree;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Spell checker for many languages";
|
||||
homepage = http://aspell.net/;
|
||||
license = "LGPLv2+";
|
||||
license = stdenv.lib.licenses.lgpl2Plus;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
homepage = http://library.gnome.org/devel/atk/;
|
||||
|
||||
license = "LGPLv2+";
|
||||
license = stdenv.lib.licenses.lgpl2Plus;
|
||||
|
||||
maintainers = with stdenv.lib.maintainers; [ raskin urkud ];
|
||||
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, alsaLib, fftw, jackaudio, libsamplerate
|
||||
{ stdenv, fetchurl, alsaLib, fftw, jack2, libsamplerate
|
||||
, libsndfile, pkgconfig, python
|
||||
}:
|
||||
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
alsaLib fftw jackaudio libsamplerate libsndfile pkgconfig python
|
||||
alsaLib fftw jack2 libsamplerate libsndfile pkgconfig python
|
||||
];
|
||||
|
||||
configurePhase = "python waf configure --prefix=$out";
|
||||
|
||||
@@ -11,6 +11,6 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "Image pixel format conversion library";
|
||||
homepage = http://gegl.org/babl/;
|
||||
license = "GPL3";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -11,6 +11,6 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Image pixel format conversion library";
|
||||
homepage = http://gegl.org/babl/;
|
||||
license = "GPL3";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Add-on for the OGRE, aimed to render atmospheric effects";
|
||||
homepage = http://code.google.com/p/caelum/;
|
||||
license = "LGPLv2.1+";
|
||||
license = stdenv.lib.licenses.lgpl21Plus;
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "GNU ccRTP is an implementation of RTP, the real-time transport protocol from the IETF";
|
||||
homepage = "http://www.gnu.org/software/ccrtp/";
|
||||
license = "GPLv2";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "GNU ccRTP, an implementation of the IETF real-time transport protocol (RTP)";
|
||||
homepage = http://www.gnu.org/software/ccrtp/;
|
||||
license = "GPLv2";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = with stdenv.lib.maintainers; [ marcweber ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
|
||||
@@ -26,6 +26,6 @@ stdenv.mkDerivation {
|
||||
|
||||
homepage = http://check.sourceforge.net/;
|
||||
|
||||
license = "LGPLv2+";
|
||||
license = stdenv.lib.licenses.lgpl2Plus;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -19,6 +19,6 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = http://www.cs.wisc.edu/condor/classad/;
|
||||
description = "The Classified Advertisements library provides a generic means for matching resources";
|
||||
license = "Apache-2.0";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
|
||||
# CLooG-PPL is actually a port of GLooG from PolyLib to PPL.
|
||||
homepage = http://www.cloog.org/;
|
||||
|
||||
license = "GPLv2+";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
|
||||
maintainers = [ ];
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
homepage = http://www.cloog.org/;
|
||||
|
||||
license = "GPLv2+";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.shlevy ];
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
homepage = http://www.clutter-project.org/;
|
||||
|
||||
license = "LGPLv2+";
|
||||
license = stdenv.lib.licenses.lgpl2Plus;
|
||||
|
||||
maintainers = with stdenv.lib.maintainers; [ lethalman ];
|
||||
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
||||
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
homepage = http://www.clutter-project.org/;
|
||||
|
||||
license = "LGPLv2+";
|
||||
license = stdenv.lib.licenses.lgpl2Plus;
|
||||
|
||||
maintainers = [ ];
|
||||
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
||||
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
homepage = http://www.clutter-project.org/;
|
||||
|
||||
license = "LGPLv2+";
|
||||
license = stdenv.lib.licenses.lgpl2Plus;
|
||||
|
||||
maintainers = with stdenv.lib.maintainers; [ urkud ];
|
||||
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
||||
|
||||
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
|
||||
specific needs.
|
||||
'';
|
||||
|
||||
license = "LGPLv2+";
|
||||
license = stdenv.lib.licenses.lgpl2Plus;
|
||||
homepage = http://www.clutter-project.org/;
|
||||
|
||||
maintainers = with stdenv.lib.maintainers; [ urkud ];
|
||||
|
||||
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
|
||||
specific needs.
|
||||
'';
|
||||
|
||||
license = "LGPLv2+";
|
||||
license = stdenv.lib.licenses.lgpl2Plus;
|
||||
homepage = http://www.clutter-project.org/;
|
||||
|
||||
maintainers = with stdenv.lib.maintainers; [ urkud ];
|
||||
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
homepage = http://www.coin3d.org/;
|
||||
license = "GPLv2+";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
description = "High-level, retained-mode toolkit for effective 3D graphics development";
|
||||
maintainers = [ stdenv.lib.maintainers.viric ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
|
||||
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
homepage = http://www.gnu.org/software/commoncpp/;
|
||||
license = "GPLv2+";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
maintainers = [ stdenv.lib.maintainers.marcweber
|
||||
stdenv.lib.maintainers.ludo
|
||||
];
|
||||
|
||||
@@ -13,6 +13,6 @@ stdenv.mkDerivation rec {
|
||||
description = "A configuration parser library";
|
||||
|
||||
homepage = http://www.azzit.de/dotconf/;
|
||||
license = "LGPLv21+";
|
||||
license = stdenv.lib.licenses.lgpl21Plus;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
x@{builderDefsPackage
|
||||
, ladspaH, jackaudio, liblo, alsaLib, qt4, libX11, libsndfile, libSM
|
||||
, ladspaH, jack2, liblo, alsaLib, qt4, libX11, libsndfile, libSM
|
||||
, libsamplerate, libtool, autoconf, automake, xproto, libICE, pkgconfig
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
|
||||
30
pkgs/development/libraries/epoxy/default.nix
Normal file
30
pkgs/development/libraries/epoxy/default.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{ stdenv, fetchurl, autoconf, autogen, automake, gettext, libX11
|
||||
, mesa, pkgconfig, python, utilmacros
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "epoxy-${version}";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/anholt/libepoxy/archive/v${version}.tar.gz";
|
||||
sha256 = "1xp8g6b7xlbym2rj4vkbl6xpb7ijq7glpv656mc7k9b01x22ihs2";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
autoconf autogen automake gettext libX11 mesa pkgconfig python
|
||||
utilmacros
|
||||
];
|
||||
|
||||
configureScript = ''
|
||||
./autogen.sh --prefix="$out"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A library for handling OpenGL function pointer management";
|
||||
homepage = https://github.com/anholt/libepoxy;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ libosip openssl pkgconfig ];
|
||||
|
||||
meta = {
|
||||
license = "GPLv2+";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
description = "Library that hides the complexity of using the SIP protocol";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ libosip openssl pkgconfig ];
|
||||
|
||||
meta = {
|
||||
license = "GPLv2+";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
description = "Library that hides the complexity of using the SIP protocol";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -11,6 +11,6 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "An open source MPEG-4 and MPEG-2 AAC decoder";
|
||||
homepage = http://www.audiocoding.com/faad2.html;
|
||||
license = "GPLv2";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -16,6 +16,6 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = http://code.google.com/p/ffmpegsource/;
|
||||
description = "Libav/ffmpeg based source library for easy frame accurate access";
|
||||
license = "MIT";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
Current aims are to make FOX completely platform independent, and thus programs written against the FOX library will be only a compile away from running on a variety of platforms.
|
||||
'';
|
||||
homepage = "http://fox-toolkit.org";
|
||||
license = "LGPLv3";
|
||||
license = stdenv.lib.licenses.lgpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.bbenoist ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
|
||||
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
Current aims are to make FOX completely platform independent, and thus programs written against the FOX library will be only a compile away from running on a variety of platforms.
|
||||
'';
|
||||
homepage = "http://fox-toolkit.org";
|
||||
license = "LGPLv3";
|
||||
license = stdenv.lib.licenses.lgpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.bbenoist ];
|
||||
platforms = stdenv.lib.platforms.mesaPlatforms;
|
||||
};
|
||||
|
||||
@@ -1,10 +1,18 @@
|
||||
{stdenv, fetchurl, openal}:
|
||||
{ stdenv, fetchurl, openal }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "freealut-1.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.openal.org/openal_webstf/downloads/freealut-1.1.0.tar.gz;
|
||||
url = "http://www.openal.org/openal_webstf/downloads/${name}.tar.gz";
|
||||
sha256 = "0kzlil6112x2429nw6mycmif8y6bxr2cwjcvp18vh6s7g63ymlb0";
|
||||
};
|
||||
buildInputs = [openal];
|
||||
|
||||
buildInputs = [ openal ];
|
||||
|
||||
meta = {
|
||||
homepage = "http://openal.org/";
|
||||
description = "Free implementation of OpenAL's ALUT standard";
|
||||
license = stdenv.lib.licenses.lgpl2;
|
||||
};
|
||||
}
|
||||
|
||||
22
pkgs/development/libraries/frei0r/default.nix
Normal file
22
pkgs/development/libraries/frei0r/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ stdenv, fetchurl, autoconf, cairo, opencv, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "frei0r-plugins-${version}";
|
||||
version = "1.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://files.dyne.org/.xsend.php?file=frei0r/releases/${name}.tar.gz";
|
||||
sha256 = "0mxyhdp1p1a3ga8170ijygb870zwbww1dgp3kdr1nd4zvsmzqw44";
|
||||
};
|
||||
|
||||
buildInputs = [ autoconf cairo opencv pkgconfig ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://frei0r.dyne.org;
|
||||
description = "Minimalist, cross-platform, shared video plugins";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
platforms = platforms.linux;
|
||||
|
||||
};
|
||||
}
|
||||
@@ -27,7 +27,7 @@ composableDerivation.composableDerivation {} (fixed: {
|
||||
meta = {
|
||||
description = "Translator library for raster geospatial data formats";
|
||||
homepage = http://www.gdal.org/;
|
||||
license = "X/MIT";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user