Merge branch 'master' into x-updates
Conflicts (easy): pkgs/desktops/xfce/core/xfdesktop.nix pkgs/development/libraries/cairo/default.nix pkgs/development/libraries/pango/default.nix
This commit is contained in:
@@ -35,7 +35,7 @@ EOF
|
||||
cd ../build
|
||||
|
||||
configureScript=../$sourceRoot/configure
|
||||
configureFlags="--enable-languages=$langs"
|
||||
configureFlags="--enable-languages=$langs --disable-multilib"
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -15,7 +15,12 @@ stdenv.mkDerivation {
|
||||
url = http://ftp.gnu.org/gnu/gcc/gcc-3.3.6/gcc-3.3.6.tar.bz2;
|
||||
md5 = "6936616a967da5a0b46f1e7424a06414";
|
||||
};
|
||||
|
||||
|
||||
# inspiration: https://aur.archlinux.org/packages/g77/
|
||||
postPatch = ''
|
||||
substituteInPlace gcc/config/i386/linux.h --replace 'struct siginfo' siginfo_t
|
||||
'';
|
||||
|
||||
inherit noSysDirs langC langCC langFortran;
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -15,7 +15,12 @@ stdenv.mkDerivation {
|
||||
md5 = "4a21ac777d4b5617283ce488b808da7b";
|
||||
};
|
||||
|
||||
patches = if noSysDirs then [./no-sys-dirs.patch] else [];
|
||||
patches = stdenv.lib.optional noSysDirs ./no-sys-dirs.patch;
|
||||
|
||||
# inspiration: https://aur.archlinux.org/packages/g77/
|
||||
postPatch = ''
|
||||
substituteInPlace gcc/config/i386/linux.h --replace 'struct siginfo' siginfo_t
|
||||
'';
|
||||
|
||||
inherit noSysDirs profiledCompiler;
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{ stdenv, fetchurl, ghc, perl, gmp, ncurses }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "7.7.20121213";
|
||||
version = "7.7.20130223";
|
||||
name = "ghc-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://haskell.org/ghc/dist/current/dist/${name}-src.tar.bz2";
|
||||
sha256 = "0z9ld6271jzv3mx02vqaakirj79pm2vzxnv5a178r6v874qbzx3p";
|
||||
sha256 = "1naw6x1mjij10h9k4biard2pkzi6zml26vv4h34asprv0h6ymdbg";
|
||||
};
|
||||
|
||||
buildInputs = [ ghc perl gmp ncurses ];
|
||||
|
||||
@@ -60,17 +60,22 @@ stdenv.mkDerivation rec {
|
||||
echo -n .
|
||||
done
|
||||
for f in "$currentPath/etc/bash_completion.d/"*; do
|
||||
mkdir -p $out/etc/bash_completion.d
|
||||
mkdir -p $out/etc/bash_completion.d
|
||||
ln -s $f $out/etc/bash_completion.d/
|
||||
echo -n .
|
||||
done
|
||||
for s in 1 2 3 4 5 6 7 8 9; do
|
||||
for f in "$currentPath/share/man/man$s/"*; do
|
||||
mkdir -p $out/share/man/man$s
|
||||
for s in 1 2 3 4 5 6 7 8 9; do
|
||||
for f in "$currentPath/share/man/man$s/"*; do
|
||||
mkdir -p $out/share/man/man$s
|
||||
ln -sv $f $out/share/man/man$s/
|
||||
echo -n .
|
||||
done
|
||||
done
|
||||
done
|
||||
done
|
||||
for f in "$currentPath/share/emacs/site-lisp/"*; do
|
||||
mkdir -p $out/share/emacs/site-lisp
|
||||
ln -s $f $out/share/emacs/site-lisp/
|
||||
echo -n .
|
||||
done
|
||||
for f in "$currentPkgDir/"*.conf; do
|
||||
ln -s $f $linkedPkgDir
|
||||
echo -n .
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "idris";
|
||||
version = "0.9.6.1";
|
||||
sha256 = "1wy79rrm5pvg77i9nvwkcg6swsdbmg2izch48n4lj4idj0ga5g62";
|
||||
version = "0.9.7";
|
||||
sha256 = "0y3rnxbs2s7kxlzlc347vwpylw2p0pdz50zgkyii21gd6klqvd45";
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
{
|
||||
stdenv, fetchurl, perl, ghc, binary, zlib, utf8String, readline, fgl,
|
||||
regexCompat, HsSyck, random
|
||||
}:
|
||||
@@ -19,11 +19,12 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = ''
|
||||
A Haskell compiler which aims to produce the most efficient programs
|
||||
'';
|
||||
homepage = "http://repetae.net/computer/jhc/";
|
||||
description = "A Haskell compiler which aims to produce the most efficient programs";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = [ stdenv.lib.maintainers.aforemny ];
|
||||
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.aforemny stdenv.lib.maintainers.simons ];
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
32
pkgs/development/compilers/sdcc/default.nix
Normal file
32
pkgs/development/compilers/sdcc/default.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ stdenv, fetchurl, bison, flex, boost, gputils ? null }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "3.2.0";
|
||||
name = "sdcc-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/sdcc/sdcc-src-${version}.tar.bz2";
|
||||
sha256 = "15gdl04kqpvmwvvplss5nmp3bz8rhz48dhb0wmb2v9v9sn7qj01d";
|
||||
};
|
||||
|
||||
# TODO: remove this comment when gputils != null is tested
|
||||
buildInputs = [ bison flex boost gputils ];
|
||||
|
||||
configureFlags = ''
|
||||
${if gputils == null then "--disable-pic14-port --disable-pic16-port" else ""}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Small Device C Compiler";
|
||||
longDescription = ''
|
||||
SDCC is a retargettable, optimizing ANSI - C compiler suite that targets
|
||||
the Intel MCS51 based microprocessors (8031, 8032, 8051, 8052, etc.), Maxim
|
||||
(formerly Dallas) DS80C390 variants, Freescale (formerly Motorola) HC08 based
|
||||
(hc08, s08) and Zilog Z80 based MCUs (z80, z180, gbz80, Rabbit 2000/3000,
|
||||
Rabbit 3000A). Work is in progress on supporting the Microchip PIC16 and
|
||||
PIC18 targets. It can be retargeted for other microprocessors.
|
||||
'';
|
||||
homepage = http://sdcc.sourceforge.net/;
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user