Skip to content

Commit

Permalink
Merge commit 'refs/top-bases/experimental/nodejs' into experimental/n…
Browse files Browse the repository at this point in the history
…odejs

* commit 'refs/top-bases/experimental/nodejs': (92 commits)
  ledger3: Don't run tests on Darwin (they fail).
  cogl: fix build on darwin (close NixOS#924)
  Update nixUnstable
  texliveAggregationFunction: fix eval
  asymptote: fix build on darwin
  libusb1: fix build on darwin via dropping udev (close NixOS#920)
  texLive: fix build on darwin
  Added abook 0.6.0pre2
  chromium: Update all channels to latest versions.
  bacula: fix build on darwin
  perlPackages.ack: fix build on darwin
  lttng: 2.2.x -> 2.3.0
  GNU Stow: package - Symlink manager which makes it easy to manage dotfiles
  linux: Update to 3.4.60
  Removed obsolete patchelf instruction that was commented out
  Add patch to fix GET Bucket requests to fake-s3
  libX11 is not in vice's rpath. this fixes it
  gsoap: 2.7.15 -> 2.8.16
  source-highlight: 3.1.6 -> 3.1.7
  source-highlight: unbreak by using boost 1.53
  ...
  • Loading branch information
MarcWeber committed Sep 6, 2013
2 parents 95b809d + 4fe9a89 commit 5ca9a84
Show file tree
Hide file tree
Showing 88 changed files with 2,916 additions and 1,205 deletions.
2 changes: 1 addition & 1 deletion pkgs/applications/editors/emacs-24/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
(if withX then
[ "--with-x-toolkit=gtk" "--with-xft"]
else
[ "--with-x-toolkit=no" ])
[ "--with-x=no --with-xpm=no --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no" ])
# On NixOS, help Emacs find `crt*.o'.
++ stdenv.lib.optional (stdenv ? glibc)
[ "--with-crt-dir=${stdenv.glibc}/lib" ];
Expand Down
14 changes: 7 additions & 7 deletions pkgs/applications/editors/sublime/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ in
assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux";

stdenv.mkDerivation rec {
name = "sublimetext-2.0.1";
name = "sublimetext-2.0.2";
src =
if stdenv.system == "i686-linux" then
fetchurl {
name = "sublimetext-2.0.1.tar.bz2";
url = http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.1.tar.bz2;
sha256 = "1x6vmlfn5mdbf23nyfr7dhhi6y60lnpcmqj59svl3bzvayijsxaf";
name = "sublimetext-2.0.2.tar.bz2";
url = http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2.tar.bz2;
sha256 = "026g5mppk28lzzzn9ibykcqkrd5msfmg0sc0z8w8jd7v3h28wcq7";
}
else
fetchurl {
name = "sublimetext-2.0.1.tar.bz2";
url = http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.1%20x64.tar.bz2;
sha256 = "0174dnp9zika5as25mcls5y0qzhh8mnc5ajxsxz7qjrk4lrzk3c5";
name = "sublimetext-2.0.2.tar.bz2";
url = http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2%20x64.tar.bz2;
sha256 = "115b71nbv9mv8cz6bkjwpbdf2ywnjc1zy2d3080f6ck4sqqfvfh1";
};
buildCommand = ''
tar xvf ${src}
Expand Down
21 changes: 21 additions & 0 deletions pkgs/applications/misc/abook/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{ stdenv, fetchurl, pkgconfig, ncurses, readline }:

let version = "0.6.0pre2"; in
stdenv.mkDerivation rec {
name = "abook-${version}";

src = fetchurl {
url = "http://abook.sourceforge.net/devel/${name}.tar.gz";
sha256 = "59d444504109dd96816e003b3023175981ae179af479349c34fa70bc12f6d385";
};

buildInputs = [ pkgconfig ncurses readline ];

meta = {
homepage = "http://abook.sourceforge.net/";
description = "Abook is a text-based addressbook program designed to use with mutt mail client.";
license = "GPLv2";
maintainers = [ stdenv.lib.maintainers.edwtjo ];
platforms = with stdenv.lib.platforms; linux;
};
}
5 changes: 2 additions & 3 deletions pkgs/applications/misc/calibre/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
}:

stdenv.mkDerivation rec {
name = "calibre-1.0.0";
# 0.9.12+ versions won't build due to missing qt4 private headers: https://bugs.launchpad.net/calibre/+bug/1094719
name = "calibre-1.1.0";

src = fetchurl {
url = "mirror://sourceforge/calibre/${name}.tar.xz";
sha256 = "0qz369n46ijk8jbbgwnvj3v0byp5npn2zdb4lvc6mwa143mr6d62";
sha256 = "1gb6h6jn2fj5b1xv5xkmsrdrid2k8zp496alnfi88x7dmahfb6f6";
};

inherit python;
Expand Down
18 changes: 9 additions & 9 deletions pkgs/applications/networking/browsers/chromium/sources.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# This file is autogenerated from update.sh in the same directory.
{
dev = {
version = "30.0.1599.10";
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-30.0.1599.10.tar.xz";
sha256 = "1h6wak2sy0cawsk63gdbg7ggq8lg7cahs1v8i0hvzwm9k6apwphs";
version = "31.0.1612.0";
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-31.0.1612.0.tar.xz";
sha256 = "19h6i8jdnpzbvyq8pk9jq89lghnydpij9yj8xfs7qdgqgyxxcl5w";
};
beta = {
version = "29.0.1547.57";
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-29.0.1547.57.tar.xz";
sha256 = "0xl595fng7qzlc8vh73lslzchr6ayd4vlmz2mpqppb8pai520xxf";
version = "30.0.1599.22";
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-30.0.1599.22.tar.xz";
sha256 = "0955q7fz6nfr7nbxa8hp9q7mgljlan42rjg8ql5x2vn6c80sjji8";
};
stable = {
version = "29.0.1547.62";
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-29.0.1547.62.tar.xz";
sha256 = "0ld7cm287k2lkq3rfnhwgvvnjbm9345wvjbwfn4yzwy7gxzyfld6";
version = "29.0.1547.65";
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-29.0.1547.65.tar.xz";
sha256 = "0vmb5dsh61jyr68838pnczlc2mhvvil4hjkrmwklzlfz30c8s2w6";
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ stdenv.mkDerivation {
sha1 = "4bcbb33f0b3ea050e805723680b5669d80438812";
};

enableParallelBuilding = true;
#enableParallelBuilding = true;

buildInputs =
[ pkgconfig perl python zip unzip bzip2 gtk dbus_glib alsaLib libIDL nspr
Expand Down
21 changes: 13 additions & 8 deletions pkgs/applications/office/ledger/3.0.nix
Original file line number Diff line number Diff line change
@@ -1,25 +1,30 @@
{ stdenv, fetchgit, cmake, boost, gmp, mpfr, libedit, python, texinfo }:

let
rev = "26d7197";
rev = "0ec4291";
in
stdenv.mkDerivation {
name = "ledger3-2013.06.${rev}";
name = "ledger3-2013.08.${rev}";

src = fetchgit {
url = "https://github.com/ledger/ledger.git";
inherit rev;
sha256 = "02nf4kdrd61q9rf5rrarwmx47y2ya5qix7n82cj9qi9p4v3k3m2g";
sha256 = "1y4rcbx8y2fxkdc7i06n1i5jf3cq05bvzpb8498mis2gwfmkw470";
};

buildInputs = [ cmake boost gmp mpfr libedit python texinfo ];

# Unit tests fail in the current git snapshot. Try enabling them again
# when updating this package!
doCheck = false;

# Tests on Darwin are failing
doCheck = !stdenv.isDarwin;
enableParallelBuilding = true;

# Skip byte-compiling of emacs-lisp files because this is currently
# broken in ledger...
postInstall = ''
mkdir -p $out/share/emacs/site-lisp/
cp -v $src/lisp/*.el $out/share/emacs/site-lisp/
'';

meta = {
homepage = "http://ledger-cli.org/";
description = "A double-entry accounting system with a command-line reporting interface";
Expand All @@ -33,6 +38,6 @@ stdenv.mkDerivation {
'';

platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.simons ];
maintainers = with stdenv.lib.maintainers; [ simons the-kenny ];
};
}
14 changes: 12 additions & 2 deletions pkgs/applications/office/libreoffice/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ stdenv.mkDerivation rec {
find . -type f -print0 | xargs -0 sed -i \
-e 's,! */bin/bash,!${bash}/bin/bash,' -e 's,\(!\|SHELL=\) */usr/bin/env bash,\1${bash}/bin/bash,' \
-e 's,! */usr/bin/perl,!${perl}/bin/perl,' -e 's,! */usr/bin/env perl,!${perl}/bin/perl,' \
-e 's,! */usr/bin/python,!${python3}/bin/python,' -e 's,! */usr/bin/env python,!${python3}/bin/python,'
-e 's,! */usr/bin/python,!${python3}/bin/${python3.executable},' -e 's,! */usr/bin/env python,!${python3}/bin/${python3.executable},'
#sed -i 's,ANT_OPTS+="\(.*\)",ANT_OPTS+=\1,' apache-commons/java/*/makefile.mk
'';

Expand All @@ -157,6 +157,10 @@ stdenv.mkDerivation rec {
preConfigure = ''
# Needed to find genccode
PATH=$PATH:${icu}/sbin
configureFlagsArray=(
"--with-parallelism=$NIX_BUILD_CORES"
);
'';

makeFlags = "SHELL=${bash}/bin/bash";
Expand All @@ -180,11 +184,17 @@ stdenv.mkDerivation rec {

# It installs only things to $out/lib/libreoffice
postInstall = ''
mkdir -p $out/bin
mkdir -p $out/bin $out/share
for a in sbase scalc sdraw smath swriter spadmin simpress soffice; do
ln -s $out/lib/libreoffice/program/$a $out/bin/$a
done
ln -s $out/bin/soffice $out/bin/libreoffice
ln -s $out/lib/libreoffice/share/xdg $out/share/applications
for f in $out/share/applications/*.desktop; do
substituteInPlace "$f" --replace "Exec=libreoffice4.0" "$out/bin/soffice"
substituteInPlace "$f" --replace "Exec=libreoffice" "$out/bin/soffice"
done
'';

configureFlags = [
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/version-management/meld/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ stdenv.mkDerivation {
wrapProgram $out/bin/meld --prefix PYTHONPATH : $PYTHONPATH:${pygtk}/lib/${python.libPrefix}/site-packages/gtk-2.0
'';

meta = {
meta = with stdenv.lib; {
description = "Visual diff and merge tool";
homepage = http://meld.sourceforge.net;
license = "GPLv2+";
platforms = platforms.linux;
};
}
7 changes: 7 additions & 0 deletions pkgs/development/interpreters/ruby/patches.nix
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,11 @@ in
};

pry = { gemFlags = "--no-ri --no-rdoc"; };

fakes3 = {
postInstall = ''
cd $out/${ruby.gemPath}/gems/*
patch -Np1 -i ${../../ruby-modules/fake-s3-list-bucket.patch}
'';
};
}
27 changes: 27 additions & 0 deletions pkgs/development/libraries/aspell/dictionaries.nix
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,15 @@ in {
};
};

nb = buildDict {
shortName = "nb-0.50.1-0";
fullName = "Norwegian Bokmal";
src = fetchurl {
url = "mirror://gnu/aspell/dict/nb/aspell-nb-0.50.1-0.tar.bz2";
sha256 = "12i2bmgdnlkzfinb20j2a0j4a20q91a9j8qpq5vgabbvc65nwx77";
};
};

nl = buildDict {
shortName = "nl-0.50-2";
fullName = "Dutch";
Expand All @@ -113,6 +122,15 @@ in {
'';
};

nn = buildDict {
shortName = "nn-0.50.1-0";
fullName = "Norwegian Nynorsk";
src = fetchurl {
url = "mirror://gnu/aspell/dict/nn/aspell-nn-0.50.1-1.tar.bz2";
sha256 = "0w2k5l5rbqpliripgqwiqixz5ghnjf7i9ggbrc4ly4vy1ia10rmc";
};
};

pl = buildDict {
shortName = "pl-6.0_20061121-0";
fullName = "Polish";
Expand All @@ -131,4 +149,13 @@ in {
};
};

sv = buildDict {
shortName = "sv-0.51-0";
fullName = "Swedish";
src = fetchurl {
url = mirror://gnu/aspell/dict/sv/aspell-sv-0.51-0.tar.bz2;
sha256 = "02jwkjhr32kvyibnyzgx3smbnm576jwdzg3avdf6zxwckhy5fw4v";
};
};

}
33 changes: 21 additions & 12 deletions pkgs/development/libraries/cogl/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig, mesa, glib, gdk_pixbuf
, pangoSupport ? true, pango, cairo
, libXfixes, libXcomposite, libXdamage }:
{ stdenv, fetchurl, pkgconfig, mesa, glib, gdk_pixbuf, libXfixes, libXcomposite
, libXdamage, libintlOrEmpty
, pangoSupport ? true, pango, cairo }:

stdenv.mkDerivation rec {
name = "cogl-1.8.2";
Expand All @@ -13,19 +13,28 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];

propagatedBuildInputs =
[ mesa glib gdk_pixbuf libXfixes libXcomposite libXdamage ];
[ mesa glib gdk_pixbuf libXfixes libXcomposite libXdamage ]
++ libintlOrEmpty;

buildInputs = stdenv.lib.optionals pangoSupport [ pango cairo ];

meta = {
COGL_PANGO_DEP_CFLAGS
= stdenv.lib.optionalString (stdenv.isDarwin && pangoSupport)
"-I${pango}/include/pango-1.0 -I${cairo}/include/cairo";

NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";

meta = with stdenv.lib; {
description = "A small open source library for using 3D graphics hardware for rendering";
longDescription =
''
Cogl is a small open source library for using 3D graphics hardware for
rendering. The API departs from the flat state machine style of OpenGL
and is designed to make it easy to write orthogonal components that can
render without stepping on each others toes.
'';
maintainers = with maintainers; [ lovek323 ];

longDescription = ''
Cogl is a small open source library for using 3D graphics hardware for
rendering. The API departs from the flat state machine style of OpenGL
and is designed to make it easy to write orthogonal components that can
render without stepping on each other's toes.
'';

inherit (glib.meta) platforms;
};
}
33 changes: 23 additions & 10 deletions pkgs/development/libraries/gsoap/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,32 @@
{ stdenv, fetchurl, m4, bison, flex, openssl, zlib }:
{ stdenv, fetchurl, unzip, m4, bison, flex, openssl, zlib }:

let version = "2.7.15"; in

stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "gsoap-${version}";
version = "2.8.16";

src = fetchurl {
url = "mirror://sourceforge/gsoap2/files/gSOAP/2.7.15%20stable/gsoap_${version}.tar.gz";
sha256 = "3ed883ab1a3d32b5bb2bf599306f247f6de3ffedd8890eb0e6303ae15995dc12";
url = "mirror://sourceforge/project/gsoap2/gSOAP/gsoap_${version}.zip";
sha256 = "00lhhysa9f9ychkvn1ij0ngr54l1dl9ww801yrliwq5c05gql7a6";
};

buildInputs = [ m4 bison flex openssl zlib ];
meta = {
buildInputs = [ unzip m4 bison flex openssl zlib ];

meta = with stdenv.lib; {
description = "C/C++ toolkit for SOAP web services and XML-based applications";
homepage = "http://www.cs.fsu.edu/~engelen/soap.html";
description = "The gSOAP toolkit is an open source C and C++ software development toolkit for SOAP/WSDL and XML Web services.";
license = "free-non-copyleft";
# gsoap is dual/triple licensed (see homepage for details):
# 1. gSOAP Public License 1.3 (based on Mozilla Public License 1.1).
# Components NOT covered by the gSOAP Public License are:
# - wsdl2h tool and its source code output,
# - soapcpp2 tool and its source code output,
# - UDDI code,
# - the webserver example code in gsoap/samples/webserver,
# - and several example applications in the gsoap/samples directory.
# 2. GPLv2 covers all of the software
# 3. Proprietary commercial software development license (removes GPL
# restrictions)
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ cabal.mkDerivation (self: {
hashtables languageCQuote mainlandPretty mtl SafeSemaphore srcloc
text transformers unorderedContainers
];
jailbreak = true;
meta = {
homepage = "https://github.com/AccelerateHS/accelerate-cuda/";
description = "Accelerate backend for NVIDIA GPUs";
Expand Down
17 changes: 17 additions & 0 deletions pkgs/development/libraries/haskell/case-insensitive/1.1.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{ cabal, deepseq, hashable, HUnit, testFramework
, testFrameworkHunit, text
}:

cabal.mkDerivation (self: {
pname = "case-insensitive";
version = "1.1";
sha256 = "1likcqdlhbbk78s887n5g9a4jjxxyh46hj4wc7l7snf6f9ygd5lj";
buildDepends = [ deepseq hashable text ];
testDepends = [ HUnit testFramework testFrameworkHunit text ];
meta = {
homepage = "https://github.com/basvandijk/case-insensitive";
description = "Case insensitive string comparison";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})
Loading

0 comments on commit 5ca9a84

Please sign in to comment.