Compare commits

...

461 Commits

Author SHA1 Message Date
Michael Raskin
1c51aeea02 A segfault-creating state of the branch.
svn path=/nixpkgs/branches/stdenv-bootstrap-20100825/; revision=23413
2010-08-24 22:08:01 +00:00
Lluís Batlle i Rossell
f16353b6f2 Updated from trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=23275
2010-08-20 13:41:12 +00:00
Lluís Batlle i Rossell
f7d0fcdaac Making the kernel builder accept the 'vmlinux' kerneltarget.
svn path=/nixpkgs/branches/stdenv-updates/; revision=23274
2010-08-20 13:30:59 +00:00
Lluís Batlle i Rossell
f8f53855d5 Setting a snapshot of unreleased binutils for the fuloong2f
svn path=/nixpkgs/branches/stdenv-updates/; revision=23273
2010-08-20 13:29:57 +00:00
Eelco Dolstra
7dea1a0f4f * Revert to 2.6.32.18 for now, because we get a lot of "BUG:
scheduling while atomic" errors
  (e.g. http://hydra.nixos.org/build/568323/log/raw).  This might be
  fixed by this patch: http://lkml.org/lkml/2010/8/6/672

svn path=/nixpkgs/trunk/; revision=23272
2010-08-20 13:13:26 +00:00
Eelco Dolstra
3be78e74fb * Added xmlstarlet.
svn path=/nixpkgs/trunk/; revision=23271
2010-08-20 10:07:35 +00:00
Eelco Dolstra
2e230288bf * Latest kernels.
svn path=/nixpkgs/trunk/; revision=23270
2010-08-20 09:29:10 +00:00
Eelco Dolstra
7120017365 * Add meta info to xpf.
svn path=/nixpkgs/trunk/; revision=23269
2010-08-20 09:18:53 +00:00
Rob Vermaas
544cb2a0c9 updated calibre to 0.7.14
svn path=/nixpkgs/trunk/; revision=23268
2010-08-20 09:07:35 +00:00
Eelco Dolstra
9d4feab5c5 * NixOS: use nixStable.
svn path=/nixpkgs/trunk/; revision=23267
2010-08-20 08:52:59 +00:00
Yury G. Kudryashov
6345fa2d1d kdepim-runtime-4.4.92
svn path=/nixpkgs/trunk/; revision=23265
2010-08-19 22:57:09 +00:00
Yury G. Kudryashov
b16167a028 Add kdepim{,-runtime}-4.4.92 to manifest
svn path=/nixpkgs/trunk/; revision=23264
2010-08-19 22:56:06 +00:00
Yury G. Kudryashov
c7c210735d Fix symlink. TODO: upstream fix
svn path=/nixpkgs/trunk/; revision=23263
2010-08-19 22:54:38 +00:00
Yury G. Kudryashov
9e4202d273 make makeOverridable noop for functions like a: b: c(a, b)
svn path=/nixpkgs/trunk/; revision=23262
2010-08-19 22:52:53 +00:00
Yury G. Kudryashov
e16427a899 Fix broken datadir in 4.5.0 as well
svn path=/nixpkgs/trunk/; revision=23261
2010-08-19 22:52:00 +00:00
Ludovic Courtès
c8b7ed425b GNU Autoconf 2.67.
svn path=/nixpkgs/trunk/; revision=23260
2010-08-19 16:58:08 +00:00
Ludovic Courtès
1b56623a8a GnuPG 2.0.16.
svn path=/nixpkgs/trunk/; revision=23259
2010-08-19 16:57:09 +00:00
Ludovic Courtès
82968aa583 GNU Parallel 20100722.
svn path=/nixpkgs/trunk/; revision=23258
2010-08-19 16:56:41 +00:00
Ludovic Courtès
d9e30eb4a4 GNU Rush 1.7.
svn path=/nixpkgs/trunk/; revision=23257
2010-08-19 16:55:51 +00:00
Ludovic Courtès
1f2cf89914 GNU Bison 2.4.3.
svn path=/nixpkgs/trunk/; revision=23256
2010-08-19 16:55:00 +00:00
Ludovic Courtès
b4cea12d6a GnuTLS 2.10.1.
svn path=/nixpkgs/trunk/; revision=23255
2010-08-19 16:54:39 +00:00
Ludovic Courtès
b4f887b7fb GNU Zile 2.3.19.
svn path=/nixpkgs/trunk/; revision=23254
2010-08-19 16:53:28 +00:00
Ludovic Courtès
a69596b951 gnupdate: Use the latest FFI.
* maintainers/scripts/gnu/gnupdate (version-string>?): Use the new
  `string->pointer', available in 1.9.12.

svn path=/nixpkgs/trunk/; revision=23253
2010-08-19 16:52:18 +00:00
Eelco Dolstra
7b9d03d596 * strictAttrs: return the original attribute set.
svn path=/nixpkgs/trunk/; revision=23252
2010-08-19 15:13:09 +00:00
Eelco Dolstra
e8f1c8a08a * Check eval-release.nix.
svn path=/nixpkgs/trunk/; revision=23250
2010-08-19 14:33:44 +00:00
Rob Vermaas
cf336d9c1d maven-build: use single target in stead of assembly to prevent test from being run twice
svn path=/nixpkgs/trunk/; revision=23249
2010-08-19 13:36:57 +00:00
Eelco Dolstra
1ac9dcd24d * Fix eval-release.nix by testing whether all attributes of a
derivation evaluate inside the tryEval.  This catches cases such as
  aufs2-util, which fails due to an assertion in its dependency aufs2.
* Explicitly blacklist "xbursttools" because it gives some
  evaluation error in cross-OpenSSL.  No idea why, probably due to
  some pass-through attribute.

svn path=/nixpkgs/trunk/; revision=23247
2010-08-19 12:37:10 +00:00
Rob Vermaas
12bfda97b8 maven-build: if surefire was run, generate html and add to result
svn path=/nixpkgs/trunk/; revision=23246
2010-08-19 12:24:14 +00:00
Eelco Dolstra
435ba71ac0 * Fix a "undefined variable `pyrex'" error that only happens on Nix
0.15, not 0.16.

svn path=/nixpkgs/trunk/; revision=23244
2010-08-19 09:55:50 +00:00
Rob Vermaas
105d0e540b startSamba: reintroduce force user option set to current user
svn path=/nixpkgs/trunk/; revision=23242
2010-08-19 08:31:13 +00:00
Yury G. Kudryashov
2957f9cc11 Now packageOverrides = p: { kde4 = kde45; qt4 = qt47; } should work
svn path=/nixpkgs/trunk/; revision=23241
2010-08-18 23:04:21 +00:00
Yury G. Kudryashov
9c1a9c2c4b Make qt47 more override-friendly
svn path=/nixpkgs/trunk/; revision=23240
2010-08-18 22:53:42 +00:00
Yury G. Kudryashov
59e4742a6a kdepim-4.4.5: don't build kleopatra
It doesn't compile with new boost. If someone cares, find a patch in KDE SVN history.

svn path=/nixpkgs/trunk/; revision=23239
2010-08-18 22:52:59 +00:00
Yury G. Kudryashov
0b8bd11ce3 Add kdeadmin-4.5.0
svn path=/nixpkgs/trunk/; revision=23238
2010-08-18 18:58:53 +00:00
Yury G. Kudryashov
96edbab084 kdewebdev-4.5.0
svn path=/nixpkgs/trunk/; revision=23237
2010-08-18 18:58:02 +00:00
Yury G. Kudryashov
6ba9dcb54c Add kdesdk-4.5.0
svn path=/nixpkgs/trunk/; revision=23236
2010-08-18 18:56:48 +00:00
Yury G. Kudryashov
e9fd810997 antlr-2: compile library
svn path=/nixpkgs/trunk/; revision=23235
2010-08-18 18:56:03 +00:00
Michael Raskin
ab8a599e8c Adding a script to use eval-release.nix for tests
svn path=/nixpkgs/trunk/; revision=23234
2010-08-18 16:37:46 +00:00
Yury G. Kudryashov
1e4d14863c make lensfun configure output debug info
svn path=/nixpkgs/trunk/; revision=23233
2010-08-18 15:56:40 +00:00
Yury G. Kudryashov
ee6b753bfe kdeplasma-addons-4.5.0
svn path=/nixpkgs/trunk/; revision=23232
2010-08-18 15:55:12 +00:00
Yury G. Kudryashov
fc3845c0cd kdeedu-4.5.0
svn path=/nixpkgs/trunk/; revision=23231
2010-08-18 15:54:27 +00:00
Yury G. Kudryashov
0be1e1af98 Add kdenetwork-4.5.0
svn path=/nixpkgs/trunk/; revision=23230
2010-08-18 15:54:10 +00:00
Yury G. Kudryashov
f8a0e07815 sort, add kdegames-4.5.0
svn path=/nixpkgs/trunk/; revision=23229
2010-08-18 15:52:58 +00:00
Peter Simons
0b529ff4d7 pkgs/development/interpreters/python/2.7: added various meta attributes
svn path=/nixpkgs/trunk/; revision=23228
2010-08-18 15:03:34 +00:00
Ludovic Courtès
be4bd94e35 ati-drivers: Comment out broken assertion.
svn path=/nixpkgs/trunk/; revision=23227
2010-08-18 14:45:13 +00:00
Ludovic Courtès
4a909f0838 libcanberra: Remove useless ‘gthread’ argument.
svn path=/nixpkgs/trunk/; revision=23226
2010-08-18 14:27:04 +00:00
Ludovic Courtès
904c8cfa0a Castle-Combat: Start fixing; rewrite using `buildPythonPackage'.
svn path=/nixpkgs/trunk/; revision=23225
2010-08-18 14:25:07 +00:00
Rob Vermaas
e7dd6dcc6a wrong location for surefire reports
svn path=/nixpkgs/trunk/; revision=23224
2010-08-18 11:48:35 +00:00
Rob Vermaas
fa7ec152db revert earlier change
svn path=/nixpkgs/trunk/; revision=23222
2010-08-18 11:03:36 +00:00
Rob Vermaas
b2c12ca3e9 added 'force user = root' to smb.conf to prevent permissions problems in vms caused by unknown uids
svn path=/nixpkgs/trunk/; revision=23220
2010-08-18 10:13:48 +00:00
Rob Vermaas
9e2074f199 remove mvncobertura phase
svn path=/nixpkgs/trunk/; revision=23219
2010-08-18 09:55:34 +00:00
Armijn Hemel
f194a8aa93 update to 2.7.3
svn path=/nixpkgs/trunk/; revision=23215
2010-08-17 20:28:40 +00:00
Michael Raskin
4e0ed004b7 Fix some more wrong-on-bootstrap cases
svn path=/nixpkgs/trunk/; revision=23214
2010-08-17 17:00:20 +00:00
Marco Maggesi
4b4ab6551c Improve os-specific/linux/blcr. Fix a problem with shared objects
svn path=/nixpkgs/trunk/; revision=23213
2010-08-17 16:53:34 +00:00
Michael Raskin
fc9f451cad Fix bootstrap calls
svn path=/nixpkgs/trunk/; revision=23212
2010-08-17 16:51:12 +00:00
Michael Raskin
1946545852 Update WebKit
svn path=/nixpkgs/trunk/; revision=23211
2010-08-17 16:37:14 +00:00
Peter Simons
1b13b33e8d pkgs/development/libraries/boost: updated to boost 1.44.0
Support paralllel building (if enabled by the user via --build-cores).

svn path=/nixpkgs/trunk/; revision=23210
2010-08-17 15:46:06 +00:00
Eelco Dolstra
f5f32a5b4b * Nix 0.16.
svn path=/nixpkgs/trunk/; revision=23208
2010-08-17 15:21:42 +00:00
Eelco Dolstra
4cbec5ca20 * Latest Flash player.
svn path=/nixpkgs/trunk/; revision=23204
2010-08-17 13:13:34 +00:00
Eelco Dolstra
ed5011cc02 * Make sure that in an override like:
python = pkgs.python27Full;
    pythonBase = pkgs.python27Base;

  a build of (say) Firefox doesn't depend on python26 as well as
  python27.  This happens because python27Full has this line:

    inherit (xlibs) libX11 xproto;

  which causes python27Full to use libX11 from pkgsOrig, where the
  override hasn't been applied.  The solution is to change it to
  
    inherit (pkgs.xlibs) libX11 xproto;

  In the future, to prevent this, we should make all-packages.nix a
  non-rec set and require all package references to explicitly go
  through pkgs.<attr>.  (Then we can also drop the ugly __overrides
  language "feature".)

svn path=/nixpkgs/trunk/; revision=23203
2010-08-17 11:35:49 +00:00
Peter Simons
f99f1bc055 pkgs/top-level/all-packages.nix: lower priority of the various python versions to give preference to pythonWrapper
svn path=/nixpkgs/trunk/; revision=23202
2010-08-17 10:19:48 +00:00
Peter Simons
7b00a8c39f pkgs/development/python-modules/pygtk: move installed python code down one directory hierarchy so that $PYTHONPATH can be guessed
svn path=/nixpkgs/trunk/; revision=23201
2010-08-17 10:18:17 +00:00
Peter Simons
f01ceffb9e pkgs/development/interpreters/python/wrapper.nix: clean up debug code
svn path=/nixpkgs/trunk/; revision=23200
2010-08-17 10:17:32 +00:00
Yury G. Kudryashov
ee967575e6 Add kdetoys-4.5.0
svn path=/nixpkgs/trunk/; revision=23198
2010-08-17 09:57:03 +00:00
Yury G. Kudryashov
501117b1c5 Rewrite builsystem fixes in upstream-supported manner
svn path=/nixpkgs/trunk/; revision=23195
2010-08-16 20:37:18 +00:00
Peter Simons
9670fca780 Added "python-$version-wrapper" expression.
The python wrapper expression expects a list of Python modules, $extraLibs,
which are added to $PYTHONPATH before executing the actual Python interpreter.

svn path=/nixpkgs/trunk/; revision=23194
2010-08-16 17:03:35 +00:00
Peter Simons
42b5198e5b pkgs/top-level/all-packages.nix: disable doCheck for setuptools when run with Python 2.7
The regression test suite fails with the following error:

  ======================================================================
  FAIL: test_get_script_header_jython_workaround (setuptools.tests.test_resources.ScriptHeaderTests)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/tmp/nix-build-0zz04maf217x7a6fq18ccmx5s1mrijlr-setuptools-0.6c11.drv-0/setuptools-0.6c11/setuptools/tests/test_resources.py", line 524, in test_get_script_header_jython_workaround
      self.assert_('Unable to adapt shebang line' in sys.stdout.getvalue())
  AssertionError: False is not True

I'm not sure yet what the problem is.

svn path=/nixpkgs/trunk/; revision=23193
2010-08-16 17:03:19 +00:00
Yury G. Kudryashov
6d97359a61 Add kdegraphics-4.5.0
svn path=/nixpkgs/trunk/; revision=23190
2010-08-16 12:40:41 +00:00
Yury G. Kudryashov
f9a218b691 Add ebook-tools-0.1.1
svn path=/nixpkgs/trunk/; revision=23189
2010-08-16 12:40:03 +00:00
Yury G. Kudryashov
0ee0fb9387 Add libktorrent
svn path=/nixpkgs/trunk/; revision=23186
2010-08-16 08:34:26 +00:00
Yury G. Kudryashov
737262c779 Add kdeaccessibility-4.5.0
svn path=/nixpkgs/trunk/; revision=23185
2010-08-16 08:23:59 +00:00
Eelco Dolstra
0c9a370aa0 * Updated desktop-file-utils to 0.16.
svn path=/nixpkgs/trunk/; revision=23182
2010-08-16 07:45:39 +00:00
Andres Löh
1a7a128b58 Version bumps for a number of Haskell packages.
svn path=/nixpkgs/trunk/; revision=23181
2010-08-15 18:28:08 +00:00
Yury G. Kudryashov
4db5058475 Add libqalculate
svn path=/nixpkgs/trunk/; revision=23180
2010-08-15 13:55:02 +00:00
Yury G. Kudryashov
db36f89eca Add cln
svn path=/nixpkgs/trunk/; revision=23179
2010-08-15 13:54:27 +00:00
Andres Löh
36ec694b7b uu-parsinglib version bump.
svn path=/nixpkgs/trunk/; revision=23178
2010-08-15 11:42:54 +00:00
Michael Raskin
f2fb66e606 Update DirectFB
svn path=/nixpkgs/trunk/; revision=23177
2010-08-14 20:32:35 +00:00
Michael Raskin
69a9e0a9fa Fix stupid typo in linux_2_6_35_oldI686 definition
svn path=/nixpkgs/trunk/; revision=23174
2010-08-14 17:13:42 +00:00
Michael Raskin
3a2f493750 Add latest Linux kernel for real i686 platform, not modern amd64-in-32bit-mode
svn path=/nixpkgs/trunk/; revision=23173
2010-08-14 16:04:02 +00:00
Yury G. Kudryashov
1975eefcb4 Add kdemultimedia-4.5.0
svn path=/nixpkgs/trunk/; revision=23172
2010-08-14 09:46:55 +00:00
Michael Raskin
2d062ba772 Allow override options being required in kernel configuration.. Otherwise modifying significantly config via extraConfig becomes practically impossible.
svn path=/nixpkgs/trunk/; revision=23171
2010-08-14 09:18:57 +00:00
Yury G. Kudryashov
dc831feb4b Add kdeutils-4.5.0
svn path=/nixpkgs/trunk/; revision=23170
2010-08-13 23:50:44 +00:00
Yury G. Kudryashov
e7b1d4c69e Add kdebase-runtime-4.5.0
svn path=/nixpkgs/trunk/; revision=23169
2010-08-13 23:14:16 +00:00
Yury G. Kudryashov
83a87e9959 More meta.platforms
svn path=/nixpkgs/trunk/; revision=23168
2010-08-13 23:11:58 +00:00
Yury G. Kudryashov
c55090ec78 Upgrade iproute, add meta info
svn path=/nixpkgs/trunk/; revision=23167
2010-08-13 23:11:11 +00:00
Yury G. Kudryashov
c5e44e6829 More metadata
svn path=/nixpkgs/trunk/; revision=23166
2010-08-13 23:09:53 +00:00
Yury G. Kudryashov
5ee59b9f2e Make unix_chkpwd suid root
svn path=/nixpkgs/trunk/; revision=23164
2010-08-13 14:06:41 +00:00
Yury G. Kudryashov
794c9dd1d7 Add kdeartwork-4.5.0
svn path=/nixpkgs/trunk/; revision=23163
2010-08-13 14:06:36 +00:00
Yury G. Kudryashov
dfd195020a Add eigen to kde-4.5
svn path=/nixpkgs/trunk/; revision=23162
2010-08-13 14:06:29 +00:00
Yury G. Kudryashov
5422f21700 xscreensaver: move hacks to default location, use stdenv, more deps
svn path=/nixpkgs/trunk/; revision=23161
2010-08-13 14:06:23 +00:00
Andres Löh
2bf5f684c9 GHC 6.12 compatibility of some Haskell libraries.
svn path=/nixpkgs/trunk/; revision=23160
2010-08-13 13:04:30 +00:00
Andres Löh
ced0d6de0d emacsPackages should inherit emacs to add the correct version
to the inner scope

svn path=/nixpkgs/trunk/; revision=23159
2010-08-13 07:55:57 +00:00
Michael Raskin
ac8fda68f6 Enable some more WebKit options
svn path=/nixpkgs/trunk/; revision=23158
2010-08-12 22:05:04 +00:00
Michael Raskin
6c4b96434e Update BzrTools together with Bazaar
svn path=/nixpkgs/trunk/; revision=23157
2010-08-12 19:59:30 +00:00
Michael Raskin
c4fb841955 An update for Bazaar was long overdue
svn path=/nixpkgs/trunk/; revision=23156
2010-08-12 19:53:38 +00:00
David Guibert
92d437c54f kernel updates and add kernel 2.6.35.1
svn path=/nixpkgs/trunk/; revision=23155
2010-08-12 16:33:19 +00:00
Peter Simons
b42dfe40ec Fix akonadi startup failure.
Patch akonadiserver so as to correct the datadir parameter passed to
mysql. Without this patch akonadiserver in KDE 4.4.5 would not start and
consequently kmail would crash during start up.

svn path=/nixpkgs/trunk/; revision=23154
2010-08-12 14:58:02 +00:00
Peter Simons
9be0b9fea6 Update version of ncftp.
The old version 3.2.3 seems to have disappeared from the hosting server.

svn path=/nixpkgs/trunk/; revision=23153
2010-08-12 14:57:15 +00:00
Peter Simons
961fda939c Fix some broken URLs.
svn path=/nixpkgs/trunk/; revision=23152
2010-08-12 14:56:14 +00:00
Peter Simons
04ee1d78ad pkgs/top-level/all-packages.nix: obsoleted setuptools_python26 and setuptools_python27
Instead of having different setuptools expressions, buildPythonPackage
uses override to choose the desired python version. Now, technically,
buildPythonPackage shouldn't exist in multiple versions either. Maybe
the whole thing should be moved into python packages?

svn path=/nixpkgs/trunk/; revision=23151
2010-08-12 14:01:51 +00:00
Michael Raskin
a30807b8fd Update WebKit. Enable MathML. Not maximum set of options is enabled now, probably..
svn path=/nixpkgs/trunk/; revision=23150
2010-08-12 13:56:57 +00:00
Yury G. Kudryashov
ca1914fa1a Remove old patch, add new one
Let other KDE modules install polkit policy files to $out,
not $kdelibs

svn path=/nixpkgs/trunk/; revision=23147
2010-08-12 13:01:06 +00:00
Peter Simons
63ce55d859 pkgs/top-level/all-packages.nix: lower priority of python27Base to ensure the full version is installed by default
svn path=/nixpkgs/trunk/; revision=23146
2010-08-12 12:53:51 +00:00
Peter Simons
65eb1a248f pkgs/development/python-modules/zope: updated to version 3.4.0
svn path=/nixpkgs/trunk/; revision=23145
2010-08-12 12:53:45 +00:00
Peter Simons
8c1717677e pkgs/top-level/all-packages.nix: dropped TODO note from Python 2.7
The expression used to say "FIXME: We lack ncurses support", but it
looks to me like ncurses *is* supported.

svn path=/nixpkgs/trunk/; revision=23144
2010-08-12 12:53:36 +00:00
Peter Simons
70a603c4bb pkgs/top-level/all-packages.nix: dropped getConfig support for Python 2.7
Python 2.7 can no longer be configured using the obsolete "getConfig"
mechanism. Instead, use "override" to fine-tune the installation.

svn path=/nixpkgs/trunk/; revision=23143
2010-08-12 12:53:26 +00:00
Eelco Dolstra
19158d7dec * CURL: build without scp support on Cygwin because libssh2 doesn't
build.

svn path=/nixpkgs/trunk/; revision=23142
2010-08-12 11:54:55 +00:00
Peter Simons
ff1c057f7a pkgs/top-level/all-packages.nix: removed lowPri modifier from python27Full
The "full" version is preferrable over the "base" version in user
profiles.

svn path=/nixpkgs/trunk/; revision=23141
2010-08-12 11:23:54 +00:00
Peter Simons
a1039a2744 pkgs/top-level/all-packages.nix: stripped trailing whitespace
svn path=/nixpkgs/trunk/; revision=23140
2010-08-12 11:22:06 +00:00
Lluís Batlle i Rossell
018a0f2fe7 Making qhull not only install the libraries, but also its programs.
svn path=/nixpkgs/trunk/; revision=23139
2010-08-12 11:00:01 +00:00
Lluís Batlle i Rossell
3a3867869a Adding tetgen
svn path=/nixpkgs/trunk/; revision=23138
2010-08-12 10:59:05 +00:00
Yury G. Kudryashov
05da3db77f Copy qca from kde-4.5 to make qca2_ossl build
svn path=/nixpkgs/trunk/; revision=23137
2010-08-12 10:39:29 +00:00
David Guibert
829f6c2108 update chrome to available snapshots.
svn path=/nixpkgs/trunk/; revision=23135
2010-08-12 06:01:21 +00:00
David Guibert
284217c135 update ttf-mkfontdir
svn path=/nixpkgs/trunk/; revision=23134
2010-08-12 05:59:52 +00:00
David Guibert
eab216c593 fetch terminus-fonts from debian, the origin url is broken
svn path=/nixpkgs/trunk/; revision=23133
2010-08-12 05:59:01 +00:00
Lluís Batlle i Rossell
b368b4b199 Making more packages build on the Fuloong2f.
I still can't build the kernel because it requires binutils yet to be released.

svn path=/nixpkgs/branches/stdenv-updates/; revision=23132
2010-08-11 20:16:09 +00:00
Lluís Batlle i Rossell
51f6aec764 Fixing the gcc-cross-wrapper; it failed after some changes related to breaking
dependencies with it. (I should never link ld.so with a NIX_LDFLAGS -rpath
forced)

I made vim, scummvm cross-build. I added prboom (that cross-builds).
Mplayer and elinks don't cross-build fine still, but are on the way.
The mplayer fails to build in a weird way; nix does not show either a gcc
error message or even the 'make' error message.

svn path=/nixpkgs/branches/stdenv-updates/; revision=23131
2010-08-11 20:14:25 +00:00
Lluís Batlle i Rossell
039b660b5b Making lynx, yacas and alsa-lib crossbuild
svn path=/nixpkgs/branches/stdenv-updates/; revision=23130
2010-08-11 20:11:12 +00:00
Lluís Batlle i Rossell
3ece765eed glib: step towards cross-building it, set perl as native input.
svn path=/nixpkgs/branches/stdenv-updates/; revision=23129
2010-08-11 20:09:17 +00:00
Lluís Batlle i Rossell
3f05ed581f Making fossil cross-build (it works for the nanonote).
Removing some perl scripts from the openssl cross-built derivation, to avoid depending on it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=23128
2010-08-11 20:08:29 +00:00
Lluís Batlle i Rossell
e97ad11560 Making cscope cross build (avoiding emacs in it)
svn path=/nixpkgs/branches/stdenv-updates/; revision=23127
2010-08-11 20:07:22 +00:00
Eelco Dolstra
e897a308a6 * Added MESS, the Multi Emulator Super System.
svn path=/nixpkgs/trunk/; revision=23126
2010-08-11 19:47:05 +00:00
Rob Vermaas
c441b771f4 libvirt: add python to deps so python bindings are built
svn path=/nixpkgs/trunk/; revision=23125
2010-08-11 18:10:03 +00:00
Rob Vermaas
53d79f6f9c updated libvirt to 0.8.3
svn path=/nixpkgs/trunk/; revision=23124
2010-08-11 17:55:31 +00:00
Yury G. Kudryashov
2050c3da77 Add kdebase-workspace-4.5.0
svn path=/nixpkgs/trunk/; revision=23123
2010-08-11 17:33:57 +00:00
Yury G. Kudryashov
2449006cb6 Add manifest.nix
svn path=/nixpkgs/trunk/; revision=23122
2010-08-11 17:31:49 +00:00
Peter Simons
3658a8b040 pkgs/development/interpreters/python/2.7/setup-hook.sh: fixed incorrect version number
svn path=/nixpkgs/trunk/; revision=23121
2010-08-11 17:05:44 +00:00
Yury G. Kudryashov
de3531c2d5 Let kdePackage use manifest.nix
svn path=/nixpkgs/trunk/; revision=23120
2010-08-11 16:49:31 +00:00
Michael Raskin
670135ecb6 flup and ViewMTN seem to work just as well with default Python
svn path=/nixpkgs/trunk/; revision=23119
2010-08-11 16:28:53 +00:00
Peter Simons
ee70d8481d pkgs/top-level/all-packages.nix: strip trailing whitenspace
svn path=/nixpkgs/trunk/; revision=23118
2010-08-11 15:49:42 +00:00
Peter Simons
2b37d181a5 Added Python version 2.7.
svn path=/nixpkgs/trunk/; revision=23117
2010-08-11 15:49:03 +00:00
Eelco Dolstra
e1926e3764 * Add UNetbootin to the channel.
svn path=/nixpkgs/trunk/; revision=23114
2010-08-11 13:55:56 +00:00
Eelco Dolstra
21587bf10b * Use callPackage_i686 for i686-only packages.
svn path=/nixpkgs/trunk/; revision=23113
2010-08-11 13:25:30 +00:00
Yury G. Kudryashov
58ab0bf5bb Add meta.platforms
svn path=/nixpkgs/trunk/; revision=23111
2010-08-11 12:24:12 +00:00
Eelco Dolstra
415cf4cd1c * Omit the "Defined by:" elements in the configuration.nix section of
the manual.  While it's a useful feature, it has the unfortunate
  side-effect of causing the manual to be rebuilt every time the user
  adds an option definition to any module (including
  configuration.nix), and rebuilding the manual is rather slow.

svn path=/nixpkgs/trunk/; revision=23110
2010-08-11 11:46:09 +00:00
Eelco Dolstra
e4686546ec * Enable parallel building for the Linux kernel, an obvious candidate.
svn path=/nixpkgs/trunk/; revision=23109
2010-08-11 10:43:09 +00:00
Michael Raskin
cf1d2fb754 Update pdf2djvu
svn path=/nixpkgs/trunk/; revision=23108
2010-08-11 10:34:15 +00:00
Peter Simons
b62f65d24e pkgs/tools/networking/nbd: removed hard-coded flags for static linking
A statically linked binary should rather be generated using the
appropriate stdenv adapter.

svn path=/nixpkgs/trunk/; revision=23107
2010-08-11 09:54:46 +00:00
Peter Simons
e33f4863fc pkgs/tools/networking/nbd: updated to version 2.9.18
svn path=/nixpkgs/trunk/; revision=23106
2010-08-11 09:53:31 +00:00
Rob Vermaas
a60809353a updated nss and nspr, added variant of nss including tools
svn path=/nixpkgs/trunk/; revision=23105
2010-08-11 09:38:09 +00:00
Eelco Dolstra
5c8b4ec35a * Linux 2.6.32.18.
svn path=/nixpkgs/trunk/; revision=23104
2010-08-11 09:25:35 +00:00
Yury G. Kudryashov
a4829861ec Fix evaluation error
svn path=/nixpkgs/trunk/; revision=23103
2010-08-11 08:20:23 +00:00
Yury G. Kudryashov
7cecdce413 qt-4.7: add symlink for kde-4.5
svn path=/nixpkgs/trunk/; revision=23100
2010-08-10 20:18:51 +00:00
Yury G. Kudryashov
78565c5b5f Add qimageblitz and kdebase-apps-4.5.0
svn path=/nixpkgs/trunk/; revision=23099
2010-08-10 19:57:53 +00:00
Yury G. Kudryashov
8242aa1a46 kdebindings-4.5.0
svn path=/nixpkgs/trunk/; revision=23098
2010-08-10 18:08:31 +00:00
Lluís Batlle i Rossell
f9692a7f40 Update from trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=23097
2010-08-10 17:20:15 +00:00
Yury G. Kudryashov
c842c3f7e5 kdepimlibs-4.5.0
svn path=/nixpkgs/trunk/; revision=23096
2010-08-10 17:08:47 +00:00
Yury G. Kudryashov
dcb79362d3 Upgrade soprano
svn path=/nixpkgs/trunk/; revision=23095
2010-08-10 14:46:39 +00:00
Yury G. Kudryashov
5e42648976 State explicitly that oxygen-icons is a fixed-output derivation
svn path=/nixpkgs/trunk/; revision=23094
2010-08-10 14:45:15 +00:00
Eelco Dolstra
f3677bef0d * Synaptics driver 1.2.2.
svn path=/nixpkgs/trunk/; revision=23091
2010-08-10 14:06:03 +00:00
Yury G. Kudryashov
46c2adbc73 Slightly rewrite kde-package
svn path=/nixpkgs/trunk/; revision=23087
2010-08-10 09:42:57 +00:00
Eelco Dolstra
f6baaeace8 * Add Xfce to the channel.
svn path=/nixpkgs/trunk/; revision=23081
2010-08-10 00:09:29 +00:00
Eelco Dolstra
01cf8db4da * Added the Xfce power manager.
svn path=/nixpkgs/trunk/; revision=23078
2010-08-09 23:13:13 +00:00
Lluís Batlle i Rossell
456d3f41ae Adding a yacas needed patch for it to build
svn path=/nixpkgs/trunk/; revision=23077
2010-08-09 22:42:48 +00:00
Lluís Batlle i Rossell
a6aae3bc6d Adding the matchbox window manager
svn path=/nixpkgs/trunk/; revision=23076
2010-08-09 22:40:51 +00:00
Lluís Batlle i Rossell
9cba74c95a Adding 'yacas', a CAS implemented in C++.
svn path=/nixpkgs/trunk/; revision=23074
2010-08-09 21:58:21 +00:00
Lluís Batlle i Rossell
d5097ad3d3 Breaking dependencies on the cross-built gcc through the gcc-cross-wrapper.
svn path=/nixpkgs/branches/stdenv-updates/; revision=23073
2010-08-09 21:37:31 +00:00
Lluís Batlle i Rossell
ff5d0fa448 Merging from trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=23072
2010-08-09 21:21:30 +00:00
Eelco Dolstra
153577d0f3 * Add GTK+ as a dependency to generate the icon cache.
svn path=/nixpkgs/trunk/; revision=23071
2010-08-09 21:14:08 +00:00
Lluís Batlle i Rossell
ac387916b8 Adding the calendar program 'pal'
svn path=/nixpkgs/trunk/; revision=23070
2010-08-09 21:13:36 +00:00
Lluís Batlle i Rossell
1b59ae0b83 Adding 'mupdf', a lightweight PDF 1.7 viewer
As a side effect, I add openjpeg and jbig2dec.

svn path=/nixpkgs/trunk/; revision=23069
2010-08-09 20:59:38 +00:00
Eelco Dolstra
093980344d * More Xfce stuff.
svn path=/nixpkgs/trunk/; revision=23067
2010-08-09 19:41:12 +00:00
Rob Vermaas
2670c1c67b update some perl packages
svn path=/nixpkgs/trunk/; revision=23066
2010-08-09 19:29:06 +00:00
Rob Vermaas
79fcd0a04c updated net::twitter, scope::upper, added uri::googlechart
svn path=/nixpkgs/trunk/; revision=23065
2010-08-09 18:45:44 +00:00
Eelco Dolstra
f0ae36e31c * Doh.
svn path=/nixpkgs/trunk/; revision=23063
2010-08-09 18:06:27 +00:00
Eelco Dolstra
238e80f708 * More Xfce packages.
svn path=/nixpkgs/trunk/; revision=23061
2010-08-09 18:02:22 +00:00
Eelco Dolstra
4ae72f5ab2 * Added pkgs/data/misc/hicolor-icon-theme, required by Xfce.
svn path=/nixpkgs/trunk/; revision=23060
2010-08-09 18:00:08 +00:00
Eelco Dolstra
e875ec2524 * Make sure that if pathsToLink contains an element such as
"/share/info" that it doesn't match "/share/information.nix".

svn path=/nixpkgs/trunk/; revision=23059
2010-08-09 16:08:02 +00:00
Michael Raskin
be3d5d3496 Update elfutils: the old ones are inaccessible, and too old to be found on other mirrors
svn path=/nixpkgs/trunk/; revision=23058
2010-08-09 15:37:14 +00:00
Eelco Dolstra
8b4da1a264 * Add some more Xfce packages.
svn path=/nixpkgs/trunk/; revision=23054
2010-08-09 11:42:55 +00:00
Lluís Batlle i Rossell
b45e219eec Making mesa build the DRI driver, required by the xorg server on the Fuloong2F
svn path=/nixpkgs/branches/stdenv-updates/; revision=23051
2010-08-09 07:42:43 +00:00
David Guibert
3b6101cd7f msn-pecan: an alternative MSN plugin for pidgin
svn path=/nixpkgs/trunk/; revision=23050
2010-08-09 06:51:34 +00:00
David Guibert
9f77579f41 lua: install lua.pc
svn path=/nixpkgs/trunk/; revision=23049
2010-08-09 06:48:21 +00:00
Eelco Dolstra
1089153c7f * Add some more Xfce packages.
svn path=/nixpkgs/trunk/; revision=23047
2010-08-08 22:43:00 +00:00
Eelco Dolstra
ab5669146d * apr 1.4.2, Apache httpd 2.2.16.
svn path=/nixpkgs/trunk/; revision=23046
2010-08-08 20:29:23 +00:00
Lluís Batlle i Rossell
2595ec4f4b Disable DRI on xorg for the fuloong2f, as mesa does not include 'dri.pc' in that platform,
and the autodetection of DRI by the xorgserver configure script looks like it needs
an explicit "--disable-dri" to go on.

svn path=/nixpkgs/branches/stdenv-updates/; revision=23045
2010-08-08 18:53:38 +00:00
Lluís Batlle i Rossell
b724fa3d44 Adding support for the /lib32 (there was /lib and /lib64 only), for the n32 ABI in mips I'm
making the longsoon2f system for.

svn path=/nixpkgs/branches/stdenv-updates/; revision=23044
2010-08-08 18:53:00 +00:00
Lluís Batlle i Rossell
d75e47a383 Fix the cross-building of packages mentioned in stdenvLinux.overrides.
svn path=/nixpkgs/branches/stdenv-updates/; revision=23043
2010-08-08 18:52:21 +00:00
Peter Simons
1a6039cb45 Enable parallel building of gcc, glibc, gmp, mpfr, ncurses, coreutils, perl, python, git, and qt4.
If a build expressions has set "enableParallelBuilding = true", then the
generic builder may utilize more than one CPU core to build that particular
expression. This feature works out of the box for GNU Make. Expressions that
use other build drivers like Boost.Jam or SCons have to specify appropriate
flags such as "-j${NIX_BUILD_CORES}" themselves.

svn path=/nixpkgs/trunk/; revision=23042
2010-08-08 18:51:42 +00:00
Lluís Batlle i Rossell
4137ceaf80 Updated nanonote 2.6.35 kernel (fixed a keyboard matrix problem)
svn path=/nixpkgs/branches/stdenv-updates/; revision=23041
2010-08-08 18:50:10 +00:00
Lluís Batlle i Rossell
ae3383e001 Making the cross-built packages not depend on the gcc cross compiler directly,
but on a nix-store path only having the cross-built gcc libraries.
This trims down a lot the runtime dependency tree for cross-built packages.

I also remove the glibc dependency on the native bash.

svn path=/nixpkgs/branches/stdenv-updates/; revision=23040
2010-08-08 18:47:48 +00:00
Lluís Batlle i Rossell
eddc9d6ab5 Fixing the nanonote kernel expressions so they work.
In fact only 2.6.34 boots fine, while 2.6.35 needs a fetchsvn new revision,
waiting for an upstream patch.

svn path=/nixpkgs/branches/stdenv-updates/; revision=23039
2010-08-08 18:46:57 +00:00
Lluís Batlle i Rossell
089ee5da11 Fix the cross-building of packages mentioned in stdenvLinux.overrides.
svn path=/nixpkgs/trunk/; revision=23038
2010-08-08 17:26:30 +00:00
Eelco Dolstra
4b6b9f8256 * Apply a patch in vte to fix the cursor being invisible in xfce's
terminal application.

svn path=/nixpkgs/trunk/; revision=23037
2010-08-08 14:27:43 +00:00
Michael Raskin
87cbef96ca Add Veracity distributed VCS (+ issue tracker)
svn path=/nixpkgs/trunk/; revision=23031
2010-08-07 22:44:25 +00:00
Michael Raskin
5792074ddc Add an RC (1.8.0-rc1) of SpiderMonkey by cloning the release expression
svn path=/nixpkgs/trunk/; revision=23030
2010-08-07 21:44:13 +00:00
Lluís Batlle i Rossell
f2de89336b Removing the 'useFromStdenv' still left on the gcc45 attribute (not properly
updated from trunk)


svn path=/nixpkgs/branches/stdenv-updates/; revision=23029
2010-08-07 21:31:16 +00:00
Lluís Batlle i Rossell
1c078c9861 Fixing a double set attribute in stdenv
svn path=/nixpkgs/branches/stdenv-updates/; revision=23028
2010-08-07 21:07:41 +00:00
Lluís Batlle i Rossell
46082f25f9 Updating from trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=23027
2010-08-07 20:14:04 +00:00
Eelco Dolstra
4ed96dfbc2 * Ignore non-existant directories.
svn path=/nixpkgs/trunk/; revision=23026
2010-08-07 18:41:43 +00:00
Eelco Dolstra
49dd595e2d * Add some missing X.org packages to the channel.
svn path=/nixpkgs/trunk/; revision=23025
2010-08-07 18:21:16 +00:00
Michael Raskin
8d9cd5be6f Update Asymptote to 2.03
svn path=/nixpkgs/trunk/; revision=23022
2010-08-07 11:38:03 +00:00
Eelco Dolstra
d7842faf49 * Added UNetbootin, a program for creating bootable USB sticks from
ISO images.

svn path=/nixpkgs/trunk/; revision=23018
2010-08-06 22:33:14 +00:00
Eelco Dolstra
492d64e168 * Syslinux updated to 4.02.
svn path=/nixpkgs/trunk/; revision=23017
2010-08-06 22:27:28 +00:00
Eelco Dolstra
ca716d5bc7 * p7zip updated to 9.13. Also build 7z and 7zr.
svn path=/nixpkgs/trunk/; revision=23016
2010-08-06 22:26:25 +00:00
Eelco Dolstra
10dbe2dd78 * Fix Hydra evaluation problem.
svn path=/nixpkgs/trunk/; revision=23015
2010-08-06 21:54:43 +00:00
Eelco Dolstra
2148d43a6d * Added mtools.
svn path=/nixpkgs/trunk/; revision=23014
2010-08-06 21:36:54 +00:00
Yury G. Kudryashov
e2c75baa05 kdelibs: 4.5.0, use kdePackage
svn path=/nixpkgs/trunk/; revision=23013
2010-08-06 20:24:17 +00:00
Yury G. Kudryashov
2d9d69cb63 Add lcms2
svn path=/nixpkgs/trunk/; revision=23012
2010-08-06 20:23:56 +00:00
Yury G. Kudryashov
1aa8b54c41 Typos
svn path=/nixpkgs/trunk/; revision=23011
2010-08-06 20:23:35 +00:00
Yury G. Kudryashov
ede16e5dc5 polkit-qt-1: use kdePackage
svn path=/nixpkgs/trunk/; revision=23010
2010-08-06 20:22:22 +00:00
Yury G. Kudryashov
98c5daffeb oxygen-icons: 4.5.0, use kdePackage
svn path=/nixpkgs/trunk/; revision=23009
2010-08-06 20:21:08 +00:00
Yury G. Kudryashov
c766124771 Add kdePackage function
svn path=/nixpkgs/trunk/; revision=23008
2010-08-06 20:20:19 +00:00
Eelco Dolstra
896d1f752d * I'm stupid.
svn path=/nixpkgs/trunk/; revision=23007
2010-08-06 18:59:47 +00:00
Eelco Dolstra
1ef7d51a32 * dosfstools updated to 3.09.
svn path=/nixpkgs/trunk/; revision=23005
2010-08-06 18:49:16 +00:00
Eelco Dolstra
a70b44b3cb * util-linux-ng 2.18.
svn path=/nixpkgs/branches/stdenv-updates/; revision=23004
2010-08-06 18:39:34 +00:00
Peter Simons
6dad13cb74 pkgs/top-level/all-packages.nix: strip trailing whitespace
svn path=/nixpkgs/trunk/; revision=23000
2010-08-06 12:47:20 +00:00
Peter Simons
3e095243bd pkgs/top-level/all-packages.nix: don't enable ACL support in rsync when building on Solaris
svn path=/nixpkgs/trunk/; revision=22999
2010-08-06 12:46:18 +00:00
Peter Simons
f4f3078309 pkgs/top-level/all-packages.nix: curl cannot support scp on Solaris because libssh2 doesn't compile
svn path=/nixpkgs/trunk/; revision=22998
2010-08-06 12:45:58 +00:00
Peter Simons
0571d80df6 pkgs/tools/networking/curl: strip trailing whitespace
svn path=/nixpkgs/trunk/; revision=22997
2010-08-06 12:45:39 +00:00
Peter Simons
432ad9ceef pkgs/tools/networking/curl: assert that scpSupport is enabled only when libssh2 is available
svn path=/nixpkgs/trunk/; revision=22996
2010-08-06 12:45:11 +00:00
Peter Simons
4defdcc50c pkgs/stdenv/generic: added isSunOS attribute, similar to isLinux, isDarwin, etc.
svn path=/nixpkgs/trunk/; revision=22995
2010-08-06 12:44:54 +00:00
Peter Simons
401b77d232 pkgs/tools/networking/nbd: updated to version 2.9.17
svn path=/nixpkgs/trunk/; revision=22994
2010-08-06 12:43:18 +00:00
Eelco Dolstra
a1e834e85a * Get rid of the ugly `useFromStdenv' hack in all-packages.nix.
Instead, use the generic package override mechanism to use packages
  from earlier bootstrap phases.
* Don't rely on the existence of attributes such as
  `stdenv.coreutils'.

svn path=/nixpkgs/trunk/; revision=22991
2010-08-06 10:34:34 +00:00
Rob Vermaas
d8ba69a16e added older version of sqlite for use in DBD-SQLite perl package, which fails with newest one
svn path=/nixpkgs/trunk/; revision=22989
2010-08-06 08:54:27 +00:00
David Guibert
accda9616f heimdal: add sqlite support and install server executables to $out/sbin
svn path=/nixpkgs/trunk/; revision=22988
2010-08-06 08:52:47 +00:00
David Guibert
f3403647d4 pam_ccreds: to locally authenticate using an enterprise identity when the network is unavailable.
svn path=/nixpkgs/trunk/; revision=22987
2010-08-06 08:50:58 +00:00
David Guibert
663cff60a4 pam_krb5: added version 2.3.11-1.
svn path=/nixpkgs/trunk/; revision=22984
2010-08-06 08:49:05 +00:00
Eelco Dolstra
8852e08ebf * Update to SQLite 3.7.0.1, which fixes a corruption bug when the
database is also accessed using SQLite 3.6.23.

svn path=/nixpkgs/trunk/; revision=22981
2010-08-06 07:45:54 +00:00
Eelco Dolstra
eecae4f36a svn path=/nixpkgs/trunk/; revision=22980 2010-08-05 22:09:41 +00:00
Lluís Batlle i Rossell
27e2ae10a0 Making gdbm get the proper config.guess for it to build in the Fuloong 2f.
I could not find a newer gdbm with newer config.guess.

svn path=/nixpkgs/branches/stdenv-updates/; revision=22979
2010-08-05 22:04:10 +00:00
Lluís Batlle i Rossell
229883730e Removing some nongnu mirrors that don't work for me.
Feel free to check them back in if they work for you.

svn path=/nixpkgs/branches/stdenv-updates/; revision=22978
2010-08-05 22:02:13 +00:00
Lluís Batlle i Rossell
952bcf5e58 Setting the patch for the glibc locale archive, which addresses some problems
found before:
- programs linked with this glibc, will be able to find its locale-archive
  at LOCALE_ARCHIVE_2_11
- for any problem we forgot to mention, we also add the LOCALE_ARCHIVE
  variable, checked after LOCALE_ARCHIVE_2_11. I don't know a strong reason to
  have it though.
- setuid programs will expect the locale-archive in
  /var/run/current-system/sw/lib/locale, usual path of the locale-archive in
  nixos, and a path that a sysadmin can set pointing to the locale-archive in
  case of non-nixos. setuid programs don't receive the LOCALE_ARCHIVE
  variables.
- non-nixos systems will have a check for the locale-archive in /usr/lib/locale
- the glibc programs 'locale' and 'localedef' may be able to find the proper
  locale-archive too.

We were also considering getting rid of the locale-archive, and using
locale files directly (like Ubuntu seems to do [1]), maybe using the LOCPATH
variable. But this would not solve the problem of localized setuid programs.

All this came after a 'meeting' with niksnut on irc about this.

[1] http://lwn.net/Articles/244204/

svn path=/nixpkgs/branches/stdenv-updates/; revision=22977
2010-08-05 21:19:32 +00:00
Yury G. Kudryashov
80108f291b Add optional scp support to curl
svn path=/nixpkgs/trunk/; revision=22976
2010-08-05 21:06:45 +00:00
Yury G. Kudryashov
217209747b Add libssh2
svn path=/nixpkgs/trunk/; revision=22975
2010-08-05 20:24:32 +00:00
Lluís Batlle i Rossell
8783e812b5 More changes beyond stdenv-linux for the fuloong2f platform
svn path=/nixpkgs/branches/stdenv-updates/; revision=22973
2010-08-05 18:51:12 +00:00
Lluís Batlle i Rossell
b7f47c7f49 Updating libgcrypt, hoping that it will build on mips
svn path=/nixpkgs/branches/stdenv-updates/; revision=22972
2010-08-05 18:47:40 +00:00
Marco Maggesi
c0f343b752 Update Coq to version 8.2pl2 (patch by roconnor)
svn path=/nixpkgs/trunk/; revision=22971
2010-08-05 18:44:42 +00:00
Lluís Batlle i Rossell
c82f2f533d Avoiding to make a profiled bootstrap of gcc on armv5tel-linux, because it fails there.
svn path=/nixpkgs/branches/stdenv-updates/; revision=22970
2010-08-05 18:40:58 +00:00
Eelco Dolstra
39a2523e79 * Glibc 2.11.2.
svn path=/nixpkgs/branches/stdenv-updates/; revision=22967
2010-08-05 16:51:16 +00:00
Eelco Dolstra
5119fac40e * Don't store the GCC configure flags in the output (visible through
`gcc -v').  It causes build-time only dependencies to be
  unnecessarily retained in the closure (e.g. PPL due to
  `--with-ppl=/nix/store/...').
* Replace $out/bin/c++ with a symlink to g++.

svn path=/nixpkgs/branches/stdenv-updates/; revision=22966
2010-08-05 16:27:46 +00:00
Eelco Dolstra
5f8b8ae1d1 * Added weechat and updated xfce-terminal and vte. (From Graeme
Caldwell <graemercaldwell@gmail.com>.)

svn path=/nixpkgs/trunk/; revision=22965
2010-08-05 15:47:15 +00:00
Lluís Batlle i Rossell
50f337ad01 Making gcc not depend on bootstrap-tools (by a postInstall patchelf trick)
svn path=/nixpkgs/branches/stdenv-updates/; revision=22963
2010-08-05 13:39:08 +00:00
Eelco Dolstra
6fe628b99a * Indentation fixes.
svn path=/nixpkgs/branches/stdenv-updates/; revision=22961
2010-08-05 13:21:29 +00:00
Peter Simons
dbef94575c pkgs/applications/version-management/git-and-tools/git: updated to version 1.7.2.1
svn path=/nixpkgs/trunk/; revision=22960
2010-08-05 11:25:02 +00:00
Eelco Dolstra
32b5de83c4 svn path=/nixpkgs/trunk/; revision=22959 2010-08-05 10:42:05 +00:00
Rob Vermaas
f809b04a33 newer version DBD-SQLite
svn path=/nixpkgs/trunk/; revision=22958
2010-08-05 09:44:28 +00:00
Eelco Dolstra
5dc58d5c15 * SQLite updated to 3.7.0.
svn path=/nixpkgs/trunk/; revision=22957
2010-08-05 08:55:19 +00:00
Eelco Dolstra
b29496c4be * Adobe Reader: updated to 9.3.3. Make it installable on
x86_64-linux.

svn path=/nixpkgs/trunk/; revision=22956
2010-08-05 08:54:58 +00:00
Eelco Dolstra
9e2e347f28 * Fix Hydra evaluation.
svn path=/nixpkgs/trunk/; revision=22955
2010-08-05 08:38:39 +00:00
Lluís Batlle i Rossell
7dfbad8c44 Updating awesome (tab completion did not work with the xorg server 1.8; let's see
if it works now)

svn path=/nixpkgs/trunk/; revision=22951
2010-08-04 15:48:05 +00:00
Eelco Dolstra
aded38809b * Turn on `preferLocalBuild' for fetchurl.
svn path=/nixpkgs/trunk/; revision=22948
2010-08-04 12:37:03 +00:00
Lluís Batlle i Rossell
e0a11f532b Trying to bootstrap gcc 4.5 with ppl, so it does not depend on libstdc++ from the boostrap-tools.
svn path=/nixpkgs/branches/stdenv-updates/; revision=22947
2010-08-04 12:36:35 +00:00
Peter Simons
ae68ed0907 pkgs/top-level/all-packages.nix: prefer sqliteInteractive in user environments, i.e. when running "nix-env -i sqlite"
svn path=/nixpkgs/trunk/; revision=22944
2010-08-04 11:42:10 +00:00
Lluís Batlle i Rossell
b17d1d7d07 Adding nanonote kernel and uboot
svn path=/nixpkgs/branches/stdenv-updates/; revision=22943
2010-08-04 11:07:13 +00:00
Lluís Batlle i Rossell
47b45f812e Updating diffutils
svn path=/nixpkgs/branches/stdenv-updates/; revision=22942
2010-08-04 11:05:53 +00:00
Eelco Dolstra
5a08a41204 * Kernel updates.
svn path=/nixpkgs/trunk/; revision=22941
2010-08-04 10:40:25 +00:00
Yury G. Kudryashov
ce3aef6d7b Add phonon-backend-vlc
svn path=/nixpkgs/trunk/; revision=22939
2010-08-04 10:04:40 +00:00
Marco Maggesi
2b1d398c9a Remove obsolete expression for dmtcp-devel
svn path=/nixpkgs/trunk/; revision=22937
2010-08-04 08:55:57 +00:00
Peter Simons
43017234d6 pkgs/tools/networking/nbd: enable build on all NixOS platforms
The nbd client needs kernel support and is available only on Linux, but
the server process ought to work in all POSIX'ish environments.

svn path=/nixpkgs/trunk/; revision=22936
2010-08-03 19:08:11 +00:00
Peter Simons
c820859eac pkgs/tools/networking/nbd: revert "enable regression tests"
test suite failure on hydra: http://hydra.nixos.org/build/518375

svn path=/nixpkgs/trunk/; revision=22935
2010-08-03 18:12:38 +00:00
Michael Raskin
9456c0e43b Add patch to fix arrow display
svn path=/nixpkgs/trunk/; revision=22934
2010-08-03 17:43:10 +00:00
Marco Maggesi
8dca34b5ed Upgrade dmtcp to version 1.1.8
svn path=/nixpkgs/trunk/; revision=22933
2010-08-03 17:39:12 +00:00
Yury G. Kudryashov
a993d5190a Add quassel only on qt4.meta.platforms platforms
qt4 somehow depends on libcap which is linux only

svn path=/nixpkgs/trunk/; revision=22932
2010-08-03 14:17:55 +00:00
Yury G. Kudryashov
1c0ecda5e7 Add meta.platforms
svn path=/nixpkgs/trunk/; revision=22931
2010-08-03 14:03:36 +00:00
Yury G. Kudryashov
3c4d5457a8 Add recurseForRelease flag
I don't want kde-4.5 to be visible for nix-env, but I want hydra to build it

svn path=/nixpkgs/trunk/; revision=22930
2010-08-03 14:02:42 +00:00
Yury G. Kudryashov
75bc6a2f78 Inherit some metadata from kdelibs
svn path=/nixpkgs/trunk/; revision=22927
2010-08-03 13:11:58 +00:00
Michael Raskin
3386ce4c5d Update monotone-viz mtn-head
svn path=/nixpkgs/trunk/; revision=22925
2010-08-03 12:14:16 +00:00
Michael Raskin
e8a33e0c82 Make configurable Vim build with most options
svn path=/nixpkgs/trunk/; revision=22924
2010-08-03 10:59:57 +00:00
Peter Simons
6cffff9de1 pkgs/tools/archivers/cpio: revert to version 2.9
The latest version, 2.11, doesn't compile on Darwin. The build
expression for 2.11 is still still available in "latest.nix".

svn path=/nixpkgs/trunk/; revision=22923
2010-08-03 10:55:58 +00:00
Michael Raskin
1cf7460522 Try appeasing Hydra with correct platform specification outside of assert
svn path=/nixpkgs/trunk/; revision=22922
2010-08-03 10:55:32 +00:00
Yury G. Kudryashov
e24d7319d4 Use callPackage in kde45
svn path=/nixpkgs/trunk/; revision=22921
2010-08-03 10:38:02 +00:00
Peter Simons
057a044b0c pkgs/tools/networking/nbd: enable regression tests
The tests suite succeeds fine on Linux/x86. Let's see what happens on
other platforms.

svn path=/nixpkgs/trunk/; revision=22920
2010-08-03 09:36:37 +00:00
Peter Simons
cdb12ec708 pkgs/tools/networking/nbd: updated to version 2.9.16
svn path=/nixpkgs/trunk/; revision=22919
2010-08-03 09:32:05 +00:00
Michael Raskin
6cd4db5496 Use the same qt4 for psi as for the used qca2
svn path=/nixpkgs/trunk/; revision=22918
2010-08-03 08:42:28 +00:00
Lluís Batlle i Rossell
6d15eabdc1 Merging from trunk (the callPackage change)
svn path=/nixpkgs/branches/stdenv-updates/; revision=22915
2010-08-03 08:14:13 +00:00
Michael Raskin
50f2d32ce9 Use updated QCA2 for psi
svn path=/nixpkgs/trunk/; revision=22914
2010-08-03 07:39:56 +00:00
Michael Raskin
a7adc46a3b Update parts of QCA to build with fresher OpenSSL
svn path=/nixpkgs/trunk/; revision=22913
2010-08-03 07:35:29 +00:00
Lluís Batlle i Rossell
de5e1de89b Fixing the dynamic linker in the gcc-cross-wrapper so it takes also the dynamic
linker of glibc on mips (specifically ld.so.1, and not ld-*.so.? as we had before)

svn path=/nixpkgs/trunk/; revision=22912
2010-08-02 22:44:41 +00:00
Lluís Batlle i Rossell
4b42d5f7a9 Fixing the openssl 1.0.0 cross build
svn path=/nixpkgs/trunk/; revision=22910
2010-08-02 22:10:42 +00:00
Yury G. Kudryashov
aadea685af Restrict qt-4.7 to linux only
svn path=/nixpkgs/trunk/; revision=22909
2010-08-02 21:47:28 +00:00
Yury G. Kudryashov
858ce6dfd9 Remove smbfsFuse from release.nix, use meta.platforms instead
svn path=/nixpkgs/trunk/; revision=22908
2010-08-02 21:43:53 +00:00
Yury G. Kudryashov
fd7bcca52e all-packages: remove trailing spaces
svn path=/nixpkgs/trunk/; revision=22907
2010-08-02 21:40:34 +00:00
Michael Raskin
ef3606a0ae Update XNeur to 0.9.9
svn path=/nixpkgs/trunk/; revision=22906
2010-08-02 19:28:15 +00:00
Michael Raskin
fb10fb0d19 Fix sed commands for xneur 0.8 build
svn path=/nixpkgs/trunk/; revision=22905
2010-08-02 19:24:59 +00:00
Michael Raskin
0dfe4c37ed Fix SBCL build
svn path=/nixpkgs/trunk/; revision=22903
2010-08-02 19:02:47 +00:00
Eelco Dolstra
7e453a7491 * Fix breakage in r22897.
svn path=/nixpkgs/trunk/; revision=22901
2010-08-02 17:59:19 +00:00
Yury G. Kudryashov
a162c597e1 akonadi-1.4.0
svn path=/nixpkgs/trunk/; revision=22898
2010-08-02 17:20:40 +00:00
Yury G. Kudryashov
dea41a12ea Add rsibreak
svn path=/nixpkgs/trunk/; revision=22897
2010-08-02 17:19:44 +00:00
Yury G. Kudryashov
230c31d020 Really make qt-4.7
svn path=/nixpkgs/trunk/; revision=22896
2010-08-02 17:18:56 +00:00
Yury G. Kudryashov
2d998d8fc3 Add kdebindings-4.4.95
svn path=/nixpkgs/trunk/; revision=22895
2010-08-02 17:18:23 +00:00
Yury G. Kudryashov
c21bd4a0c6 Add kdepimlibs
svn path=/nixpkgs/trunk/; revision=22894
2010-08-02 17:17:41 +00:00
Yury G. Kudryashov
1e095067cc kdelibs-4.4.95: fix python install dir
svn path=/nixpkgs/trunk/; revision=22893
2010-08-02 17:17:06 +00:00
Yury G. Kudryashov
ea891200d8 kde-4.5 snapshot
svn path=/nixpkgs/trunk/; revision=22892
2010-08-02 17:16:24 +00:00
Yury G. Kudryashov
5245e8f885 small fixes, kdepimlibs, oxygen-icons
svn path=/nixpkgs/trunk/; revision=22891
2010-08-02 17:14:59 +00:00
Yury G. Kudryashov
695b150844 Add polkit-qt-1, strigi, kdelibs-4.4.92
svn path=/nixpkgs/trunk/; revision=22890
2010-08-02 17:12:39 +00:00
Yury G. Kudryashov
915edddc5b Add parts of kdesupport for kde-4.5
svn path=/nixpkgs/trunk/; revision=22889
2010-08-02 17:11:19 +00:00
Sander van der Burg
1e9dc2b254 It seems that lib.zip is already taken from attributesets, therefore renaming it to zipTwoLists
svn path=/nixpkgs/trunk/; revision=22887
2010-08-02 16:48:19 +00:00
Eelco Dolstra
d17f0f9cbc * Use callPackage for most packages in all-packages.nix.
`callPackage' was described here:

    http://www.mail-archive.com/nix-dev@cs.uu.nl/msg02624.html

  It allows all-packages.nix to be shortened significantly (from 10152
  to 6980 lines) by automatically filling in package functions'
  required arguments from `pkgs'.  That is, a function

    { stdenv, fetchurl, libfoo, libbar }: ...

  can now be called as

    callPackage ./<bla>.nix { };

  rather than

    import ./<bla>.nix {
      inherit stdenv fetchurl libfoo libbar;
    };

  This reduces boring typing work when adding a dependency and reduces
  the number of trivial commits to all-packages.nix.

  Overrides or arguments that don't exist in `pkgs' can be passed
  explicitly, e.g.,

    callPackage ./<bla>.nix {
      libfoo = libfoo_1_2_3;
    };

  The conversion was done automatically with a magic Perl regexp.  I
  checked that `nix-env' produces the same results before and after
  (except for three packages that depend on webkit, which uses
  deepOverride).

  `callPackage' applies `makeOverridable' automatically, so almost
  every package now exports an `override' function.

  There are two downsides to using callPackage:

  - Evaluation is a bit slower (about 15% on `nix-env -qa --drv-path
    \*').

  - There can be unexpected results for functions that have default
    argument values.  For instance, a function

      { libfoo ? null }: ...

    called using `callPackage' will be passed a `libfoo' argument
    provided that `pkgs.libfoo' exists.  If this is used to control
    whether a package has to have a certain dependency, you need to
    explicitly write:

    callPackage ./<bla>.nix {
      libfoo = null;
    };

svn path=/nixpkgs/trunk/; revision=22885
2010-08-02 16:26:58 +00:00
Sander van der Burg
beee6e5e1d Moved 'zip' function from nixos/lib/build-vms.nix
svn path=/nixpkgs/trunk/; revision=22882
2010-08-02 16:10:01 +00:00
Lluís Batlle i Rossell
905963782b Fixing some stdenv2 details coming from the trunk merge.
svn path=/nixpkgs/branches/stdenv-updates/; revision=22881
2010-08-02 16:09:20 +00:00
Eelco Dolstra
cc84ac9e84 svn path=/nixpkgs/trunk/; revision=22880 2010-08-02 16:01:55 +00:00
Lluís Batlle i Rossell
955b962993 Updating gcc to 4.5.1.
I removed two patches that don't apply anymore (dragonegg, softfp-hurd).
I hope this means it's all fixed upstream.

svn path=/nixpkgs/branches/stdenv-updates/; revision=22879
2010-08-02 15:58:03 +00:00
Lluís Batlle i Rossell
5417c720fd Merging from trunk.
I tried to fix some trivial conflicts.
I don't know if I merged well some more difficult conflicts on openssl/darwin_patch
or haskell-platform.


svn path=/nixpkgs/branches/stdenv-updates/; revision=22878
2010-08-02 15:48:19 +00:00
Eelco Dolstra
fd268b4852 * Add callPackage etc.
svn path=/nixpkgs/trunk/; revision=22876
2010-08-02 13:57:57 +00:00
Peter Simons
9ef0f1b935 pkgs/tools/networking/nbd: install the README file to $out/share/doc
The README contains documentation that is useful in addition to the man
pages.

svn path=/nixpkgs/trunk/; revision=22875
2010-08-02 13:37:36 +00:00
Rob Vermaas
c8d53236b1 svn path=/nixpkgs/trunk/; revision=22874 2010-08-02 12:55:54 +00:00
Rob Vermaas
13cf7b0ade svn path=/nixpkgs/trunk/; revision=22872 2010-08-02 12:13:03 +00:00
Michael Raskin
76cef7e1b2 Set HOME for SBCL tests
svn path=/nixpkgs/trunk/; revision=22870
2010-08-02 11:37:23 +00:00
Rob Vermaas
70c6ab18a3 added qrupdate, suitesparse needed to build octave from source
svn path=/nixpkgs/trunk/; revision=22867
2010-08-02 11:20:39 +00:00
Michael Raskin
21580dc847 Update Wine
svn path=/nixpkgs/trunk/; revision=22866
2010-08-02 10:02:23 +00:00
Michael Raskin
5892d8ffc7 Update sbcl
svn path=/nixpkgs/trunk/; revision=22865
2010-08-02 09:57:12 +00:00
Rob Vermaas
ec5dba7620 remove commented license attribute
svn path=/nixpkgs/trunk/; revision=22862
2010-08-02 09:09:25 +00:00
Rob Vermaas
fb6ca79d35 HDF5 1.8.5
svn path=/nixpkgs/trunk/; revision=22861
2010-08-02 08:58:53 +00:00
Lluís Batlle i Rossell
9724fb271b Fixing the unpack bootstrap tools script so it works not only for mips.
svn path=/nixpkgs/branches/stdenv-updates/; revision=22855
2010-08-01 22:00:14 +00:00
Lluís Batlle i Rossell
0f4673788e Fixing the gcc-4.5 cross-build (the native strip destroys the .a cross-built
archives, so we disable it cross building)

svn path=/nixpkgs/branches/stdenv-updates/; revision=22854
2010-08-01 21:27:03 +00:00
Lluís Batlle i Rossell
4b79027f45 Updating the patchelf0.6 reference, so it gets the changes to work in mips
(16KiB pages)

svn path=/nixpkgs/branches/stdenv-updates/; revision=22853
2010-08-01 21:26:10 +00:00
Lluís Batlle i Rossell
908c67b7ee Fixing a bit the busybox expression and its new flexible config
svn path=/nixpkgs/branches/stdenv-updates/; revision=22852
2010-08-01 21:25:37 +00:00
Lluís Batlle i Rossell
fb4a1baa45 Updating 'patch' for bootstrap (reference broken)
svn path=/nixpkgs/branches/stdenv-updates/; revision=22851
2010-08-01 21:25:19 +00:00
Lluís Batlle i Rossell
edd061b295 Making uclibc receive the proper arguments (libiconv)
svn path=/nixpkgs/branches/stdenv-updates/; revision=22850
2010-08-01 21:24:35 +00:00
Lluís Batlle i Rossell
40405d03ac Trying to add the fuloong2f for bootstrap-files. It bootstraps fine
(boostrap-files cross-built)

svn path=/nixpkgs/branches/stdenv-updates/; revision=22849
2010-08-01 21:22:51 +00:00
Lluís Batlle i Rossell
da3ba13fb5 Trying to make gcc 4.5 cross-buildable
svn path=/nixpkgs/branches/stdenv-updates/; revision=22848
2010-08-01 21:21:26 +00:00
Lluís Batlle i Rossell
2954596106 Making gnugrep cross-build for mips
svn path=/nixpkgs/branches/stdenv-updates/; revision=22847
2010-08-01 21:17:29 +00:00
Lluís Batlle i Rossell
fbad1b3a56 Trying to make busybox more configurable
svn path=/nixpkgs/branches/stdenv-updates/; revision=22846
2010-08-01 21:06:45 +00:00
Lluís Batlle i Rossell
212161482f Setting the proper kernel headers in platforms
svn path=/nixpkgs/branches/stdenv-updates/; revision=22845
2010-08-01 21:05:32 +00:00
Lluís Batlle i Rossell
878792cade Patch (already upstream on glibc master) for configure in glibc to get the gnu89-inline gcc flag right
svn path=/nixpkgs/branches/stdenv-updates/; revision=22844
2010-08-01 21:03:53 +00:00
Lluís Batlle i Rossell
eb7ad28899 Patches for mpfr to work on mips with gcc newer or equal to 4.4
svn path=/nixpkgs/branches/stdenv-updates/; revision=22843
2010-08-01 21:02:30 +00:00
Lluís Batlle i Rossell
5cc46602ce Updating gettext to that decided in nixpkgs trunk (0.17 to 0.18)
svn path=/nixpkgs/branches/stdenv-updates/; revision=22842
2010-08-01 21:01:54 +00:00
Lluís Batlle i Rossell
8c0e984f91 The gettext update 0.18 yes builds on mips.
svn path=/nixpkgs/branches/stdenv-updates/; revision=22841
2010-08-01 21:00:22 +00:00
Lluís Batlle i Rossell
937578d5ef Some first changes to get some evaluation working on the fuloong2f
svn path=/nixpkgs/branches/stdenv-updates/; revision=22840
2010-08-01 20:57:13 +00:00
Eelco Dolstra
00c972ac7d svn path=/nixpkgs/trunk/; revision=22839 2010-08-01 15:14:33 +00:00
Eelco Dolstra
f1b8c40eb4 * Updated libogg and libvorbis.
svn path=/nixpkgs/trunk/; revision=22838
2010-08-01 14:33:43 +00:00
Eelco Dolstra
283005d568 * GemRB updated to 0.6.1.
svn path=/nixpkgs/trunk/; revision=22837
2010-08-01 14:24:46 +00:00
Yury G. Kudryashov
3cae107cca Fix nixpkgs evaluation
I've removed rekonqScm but forgotten to remove it from all-packages

svn path=/nixpkgs/trunk/; revision=22836
2010-07-31 18:47:15 +00:00
Yury G. Kudryashov
45fd5a9836 Upgrade rekonq
svn path=/nixpkgs/trunk/; revision=22835
2010-07-31 13:06:10 +00:00
Yury G. Kudryashov
288c414bb4 pulseaudio: udev and bluez support
svn path=/nixpkgs/trunk/; revision=22834
2010-07-31 13:05:58 +00:00
Yury G. Kudryashov
59a8bc0744 qt-4.7.0-beta2: fool phonon version
Qt guys updated source files but not version number

svn path=/nixpkgs/trunk/; revision=22833
2010-07-31 13:05:46 +00:00
Yury G. Kudryashov
d15fdc71f0 trailing spaces
svn path=/nixpkgs/trunk/; revision=22832
2010-07-31 13:05:22 +00:00
Yury G. Kudryashov
65f0b956a2 Add libsndfile and fftw support to libsamplerate
svn path=/nixpkgs/trunk/; revision=22831
2010-07-30 20:17:37 +00:00
Yury G. Kudryashov
2835a98378 Add qt-4.7.0-beta2
svn path=/nixpkgs/trunk/; revision=22830
2010-07-30 19:45:07 +00:00
Lluís Batlle i Rossell
8eceafc755 Fixing the name of 'confuse'; now it includes the version.
svn path=/nixpkgs/trunk/; revision=22829
2010-07-30 17:42:52 +00:00
Eelco Dolstra
4bf5b0d36b * Fix some more "args: with args".
svn path=/nixpkgs/trunk/; revision=22828
2010-07-30 14:47:23 +00:00
Marco Maggesi
7835419d8a Upgrade fossil to version 2010-07-03
svn path=/nixpkgs/trunk/; revision=22827
2010-07-30 14:03:51 +00:00
Eelco Dolstra
ef0ff49ad4 svn path=/nixpkgs/trunk/; revision=22826 2010-07-30 13:05:52 +00:00
Eelco Dolstra
9375dad95a * Remove findutils-wrapper (obsolete).
* Remove some unnecessary / inappropriate lowPrios.

svn path=/nixpkgs/trunk/; revision=22825
2010-07-30 12:31:10 +00:00
Eelco Dolstra
35b4ccadba svn path=/nixpkgs/trunk/; revision=22824 2010-07-30 12:24:19 +00:00
Eelco Dolstra
ee4fe6ea84 * Drop pkgsOverriden.
svn path=/nixpkgs/trunk/; revision=22823
2010-07-30 12:10:24 +00:00
Eelco Dolstra
3386a0e63d svn path=/nixpkgs/trunk/; revision=22822 2010-07-30 10:48:13 +00:00
Eelco Dolstra
acd34843f0 * Move "checker" to lib. It seems to be unused though.
svn path=/nixpkgs/trunk/; revision=22819
2010-07-30 09:24:55 +00:00
Lluís Batlle i Rossell
b044e64989 Making the xburst-tools for the Ben Nanonote build the firmware they need to
communicate with it. This involves making a cross-compiler for mipsel.

svn path=/nixpkgs/trunk/; revision=22818
2010-07-29 23:26:07 +00:00
Lluís Batlle i Rossell
537ad15e86 Adding xburst-tools to manage the USB_BOOT mode of the Ben Nanonote (reflashing, ...)
I add the 'confuse' library as a side effect.

svn path=/nixpkgs/trunk/; revision=22817
2010-07-29 23:25:42 +00:00
Lluís Batlle i Rossell
2423a7c821 Enabling the build of uclibc (I don't know why it was commented)
svn path=/nixpkgs/trunk/; revision=22816
2010-07-29 23:18:49 +00:00
Eelco Dolstra
20db67154c * bclr: shrink fixes.patch from 3.6 MB (!) to 11 KB by not
including Autoconf/Automake generated code.

svn path=/nixpkgs/trunk/; revision=22815
2010-07-29 19:56:16 +00:00
Eelco Dolstra
907bb1aac6 * ltrace: updated to 0.5.3.
* libdbi / libdbi-drivers: updated to 0.8.3, and make it compile with
  SQLite.
* qemu-image: fix the URL.
* gdmap: make it build again (requires an older GTK+).
* rlwrap: updated to 0.37.
* smbfs-fuse -> fusesmb to match the upstream name.
* x11vnc: updated to 0.9.10.
* clearlyU: fix the URL.
* Various packages: follow the coding conventions.

svn path=/nixpkgs/trunk/; revision=22814
2010-07-29 18:55:16 +00:00
Lluís Batlle i Rossell
ad1c77118f Updating the linux headers for 2.6.32 to a newer 2.6.32
svn path=/nixpkgs/trunk/; revision=22811
2010-07-29 14:38:52 +00:00
Lluís Batlle i Rossell
5cf5a154db Updating hugin
svn path=/nixpkgs/trunk/; revision=22810
2010-07-29 14:38:46 +00:00
Lluís Batlle i Rossell
79dec6e9a7 Adding Vigra
svn path=/nixpkgs/trunk/; revision=22809
2010-07-29 14:38:39 +00:00
Sander van der Burg
aaff5b7a46 Bumped eigen library to version 2.0.15
svn path=/nixpkgs/trunk/; revision=22808
2010-07-29 13:14:51 +00:00
Sander van der Burg
50fa8c9b86 googled + added a patch to fix compilation of kdelibs-3.5.10 against openssl-1.0.0 (yes I still need this)
svn path=/nixpkgs/trunk/; revision=22807
2010-07-29 12:26:59 +00:00
Sander van der Burg
bfbdc2db7c Stole a patch from gentoo to fix the compilation of libmsn against OpenSSL-1.0.0
svn path=/nixpkgs/trunk/; revision=22805
2010-07-29 09:41:29 +00:00
Eelco Dolstra
370f15acf3 * qemu-kvm 0.12.5.
svn path=/nixpkgs/trunk/; revision=22804
2010-07-29 08:41:25 +00:00
Eelco Dolstra
ba498d4a43 * composedArgsAndFun -> makeOverridable for consistency.
* Rename a few single-version packages to "default.nix".

svn path=/nixpkgs/trunk/; revision=22803
2010-07-29 08:21:21 +00:00
Lluís Batlle i Rossell
41b7a3cda6 Making tigervnc build with the xserver 1.8
svn path=/nixpkgs/trunk/; revision=22802
2010-07-29 07:59:06 +00:00
Eelco Dolstra
b1afe4e7ac * Finish renaming.
svn path=/nixpkgs/trunk/; revision=22801
2010-07-29 07:02:26 +00:00
Eelco Dolstra
5b2dcdd24d * Remove the old PHP.
svn path=/nixpkgs/trunk/; revision=22800
2010-07-29 07:00:00 +00:00
Peter Simons
4b248a36b0 pkgs/tools/networking/nbd: updated to version 2.9.15
svn path=/nixpkgs/trunk/; revision=22799
2010-07-28 21:28:23 +00:00
Eelco Dolstra
f1598a8941 * More cleanup.
svn path=/nixpkgs/trunk/; revision=22798
2010-07-28 18:01:17 +00:00
Eelco Dolstra
d67aefc19d * Remove `customKernel' which is obsolete as far as I can tell.
* Remove `sumTwoArgs' since it has no remaining callers.

svn path=/nixpkgs/trunk/; revision=22797
2010-07-28 16:09:13 +00:00
Eelco Dolstra
fa314f0724 * Remove KVM (obsolete -> qemu-kvm).
svn path=/nixpkgs/trunk/; revision=22796
2010-07-28 15:39:39 +00:00
Eelco Dolstra
749b8607ca * More cleanup.
svn path=/nixpkgs/trunk/; revision=22795
2010-07-28 15:35:01 +00:00
Peter Simons
27fe0c57f3 pkgs/development/python-modules/pycrypto: enable building of this package on all GNU platforms
svn path=/nixpkgs/trunk/; revision=22794
2010-07-28 13:10:18 +00:00
Peter Simons
12943b6a3e pkgs/development/python-modules/pycrypto: downgrade to 2.0.1
The download sites for 2.1.0 all appear to be offline.

svn path=/nixpkgs/trunk/; revision=22793
2010-07-28 13:09:44 +00:00
Peter Simons
93ff8697d1 pkgs/tools/networking/p2p/tahoe-lafs: add mock060 to propagatedBuildInputs
The package is required for the regression test suite. Adding it to
buildInputs would probably work, too, but I haven't tried it.

svn path=/nixpkgs/trunk/; revision=22792
2010-07-28 13:09:20 +00:00
Peter Simons
38bda8a8bf pkgs/top-level/python-packages.nix: added python-mock-0.6.0
This version seems to be an unofficial release from tahoe-lafs.org based
on the mock-0.1.0 release from python-mock.sourceforge.net. It should
probably replace the old version we have in here.

svn path=/nixpkgs/trunk/; revision=22791
2010-07-28 13:09:04 +00:00
Peter Simons
60026c0a32 pkgs/development/libraries/crypto++: added todo note about removing cryptotest.exe from the installed image
svn path=/nixpkgs/trunk/; revision=22790
2010-07-28 13:08:49 +00:00
Peter Simons
66b8ff8e0c pkgs/development/python-modules/pycrypto: updated homepage and download URL to use http://www.pycrypto.org/
svn path=/nixpkgs/trunk/; revision=22789
2010-07-28 13:07:48 +00:00
Peter Simons
4630c1854d pycryptopp: base python wrapper on the Nix store version of libcrypto++
rather than the version that's included in the distribution archive

svn path=/nixpkgs/trunk/; revision=22788
2010-07-28 13:07:05 +00:00
Peter Simons
df013849e4 python-numpy: improved support for BLAS and LAPACK via gfortran
svn path=/nixpkgs/trunk/; revision=22787
2010-07-28 13:05:35 +00:00
Peter Simons
93b18ceb30 pkgs/development/python-modules/generic: parameterize build/install command
The generic 'buildPythonPackage' function used to use the build/install command
"easy_install" unconditionally. That didn't work for python-numpy, for
instance, because the package wants "setup.py" run with additional parameters
to determine the fortran compiler of choice. The newly introduced function
argument 'installCommand' allows to implement this. By passing that parameter,
the default build command can be overridden.

svn path=/nixpkgs/trunk/; revision=22786
2010-07-28 13:05:04 +00:00
Peter Simons
b89f310c7a pkgs/development/libraries/crypto++: fixed build impurity
* Don't build with "-march=native", because the generated binaries
   won't work reliably on systems with a different CPU. Instead,
   "--march=i686" is used on x86, and "--march=nocona" an x86_64.
   Otherwise, "--march" remains unset.

 * Compile with -O3 instead of -O2. This code is performance-critical.

 * Don't build with '-g'.

svn path=/nixpkgs/trunk/; revision=22785
2010-07-28 13:03:11 +00:00
Eelco Dolstra
d81ed8201f * Turn vim/default.nix into a regular package. We don't need two
configurable VIMs.

svn path=/nixpkgs/trunk/; revision=22784
2010-07-28 12:52:54 +00:00
Eelco Dolstra
6609710409 * Get rid of many instances of "args: with args;", and other coding
guidelines violations.
* Updated libsamplerate to 0.1.7.

svn path=/nixpkgs/trunk/; revision=22782
2010-07-28 11:55:54 +00:00
Eelco Dolstra
b4a3f99c78 * Remove orphaned/obsolete packages.
svn path=/nixpkgs/trunk/; revision=22781
2010-07-28 09:43:03 +00:00
Peter Simons
ea3ce74312 python-setuptools-darcs: the build process seems to depend on 'darcsver'
| source root is setuptools_darcs-1.2.9
 | patching sources
 | configuring
 | no configure script, doing nothing
 | building
 | running tests
 | Download error: [Errno -3] Temporary failure in name resolution -- Some packages may not be found!
 | Couldn't find index page for 'darcsver' (maybe misspelled?)
 | Download error: [Errno -3] Temporary failure in name resolution -- Some packages may not be found!
 | No local packages or download links found for darcsver>=1.2.0
 | Traceback (most recent call last):
 |   File "setup.py", line 79, in <module>
 |     zip_safe=False, # I prefer unzipped for easier access.
 |   File "/nix/store/r6xlmlf0amzwhkvkv0v656jgx7r299g7-python-2.6.5/lib/python2.6/distutils/core.py", line 113, in setup
 |     _setup_distribution = dist = klass(attrs)
 |   File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 260, in __init__
 |   File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 284, in fetch_build_eggs
 |   File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 563, in resolve
 |   File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 799, in best_match
 |   File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 811, in obtain
 |   File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 327, in fetch_build_egg
 |   File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 434, in easy_install
 |   File "build/bdist.linux-x86_64/egg/setuptools/package_index.py", line 475, in fetch_distribution
 | AttributeError: 'NoneType' object has no attribute 'clone'
 | builder for `/nix/store/rkm5fzs0p6hh45mvpzv0qqphmsjnyag8-python-setuptools-darcs-1.2.9.drv' failed with exit code 1
 | error: build of `/nix/store/rkm5fzs0p6hh45mvpzv0qqphmsjnyag8-python-setuptools-darcs-1.2.9.drv' failed

svn path=/nixpkgs/trunk/; revision=22780
2010-07-28 09:33:35 +00:00
Eelco Dolstra
95c5f85819 * Fix misspelled package name.
svn path=/nixpkgs/trunk/; revision=22777
2010-07-28 08:21:56 +00:00
Peter Simons
1bb86133c7 pkgs/tools/networking/p2p/tahoe-lafs: updated to version 1.7.1
svn path=/nixpkgs/trunk/; revision=22774
2010-07-27 23:52:22 +00:00
Peter Simons
4e872b84ee pyOpenSSL: updated to version 0.10
svn path=/nixpkgs/trunk/; revision=22773
2010-07-27 23:52:14 +00:00
Peter Simons
3819998730 pycryptopp: updated to version 0.5.19
svn path=/nixpkgs/trunk/; revision=22772
2010-07-27 23:52:08 +00:00
Peter Simons
ceb01a86ea python-nevow: updated to version 0.10.0
svn path=/nixpkgs/trunk/; revision=22771
2010-07-27 23:52:02 +00:00
Peter Simons
d1b181e8bb python-foolscap: updated to version 0.5.1
svn path=/nixpkgs/trunk/; revision=22770
2010-07-27 23:51:56 +00:00
Peter Simons
07a0bf9be0 python-darcsver: updated to version 1.5.1
svn path=/nixpkgs/trunk/; revision=22769
2010-07-27 23:51:48 +00:00
Peter Simons
3a98d25dfd python-argparse: updated to version 1.1
svn path=/nixpkgs/trunk/; revision=22768
2010-07-27 23:51:42 +00:00
Peter Simons
810814b85a pyutil: updated to version 1.7.9 (and disabled test suite)
When the regression test suite is run, it tries to compile some plug-in
code into Twisted's store path, and fails. I'm not sure how to remedy
this problem.

svn path=/nixpkgs/trunk/; revision=22767
2010-07-27 23:51:36 +00:00
Peter Simons
b3124aa13a python-zfec: updated to version 1.4.7
svn path=/nixpkgs/trunk/; revision=22766
2010-07-27 23:51:29 +00:00
Peter Simons
62ac430904 python-simplejson: updated to version 2.1.1
svn path=/nixpkgs/trunk/; revision=22765
2010-07-27 23:51:22 +00:00
Peter Simons
67b620b66f python-setuptools-trial: updated to version 0.5.9
svn path=/nixpkgs/trunk/; revision=22764
2010-07-27 23:51:16 +00:00
Peter Simons
3c5b7b846e python-setuptools-darcs: updated to version 1.2.9
svn path=/nixpkgs/trunk/; revision=22763
2010-07-27 23:51:10 +00:00
Peter Simons
df093a358f python-twisted: updated to 10.1.0
svn path=/nixpkgs/trunk/; revision=22762
2010-07-27 23:51:04 +00:00
Peter Simons
9a72349f84 python-zope-interface: updated to version 3.6.1
svn path=/nixpkgs/trunk/; revision=22761
2010-07-27 23:50:57 +00:00
Peter Simons
84323ac979 pycryptopp: use the embedded crypto++ library when compiling this module
crypto++ has an impurity that leads to test suite failures in this
module, i.e. in sha256. When that impurity has been fixed, we should try
building on top of the the pristine crypto++ library again.

svn path=/nixpkgs/trunk/; revision=22760
2010-07-27 23:50:51 +00:00
Peter Simons
81a2c9d395 python-numpy: add buildInput gfortran to enable support for blas and lapack
svn path=/nixpkgs/trunk/; revision=22759
2010-07-27 23:50:45 +00:00
Peter Simons
fb1142ee5c pkgs/top-level/all-packages.nix: crypto++-5.6.0 is compiled with "-O2 -march=native -mtune=native"
Ought to be fixed ASAP. I'll probably do it tomorrow.

svn path=/nixpkgs/trunk/; revision=22758
2010-07-27 23:50:35 +00:00
Rob Vermaas
15cb365b1d make nix-prefetch-hg executable
svn path=/nixpkgs/trunk/; revision=22755
2010-07-27 16:32:51 +00:00
Lluís Batlle i Rossell
2c9cdbb8f2 Revert "Version update for vxl", because:
- Although the file for 1.14 is in the upstream file repository, it's not
  published in their web, which still talks about 1.13 for the stable release.
- The cmake files comming with this vxl fail (because of some weird dependency
  on a doxygen.cmake file)

This reverts commit 22577

svn path=/nixpkgs/trunk/; revision=22750
2010-07-27 15:57:01 +00:00
Eelco Dolstra
159d141fb8 * Make Thunderbird 3.x the default.
svn path=/nixpkgs/trunk/; revision=22749
2010-07-27 11:46:03 +00:00
Eelco Dolstra
3c57f1fd8a * Fix zlib 1.2.5 on Cygwin. (The Makefile doesn't support building
just a static library.)

svn path=/nixpkgs/trunk/; revision=22748
2010-07-27 11:37:29 +00:00
Eelco Dolstra
42016ca6aa * Firefox 3.6.8.
svn path=/nixpkgs/trunk/; revision=22747
2010-07-27 11:35:31 +00:00
Eelco Dolstra
228c6e0c1f * Merged the x-updates branch (latest X server / libraries, GTK+,
Fontconfig, etc.).

svn path=/nixpkgs/trunk/; revision=22735
2010-07-26 13:59:12 +00:00
Peter Simons
2e15430e47 pkgs/top-level/all-packages.nix: stripped trailing whitespace
svn path=/nixpkgs/trunk/; revision=22734
2010-07-26 13:41:09 +00:00
Peter Simons
d137679f20 pkgs/applications/editors/emacs-modes/rudel: added rudel 0.2-4
A collaborative editing environment for GNU Emacs.

svn path=/nixpkgs/trunk/; revision=22733
2010-07-26 13:41:03 +00:00
Ludovic Courtès
c0cafc5ec7 GNU IceCat 3.6.7.
svn path=/nixpkgs/trunk/; revision=22732
2010-07-25 14:16:09 +00:00
Armijn Hemel
be0a49f551 update to 2.6.10, still haven't had time to dig into the gimpfu Python import problems
svn path=/nixpkgs/trunk/; revision=22731
2010-07-25 12:49:03 +00:00
Armijn Hemel
066bd72e6f update to 2.7.2
svn path=/nixpkgs/trunk/; revision=22729
2010-07-25 11:10:10 +00:00
Andres Löh
5503148e05 Minor fix for release.nix.
svn path=/nixpkgs/trunk/; revision=22716
2010-07-22 18:55:32 +00:00
Andres Löh
73bee7da33 Switched the default version of ghc and Haskell Platform to 6.12.3 and 2010.2.0.0.
svn path=/nixpkgs/trunk/; revision=22715
2010-07-22 18:47:59 +00:00
Andres Löh
6c90771ac6 * Updated darcs to 2.4.4.
* Added Haskell Platform 2010.2.0.0.
* Added cairo package in preparation for adding a new gtk2hs.

svn path=/nixpkgs/trunk/; revision=22714
2010-07-22 18:04:39 +00:00
Ludovic Courtès
e4df0cab9f cpio: Disable tests on Darwin.
svn path=/nixpkgs/trunk/; revision=22713
2010-07-22 15:27:48 +00:00
Peter Simons
ba58eb8e22 pkgs/stdenv/generic: added isSunOS attribute, similar to isLinux, isDarwin, etc.
svn path=/nixpkgs/branches/stdenv-updates/; revision=22675
2010-07-20 13:14:17 +00:00
Peter Simons
aec027e2ec pkgs/development/libraries/ncurses: enable parallel building for ncurses
svn path=/nixpkgs/branches/stdenv-updates/; revision=22674
2010-07-20 13:14:03 +00:00
Peter Simons
9f8ff9f714 pkgs/development/interpreters/python/2.6/default.nix: enable parallel building
svn path=/nixpkgs/branches/stdenv-updates/; revision=22673
2010-07-20 13:13:30 +00:00
Peter Simons
815b121dfb pkgs/tools/package-management/nix/unstable.nix: updated to latest version
svn path=/nixpkgs/branches/stdenv-updates/; revision=22613
2010-07-15 14:56:55 +00:00
Peter Simons
70240d36ac Enable parallel building of gcc, glibc, gmp, mpfr, coreutils, perl, git, and qt4.
svn path=/nixpkgs/branches/stdenv-updates/; revision=22400
2010-06-23 14:35:18 +00:00
Peter Simons
226e0c7646 pkgs/stdenv/generic/setup.sh: added support for enableParallelBuilding variable
If a build expressions has set "enableParallelBuilding = true", then the
generic builder may utilize more than one CPU core to build that particular
expression. This feature works out of the box for GNU Make. Expressions that
use other build drivers like Boost.Jam or SCons have to specify appropriate
flags such as "-j${NIX_BUILD_CORES}" themselves.

svn path=/nixpkgs/branches/stdenv-updates/; revision=22399
2010-06-23 14:34:59 +00:00
Peter Simons
ce9cc7da1f pkgs/tools/package-management/nix/unstable.nix: added support for (impure) NIX_BUILD_CORES variable
svn path=/nixpkgs/branches/stdenv-updates/; revision=22398
2010-06-23 14:34:47 +00:00
Ludovic Courtès
f1ea4d1835 GNU Guile 1.8: Fix builds with GCC 4.5.
svn path=/nixpkgs/branches/stdenv-updates/; revision=22369
2010-06-22 08:06:12 +00:00
Marc Weber
f3e7f0fdf0 reverting my patch series adding -j -l support for make
svn path=/nixpkgs/branches/stdenv-updates/; revision=22336
2010-06-19 15:52:28 +00:00
Marc Weber
f446814260 no longer pass -j to make without arg which means no limit on forks. This brought down the build farm
svn path=/nixpkgs/branches/stdenv-updates/; revision=22293
2010-06-16 12:39:19 +00:00
Marc Weber
2dafd54743 opt-out some failing phases
svn path=/nixpkgs/branches/stdenv-updates/; revision=22285
2010-06-15 19:00:58 +00:00
Marc Weber
7db7857d15 nix num-cores.patch
pass MAX_PARALLELIZATION and TARGET_LOAD to the builder. See comments

svn path=/nixpkgs/branches/stdenv-updates/; revision=22284
2010-06-15 19:00:54 +00:00
Marc Weber
3c14e712ca setup.sh: add -j and -l options
svn path=/nixpkgs/branches/stdenv-updates/; revision=22283
2010-06-15 19:00:51 +00:00
Marc Weber
4f1075c40b generic/setup.sh: remove duplication: - add generic showCommand function which prints a command before running it - add runMake which is using that function passing the makefile if set
make all make invokations use runMake

svn path=/nixpkgs/branches/stdenv-updates/; revision=22282
2010-06-15 19:00:48 +00:00
Lluís Batlle i Rossell
d84ce122f9 Uh, there were references to gcc44_real still. I hope not anymore.
I decided to update gfortran to gfortran45 (it was gfortran43)


svn path=/nixpkgs/branches/stdenv-updates/; revision=22276
2010-06-15 12:11:40 +00:00
Lluís Batlle i Rossell
0bc91e6322 Fixing the attributes of gcc44 and gcc45, so the proper one is taken from
stdenv


svn path=/nixpkgs/branches/stdenv-updates/; revision=22274
2010-06-15 11:55:19 +00:00
Lluís Batlle i Rossell
3f77d3da03 I downgrade ppl again to the stable release, and I make gmp 4.3.2 the default
gmp; we can update all once we have stable ppl 0.11 and a working cloog-ppl
with all that.
This way we should at least gcc4.5 building with ppl/cloog-ppl


svn path=/nixpkgs/branches/stdenv-updates/; revision=22271
2010-06-15 09:14:16 +00:00
Lluís Batlle i Rossell
e31361657c Updating gmp and ppl (this last, mandatory, to match the gmp version).
I chose a snapshot of the future 0.11 ppl (that had to be released one or two
months ago, I think), waiting for the 0.11 to be frozen. Only 0.11 supports
building with gmp 5.x



svn path=/nixpkgs/branches/stdenv-updates/; revision=22268
2010-06-14 21:44:38 +00:00
Lluís Batlle i Rossell
d30ede1a13 Reverting r22258. I got confused; we don't need a new gcc build in stdenvLinux,
but an up to date ppl package (because the current does not build with such a
new gmp)


svn path=/nixpkgs/branches/stdenv-updates/; revision=22267
2010-06-14 21:40:11 +00:00
Lluís Batlle i Rossell
0feaada94a Adding a new gcc in the middle of the linux stdenv build, so we can have a
final stdenv gcc with ppl.


svn path=/nixpkgs/branches/stdenv-updates/; revision=22258
2010-06-14 14:02:14 +00:00
Lluís Batlle i Rossell
4afd41a6b6 Fixing the stdenv-updates evaluation (a stdenv2 reference got in updating from trunk)
svn path=/nixpkgs/branches/stdenv-updates/; revision=22257
2010-06-14 12:16:37 +00:00
Lluís Batlle i Rossell
21aae800af Trying to make gcc 4.5 the default
svn path=/nixpkgs/branches/stdenv-updates/; revision=22255
2010-06-14 09:30:31 +00:00
Lluís Batlle i Rossell
86345919c2 Updating from trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=22254
2010-06-14 09:28:10 +00:00
David Guibert
bf11f132e0 gnupatch: fix broken url
svn path=/nixpkgs/branches/stdenv-updates/; revision=22042
2010-05-28 11:06:52 +00:00
David Guibert
ead4a8acbc lvm2: upstream version is now 2.02.65.
svn path=/nixpkgs/branches/stdenv-updates/; revision=22029
2010-05-28 06:16:11 +00:00
Lluís Batlle i Rossell
5a9be6d9d9 Merged from trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=21983
2010-05-26 07:06:02 +00:00
Lluís Batlle i Rossell
bd9c968158 Removing any rest of the trunk's stdenv2, that has a fix in ld-wrapper to make
it properly put the rpath for directly passed .so files, and additionally it
works much faster than the old ld-wrapper.


svn path=/nixpkgs/branches/stdenv-updates/; revision=21978
2010-05-25 20:51:01 +00:00
Lluís Batlle i Rossell
249f35e20c As Ludovic just told me in irc, I make the glibc builder2.sh from trunk its only builder.sh
svn path=/nixpkgs/branches/stdenv-updates/; revision=21977
2010-05-25 20:46:56 +00:00
Lluís Batlle i Rossell
85e1bc7d34 Fixing coreutils - I did not merge that well enough
svn path=/nixpkgs/branches/stdenv-updates/; revision=21976
2010-05-25 20:41:53 +00:00
Lluís Batlle i Rossell
fa1a414aee Merging from trunk - I had to resolve conflicts on coreutils; I hope I resolved that
well


svn path=/nixpkgs/branches/stdenv-updates/; revision=21975
2010-05-25 20:38:18 +00:00
Lluís Batlle i Rossell
d15811bf78 Trying to fix stdenv updates build
(I broke glibc at the merge resolution I did with it in the last update from
trunk)


svn path=/nixpkgs/branches/stdenv-updates/; revision=21919
2010-05-20 12:33:55 +00:00
Peter Simons
5a928cc584 pkgs/development/libraries/pcre: updated to version 8.02
svn path=/nixpkgs/branches/stdenv-updates/; revision=21908
2010-05-20 10:32:56 +00:00
Lluís Batlle i Rossell
6d88da9a23 Merging from trunk (conflict on glibc, I think I resolved it)
svn path=/nixpkgs/branches/stdenv-updates/; revision=21879
2010-05-19 15:26:00 +00:00
Ludovic Courtès
d15d6267fa GNU gettext 0.18.
svn path=/nixpkgs/branches/stdenv-updates/; revision=21702
2010-05-10 12:33:43 +00:00
Yury G. Kudryashov
c2c4990057 Remove C++-style comment from sys/acl.h
svn path=/nixpkgs/branches/stdenv-updates/; revision=21581
2010-05-03 15:47:58 +00:00
Yury G. Kudryashov
646d7a2eb0 Upgrade attr, moved to savannah
svn path=/nixpkgs/branches/stdenv-updates/; revision=21579
2010-05-03 14:41:19 +00:00
Yury G. Kudryashov
2452930b76 Upgrade acl, new homepage
svn path=/nixpkgs/branches/stdenv-updates/; revision=21578
2010-05-03 14:41:04 +00:00
Ludovic Courtès
8f995b2e50 GNU tar: Remove obsolete patch.
svn path=/nixpkgs/branches/stdenv-updates/; revision=21262
2010-04-23 09:11:23 +00:00
Lluís Batlle i Rossell
bbb833cf8b Fixing the gnused fetchurl hash type, for stdenv-updates to evaluate well
svn path=/nixpkgs/branches/stdenv-updates/; revision=21252
2010-04-22 21:45:56 +00:00
Lluís Batlle i Rossell
6f2fac6466 Merging from trunk.
I hope I resolved the conflicts well (gmp and gccCross)


svn path=/nixpkgs/branches/stdenv-updates/; revision=21251
2010-04-22 21:44:33 +00:00
Lluís Batlle i Rossell
6d62947d71 Making glibc build without any LOCALE_ARCHIVE* environment variable anymore,
setting glibc to look for the locale-archive in the usual nixos
/var/run/current-system/sw/lib/locale path.
This solution may give us less problems.
The last problem involved was the lack of locale-archive in setuid/setgid
programs, due to the risk of letting them take the LOCALE_ARCHIVE variable
contents from the caller.

svn path=/nixpkgs/branches/stdenv-updates/; revision=21249
2010-04-22 21:17:57 +00:00
Ludovic Courtès
99d51d0e92 Assorted GNU updates.
svn path=/nixpkgs/branches/stdenv-updates/; revision=21047
2010-04-13 08:37:54 +00:00
Lluís Batlle i Rossell
19b9811012 Making a bunch of basic programs cross-buildable.
After this, the 'bootstrap-tools' can be cross-built.


svn path=/nixpkgs/branches/stdenv-updates/; revision=20945
2010-04-04 18:10:42 +00:00
Lluís Batlle i Rossell
2d261d1c1e Making glibc-2.11.1 search the locale archive not in LOCALE_ARCHIVE, but LOCALE_ARCHIVE_2_11
Then, next updates of glibc versions should involve also a change in the LOCALE_ARCHIVE_X_XX variable name, and this way nixos would deal properly with locales and old-glibc packages.

I welcome other solutions. This looks simple enough, so that's why I go on it.


svn path=/nixpkgs/branches/stdenv-updates/; revision=20944
2010-04-04 18:05:58 +00:00
Lluís Batlle i Rossell
c7bc635983 Trying to disable ppl in the cross-gcc. ppl does not build since the gmp update.
svn path=/nixpkgs/branches/stdenv-updates/; revision=20839
2010-03-27 18:23:41 +00:00
Ludovic Courtès
e7f9d4e03f Try GMP 5 on Darwin.
svn path=/nixpkgs/branches/stdenv-updates/; revision=20587
2010-03-11 23:25:03 +00:00
Ludovic Courtès
d3292f42a2 GMP 5.0.0.
svn path=/nixpkgs/branches/stdenv-updates/; revision=20586
2010-03-11 23:24:56 +00:00
Lluís Batlle i Rossell
dfaee7994d Little update on uclibc: enable ftw.
svn path=/nixpkgs/branches/stdenv-updates/; revision=20513
2010-03-09 20:36:56 +00:00
Lluís Batlle i Rossell
9665611c9e Updating from trunk, to get the main evaluation fix about libcCross.
svn path=/nixpkgs/branches/stdenv-updates/; revision=20512
2010-03-09 18:17:30 +00:00
Lluís Batlle i Rossell
6f9a783232 Trying to get coreutils cross-built with uclibc.
This involved fixing some buildInputs/buildNativeInputs in acl/attr,
and adding a libiconv in some places.


svn path=/nixpkgs/branches/stdenv-updates/; revision=20510
2010-03-09 18:05:38 +00:00
Lluís Batlle i Rossell
70b2dd393c Updating from trunk (to get uclibc changes...)
I want to cross-build utillinux and coreutils, and that play will have to go in stdenv-updates I think.


svn path=/nixpkgs/branches/stdenv-updates/; revision=20506
2010-03-09 16:31:36 +00:00
Eelco Dolstra
d9b48d35fb svn path=/nixpkgs/branches/stdenv-updates/; revision=20504 2010-03-09 16:07:00 +00:00
Lluís Batlle i Rossell
1bb2ab1904 Updating from trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=20491
2010-03-09 13:33:56 +00:00
Lluís Batlle i Rossell
f36f99e368 Making gcc cross-buildable, at least for glibc.
svn path=/nixpkgs/branches/stdenv-updates/; revision=20454
2010-03-06 21:41:01 +00:00
700 changed files with 12496 additions and 122984 deletions

View File

@@ -6,9 +6,13 @@ let
lib = (import ../.. {}).lib;
rel = removeAttrs (import ../../pkgs/top-level/release.nix) ["tarball"];
rel = removeAttrs (import ../../pkgs/top-level/release.nix) [ "tarball" "xbursttools" ];
maybe = x: let y = builtins.tryEval x; in if y.success then y.value else null;
seqList = xs: res: lib.fold (x: xs: lib.seq x xs) res xs;
strictAttrs = as: seqList (lib.attrValues as) as;
maybe = as: let y = builtins.tryEval (strictAttrs as); in if y.success then y.value else builtins.trace "FAIL" null;
call = attrs: lib.flip lib.mapAttrs attrs
(n: v: builtins.trace n (

View File

@@ -623,19 +623,9 @@ exec ${GUILE-guile} -L "$PWD" -l "$0" \
(let ((strverscmp
(let ((sym (or (dynamic-func "strverscmp" (dynamic-link))
(error "could not find `strverscmp' (from GNU libc)"))))
(make-foreign-function int sym (list '* '*))))
(string->null-terminated-utf8
(lambda (s)
(let* ((utf8 (string->utf8 s))
(len (bytevector-length utf8))
(nts (make-bytevector (+ len 1))))
(bytevector-copy! utf8 0 nts 0 len)
(bytevector-u8-set! nts len 0)
nts))))
(make-foreign-function int sym (list '* '*)))))
(lambda (a b)
(let ((a (bytevector->foreign (string->null-terminated-utf8 a)))
(b (bytevector->foreign (string->null-terminated-utf8 b))))
(> (strverscmp a b) 0)))))
(> (strverscmp (string->pointer a) (string->pointer b)) 0))))
(define (latest-release project)
;; Return "FOO-X.Y" or #f.

View File

@@ -0,0 +1,712 @@
;;; GNUpdate -- Update GNU packages in Nixpkgs. -*- coding: utf-8; -*-
;;; Copyright (C) 2010 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the License, or
;;; (at your option) any later version.
;;;
;;; This program is distributed in the hope that it will be useful,
;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
(cond-expand (guile-2 #t)
(else (error "GNU Guile 2.0 is required")))
(use-modules (sxml ssax)
(ice-9 popen)
(ice-9 match)
(ice-9 rdelim)
(ice-9 regex)
(ice-9 vlist)
(srfi srfi-1)
(srfi srfi-9)
(srfi srfi-11)
(srfi srfi-37)
(system foreign)
(rnrs bytevectors))
;;;
;;; SNix.
;;;
(define-record-type <location>
(make-location file line column)
location?
(file location-file)
(line location-line)
(column location-column))
(define (->loc line column path)
(and line column path
(make-location path (string->number line) (string->number column))))
;; XXX: Hack to add missing exports from `(sxml ssax)' as of 1.9.10.
(let ((ssax (resolve-module '(sxml ssax))))
(for-each (lambda (sym)
(module-add! (current-module) sym
(module-variable ssax sym)))
'(ssax:warn ssax:skip-pi nl)))
;; Nix object types visible in the XML output of `nix-instantiate' and
;; mapping to S-expressions (we map to sexps, not records, so that we
;; can do pattern matching):
;;
;; at (at varpat attrspat)
;; attr (attribute loc name value)
;; attrs (attribute-set attributes)
;; attrspat (attribute-set-pattern patterns)
;; bool #f|#t
;; derivation (derivation drv-path out-path attributes)
;; ellipsis '...
;; expr (snix loc body ...)
;; function (function loc at|attrspat|varpat)
;; int int
;; list list
;; null 'null
;; path string
;; string string
;; unevaluated 'unevaluated
;; varpat (varpat name)
;;
;; Initially ATTRIBUTES in `derivation' and `attribute-set' was a promise;
;; however, handling `repeated' nodes makes it impossible to do anything
;; lazily because the whole SXML tree has to be traversed to maintain the
;; list of known derivations.
(define (xml-element->snix elem attributes body derivations)
;; Return an SNix element corresponding to XML element ELEM.
(define (loc)
(->loc (assq-ref attributes 'line)
(assq-ref attributes 'column)
(assq-ref attributes 'path)))
(case elem
((at)
(values `(at ,(car body) ,(cadr body)) derivations))
((attr)
(let ((name (assq-ref attributes 'name)))
(cond ((null? body)
(values `(attribute-pattern ,name) derivations))
((and (pair? body) (null? (cdr body)))
(values `(attribute ,(loc) ,name ,(car body))
derivations))
(else
(error "invalid attribute body" name (loc) body)))))
((attrs)
(values `(attribute-set ,(reverse body)) derivations))
((attrspat)
(values `(attribute-set-pattern ,body) derivations))
((bool)
(values (string-ci=? "true" (assq-ref attributes 'value))
derivations))
((derivation)
(let ((drv-path (assq-ref attributes 'drvPath))
(out-path (assq-ref attributes 'outPath)))
(if (equal? body '(repeated))
(let ((body (vhash-assoc drv-path derivations)))
(if (pair? body)
(values `(derivation ,drv-path ,out-path ,(cdr body))
derivations)
(error "no previous occurrence of derivation"
drv-path)))
(values `(derivation ,drv-path ,out-path ,body)
(vhash-cons drv-path body derivations)))))
((ellipsis)
(values '... derivations))
((expr)
(values `(snix ,(loc) ,@body) derivations))
((function)
(values `(function ,(loc) ,body) derivations))
((int)
(values (string->number (assq-ref attributes 'value))
derivations))
((list)
(values body derivations))
((null)
(values 'null derivations))
((path)
(values (assq-ref attributes 'value) derivations))
((repeated)
(values 'repeated derivations))
((string)
(values (assq-ref attributes 'value) derivations))
((unevaluated)
(values 'unevaluated derivations))
((varpat)
(values `(varpat ,(assq-ref attributes 'name)) derivations))
(else (error "unhandled Nix XML element" elem))))
(define xml->snix
;; Return the SNix represention of TREE, an SXML tree as returned by
;; parsing the XML output of `nix-instantiate' on Nixpkgs.
(let ((parse
(ssax:make-parser NEW-LEVEL-SEED
(lambda (elem-gi attributes namespaces expected-content
seed)
(cons '() (cdr seed)))
FINISH-ELEMENT
(lambda (elem-gi attributes namespaces parent-seed
seed)
(let ((snix (car seed))
(derivations (cdr seed)))
(let-values (((snix derivations)
(xml-element->snix elem-gi
attributes
snix
derivations)))
(cons (cons snix (car parent-seed))
derivations))))
CHAR-DATA-HANDLER
(lambda (string1 string2 seed)
;; Discard inter-node strings, which are blanks.
seed))))
(lambda (port)
;; Discard the second value returned by the parser (the derivation
;; vhash).
(caar (parse port (cons '() vlist-null))))))
(define (call-with-package snix proc)
(match snix
(('attribute _ (and attribute-name (? string?))
('derivation _ _ body))
;; Ugly pattern matching.
(let ((meta
(any (lambda (attr)
(match attr
(('attribute _ "meta" ('attribute-set metas)) metas)
(_ #f)))
body))
(package-name
(any (lambda (attr)
(match attr
(('attribute _ "name" (and name (? string?)))
name)
(_ #f)))
body))
(location
(any (lambda (attr)
(match attr
(('attribute loc "name" (? string?))
loc)
(_ #f)))
body))
(src
(any (lambda (attr)
(match attr
(('attribute _ "src" src)
src)
(_ #f)))
body)))
(proc attribute-name package-name location meta src)))))
(define (call-with-src snix proc)
;; Assume SNIX contains the SNix expression for the value of an `src'
;; attribute, as returned by `call-with-package', and call PROC with the
;; relevant SRC information, or #f if SNIX doesn't match.
(match snix
(('derivation _ _ body)
(let ((name
(any (lambda (attr)
(match attr
(('attribute _ "name" (and name (? string?)))
name)
(_ #f)))
body))
(output-hash
(any (lambda (attr)
(match attr
(('attribute _ "outputHash" (and hash (? string?)))
hash)
(_ #f)))
body))
(urls
(any (lambda (attr)
(match attr
(('attribute _ "urls" (and urls (? pair?)))
urls)
(_ #f)))
body)))
(proc name output-hash urls)))
(_ (proc #f #f #f))))
(define (src->values snix)
(call-with-src snix values))
(define (open-nixpkgs nixpkgs)
(let ((script (string-append nixpkgs
"/maintainers/scripts/eval-release.nix")))
(open-pipe* OPEN_READ "nix-instantiate"
"--strict" "--eval-only" "--xml"
script)))
(define (nix-prefetch-url url)
;; Download URL in the Nix store and return the base32-encoded SHA256 hash
;; of the file at URL
(let* ((pipe (open-pipe* OPEN_READ "nix-prefetch-url" url))
(hash (read-line pipe)))
(close-pipe pipe)
(if (eof-object? hash)
(values #f #f)
(let* ((pipe (open-pipe* OPEN_READ "nix-store" "--print-fixed-path"
"sha256" hash (basename url)))
(path (read-line pipe)))
(if (eof-object? path)
(values #f #f)
(values (string-trim-both hash) (string-trim-both path)))))))
(define (update-nix-expression file
old-version old-hash
new-version new-hash)
;; Modify FILE in-place. Ugly: we call out to sed(1).
(let ((cmd (format #f "sed -i \"~a\" -e 's/~A/~a/g ; s/~A/~A/g'"
file
(regexp-quote old-version) new-version
old-hash
(or new-hash "new hash not available, check the log"))))
(format #t "running `~A'...~%" cmd)
(system cmd)))
;;;
;;; FTP client.
;;;
(define-record-type <ftp-connection>
(%make-ftp-connection socket addrinfo)
ftp-connection?
(socket ftp-connection-socket)
(addrinfo ftp-connection-addrinfo))
(define %ftp-ready-rx
(make-regexp "^([0-9]{3}) (.+)$"))
(define (%ftp-listen port)
(let loop ((line (read-line port)))
(cond ((eof-object? line) (values line #f))
((regexp-exec %ftp-ready-rx line)
=>
(lambda (match)
(values (string->number (match:substring match 1))
(match:substring match 2))))
(else
(loop (read-line port))))))
(define (%ftp-command command expected-code port)
(format port "~A~A~A" command (string #\return) (string #\newline))
(let-values (((code message) (%ftp-listen port)))
(if (eqv? code expected-code)
message
(throw 'ftp-error port command code message))))
(define (%ftp-login user pass port)
(let ((command (string-append "USER " user (string #\newline))))
(display command port)
(let-values (((code message) (%ftp-listen port)))
(case code
((230) #t)
((331) (%ftp-command (string-append "PASS " pass) 230 port))
(else (throw 'ftp-error port command code message))))))
(define (ftp-open host)
(catch 'getaddrinfo-error
(lambda ()
(let* ((ai (car (getaddrinfo host "ftp")))
(s (socket (addrinfo:fam ai) (addrinfo:socktype ai)
(addrinfo:protocol ai))))
(connect s (addrinfo:addr ai))
(setvbuf s _IOLBF)
(let-values (((code message) (%ftp-listen s)))
(if (eqv? code 220)
(begin
;(%ftp-command "OPTS UTF8 ON" 200 s)
(%ftp-login "anonymous" "ludo@example.com" s)
(%make-ftp-connection s ai))
(begin
(format (current-error-port) "FTP to `~a' failed: ~A: ~A~%"
host code message)
(close s)
#f)))))
(lambda (key errcode)
(format (current-error-port) "failed to resolve `~a': ~a~%"
host (gai-strerror errcode))
#f)))
(define (ftp-close conn)
(close (ftp-connection-socket conn)))
(define (ftp-chdir conn dir)
(%ftp-command (string-append "CWD " dir) 250
(ftp-connection-socket conn)))
(define (ftp-pasv conn)
(define %pasv-rx
(make-regexp "([0-9]+),([0-9]+),([0-9]+),([0-9]+),([0-9]+),([0-9]+)"))
(let ((message (%ftp-command "PASV" 227 (ftp-connection-socket conn))))
(cond ((regexp-exec %pasv-rx message)
=>
(lambda (match)
(+ (* (string->number (match:substring match 5)) 256)
(string->number (match:substring match 6)))))
(else
(throw 'ftp-error conn "PASV" 227 message)))))
(define* (ftp-list conn #:optional directory)
(define (address-with-port sa port)
(let ((fam (sockaddr:fam sa))
(addr (sockaddr:addr sa)))
(cond ((= fam AF_INET)
(make-socket-address fam addr port))
((= fam AF_INET6)
(make-socket-address fam addr port
(sockaddr:flowinfo sa)
(sockaddr:scopeid sa)))
(else #f))))
(if directory
(ftp-chdir conn directory))
(let* ((port (ftp-pasv conn))
(ai (ftp-connection-addrinfo conn))
(s (socket (addrinfo:fam ai) (addrinfo:socktype ai)
(addrinfo:protocol ai))))
(connect s (address-with-port (addrinfo:addr ai) port))
(setvbuf s _IOLBF)
(dynamic-wind
(lambda () #t)
(lambda ()
(%ftp-command "LIST" 150 (ftp-connection-socket conn))
(let loop ((line (read-line s))
(result '()))
(cond ((eof-object? line) (reverse result))
((regexp-exec %ftp-ready-rx line)
=>
(lambda (match)
(let ((code (string->number (match:substring match 1))))
(if (= 126 code)
(reverse result)
(throw 'ftp-error conn "LIST" code)))))
(else
(loop (read-line s)
(let ((file (car (reverse (string-tokenize line)))))
(cons file result)))))))
(lambda ()
(close s)
(let-values (((code message) (%ftp-listen (ftp-connection-socket conn))))
(or (eqv? code 226)
(throw 'ftp-error conn "LIST" code message)))))))
;;;
;;; GNU.
;;;
(define %ignored-package-attributes
;; Attribute name of packages to be ignored.
'("bash" "bashReal" "bashInteractive" ;; the full versioned name is incorrect
"autoconf213"
"automake17x"
"automake19x"
"automake110x"
"automake" ;; = 1.10.x
"bison1875"
"bison23"
"bison" ;; = 2.3
"emacs22"
"emacsSnapshot"
"gcc295"
"gcc33"
"gcc34"
"gcc40"
"gcc41"
"gcc42"
"gcc43"
"glibc25"
"glibc27"
"glibc29"
"guile_1_9"
))
(define (gnu? package)
;; Return true if PACKAGE (a snix expression) is a GNU package (according
;; to a simple heuristic.) Otherwise return #f.
(match package
(('attribute _ attribute-name ('derivation _ _ body))
(any (lambda (attr)
(match attr
(('attribute _ "meta" ('attribute-set metas))
(any (lambda (attr)
(match attr
(('attribute _ "description" value)
(string-prefix? "GNU" value))
(('attribute _ "homepage" value)
(string-contains value "www.gnu.org"))
(_ #f)))
metas))
(_ #f)))
body))
(_ #f)))
(define (gnu-packages packages)
(fold (lambda (package gnu)
(match package
(('attribute _ "emacs23Packages" emacs-packages)
;; XXX: Should prepend `emacs23Packages.' to attribute names.
(append (gnu-packages emacs-packages) gnu))
(('attribute _ attribute-name ('derivation _ _ body))
(if (member attribute-name %ignored-package-attributes)
gnu
(if (gnu? package)
(cons package gnu)
gnu)))
(_ gnu)))
'()
packages))
(define (ftp-server/directory project)
(define quirks
'(("commoncpp2" "ftp.gnu.org" "/gnu/commoncpp" #f)
("libgcrypt" "ftp.gnupg.org" "/gcrypt" #t)
("libgpg-error" "ftp.gnupg.org" "/gcrypt" #t)
("gnupg" "ftp.gnupg.org" "/gcrypt" #t)
("gnu-ghostscript" "ftp.gnu.org" "/ghostscript" #f)
("GNUnet" "ftp.gnu.org" "/gnu/gnunet" #f)
("mit-scheme" "ftp.gnu.org" "/gnu/mit-scheme/stable.pkg")
("icecat" "ftp.gnu.org" "/gnu/gnuzilla" #f)
("TeXmacs" "ftp.texmacs.org" "/TeXmacs/targz" #f)))
(let ((quirk (assoc project quirks)))
(match quirk
((_ server directory subdir?)
(values server (if (not subdir?)
directory
(string-append directory "/" project))))
(else
(values "ftp.gnu.org" (string-append "/gnu/" project))))))
(define (nixpkgs->gnu-name project)
(define quirks
'(("gcc-wrapper" . "gcc")
("ghostscript" . "gnu-ghostscript") ;; ../ghostscript/gnu-ghoscript-X.Y.tar.gz
("gnum4" . "m4")
("gnugrep" . "grep")
("gnused" . "sed")
("gnutar" . "tar")
("gnunet" . "GNUnet") ;; ftp.gnu.org/gnu/gnunet/GNUnet-x.y.tar.gz
("mitscheme" . "mit-scheme")
("texmacs" . "TeXmacs")))
(or (assoc-ref quirks project) project))
(define (releases project)
;; TODO: Handle project release trees like that of IceCat and MyServer.
(define release-rx
(make-regexp (string-append "^" project "-[0-9].*\\.tar\\.")))
(catch #t
(lambda ()
(let-values (((server directory) (ftp-server/directory project)))
(let* ((conn (ftp-open server))
(files (ftp-list conn directory)))
(ftp-close conn)
(map (lambda (tarball)
(let ((end (string-contains tarball ".tar")))
(substring tarball 0 end)))
;; Filter out signatures, deltas, and files which are potentially
;; not releases of PROJECT (e.g., in /gnu/guile, filter out
;; guile-oops and guile-www).
(filter (lambda (file)
(and (not (string-suffix? ".sig" file))
(regexp-exec release-rx file)))
files)))))
(lambda (key subr message . args)
(format (current-error-port)
"failed to get release list for `~A': ~A ~A~%"
project message args)
'())))
(define version-string>?
(let ((strverscmp
(let ((sym (or (dynamic-func "strverscmp" (dynamic-link))
(error "could not find `strverscmp' (from GNU libc)"))))
(make-foreign-function int sym (list '* '*))))
(string->null-terminated-utf8
(lambda (s)
(let* ((utf8 (string->utf8 s))
(len (bytevector-length utf8))
(nts (make-bytevector (+ len 1))))
(bytevector-copy! utf8 0 nts 0 len)
(bytevector-u8-set! nts len 0)
nts))))
(lambda (a b)
(let ((a (bytevector->foreign (string->null-terminated-utf8 a)))
(b (bytevector->foreign (string->null-terminated-utf8 b))))
(> (strverscmp a b) 0)))))
(define (latest-release project)
;; Return "FOO-X.Y" or #f.
(let ((releases (releases project)))
(and (not (null? releases))
(fold (lambda (release latest)
(if (version-string>? release latest)
release
latest))
""
releases))))
(define (package/version name+version)
(let ((hyphen (string-rindex name+version #\-)))
(if (not hyphen)
(values name+version #f)
(let ((name (substring name+version 0 hyphen))
(version (substring name+version (+ hyphen 1)
(string-length name+version))))
(values name version)))))
(define (file-extension file)
(let ((dot (string-rindex file #\.)))
(and dot (substring file (+ 1 dot) (string-length file)))))
(define (packages-to-update gnu-packages)
(fold (lambda (pkg result)
(call-with-package pkg
(lambda (attribute name+version location meta src)
(let-values (((name old-version)
(package/version name+version)))
(let ((latest (latest-release (nixpkgs->gnu-name name))))
(cond ((not latest)
(format #t "~A [unknown latest version]~%"
name+version)
result)
((string=? name+version latest)
(format #t "~A [up to date]~%" name+version)
result)
(else
(let-values (((project new-version)
(package/version latest))
((old-name old-hash old-urls)
(src->values src)))
(format #t "~A -> ~A [~A]~%" name+version latest
(and (pair? old-urls) (car old-urls)))
(let* ((url (and (pair? old-urls)
(car old-urls)))
(new-hash (fetch-gnu project new-version
(if url
(file-extension url)
"gz"))))
(cons (list name attribute
old-version old-hash
new-version new-hash
location)
result))))))))))
'()
gnu-packages))
(define (fetch-gnu project version archive-type)
(let-values (((server directory)
(ftp-server/directory project)))
(let* ((base (string-append project "-" version ".tar." archive-type))
(url (string-append "ftp://" server "/" directory "/" base))
(sig (string-append base ".sig"))
(sig-url (string-append url ".sig")))
(let-values (((hash path) (nix-prefetch-url url)))
(pk 'prefetch-url url hash path)
(and hash path
(begin
(false-if-exception (delete-file sig))
(system* "wget" sig-url)
(if (file-exists? sig)
(let ((ret (system* "gpg" "--verify" sig path)))
(false-if-exception (delete-file sig))
(if (and ret (= 0 (status:exit-val ret)))
hash
(begin
(format (current-error-port)
"signature verification failed for `~a'~%"
base)
(format (current-error-port)
"(could be because the public key is not in your keyring)~%")
#f)))
(begin
(format (current-error-port)
"no signature for `~a'~%" base)
hash))))))))
;;;
;;; Main program.
;;;
(define %options
;; Specifications of the command-line options.
(list (option '(#\h "help") #f #f
(lambda (opt name arg result)
(format #t "Usage: gnupdate [OPTIONS...]~%")
(format #t "GNUpdate -- update Nix expressions of GNU packages in Nixpkgs~%")
(format #t "~%")
(format #t " -x, --xml=FILE Read XML output of `nix-instantiate'~%")
(format #t " from FILE.~%")
(format #t " -d, --dry-run Don't actually update Nix expressions~%")
(format #t " -h, --help Give this help list.~%~%")
(format #t "Report bugs to <ludo@gnu.org>~%")
(exit 0)))
(option '(#\d "dry-run") #f #f
(lambda (opt name arg result)
(alist-cons 'dry-run #t result)))
(option '(#\x "xml") #t #f
(lambda (opt name arg result)
(alist-cons 'xml-file arg result)))))
(define-public (main . args)
;; Assume Nixpkgs is under $NIXPKGS or ~/src/nixpkgs.
(let* ((opts (args-fold args %options
(lambda (opt name arg result)
(error "unrecognized option `~A'" name))
(lambda (operand result)
(error "extraneous argument `~A'" operand))
'()))
(home (getenv "HOME"))
(path (or (getenv "NIXPKGS")
(string-append home "/src/nixpkgs")))
(snix (begin
(format (current-error-port) "parsing XML...~%")
(xml->snix
(or (and=> (assoc-ref opts 'xml-file) open-input-file)
(open-nixpkgs path)))))
(packages (match snix
(('snix _ ('attribute-set attributes))
attributes)
(else #f)))
(gnu (gnu-packages packages))
(updates (packages-to-update gnu)))
(format #t "~%~A packages to update...~%" (length updates))
(for-each (lambda (update)
(match update
((name attribute
old-version old-hash
new-version new-hash
location)
(if (assoc-ref opts 'dry-run)
(format #t "`~a' would be updated from ~a to ~a (~a -> ~a)~%"
name old-version new-version
old-hash new-hash)
(update-nix-expression (location-file location)
old-version old-hash
new-version new-hash)))
(_ #f)))
updates)
#t))

View File

@@ -0,0 +1,3 @@
#! /bin/sh
nix-instantiate --strict --eval-only --xml --show-trace "$(dirname "$0")"/eval-release.nix 2>&1 > /dev/null

View File

@@ -1,7 +1,10 @@
args: with args;
{ stdenv, fetchurl, scons, boost, pkgconfig, fftw, librdf_raptor
, librdf_rasqal, jackaudio, flac, libsamplerate, alsaLib, libxml2
, libxslt, libsndfile, libsigcxx, libusb, cairomm, glib, pango
, gtk, glibmm, gtkmm, libgnomecanvas, librdf, liblo, aubio
, fftwSinglePrec, libmad }:
stdenv.mkDerivation {
name = "ardour-2.8.2";
# svn is the source to get official releases from their site?
@@ -13,11 +16,10 @@ stdenv.mkDerivation {
};
buildInputs = [
scons boost
pkgconfig fftw librdf_raptor librdf_rasqal jackaudio flac
libsamplerate alsaLib libxml2 libxslt libsndfile libsigcxx libusb cairomm
glib pango gtk glibmm gtkmm libgnomecanvas fftw librdf liblo aubio
fftw fftwSinglePrec libmad
scons boost pkgconfig fftw librdf_raptor librdf_rasqal jackaudio
flac libsamplerate alsaLib libxml2 libxslt libsndfile libsigcxx
libusb cairomm glib pango gtk glibmm gtkmm libgnomecanvas librdf
liblo aubio fftwSinglePrec libmad
];
buildPhase = ''
@@ -35,7 +37,7 @@ stdenv.mkDerivation {
'';
homepage = http://ardour.org/;
license = "GPLv2";
maintainers = [args.lib.maintainers.marcweber];
platforms = args.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@@ -1,36 +1,37 @@
args: with args;
args.stdenv.mkDerivation {
{ stdenv, fetchurl, zlib, guile, libart_lgpl, pkgconfig, intltool
, gtk, glib, libogg, libvorbis, libgnomecanvas, gettext, perl }:
stdenv.mkDerivation {
name = "beast-0.7.1";
src = args.fetchurl {
src = fetchurl {
url = ftp://beast.gtk.org/pub/beast/v0.7/beast-0.7.1.tar.bz2;
sha256 = "0jyl1i1918rsn4296w07fsf6wx3clvad522m3bzgf8ms7gxivg5l";
};
buildInputs =[zlib guile libart_lgpl pkgconfig intltool gtk glib
buildInputs =
[ zlib guile libart_lgpl pkgconfig intltool gtk glib
libogg libvorbis libgnomecanvas gettext
];
inherit bash perl;
];
patchPhase = ''
unset patchPhase; patchPhase
sed 's=-DG_DISABLE_DEPRECATED==g' -i `find -type f` # the patches didn't remove all occurences
sed 's=/bin/bash=/$bash/bin/bash=g' -i `find -type f`
sed 's=/usr/bin/perl=/$perl/bin/bash=g' -i `find -type f`
sed 's=/bin/bash=/${stdenv.shell}=g' -i `find -type f`
sed 's=/usr/bin/perl=/${perl}/bin/perl=g' -i `find -type f`
'';
patches = [
(fetchurl {
url = mirror://gentoo/distfiles/beast-0.7.1-guile-1.8.diff.bz2;
sha256 = "dc5194deff4b0a0eec368a69090db682d0c3113044ce2c2ed017ddfec9d3814e";
})
./patch.patch # patches taken from gentoo
];
patches =
[ (fetchurl {
url = mirror://gentoo/distfiles/beast-0.7.1-guile-1.8.diff.bz2;
sha256 = "dc5194deff4b0a0eec368a69090db682d0c3113044ce2c2ed017ddfec9d3814e";
})
./patch.patch # patches taken from gentoo
];
meta = {
description = "BEAST - the Bedevilled Sound Engine";
homepage = http://beast.gtk.org;
license = ["GPL-2" "LGPL-2.1"];
description = "BEAST - the Bedevilled Sound Engine";
homepage = http://beast.gtk.org;
license = ["GPL-2" "LGPL-2.1"];
};
}

View File

@@ -1,23 +1,20 @@
args: with args;
{ stdenv, fetchurl, jackaudio, pkgconfig }:
let name = "jackmeter-0.3";
in
stdenv.mkDerivation {
inherit name;
stdenv.mkDerivation rec {
name = "jackmeter-0.3";
src = fetchurl {
url = "http://www.aelius.com/njh/jackmeter/${name}.tar.gz";
sha256 = "03siznnq3f0nnqyighgw9qdq1y4bfrrxs0mk6394pza3sz4b6sgp";
};
buildInputs = [jackaudio pkgconfig];
buildInputs = [ jackaudio pkgconfig ];
meta = {
description = "console jack loudness meter";
description = "Console jack loudness meter";
homepage = http://www.aelius.com/njh/jackmeter/;
license = "GPLv2";
maintainers = [args.lib.maintainers.marcweber];
platforms = args.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@@ -1,27 +1,22 @@
args: with args;
let localDefs = builderDefs.passthru.function {
src =
fetchurl {
url = http://plugin.org.uk/releases/0.4.15/swh-plugins-0.4.15.tar.gz;
sha256 = "0h462s4mmqg4iw7zdsihnrmz2vjg0fd49qxw2a284bnryjjfhpnh";
};
buildInputs = [fftw ladspaH pkgconfig];
configureFlags = [];
};
in with localDefs;
let
postInstall = fullDepEntry ("
ensureDir \$out/share/ladspa/
ln -s \$out/lib/ladspa \$out/share/ladspa/lib
") [minInit defEnsureDir];
in
{ stdenv, fetchurl, fftw, ladspaH, pkgconfig }:
stdenv.mkDerivation {
name = "swh-plugins-0.4.15";
builder = writeScript "swh-plugins-0.4.15-builder"
(textClosure localDefs [doConfigure doMakeInstall
postInstall doForceShare]);
meta = {
description = "LADSPA format audio plugins";
inherit src;
};
name = "swh-plugins-0.4.15";
src = fetchurl {
url = http://plugin.org.uk/releases/0.4.15/swh-plugins-0.4.15.tar.gz;
sha256 = "0h462s4mmqg4iw7zdsihnrmz2vjg0fd49qxw2a284bnryjjfhpnh";
};
buildInputs = [fftw ladspaH pkgconfig];
postInstall =
''
ensureDir $out/share/ladspa/
ln -s $out/lib/ladspa $out/share/ladspa/lib
'';
meta = {
description = "LADSPA format audio plugins";
};
}

View File

@@ -1,28 +1,28 @@
args: with args;
{ stdenv, fetchurl, builderDefs }:
let
src =
fetchurl {
url = http://www.ladspa.org/ladspa_sdk/ladspa.h.txt;
sha256 = "1b908csn85ng9sz5s5d1mqk711cmawain2z8px2ajngihdrynb67";
};
src = fetchurl {
url = http://www.ladspa.org/ladspa_sdk/ladspa.h.txt;
sha256 = "1b908csn85ng9sz5s5d1mqk711cmawain2z8px2ajngihdrynb67";
};
in
let localDefs = builderDefs.passthru.function {
buildInputs = [];
inherit src;
};
in with localDefs;
let localDefs = builderDefs.passthru.function {
buildInputs = [];
inherit src;
};
in with localDefs;
let
copyFile = fullDepEntry ("
ensureDir \$out/include
cp ${src} \$out/include/ladspa.h
") [minInit defEnsureDir];
copyFile = fullDepEntry ("
ensureDir \$out/include
cp ${src} \$out/include/ladspa.h
") [minInit defEnsureDir];
in
stdenv.mkDerivation {
name = "ladspa.h";
builder = writeScript "ladspa.h-builder"
(textClosure localDefs [copyFile]);
meta = {
description = "LADSPA format audio plugins";
inherit src;
};
name = "ladspa.h";
builder = writeScript "ladspa.h-builder"
(textClosure localDefs [copyFile]);
meta = {
description = "LADSPA format audio plugins";
inherit src;
};
}

View File

@@ -1,20 +1,20 @@
args:
args.stdenv.mkDerivation {
{ stdenv, fetchurl, qt4, alsaLib, jackaudio }:
stdenv.mkDerivation {
name = "qjackctl-0.3.3";
# some dependencies such as killall have to be installed additionally
name = "qjackctl-0.3.3";
src = args.fetchurl {
src = fetchurl {
url = http://downloads.sourceforge.net/qjackctl/qjackctl-0.3.3.tar.gz;
sha256 = "1z9v208fs79ka6ni3p5v5xb0k5y1wqqm2a9cf903387b9p3fhpxj";
};
buildInputs =(with args; [qt4 alsaLib jackaudio]);
buildInputs = [ qt4 alsaLib jackaudio ];
meta = {
description = "qt jackd control gui tool";
homepage = http://qjackctl.sourceforge.net/;
license = "GPL";
description = "qt jackd control gui tool";
homepage = http://qjackctl.sourceforge.net/;
license = "GPL";
};
}

View File

@@ -1,11 +1,10 @@
# TODO add plugins having various licenses, see http://www.vamp-plugins.org/download.html
args: with args;
{ stdenv, fetchurl, libsndfile, qt, fftw, librdf, rubberband
, libsamplerate, vampSDK, alsaLib, librdf_raptor, librdf_rasqal
, redland, jackaudio, pulseaudio, libmad, libogg, liblo, bzip2 }:
stdenv.mkDerivation {
#TODO add plugins!
name = "sonic-visualizer-1.6";
src = fetchurl {
@@ -13,16 +12,17 @@ stdenv.mkDerivation {
sha256 = "1dbqqa7anii2jnjpfwm4sr83nn4bwmz68xw4n6clycsz5iqk52f5";
};
buildInputs = [libsndfile qt fftw /* should be fftw3f ??*/ bzip2 librdf rubberband
libsamplerate vampSDK alsaLib librdf_raptor librdf_rasqal redland
# optional
jackaudio
# portaudio
pulseaudio
libmad
libogg # ?
# fishsound
liblo
buildInputs =
[ libsndfile qt fftw /* should be fftw3f ??*/ bzip2 librdf rubberband
libsamplerate vampSDK alsaLib librdf_raptor librdf_rasqal redland
# optional
jackaudio
# portaudio
pulseaudio
libmad
libogg # ?
# fishsound
liblo
];
buildPhase = ''
@@ -39,7 +39,7 @@ stdenv.mkDerivation {
description = "View and analyse contents of music audio files";
homepage = http://www.sonicvisualiser.org/;
license = "GPLv2";
maintainers = [args.lib.maintainers.marcweber];
platforms = args.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@@ -1,4 +1,5 @@
args : with args;
{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation {
name = "bvi-1.3.2";
@@ -7,11 +8,11 @@ stdenv.mkDerivation {
sha256 = "110wxqnyianqamxq4y53drqqxb9vp4k2fcvic45qggvlqkqhlfgz";
};
buildInputs = [ncurses];
buildInputs = [ ncurses ];
meta = {
description = "hex editor with vim style keybindings";
homepage = http://bvi.sourceforge.net/download.html;
license = "GPL2";
description = "Hex editor with vim style keybindings";
homepage = http://bvi.sourceforge.net/download.html;
license = "GPL2";
};
}

View File

@@ -10,6 +10,10 @@ stdenv.mkDerivation rec {
doCheck = true;
crossAttrs = {
compileFlags = [ "CC=${stdenv.cross.config}-gcc" ];
};
meta = {
description = "GNU ed, an implementation of the standard Unix editor";

View File

@@ -0,0 +1,28 @@
{stdenv, fetchurl}:
let
version = "0.2-4";
in
stdenv.mkDerivation
{
name = "rudel-${version}";
src = fetchurl
{
url = "mirror://sourceforge/rudel/rudel-${version}.tar.gz";
sha256 = "68247bfb702d929877f6d098932e8b0ca45c573a3510187e1ccc43e5ea194f25";
};
installPhase = ''
for n in . obby zeroconf jupiter; do
ensureDir "$out/share/emacs/site-lisp/$n";
cp $n/*.el "$out/share/emacs/site-lisp/$n/";
done
install -D -m444 doc/card.pdf "$out/share/doc/rudel/card.pdf"
'';
meta = {
homepage = "http://rudel.sourceforge.net/";
description = "Rudel is a collaborative editing environment for GNU Emacs";
license = "GPL";
};
}

View File

@@ -1,4 +1,5 @@
args: with args;
{ stdenv, fetchurl, ant }:
stdenv.mkDerivation {
name = "jedit-4.2";
@@ -18,11 +19,11 @@ stdenv.mkDerivation {
cp modes/catalog \$out/lib/modes
";
buildInputs = [ant];
buildInputs = [ ant ];
meta = {
description = "really nice programmers editor written in Java. Give it a try";
homepage = http://www.jedit.org;
license = "GPL";
description = "really nice programmers editor written in Java. Give it a try";
homepage = http://www.jedit.org;
license = "GPL";
};
}

View File

@@ -1,4 +1,5 @@
args: with args;
{ stdenv, fetchurl, ncurses, gettext }:
stdenv.mkDerivation (rec {
pname = "nano";
version = "2.2.3";
@@ -9,9 +10,10 @@ stdenv.mkDerivation (rec {
url = "mirror://gnu/nano/${name}.tar.gz";
sha256 = "1vpl993xrpj8bqi1ayga8fc0j2jag90xp6rqakzwm3bxw71hmwi2";
};
buildInputs = [ncurses gettext];
# configureFlags = "--enable-tiny";
configureFlags = "
buildInputs = [ ncurses gettext ];
configureFlags = ''
--disable-browser
--disable-help
--disable-justify
@@ -20,7 +22,7 @@ stdenv.mkDerivation (rec {
--disable-speller
--disable-tabcomp
--disable-wrapping
";
'';
meta = {
homepage = http://www.nano-editor.org/;

View File

@@ -14,7 +14,8 @@ composableDerivation {} {
configureFlags = ["--enable-gui=auto" "--with-features=${args.features}"];
buildNativeInputs = [ncurses pkgconfig]
++ [ gtk libX11 libXext libSM libXpm libXt libXaw libXau libXmu ];
++ [ gtk libX11 libXext libSM libXpm libXt libXaw libXau libXmu glib
libICE ];
# most interpreters aren't tested yet.. (see python for example how to do it)
flags = {
@@ -30,17 +31,18 @@ composableDerivation {} {
// edf { name = "python"; feat = "pythoninterp"; enable = { buildNativeInputs = [python]; }; } #Include Python interpreter.
// edf { name = "tcl"; enable = { buildNativeInputs = [tcl]; }; } #Include Tcl interpreter.
// edf { name = "ruby"; feat = "rubyinterp"; enable = { buildNativeInputs = [ruby]; };} #Include Ruby interpreter.
// edf { name = "lua" ; feat = "luainterp"; enable = { buildNativeInputs = [lua]; configureFlags = ["--with-lua-prefix=${args.lua}"];};}
// edf { name = "cscope"; } #Include cscope interface.
// edf { name = "workshop"; } #Include Sun Visual Workshop support.
// edf { name = "netbeans"; } #Disable NetBeans integration support.
// edf { name = "sniff"; } #Include Sniff interface.
// edf { name = "sniff"; feat = "sniff" ; } #Include Sniff interface.
// edf { name = "multibyte"; } #Include multibyte editing support.
// edf { name = "hangulinput"; } #Include Hangul input support.
# // edf { name = "xim"; enable = { buildNativeInputs = [xim]; }; } #Include XIM input support.
// edf { name = "hangulinput"; feat = "hangulinput" ;} #Include Hangul input support.
// edf { name = "xim"; } #Include XIM input support.
// edf { name = "fontset"; } #Include X fontset output support.
// edf { name = "acl"; } #Don't check for ACL support.
// edf { name = "gpm"; } #Don't use gpm (Linux mouse daemon).
// edf { name = "nls"; } #Don't support NLS (gettext()).
// edf { name = "nls"; enable = {buildNativeInputs = [gettext];}; } #Don't support NLS (gettext()).
;
cfg = {

View File

@@ -1,86 +1,32 @@
args:
let
defList = [];
#stdenv and fetchurl are added automatically
getVal = (args.lib.getValue args defList);
check = args.lib.checkFlag args;
reqsList = [
["gtkGUI" "glib" "gtk" "pkgconfig" "libXpm" "libXext" "x11Support"]
["athenaGUI" "libXau" "libXt" "libXaw" "libXpm" "libXext" "x11Support"]
["x11Support" "libX11"]
["hugeFeatures"]
["pythonSupport" "python"]
["perlSupport" "perl"]
["tclSupport" "tcl"]
["eclSupport" "ecl" "gmp" "mpfr"]
["luaSupport" "lua"]
{ stdenv, fetchurl, ncurses }:
# Currently causes problems
["mzSchemeSupport" "pltScheme"]
["perlSupport" "perl"]
["rubySupport" "ruby"]
["hangulSupport"]
["sniffSupport"]
["gettextSupport" "gettext"]
["true" "ncurses"]
["false" "libSM"]
];
nameSuffixes = [
"hugeFeatures" "-huge"
"x11Support" "-X11"
"pythonSupport" "-python"
"perlSupport" "-perl"
"tclSupport" "-tcl"
"ximSupport" "-xim"
"eclSupport" "-ecl"
"luaSupport" "-lua"
"perlSupport" "-perl"
"rubySupport" "-ruby"
"mzSchemeSupport" "-mzscheme"
];
configFlags = [
"true" " --enable-multibyte "
"x11Support" " --enable-gui=auto "
"hugeFeatures" "--with-features=huge --enable-cscope --enable-xsmp "
"pythonSupport" " --enable-pythoninterp "
"perlSupport" " --enable-perlinterp "
"tclSupport" " --enable-tclinterp "
"ximSupport" " --enable-xim "
"eclSupport" " --enable-eclinterp "
"hangulSupport" " --enable-hangulinput "
"perlSupport" " --enable-perlinterp "
"luaSupport" " --enable-luainterp --with-lua-prefix=${args.lua} "
"rubySupport" " --enable-rubyinterp "
"sniffSupport" " --enable-sniff "
"mzSchemeSupport" " --enable-mzschemeinterp "
"gettextSupport" " --enable-nls "
];
buildInputsNames = args.lib.filter (x: (null!=getVal x))
(args.lib.uniqList {inputList =
(args.lib.concatLists (map
(x:(if (x==[]) then [] else builtins.tail x))
reqsList));});
in
assert args.lib.checkReqs args defList reqsList;
args.stdenv.mkDerivation {
name = args.lib.condConcat "vim-7.2" nameSuffixes check;
stdenv.mkDerivation rec {
name = "vim-7.2";
src = args.lib.attrByPath ["src"] (args.fetchurl {
url = ftp://ftp.vim.org/pub/vim/unix/vim-7.2.tar.bz2;
src = fetchurl {
url = "ftp://ftp.vim.org/pub/vim/unix/${name}.tar.bz2";
sha256 = "11hxkb6r2550c4n13nwr0d8afvh30qjyr5c2hw16zgay43rb0kci";
}) args;
};
inherit (args) ncurses;
buildInputs = args.lib.filter (x: (x!=null)) (map getVal buildInputsNames);
buildInputs = [ ncurses ];
postInstall = "ln -s $out/bin/vim $out/bin/vi";
preBuild="touch src/auto/link.sed";
configureFlags = args.lib.condConcat "" configFlags check;
NIX_LDFLAGS = "-lpthread -lutil";
crossAttrs = {
configureFlags = [
"vim_cv_toupper_broken=no"
"--with-tlib=ncurses"
"vim_cv_terminfo=yes"
"vim_cv_tty_group=tty"
"vim_cv_tty_mode=0660"
"vim_cv_getcwd_broken=no"
"vim_cv_stat_ignores_slash=yes"
"ac_cv_sizeof_int=4"
"vim_cv_memmove_handles_overlap=yes"
"STRIP=${stdenv.cross.config}-strip"
];
};
meta = {
description = "The most popular clone of the VI editor";
homepage = http://www.vim.org;

View File

@@ -1,11 +1,11 @@
{ fetchurl, stdenv, ncurses, help2man }:
stdenv.mkDerivation rec {
name = "zile-2.3.17";
name = "zile-2.3.19";
src = fetchurl {
url = "mirror://gnu/zile/${name}.tar.gz";
sha256 = "1wrg53qz0s4336nq8z2v7pi18vpz5ifxvlwq4jv0w4rwmbksgvi0";
sha256 = "1c2by5d5d1nmap3wc55giscsj47xx16viv7b07c6c4nssnlniszs";
};
buildInputs = [ ncurses ];

View File

@@ -1,8 +1,8 @@
args: with args;
{ stdenv, fetchurl, pkgconfig, fltk, openexr, mesa, which, openexr_ctl }:
assert fltk.glSupport;
stdenv.mkDerivation {
stdenv.mkDerivation {
name ="openexr_viewers-1.0.1";
src = fetchurl {
@@ -10,18 +10,18 @@ stdenv.mkDerivation {
sha256 = "1w5qbcdp7sw48z1wk2v07f7p14vqqb1m2ncxyxnbkm9f4ab0ymg6";
};
inherit fltk mesa;
configurePhase =
''
# don't know why.. adding these flags it works
#export CXXFLAGS=`fltk-config --use-gl --cxxflags --ldflags`
./configure --prefix=$out --with-fltk-config=${fltk}/bin/fltk-config
'';
configurePhase = "
# don't know why.. adding these flags it works
#export CXXFLAGS=`fltk-config --use-gl --cxxflags --ldflags`
./configure --prefix=\$out --with-fltk-config=\$fltk/bin/fltk-config";
buildInputs = [openexr fltk pkgconfig mesa which openexr_ctl];
buildInputs = [ openexr fltk pkgconfig mesa which openexr_ctl ];
meta = {
description = "tool to view OpenEXR images";
homepage = http://openexr.com;
license = "BSD-like";
description = "Tool to view OpenEXR images";
homepage = http://openexr.com;
license = "BSD-like";
};
}

View File

@@ -4,11 +4,11 @@
}:
stdenv.mkDerivation rec {
name = "gimp-2.6.9";
name = "gimp-2.6.10";
src = fetchurl {
url = "ftp://ftp.gtk.org/pub/gimp/v2.6/${name}.tar.bz2";
sha256 = "1w7qp38d8qrd36jgxlk4dg4npxir958kx6sq6qw85pv0016kvd1v";
sha256 = "0cp0abdmqczncy0miazbyd61sjm63r1mhlwsvbz8lb9m7gkkyypg";
};
buildInputs = [

View File

@@ -1,21 +0,0 @@
args : with args;
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://prdownloads.sourceforge.net/jocr/gocr-0.44.tar.gz;
sha256 = "0kvb7cbk6z5n4g0hhbwpdk2f3819yfamwsmkwanj99yhni6p5mr0";
};
buildInputs = [];
configureFlags = [];
};
in with localDefs;
stdenv.mkDerivation rec {
name = "gocr";
builder = writeScript (name + "-builder")
(textClosure localDefs [doConfigure doMakeInstall doForceShare doPropagate]);
meta = {
description = "GPL Optical Character Recognition";
inherit src;
};
}

View File

@@ -0,0 +1,14 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "gocr-0.44";
src = fetchurl {
url = http://prdownloads.sourceforge.net/jocr/gocr-0.44.tar.gz;
sha256 = "0kvb7cbk6z5n4g0hhbwpdk2f3819yfamwsmkwanj99yhni6p5mr0";
};
meta = {
description = "GPL Optical Character Recognition";
};
}

View File

@@ -3,15 +3,13 @@
glew, libXmu, libXi }:
stdenv.mkDerivation rec {
name = "hugin-2009.4.0";
name = "hugin-2010.0.0";
src = fetchurl {
url = "mirror://sourceforge/hugin/${name}.tar.gz";
sha256 = "1xa7rnpwlv68wfkikmlrs74hqylpkh837p3narqljr2a7fxf04r9";
sha256 = "08xm7ggfrh536lqvdzw7zg09p2awbclw5r7i8c59gf092w1cac7d";
};
# patches = [ ./levmar-64-bit-alignment.patch ];
NIX_CFLAGS_COMPILE = "-I${ilmbase}/include/OpenEXR";
NIX_LDFLAGS = "-lrt";

View File

@@ -1,64 +0,0 @@
This patch fixes alignment issues on 64-bit machines. It was taken
from http://www.mail-archive.com/hugin-ptx@googlegroups.com/msg02976.html .
See also http://thread.gmane.org/gmane.linux.distributions.nixos/2352 .
--- hugin/src/foreign/levmar/misc_core.c 2009-04-28 13:30:33.000000000 +0200 # SVN 3799
+++ hugin/src/foreign/levmar/misc_core.c 2009-05-04 07:49:00.000000000 +0200 # Merged patch.pt and fix_alias.diff
@@ -332,7 +332,7 @@
a_sz=m*m;
u_sz=m*m; s_sz=m; vt_sz=m*m;
- tot_sz=iworksz*sizeof(int) + (a_sz + u_sz + s_sz + vt_sz + worksz)*sizeof(LM_REAL);
+ tot_sz=(a_sz + u_sz + s_sz + vt_sz + worksz)*sizeof(LM_REAL) + iworksz*sizeof(int); /* should be arranged in that order for proper doubles alignment */
buf_sz=tot_sz;
buf=(LM_REAL *)malloc(buf_sz);
@@ -414,25 +414,27 @@
int buf_sz=0;
register int i, j, k, l;
-int *idx, maxi=-1, idx_sz, a_sz, x_sz, work_sz, tot_sz;
+int *idxbuf, *idx, maxi=-1, idx_sz, a_sz, x_sz, work_sz, tot_sz;
LM_REAL *a, *x, *work, max, sum, tmp;
/* calculate required memory size */
idx_sz=m;
+ idxbuf=(void *)malloc(idx_sz*sizeof(int));
+
a_sz=m*m;
x_sz=m;
work_sz=m;
- tot_sz=idx_sz*sizeof(int) + (a_sz+x_sz+work_sz)*sizeof(LM_REAL);
+ tot_sz=(a_sz + x_sz + work_sz)*sizeof(LM_REAL) + idx_sz*sizeof(int); /* should be arranged in that order for proper doubles alignment */
buf_sz=tot_sz;
buf=(void *)malloc(tot_sz);
- if(!buf){
+ if(!buf || !idxbuf){
fprintf(stderr, RCAT("memory allocation in ", LEVMAR_LUINVERSE) "() failed!\n");
exit(1);
}
- idx=(int *)buf;
- a=(LM_REAL *)(idx + idx_sz);
+ idx=(int *)idxbuf;
+ a=(LM_REAL *)buf;
x=a + a_sz;
work=x + x_sz;
@@ -448,6 +450,7 @@
if(max==0.0){
fprintf(stderr, RCAT("Singular matrix A in ", LEVMAR_LUINVERSE) "()!\n");
free(buf);
+ free(idxbuf);
return 0;
}
@@ -522,6 +525,7 @@
}
free(buf);
+ free(idxbuf);
return 1;
}

View File

@@ -1,4 +1,7 @@
args: with args;
{ stdenv, fetchurl, pkgconfig, perl, perlXMLParser, gtk, libXft
, libpng, zlib, popt, boehmgc, libxml2, libxslt, glib, gtkmm
, glibmm, libsigcxx, lcms, boost, gettext, makeWrapper, intltool
, gsl, python, pyxml, lxml }:
stdenv.mkDerivation rec {
name = "inkscape-0.47";
@@ -45,6 +48,5 @@ stdenv.mkDerivation rec {
If you want to import .eps files install ps2edit.
'';
};
}

View File

@@ -1,41 +1,43 @@
x@{ pkgconfig, bc, perl, xlibs, libjpeg, mesa, gtk
, libxml2, libglade, builderDefsPackage, ... }:
{ stdenv, fetchurl, pkgconfig, bc, perl, pam
, libXext, libXScrnSaver, libX11, libXrandr, libXmu, libXxf86vm, libXrender
, libXxf86misc
, libjpeg, mesa, gtk , libxml2, libglade}:
builderDefsPackage
(a: rec {
stdenv.mkDerivation rec {
version = "5.11";
name = "xscreensaver-${version}";
url = "http://www.jwz.org/xscreensaver/${name}.tar.gz";
src = a.fetchurl {
inherit url;
src = fetchurl {
url = "http://www.jwz.org/xscreensaver/${name}.tar.gz";
sha256="0w47s0qd8ab6ywhhhkqjx0grb2b28bh2flnkdpj3yaind202l0s7";
};
buildInputs = with a;
[ pkgconfig bc perl libjpeg mesa gtk libxml2 libglade
xlibs.xlibs xlibs.libXmu
];
buildInputs =
[ pkgconfig bc perl libjpeg mesa gtk libxml2 libglade pam
libXext libXScrnSaver libX11 libXrandr libXmu libXxf86vm libXrender
libXxf86misc ];
configureFlags =
[ "--with-gl"
"--with-dpms"
"--with-pixbuf"
[
"--with-gl" "--with-pam" "--with-pixbuf" "--with-proc-interrupts"
"--with-dpms-ext" "--with-randr-ext" "--with-xinerama-ext"
"--with-xf86vmode-ext" "--with-xf86gamma-ext" "--with-randr-ext"
"--with-xshm-ext" "--with-xdbe-ext" "--without-readdisplay"
"--with-x-app-defaults=\${out}/share/xscreensaver/app-defaults"
"--with-hackdir=\${out}/share/xscreensaver-hacks"
];
preConfigure = a.fullDepEntry
preConfigure =
''
sed -e 's%@GTK_DATADIR@%@datadir@% ; s%@PO_DATADIR@%@datadir@%' \
-i driver/Makefile.in po/Makefile.in.in
'' ["minInit" "doUnpack"];
phaseNames = ["preConfigure" "doConfigure" "doMakeInstall"];
'';
meta = {
homepage = http://www.jwz.org/xscreensaver/;
description = "A set of screensavers";
maintainers = [ a.lib.maintainers.raskin ];
platforms = a.lib.platforms.allBut "i686-cygwin";
maintainers = with stdenv.lib.maintainers; [ raskin urkud ];
platforms = stdenv.lib.platforms.allBut "i686-cygwin";
};
}) x
}

View File

@@ -3,13 +3,13 @@
assert stdenv.system == "i686-linux";
stdenv.mkDerivation {
name = "adobe-reader-9.2-1";
name = "adobe-reader-9.3.3-1";
builder = ./builder.sh;
src = fetchurl {
url = http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.2/enu/AdbeRdr9.2-1_i486linux_enu.tar.bz2;
sha256 = "0067w0kjj2c04342g8c9qvcs49kkiqlxn2zyx9qzlg7a32qfc9l2";
url = http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.3.3/enu/AdbeRdr9.3.3-1_i486linux_enu.tar.bz2;
sha256 = "1qssbdjy3v07agyh55bhsmvzakq9bs3hd6dw032ikwbpvb2gs807";
};
# !!! Adobe Reader contains copies of OpenSSL, libcurl, and libicu.

View File

@@ -1,15 +1,16 @@
args: with args;
let inherit (args.composableDerivation) composableDerivation edf; in
composableDerivation {} {
{ composableDerivation, lib, fetchurl, alsaLib, libao, lame, libmad }:
name = "sox-14.3.0";
let inherit (composableDerivation) edf; in
src = args.fetchurl {
url = mirror://sourceforge/sox/sox-14.3.0.tar.gz;
sha256 = "15r39dq9nlwrypm0vpxmbxyqqv0bd6284djbi1fdfrlkjhf43gws";
};
composableDerivation.composableDerivation {} {
name = "sox-14.3.0";
flags =
src = fetchurl {
url = mirror://sourceforge/sox/sox-14.3.0.tar.gz;
sha256 = "15r39dq9nlwrypm0vpxmbxyqqv0bd6284djbi1fdfrlkjhf43gws";
};
flags =
# are these options of interest? We'll see
#--disable-fftw disable usage of FFTW
#--enable-debug enable debugging
@@ -23,39 +24,21 @@ composableDerivation {} {
// edf { name = "dl-mad"; enable.buildInputs = [ libmad ]; } # use shared library
// edf { name = "mad"; enable.buildInputs =[ libmad ]; }
;
# These options should be autodetected by the configure script
/*
--without-sndfile Don't try to use libsndfile
--without-ogg Don't try to use Ogg Vorbis
--without-flac Don't try to use FLAC
--without-ffmpeg Don't try to use ffmpeg
--without-mad Don't try to use MAD (MP3 Audio Decoder)
--without-lame Don't try to use LAME (LAME Ain't an MP3 Encoder)
--without-amr-wb Don't try to use amr-wb
--without-amr-nb Don't try to use amr-nb
--without-samplerate Don't try to use libsamplerate (aka Secret Rabbit
Code)
--without-ladspa Don't try to use LADSPA
--with-ladspa-path Default search path for LADSPA plugins
*/
cfg = {
ossSupport = false;
sun_audioSupport = false;
} // lib.listToAttrs [
{ name = "dl-lameSupport"; value = true; }
} // lib.listToAttrs
[ { name = "dl-lameSupport"; value = true; }
{ name = "dl-madSupport"; value = true; }
];
];
configureFlags = ["-enable-dl-lame"];
optionals = [ "libsndfile" "libogg" "flac" "ffmpeg" "libmad" "lame"
/* "amr-wb" "amr-nb" */
"libsamplerate" /* "ladspa" */ ];
meta = {
description = "Sample Rate Converter for audio";
homepage = http://www.mega-nerd.com/SRC/index.html;

View File

@@ -1,13 +1,14 @@
args:
args.stdenv.mkDerivation {
{ stdenv, fetchurl, snack, tcl, tk, makeWrapper }:
stdenv.mkDerivation {
name = "wavesurfer-1.8.5";
src = args.fetchurl {
src = fetchurl {
url = http://www.speech.kth.se/wavesurfer/wavesurfer-1.8.5.tar.gz;
sha256 = "1yx9s1j47cq0v40cwq2gn7bdizpw46l95ba4zl9z4gg31mfvm807";
};
buildInputs =(with args; [snack tcl tk makeWrapper]);
buildInputs = [ snack tcl tk makeWrapper ];
installPhase = ''
ensureDir $out/{bin,nix-support,share/wavesurfer/}
@@ -15,13 +16,13 @@ args.stdenv.mkDerivation {
mv * $out/nix-support
ln -s $out/{nix-support,bin}/wavesurfer.tcl
wrapProgram "$out/nix-support/wavesurfer.tcl" \
--set TCLLIBPATH "${args.snack}/lib" \
--prefix PATH : "${args.tcl}/bin:${args.tk}/bin"
--set TCLLIBPATH "${snack}/lib" \
--prefix PATH : "${tcl}/bin:${tk}/bin"
'';
meta = {
description = "tool for recording, playing, editing, viewing and labeling of audio";
homepage = http://www.speech.kth.se/wavesurfer/;
license = "BSD";
description = "Tool for recording, playing, editing, viewing and labeling of audio";
homepage = http://www.speech.kth.se/wavesurfer/;
license = "BSD";
};
}

View File

@@ -1,13 +0,0 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "bluez-firmware-1.1";
src = fetchurl {
url = http://bluez.sf.net/download/bluez-firmware-1.1.tar.gz;
md5 = "2f1c2d939108c865dd07bae3e819c573";
};
meta = {
homepage = http://www.bluez.org;
};
}

View File

@@ -1,14 +0,0 @@
{stdenv, fetchurl, bluezLibs}:
stdenv.mkDerivation {
name = "bluez-utils-2.25";
src = fetchurl {
url = http://bluez.sf.net/download/bluez-utils-2.25.tar.gz;
md5 = "ae3729ab5592be06ed01b973d4b3e9fe";
};
buildInputs = [bluezLibs];
meta = {
homepage = http://www.bluez.org;
};
}

View File

@@ -4,11 +4,11 @@
}:
stdenv.mkDerivation rec {
name = "calibre-0.7.0";
name = "calibre-0.7.14";
src = fetchurl {
url = "mirror://sourceforge/calibre/${name}.tar.gz";
sha256 = "0aij3gqkfvhzrsfk0ms9mlawrdj46r3634cglbwsapv17g2wv6mg";
sha256 = "07vnmxxpg77pmd7fhcrlnark02bn6zj62hbsybdqz8fp1yp99wkn";
};
inherit python;

View File

@@ -1,4 +1,5 @@
args: with args;
{ stdenv, fetchurl, gtk, glib, pkgconfig, openssl, boost }:
stdenv.mkDerivation {
name = "d4x-2.5.7.1";
@@ -12,11 +13,12 @@ stdenv.mkDerivation {
configurePhase = "./configure --prefix=\$out "
+ " --with-boost-libdir=\$boost/lib"
+ " --with-boost-includedir=\$boost/include";
buildInputs = [gtk glib pkgconfig openssl boost];
buildInputs = [ gtk glib pkgconfig openssl boost ];
meta = {
description = "graphical download manager";
homepage = http://www.krasu.ru/soft/chuchelo/;
license = "Artistic";
description = "Graphical download manager";
homepage = http://www.krasu.ru/soft/chuchelo/;
license = "Artistic";
};
}

View File

@@ -1,4 +1,5 @@
args: with args;
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "flite-1.3-release";
@@ -7,20 +8,22 @@ stdenv.mkDerivation {
sha256 = "12wanxx57bbqgkag54dlqzv6h2kr9053p0z8mkxs0mqy03vja8lj";
};
buildPhase = "
unset buildPhase
ensureDir \$out/lib
buildPhase
";
buildPhase =
''
unset buildPhase
ensureDir $out/lib
buildPhase
'';
installPhase = "
ensureDir \$out/share/flite
cp -r bin \$out
";
installPhase =
''
ensureDir $out/share/flite
cp -r bin $out
'';
meta = {
description = "Flite text to speech engine";
homepage = http://www.speech.cs.cmu.edu/flite/download.html;
license = "BSD as-is";
description = "Flite text to speech engine";
homepage = http://www.speech.cs.cmu.edu/flite/download.html;
license = "BSD as-is";
};
}

View File

@@ -1,4 +1,5 @@
args: with args;
{ stdenv, fetchurl, jdk, jre, ant, coreutils, gnugrep }:
stdenv.mkDerivation {
name = "freemind-0.9.0_RC_6";
@@ -7,43 +8,44 @@ stdenv.mkDerivation {
sha256 = "0qxpwqmb4xd8c83zh76gczmx0hsx5m209k7p60kh7c4f25snhngf";
};
buildInputs = [jdk ant];
buildInputs = [ jdk ant ];
phases="unpackPhase patchPhase buildPhase installPhase";
phases = "unpackPhase patchPhase buildPhase installPhase";
patchPhase=''
patchPhase = ''
# There is a complain about this. I don't understand it.
mkdir plugins/plugins
'';
buildPhase="ant dist";
# LIBXCB_ALLOW_SLOPPY_LOCK=true :
# don't know yet what this option really means but I'm no longer getting
# Checking Java Version...
# Locking assertion failure. Backtrace:
# java: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed
# this way
# reference and more info https://bugs.launchpad.net/ubuntu/+source/sun-java5/+bug/86103
# JDK 7 beta seems to have fixed this (bug ?)
# LIBXCB_ALLOW_SLOPPY_LOCK=true :
# don't know yet what this option really means but I'm no longer getting
# Checking Java Version...
# Locking assertion failure. Backtrace:
# java: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed
# this way
# reference and more info https://bugs.launchpad.net/ubuntu/+source/sun-java5/+bug/86103
# JDK 7 beta seems to have fixed this (bug ?)
installPhase=''
installPhase = ''
ensureDir $out/{bin,nix-support}
cp -r ../bin/dist $out/nix-support
sed -i 's/which/type -p/' $out/nix-support/dist/freemind.sh
cat > $out/bin/freemind << EOF
#!/bin/sh
export PATH=${args.coreutils}/bin:${args.gnugrep}/bin:"$PATH"
export PATH=${coreutils}/bin:${gnugrep}/bin:"$PATH"
export JAVA_HOME="${jre}"
export LIBXCB_ALLOW_SLOPPY_LOCK=true
$out/nix-support/dist/freemind.sh
EOF
chmod +x $out/{bin/freemind,nix-support/dist/freemind.sh}
'';
'';
meta = {
description = "mind mapping software";
homepage = http://freemind.sourceforge.net/wiki/index.php/Main_Page;
license = "GPL";
description = "Mind-mapping software";
homepage = http://freemind.sourceforge.net/wiki/index.php/Main_Page;
license = "GPL";
};
}

View File

@@ -1,4 +1,5 @@
args: with args;
{ stdenv, fetchurl, gtk, glib, pkgconfig, libgnome, libgnomeui, vte
, curl, cdparanoia, libid3tag }:
stdenv.mkDerivation {
name = "grip-3.2.0";
@@ -8,13 +9,13 @@ stdenv.mkDerivation {
sha256 = "1jh5x35rq15n8ivlp9wbdx8x9mj6agf5rfdv8sd6gai851zsclas";
};
buildInputs = [gtk glib pkgconfig libgnome libgnomeui vte curl cdparanoia libid3tag];
buildInputs = [ gtk glib pkgconfig libgnome libgnomeui vte curl cdparanoia libid3tag ];
meta = {
description = "GTK+ based Audio CD Player/Ripper";
description = "GTK+-based audio CD player/ripper";
homepage = http://nostatic.org/grip;
license = "GPLv2";
maintainers = [args.lib.maintainers.marcweber];
maintainers = [ stdenv.lib.maintainers.marcweber ];
#platforms = args.lib.platforms.linux;
};
}

View File

@@ -1,4 +1,4 @@
args: with args;
{ stdenv, fetchurl, db45, gtk, bzip2 }:
stdenv.mkDerivation {
name = "jigdo-0.7.3";
@@ -9,18 +9,18 @@ stdenv.mkDerivation {
sha256 = "1qvqzgzb0dzq82fa1ffs6hyij655rajnfwkljk1y0mnkygnha1xv";
};
buildInputs = [db45 gtk bzip2];
configureFlags = "--without-libdb";
meta = {
description = "tool designed to ease the distribution of very large files over the internet";
homepage = http://atterer.net/jigdo/;
license = "GPLv2";
};
patches = fetchurl {
url = http://ftp.de.debian.org/debian/pool/main/j/jigdo/jigdo_0.7.3-2.diff.gz;
sha256 = "0jnlzm9m2hjlnw0zs2fv456ml5r2jj2q1lncqbrgg52lq18f6fa3";
};
buildInputs = [ db45 gtk bzip2 ];
configureFlags = "--without-libdb";
meta = {
description = "Download utility that can fetch files from several sources simultaneously";
homepage = http://atterer.net/jigdo/;
license = "GPLv2";
};
}

View File

@@ -1,12 +1,13 @@
args: with args;
stdenv.mkDerivation {
{ stdenv, fetchurl, libX11, libXft, libXi, inputproto, libSM, libICE
, freetype, pkgconfig, which }:
stdenv.mkDerivation {
name = "mrxvt-0.5.4";
buildInputs = [libX11 libXft libXi inputproto libSM libICE
freetype pkgconfig which];
buildInputs =
[ libX11 libXft libXi inputproto libSM libICE freetype pkgconfig which ];
configureFlags=[
configureFlags = [
"--with-x"
"--enable-frills"
"--enable-xft"
@@ -17,7 +18,7 @@ stdenv.mkDerivation {
"--with-save-lines=10000"
];
preConfigure=''
preConfigure = ''
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${freetype}/include/freetype2";
'';
@@ -27,10 +28,10 @@ stdenv.mkDerivation {
};
meta = {
description = "lightweight multitabbed feature-rich X11 terminal emulator";
description = "Lightweight multitabbed feature-rich X11 terminal emulator";
longDescription = "
Multitabbed lightweight terminal emulator based on rxvt.
Supports transparency, backgroundimages, freetype fonts,..
Supports transparency, backgroundimages, freetype fonts, ...
";
homepage = http://sourceforge.net/projects/materm;
license = "GPL";

View File

@@ -1,15 +1,19 @@
args: with args;
{ stdenv, fetchurl, gtk, glib, ORBit2, libbonobo, libtool, pkgconfig
, libgnomeui, GConf, automake, autoconf }:
stdenv.mkDerivation {
name = "multisync-0.82-1";
src = fetchurl {
url = mirror://sourceforge/multisync/multisync-0.82-1.tar.bz2;
sha256 = "1azb6zsn3n1rnla2qc3c440gc4vgmbj593k6xj5g1v0xha2vm2y3";
};
buildInputs = [ gtk glib ORBit2 libbonobo libtool pkgconfig libgnomeui GConf
automake autoconf
];
buildInputs =
[ gtk glib ORBit2 libbonobo libtool pkgconfig libgnomeui GConf
automake autoconf
];
preConfigure = "./autogen.sh"; # install.sh is not contained in the tar
meta = {

View File

@@ -0,0 +1,24 @@
{ stdenv, fetchurl, pkgconfig, zlib, freetype, libjpeg, jbig2dec, openjpeg
, libX11, libXext }:
stdenv.mkDerivation rec {
name = "mupdf-0.6";
src = fetchurl {
url = "http://mupdf.com/download/source/${name}.tar.gz";
sha256 = "01cn2kz4zx53qhqvbxy8xd7xqbh58kpid8ykvx5hz7pf2gqw91vg";
};
buildInputs = [ pkgconfig zlib freetype libjpeg jbig2dec openjpeg libX11 libXext ];
preBuild = ''
export makeFlags="prefix=$out"
'';
meta = {
homepage = http://mupdf.com/;
description = "Lightweight PDF viewer and toolkit written in portable C";
license = "GPLv3+";
maintainers = with stdenv.lib.maintainers; [ viric ];
platforms = with stdenv.lib.platforms; linux;
};
}

View File

@@ -1,4 +1,5 @@
args: with args;
{ stdenv, fetchurl, postgresql, wxGTK, libxml2, libxslt, openssl }:
stdenv.mkDerivation rec {
name = "pgadmin3-1.10.0";
@@ -7,11 +8,11 @@ stdenv.mkDerivation rec {
sha256 = "1ndi951da3jw5800fjdgkbvl8n6k71x7x16ghihi1l88bilf2a16";
};
buildInputs = [postgresql wxGTK libxml2 libxslt openssl];
buildInputs = [ postgresql wxGTK libxml2 libxslt openssl ];
meta = {
description = "postgresql admin gui tool";
homepage = http://www.pgadmin.org;
license = "GPL2";
};
description = "PostgreSQL administration GUI tool";
homepage = http://www.pgadmin.org;
license = "GPL2";
};
}

View File

@@ -1,6 +1,7 @@
args: with args;
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name="procmail-3.22";
name = "procmail-3.22";
buildInputs = [ stdenv.gcc.libc ];

View File

@@ -1,4 +1,5 @@
args: with args;
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "pstree-2.33";
@@ -7,15 +8,13 @@ stdenv.mkDerivation rec {
sha256 = "1469lrhpy6wghlvbjx6lmvh27rakq00x11cpz4n965fg11i121hg";
};
unpackPhase="unpackFile \$src; sourceRoot=.";
unpackPhase = "unpackFile \$src; sourceRoot=.";
buildPhase="pwd; gcc -o pstree pstree.c";
installPhase="ensureDir \$out/bin; cp pstree \$out/bin";
buildPhase = "pwd; gcc -o pstree pstree.c";
installPhase = "ensureDir \$out/bin; cp pstree \$out/bin";
meta = {
description = "show the running processes as tree";
# don't know the correct homepage..
homepage = http://fresh.t-systems-sfr.com/unix/src/misc/pstree-2.32.tar.gz;
license = "GPL";
};
description = "Show the set of running processes as a tree";
license = "GPL";
};
}

View File

@@ -1,5 +1,7 @@
# translations still misssing
args: with args;
{ stdenv, fetchurl, qt3, libpng, libXext, libX11 }:
stdenv.mkDerivation {
name = "qcad-2.0.5.0-1-community";
@@ -15,7 +17,7 @@ stdenv.mkDerivation {
cd ..
'';
buildInputs = [qt3 libpng libXext libX11];
buildInputs = [ qt3 libpng libXext libX11 ];
patchPhase = ''
sed -i 's/-pedantic//' mkspecs/defs.pro
@@ -35,8 +37,8 @@ stdenv.mkDerivation {
'';
meta = {
description="A 2D CAD package based upon Qt.";
homepage = http://www.ribbonsoft.de/qcad.html;
license = "GPLv2"; # community edition
description = "A 2D CAD package based upon Qt";
homepage = http://www.ribbonsoft.de/qcad.html;
license = "GPLv2"; # community edition
};
}

View File

@@ -0,0 +1,12 @@
{ stdenv, fetchurl, cmake, kdelibs, kdebase_workspace }:
stdenv.mkDerivation rec {
name = "rsibreak-0.10";
src = fetchurl {
url = "http://www.rsibreak.org/files/${name}.tar.bz2";
sha256 = "02vvwmzhvc9jfrzmnfn3cygx63yx7g360lcslwj1vikzkg834ik0";
};
buildInputs = [ cmake kdelibs kdebase_workspace ];
}

View File

@@ -1,4 +1,5 @@
args: with args;
{ stdenv, fetchurl, libX11, libXt }:
stdenv.mkDerivation {
name = "rxvt-2.6.4";
@@ -10,8 +11,8 @@ stdenv.mkDerivation {
buildInputs = [ libX11 libXt ];
meta = {
description = "colour vt102 terminal emulator with less features and lower memory consumption";
homepage = http://www.rxvt.org/;
license = "GPL";
description = "Colour vt102 terminal emulator with less features and lower memory consumption";
homepage = http://www.rxvt.org/;
license = "GPL";
};
}

View File

@@ -1,11 +1,11 @@
args: with args;
# args.perlSupport: enables perl interpreter support
# see man urxvtperl for details
{ stdenv, fetchurl, perlSupport, libX11, libXt, libXft, ncurses, perl }:
let
name = "rxvt-unicode";
version = "9.07";
n = "${name}-${version}";
in
stdenv.mkDerivation (rec {
name = "${n}${if perlSupport then "-with-perl" else ""}";
@@ -15,26 +15,25 @@ stdenv.mkDerivation (rec {
sha256 = "18y5mb3cm1gawjm723q5r7yk37s9drzg39kna036i694m2667865";
};
buildInputs = [ libX11 libXt libXft ncurses /* required to build the terminfo file */ ]
++ lib.optional perlSupport perl;
buildInputs =
[ libX11 libXt libXft ncurses /* required to build the terminfo file */ ]
++ stdenv.lib.optional perlSupport perl;
preConfigure=''
configureFlags="${if perlSupport then "--enable-perl" else "--disable-perl"}";
export TERMINFO=$out/share/terminfo # without this the terminfo won't be compiled by tic, see man tic
''
# make urxvt find its perl file lib/perl5/site_perl is added to PERL5LIB automatically
+ (if perlSupport then ''
preConfigure =
''
configureFlags="${if perlSupport then "--enable-perl" else "--disable-perl"}";
export TERMINFO=$out/share/terminfo # without this the terminfo won't be compiled by tic, see man tic
''
# make urxvt find its perl file lib/perl5/site_perl is added to PERL5LIB automatically
+ stdenv.lib.optionalString perlSupport ''
ensureDir $out/lib/perl5
ln -s $out/{lib/urxvt,lib/perl5/site_perl}
'' else "");
postInstall = ''
'';
'';
meta = {
description = "rxvt-unicode is a clone of the well known terminal emulator rxvt.";
description = "A clone of the well-known terminal emulator rxvt";
longDescription = "
you should put this into your .bashrc
You should put this into your ~/.bashrc:
export TERMINFO=~/.nix-profile/share/terminfo
";
homepage = "http://software.schmorp.de/pkg/rxvt-unicode.html";

View File

@@ -1,18 +1,18 @@
args: with args;
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "sbagen-1.4.4";
buildPhases="buildPhase installPhase";
buildPhases = "buildPhase installPhase";
buildPhase="./mk";
buildPhase = "./mk";
installPhase="
ensureDir \$out/{bin,share/sbagen/doc}
cp -r --target-directory=\$out/share/sbagen examples scripts river1.ogg river2.ogg
installPhase = ''
ensureDir $out/{bin,share/sbagen/doc}
cp -r --target-directory=$out/share/sbagen examples scripts river1.ogg river2.ogg
cp sbagen $out/bin
cp --target-directory=\$out/share/sbagen/doc README.txt SBAGEN.txt theory{,2}.txt {wave,holosync,focus,TODO}.txt
";
cp --target-directory=$out/share/sbagen/doc README.txt SBAGEN.txt theory{,2}.txt {wave,holosync,focus,TODO}.txt
'';
src = fetchurl {
url = http://uazu.net/sbagen/sbagen-1.4.4.tgz;
@@ -20,8 +20,8 @@ stdenv.mkDerivation {
};
meta = {
description = "binaural sound generator";
homepage = http://uazu.net/sbagen;
license = "GPL";
};
description = "Binaural sound generator";
homepage = http://uazu.net/sbagen;
license = "GPL";
};
}

View File

@@ -0,0 +1,59 @@
{ fetchurl, stdenv, cmake, ruby }:
stdenv.mkDerivation rec {
name = "simgrid-3.4.1";
src = fetchurl {
url = "https://gforge.inria.fr/frs/download.php/26944/${name}.tar.bz2";
sha256 = "acd2bb2c1abf59e9b190279b1c38582b7c1edd4b6ef4c6a9b01100740f1a6b28";
};
/* FIXME: Ruby currently disabled because of this:
Linking C shared library ../src/.libs/libsimgrid.so
ld: cannot find -lruby-1.8.7-p72
*/
buildInputs = [ cmake /* ruby */ ];
preConfigure =
# Make it so that libsimgrid.so will be found when running programs from
# the build dir.
'' export LD_LIBRARY_PATH="$PWD/src/.libs"
export cmakeFlags="-Dprefix=$out"
'';
makeFlags = "VERBOSE=1";
patchPhase =
'' for i in "src/smpi/"*
do
sed -i "$i" -e's|/bin/bash|/bin/sh|g'
done
'';
installPhase = "make install-simgrid";
# Fixing the few tests that fail is left as an exercise to the reader.
doCheck = false;
meta = {
description = "SimGrid, a simulator for distributed applications in heterogeneous environments";
longDescription =
'' SimGrid is a toolkit that provides core functionalities for the
simulation of distributed applications in heterogeneous distributed
environments. The specific goal of the project is to facilitate
research in the area of distributed and parallel application
scheduling on distributed computing platforms ranging from simple
network of workstations to Computational Grids.
'';
homepage = http://simgrid.gforge.inria.fr/;
license = "LGPLv2+";
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
};
}

View File

@@ -1,4 +1,6 @@
args: with args;
{ stdenv, fetchurl, x11, xextproto, libXtst, inputproto, libXi
, automake, autoconf, sourceFromHead }:
stdenv.mkDerivation {
name = "synergy-cvs";
@@ -10,18 +12,20 @@ stdenv.mkDerivation {
(fetchurl { url = "http://mawercer.de/~nix/repos/synergy-F_23-55-02.tar.gz"; sha256 = "ae16a9b59039a32e383e71397405d7b610de6c6902c03177c2496bac440d3e28"; });
# END
buildInputs = [x11 xextproto libXtst inputproto libXi automake autoconf autoconf];
buildInputs = [ x11 xextproto libXtst inputproto libXi automake autoconf ];
preConfigure = "autoreconf; ";
preConfigure = "autoreconf";
patches = [ (fetchurl {
url = http://mawercer.de/~nix/synergy-gcc43-r2.patch.gz;
sha256 = "0wnj5k93ybj7jg8ml1i1brwsnszfh41117q2qh7r8xr9m37997b7";
}) ];
patches =
[ (fetchurl {
url = http://mawercer.de/~nix/synergy-gcc43-r2.patch.gz;
sha256 = "0wnj5k93ybj7jg8ml1i1brwsnszfh41117q2qh7r8xr9m37997b7";
})
];
meta= {
description = "share mouse keyboard and clipboard between computers";
homepage = http://synergy2.sourceforge.net;
license = "GPL";
meta = {
description = "Tool to share the mouse keyboard and the clipboard between computers";
homepage = http://synergy2.sourceforge.net;
license = "GPL";
};
}

View File

@@ -1,8 +1,9 @@
args:
args.stdenv.mkDerivation {
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "thinkingrock-2.2.1-binary";
src = args.fetchurl {
src = fetchurl {
url = mirror://sourceforge/thinkingrock/ThinkingRock/TR%202.2.1/tr-2.2.1.tar.gz;
sha256 = "0hnwvvyc8miiz8w2g4iy7s4rgfy0kfbncgbgfzpsq6nrzq334kgm";
};
@@ -28,11 +29,12 @@ args.stdenv.mkDerivation {
EOF
chmod +x $out/bin/thinkingrock
'';
installPhase = ":";
meta = {
description = "task managing system";
homepage = http://www.thinkingrock.com.au/;
license = "CDDL"; # Common Development and Distribution License
description = "Task management system";
homepage = http://www.thinkingrock.com.au/;
license = "CDDL"; # Common Development and Distribution License
};
}

View File

@@ -1,26 +1,28 @@
args: with args;
{ stdenv, fetchurl, pkgconfig, pcre, GStreamer, glib, libxml2, aspell
, imlib2, xorg, xosd }:
stdenv.mkDerivation {
name = "xneur-0.8.0";
src = fetchurl {
url = http://dists.xneur.ru/release-0.8.0/tgz/xneur-0.8.0.tar.bz2;
sha256 = "1f05bm4vqdrlm8rxwgqv89k5lhc236xg841aw4snw514g0hi2sl8";
};
buildInputs = [libX11 pkgconfig pcre GStreamer glib libxml2 aspell
libXpm imlib2 xosd libXt libXext];
inherit aspell imlib2 xosd;
buildInputs =
[ xorg.libX11 pkgconfig pcre GStreamer glib libxml2 aspell
xorg.libXpm imlib2 xosd xorg.libXt xorg.libXext
];
preConfigure = ''
sed -e 's/-Werror//' -i configure
sed -e 's/for aspell_dir in/for aspell_dir in $aspell /' -i configure
sed -e 's/for imlib2_dir in/for imlib2_dir in $imlib2 /' -i configure
sed -e 's/for xosd_dir in/for xosd_dir in $xosd /' -i configure
sed -e 's@for aspell_dir in@for aspell_dir in ${aspell} @' -i configure
sed -e 's@for imlib2_dir in@for imlib2_dir in ${imlib2} @' -i configure
sed -e 's@for xosd_dir in@for xosd_dir in ${xosd} @' -i configure
'';
meta = {
description = "xneur is the keyboard layout switcher.";
description = "Utility for switching between keyboard layouts";
};
}

View File

@@ -1,4 +1,5 @@
args: with args;
{ stdenv, fetchurl, pkgconfig, xorg, pcre, GStreamer, glib, libxml2
, aspell, cairo, imlib2, xosd, libnotify, gtk, pango, atk }:
let s = import ./src-for-default.nix; in
@@ -9,17 +10,17 @@ stdenv.mkDerivation rec {
sha256 = s.hash;
};
buildInputs = [libX11 pkgconfig pcre GStreamer glib libxml2 aspell
libXpm imlib2 xosd libXt libXext libXi libnotify gtk pango
cairo];
inherit aspell imlib2 xosd;
buildInputs =
[ xorg.libX11 pkgconfig pcre GStreamer glib libxml2 aspell cairo
xorg.libXpm imlib2 xosd xorg.libXt xorg.libXext xorg.libXi libnotify
gtk pango
];
preConfigure = ''
sed -e 's/-Werror//' -i configure
sed -e 's/for aspell_dir in/for aspell_dir in $aspell /' -i configure
sed -e 's/for imlib2_dir in/for imlib2_dir in $imlib2 /' -i configure
sed -e 's/for xosd_dir in/for xosd_dir in $xosd /' -i configure
sed -e 's/for aspell_dir in/for aspell_dir in ${aspell} /' -i configure
sed -e 's/for imlib2_dir in/for imlib2_dir in ${imlib2} /' -i configure
sed -e 's/for xosd_dir in/for xosd_dir in ${xosd} /' -i configure
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${gtk}/include/gtk-2.0"
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${gtk}/lib/gtk-2.0/include"
@@ -31,11 +32,10 @@ stdenv.mkDerivation rec {
'';
meta = {
description = "xneur is the keyboard layout switcher.";
description = "Utility for switching between keyboard layouts";
homepage = http://xneur.ru;
license = "GPL2+";
maintainers = [ stdenv.lib.maintainers.raskin ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@@ -1,9 +1,9 @@
rec {
version="0.9.8";
name="xneur-0.9.8";
hash="11xpw5vj4yccyq54jnx63kv6lkxa3fqr3kjncmgdc8xqk1pa7jmd";
version="0.9.9";
name="xneur-0.9.9";
hash="07ircm7ngc84h6fpy8q01444vy9cm08q4mbl3q3ya0dg00cq64z4";
url="http://dists.xneur.ru/release-${version}/tgz/xneur-${version}.tar.bz2";
advertisedUrl="http://dists.xneur.ru/release-0.9.8/tgz/xneur-0.9.8.tar.bz2";
advertisedUrl="http://dists.xneur.ru/release-0.9.9/tgz/xneur-0.9.9.tar.bz2";
}

View File

@@ -1,16 +1,24 @@
args: with args;
{ stdenv, fetchurl, xorg, ncurses, freetype, pkgconfig }:
stdenv.mkDerivation rec {
name = "xterm-231";
src = fetchurl {
url = "ftp://invisible-island.net/xterm/${name}.tgz";
sha256 = "0qlz5nkdqkahdg9kbd1ni96n69srj1pd9yggwrw3z0kghaajb2sr";
};
buildInputs = [libXaw xproto libXt libXext libX11 libSM libICE ncurses
freetype pkgconfig libXft luit];
configureFlags = "--enable-wide-chars --enable-256-color
--enable-load-vt-fonts --enable-i18n --enable-doublechars --enable-luit
--enable-mini-luit --with-tty-group=tty";
buildInputs =
[ xorg.libXaw xorg.xproto xorg.libXt xorg.libXext xorg.libX11 xorg.libSM xorg.libICE
ncurses freetype pkgconfig xorg.libXft xorg.luit
];
configureFlags =
''
--enable-wide-chars --enable-256-color
--enable-load-vt-fonts --enable-i18n --enable-doublechars --enable-luit
--enable-mini-luit --with-tty-group=tty
'';
# Hack to get xterm built with the feature of releasing a possible setgid of 'utmp',
# decided by the sysadmin to allow the xterm reporting to /var/run/utmp

View File

@@ -1,9 +1,8 @@
args: with args;
{ composableDerivation, fetchurl, lib, qt, openssl, autoconf, automake, pkgconfig }:
let inherit (args.composableDerivation) composableDerivation edf wwf; in
composableDerivation {} ( fixed : {
let inherit (composableDerivation) edf wwf; in
composableDerivation.composableDerivation {} ( fixed : {
name = "yate2";
src = fetchurl {
@@ -12,28 +11,29 @@ composableDerivation {} ( fixed : {
};
# TODO zaptel ? postgres ?
buildInputs = [qt openssl autoconf automake pkgconfig];
buildInputs = [ qt openssl autoconf automake pkgconfig ];
# /dev/null is used when linking which is a impure path for the wrapper
preConfigure = "
sed -i 's@,/dev/null@@' configure
";
preConfigure =
''
sed -i 's@,/dev/null@@' configure
'';
# --unresolved-symbols=ignore-in-shared-libs makes ld no longer find --library=yate? Why?
preBuild = ''
export NIX_LDFLAGS="-L$TMP/yate $NIX_LDFLAGS"
find . -type f -iname Makefile | xargs sed -i \
-e 's@-Wl,--unresolved-symbols=ignore-in-shared-libs@@' \
-e 's@-Wl,--retain-symbols-file@@'
'';
preBuild =
''
export NIX_LDFLAGS="-L$TMP/yate $NIX_LDFLAGS"
find . -type f -iname Makefile | xargs sed -i \
-e 's@-Wl,--unresolved-symbols=ignore-in-shared-libs@@' \
-e 's@-Wl,--retain-symbols-file@@'
'';
meta = {
description = "YATE - Yet Another Telephony Engine";
homepage = http://yate.null.ro/;
license = ["GPL" "MPL"]; # Yate's license is GPL with an exception for linking with OpenH323 and PWlib (licensed under MPL).
maintainers = [args.lib.maintainers.marcweber];
platforms = args.lib.platforms.linux;
maintainers = [ lib.maintainers.marcweber ];
platforms = lib.platforms.linux;
};
} )

View File

@@ -35,17 +35,17 @@ assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux" ;
stdenv.mkDerivation rec {
name = "chrome-${version}";
version = "51653";
version = "55366";
src =
if stdenv.system == "x86_64-linux" then
fetchurl {
url = "http://build.chromium.org/buildbot/snapshots/chromium-rel-linux-64/${version}/chrome-linux.zip";
sha256 = "1d8q4ac8s3b1bncli537phzxshfr50j69y49409g5p64v7iya9kw";
sha256 = "1dazdfpnl278wwh03hs0x184ql5zh0yhpfiaw75j437dp3668hnj";
}
else if stdenv.system == "i686-linux" then
fetchurl {
url = "http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/${version}/chrome-linux.zip";
sha256 = "1kdhwkl7xxssmkrkkgrdwrwvbah97va7rxbwrfhlcnjgw60ppf9v";
sha256 = "1x5ykvp2hxc56p4bb1lykahkk1nzkqi2kkm474spplqcfnmd6j2b";
}
else null;
@@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
libPath =
stdenv.lib.makeLibraryPath
[ stdenv.glibc stdenv.gcc.gcc ffmpeg cairo pango glib libXrender gtk nspr nss fontconfig freetype alsaLib libX11 GConf libXext atk libXt expat zlib libjpeg bzip2 libpng libXScrnSaver dbus dbus_glib cups libgcrypt] ;
[ stdenv.gcc.libc stdenv.gcc.gcc ffmpeg cairo pango glib libXrender gtk nspr nss fontconfig freetype alsaLib libX11 GConf libXext atk libXt expat zlib libjpeg bzip2 libpng libXScrnSaver dbus dbus_glib cups libgcrypt] ;
installPhase = ''
ensureDir $out/bin

View File

@@ -1,4 +1,5 @@
args: with args;
{ stdenv, fetchurl, python, perl, ncurses, x11, bzip2, zlib, openssl
, spidermonkey, guile, gpm }:
stdenv.mkDerivation rec {
name = "elinks-0.12pre5";
@@ -8,13 +9,27 @@ stdenv.mkDerivation rec {
sha256 = "1li4vlbq8wvnigxlkzb15490y90jg6y9yzzrqpqcz2h965w5869d";
};
buildInputs = [python perl ncurses x11 bzip2 zlib openssl spidermonkey guile gpm];
configureFlags = "--enable-finger --enable-html-highlight --with-guile
--with-perl --with-python --enable-gopher --enable-cgi --enable-bittorrent
--enable-nntp --with-openssl=${openssl}";
buildInputs = [ python perl ncurses x11 bzip2 zlib openssl spidermonkey guile gpm ];
configureFlags =
''
--enable-finger --enable-html-highlight --with-guile
--with-perl --with-python --enable-gopher --enable-cgi --enable-bittorrent
--enable-nntp --with-openssl=${openssl}
'';
crossAttrs = {
propagatedBuildInputs = [ ncurses.hostDrv zlib.hostDrv openssl.hostDrv ];
configureFlags = ''
--enable-finger --enable-html-highlight
--enable-gopher --enable-cgi --enable-bittorrent --enable-nntp
--with-openssl=${openssl.hostDrv}
--with-bzip2=${bzip2.hostDrv}
'';
};
meta = {
description = "Full-Featured Text WWW Browser";
description = "Full-featured text-mode web browser";
homepage = http://elinks.or.cz;
};
}

View File

@@ -12,14 +12,14 @@
rec {
firefoxVersion = "3.6.7";
firefoxVersion = "3.6.8";
xulVersion = "1.9.2.7"; # this attribute is used by other packages
xulVersion = "1.9.2.8"; # this attribute is used by other packages
src = fetchurl {
url = "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.bz2";
sha1 = "12c584a63ea6ddbb9253094ad500bc6b046903a6";
sha1 = "4936e543f6c7492c5954cbd5b30ddda6b20e3797";
};

View File

@@ -1,7 +1,7 @@
{ fetchurl, stdenv, pkgconfig, gtk, pango, perl, python, ply, zip, libIDL
{ fetchurl, stdenv, xz, pkgconfig, gtk, pango, perl, python, ply, zip, libIDL
, libjpeg, libpng, zlib, cairo, dbus, dbus_glib, bzip2, xlibs, alsaLib
, libnotify, gnomevfs, libgnomeui
, freetype, fontconfig, wirelesstools ? null
, freetype, fontconfig, wirelesstools ? null, pixman
, application ? "browser" }:
# Build the WiFi stuff on Linux-based systems.
@@ -9,18 +9,18 @@
# http://thread.gmane.org/gmane.comp.gnu.gnuzilla/1376 .
#assert stdenv.isLinux -> (wirelesstools != null);
let version = "3.6"; in
let version = "3.6.7"; in
stdenv.mkDerivation {
name = "icecat-${version}";
src = fetchurl {
url = "mirror://gnu/gnuzilla/${version}/icecat-${version}.tar.bz2";
sha256 = "0fsf8zd8nncg1w1gg2jhlxwkbljvrx4mm9pywasklyi0gvi939ds";
url = "mirror://gnu/gnuzilla/${version}/icecat-${version}.tar.xz";
sha256 = "0nm0py3kd55pgyx1yv44v1acq5d1rgka3p6msfbgqx60yd38rwsm";
};
buildInputs =
[ libgnomeui libnotify gnomevfs alsaLib
pkgconfig gtk perl zip libIDL libjpeg libpng zlib cairo bzip2
[ xz libgnomeui libnotify gnomevfs alsaLib
pkgconfig gtk perl zip libIDL libjpeg libpng zlib cairo bzip2 pixman
python ply dbus dbus_glib pango freetype fontconfig
xlibs.libXi xlibs.libX11 xlibs.libXrender xlibs.libXft xlibs.libXt
]
@@ -30,18 +30,6 @@ stdenv.mkDerivation {
./skip-gre-registration.patch ./rpath-link.patch
];
postPatch =
# Work around the broken `firefox.js' in 3.6. See
# http://news.gmane.org/gmane.comp.gnu.gnuzilla/1419 for details.
let firefox_js = fetchurl {
url = "http://svn.savannah.gnu.org/viewvc/*checkout*/trunk/icecat/browser/app/profile/firefox.js?revision=98&root=gnuzilla";
sha256 = "1jf86wa7r7pf4f3ixrnsslv0i35ypm8hrzlw14hcm5wjcwidzq0f";
name = "firefox.js";
};
in
'' cp -v "${firefox_js}" "browser/app/profile/firefox.js"
'';
configureFlags =
[ "--enable-application=${application}"
"--enable-libxul"

View File

@@ -15,6 +15,7 @@ stdenv.mkDerivation {
configureFlags = if sslSupport then "--with-ssl" else "";
buildInputs = [ ncurses ] ++ stdenv.lib.optional sslSupport openssl;
buildNativeInputs = [ ncurses ];
meta = {
homepage = http://lynx.isc.org/;

View File

@@ -51,9 +51,9 @@ let
url = http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_1_p2_debug_linux_121709.tar.gz;
sha256 = "162cnzn8sfdvr8mwyggsxi2bcl7zzi1nrl61bw481hhhpwnrjdx4";
} else {
version = "10.1.53.64";
version = "10.1.82.76";
url = http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz;
sha256 = "1598vn4dd96cp1nv225vvjpna70ydkd8lcyfm88gnpzkwx2scz1b";
sha256 = "c6f8831ce648e7fa8e037f1fa8362d2d998cae0e06490e792bcd5871f3eb936a";
}
else throw "flashplayer is not supported on this platform";

View File

@@ -1,16 +1,20 @@
{ stdenv, fetchurl, fetchgit, cmake, qt4, kdelibs, automoc4, phonon, perl
, v ? "0.4.90" }:
{ stdenv, fetchurl, cmake, qt4, kdelibs, automoc4, phonon, perl
, gtk, gettext, pixman}:
stdenv.mkDerivation (
builtins.getAttr v (import ./source.nix { inherit fetchurl fetchgit; })
// {
buildInputs = [ cmake qt4 kdelibs automoc4 phonon perl ];
stdenv.mkDerivation rec {
name = "rekonq-0.5.0";
meta = with stdenv.lib; {
platforms = platforms.linux;
maintainers = [ maintainers.urkud ];
description = "KDE Webkit browser";
homepage = http://rekonq.sourceforge.net;
};
}
)
src = fetchurl {
url = "mirror://sf/rekonq/${name}.tar.bz2";
sha256 = "0qm16ivxlh3pj7v39z3ajf90sgm5q5xq6a8s2x1a0ipsh7fgkp58";
};
buildInputs = [ cmake qt4 kdelibs automoc4 phonon perl gtk gettext pixman ];
meta = with stdenv.lib; {
platforms = platforms.linux;
maintainers = [ maintainers.urkud ];
description = "KDE Webkit browser";
homepage = http://rekonq.sourceforge.net;
};
}

View File

@@ -0,0 +1,20 @@
{ stdenv, fetchurl, pidgin} :
stdenv.mkDerivation {
name = "pidgin-msn-pecan-0.1.0";
src = fetchurl {
url = http://msn-pecan.googlecode.com/files/msn-pecan-0.1.0.tar.bz2;
sha256 = "06cgkdlv2brv2g5hpx8g8p6j296cnvd29l8fap30i1k0mznbjxf4";
};
meta = {
description = "Alternative MSN protocol plug-in for Pidgin IM.";
homepage = http://code.google.com/p/msn-pecan/;
};
makeFlags = "PURPLE_LIBDIR=lib PURPLE_DATADIR=share/data DESTDIR=$$out";
preInstall = "ensureDir \$out/share";
postInstall = "ln -s \$out/lib/purple-2 \$out/share/pidgin-msn-pecan";
buildInputs = [pidgin];
}

View File

@@ -1,10 +1,10 @@
args: with args;
{ stdenv, fetchurl, pidgin, intltool, libxml2 }:
let version = "1.10.0"; in
let
version = "1.10.0";
in
stdenv.mkDerivation {
name = "pidgin-sipe-${version}";
src = fetchurl {
url = "mirror://sourceforge/sipe/sipe/pidgin-sipe-${version}/pidgin-sipe-${version}.tar.gz";
sha256 = "11d85qxix1dmwvzs3lx0sycsx1d5sy67r9y78fs7z716py4mg9np";

View File

@@ -21,10 +21,10 @@
} :
stdenv.mkDerivation {
name = "pidgin-2.7.1";
name = "pidgin-2.7.3";
src = fetchurl {
url = mirror://sourceforge/pidgin/pidgin-2.7.1.tar.bz2;
sha256 = "1lcmpb86qsknkzwc1395r2aq09v8z6cr7d23jwi57mcs72ksa4pl";
url = mirror://sourceforge/pidgin/pidgin-2.7.3.tar.bz2;
sha256 = "1wi3wckn3gkbrgx0kk1b690nxj1i4xcp3xn5wrra6gwcgfm8hmwb";
};
inherit nss ncurses;

View File

@@ -46,11 +46,11 @@ in with stdenv; mkDerivation rec {
meaning that one (or multiple) client(s) can attach to
and detach from a central core -- much like the popular
combination of screen and a text-based IRC client such
as WeeChat, but graphical(based on Qt4/KDE4).
as WeeChat, but graphical (based on Qt4/KDE4).
'';
license = "GPLv3";
maintainers = [ maintainers.phreedom ];
platforms = platforms.all;
inherit (qt4.meta) platforms;
};
}

View File

@@ -0,0 +1,18 @@
{stdenv, fetchurl, ncurses, openssl, perl, python, aspell}:
stdenv.mkDerivation {
name = "weechat-0.3.2";
src = fetchurl {
url = http://weechat.org/files/src/weechat-0.3.2.tar.gz;
sha256 = "0ds548fmiv2fg69amhyg1v1rgyw51rqlp64p3rmsbm1lkcwwmivc";
};
buildInputs = [ncurses perl python openssl aspell];
meta = {
homepage = http://http://www.weechat.org/;
description = "A fast, light and extensible chat client";
};
}

View File

@@ -1,4 +1,6 @@
args: with args;
{ stdenv, fetchurl, autoconf, automake, libtool, qt, pkgconfig
, openssl, libpng, alsaLib, libX11, libXext, libXt, libICE
, libSM }:
stdenv.mkDerivation {
name = "kphone-1.2";
@@ -10,7 +12,7 @@ stdenv.mkDerivation {
buildInputs =
[ autoconf automake libtool qt pkgconfig openssl libpng alsaLib
libX11 libXext libXt libICE libSM libX11
libX11 libXext libXt libICE libSM
];
preConfigure = "autoconf";
@@ -19,7 +21,7 @@ stdenv.mkDerivation {
description = "KPhone is a SIP UA for Linux";
homepage = http://sourceforge.net/projects/kphone/;
license = "GPL";
maintainers = [args.lib.maintainers.marcweber];
platforms = args.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@@ -1,4 +1,6 @@
args : with args; with builderDefs;
{ builderDefs, scons, pkgconfig, gtk, bzip2, libglade, openssl, libX11 }:
with builderDefs;
let localDefs = builderDefs.passthru.function ((rec {
src = /* put a fetchurl here */
fetchurl {
@@ -6,7 +8,7 @@ args : with args; with builderDefs;
sha256 = "0w9c8k13cl85y4v4av8ic6w4zkdivcj6p5q86llfh3sz077vckiv";
};
buildInputs = [scons pkgconfig gtk bzip2 pkgconfig libglade
buildInputs = [scons pkgconfig gtk bzip2 libglade
openssl libX11];
configureFlags = [];
doScons = fullDepEntry (''
@@ -15,7 +17,7 @@ args : with args; with builderDefs;
scons PREFIX=$out
scons PREFIX=$out install
'') ["minInit" "doUnpack" "addInputs" "defEnsureDir"];
}) // args);
}));
in with localDefs;
stdenv.mkDerivation rec {
name = "ldcpp-1.0.3";

View File

@@ -1,5 +1,5 @@
{stdenv, fetchurl, alsaLib, libXv, libXi, libXrender, libXrandr, zlib, glib
, libXext, libX11, libXScrnSaver, libSM, qt, libICE, freetype, fontconfig}:
, libXext, libX11, libXScrnSaver, libSM, qt4, libICE, freetype, fontconfig}:
assert stdenv.system == "i686-linux";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
libXv
libXext
libX11
qt
qt4
libXScrnSaver
libSM
libICE

View File

@@ -1,4 +1,7 @@
args: with args;
{ stdenv, fetchurl, pkgconfig, commoncpp2, ccrtp, openssl, boost
, libsndfile, libxml2, libjpeg, readline, qt, perl, file
, alsaLib, speex, libzrtpcpp, xorg }:
stdenv.mkDerivation {
name = "twinkle-1.4.2";
@@ -9,19 +12,18 @@ stdenv.mkDerivation {
configureFlags = "--with-extra-includes=${libjpeg}/include";
buildInputs = [pkgconfig commoncpp2 ccrtp openssl boost libsndfile
libxml2 libjpeg readline qt libjpeg perl file
# optional ? :
alsaLib
speex libzrtpcpp libX11 libXaw libICE libXext
buildInputs =
[ pkgconfig commoncpp2 ccrtp openssl boost libsndfile
libxml2 libjpeg readline qt perl file
# optional ? :
alsaLib
speex libzrtpcpp xorg.libX11 xorg.libXaw xorg.libICE xorg.libXext
];
meta = {
description = "softphone for your voice over IP";
homepage = http://www.xs4all.nl/~mfnboer/twinkle/index.html;
license = "GPL";
maintainers = [args.lib.maintainers.marcweber];
platforms = args.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@@ -1,15 +1,17 @@
{stdenv, fetchurl, pkgconfig, gtk, libglade, libgnomecanvas, fribidi, libpng, popt, libgsf,
enchant, wv, librsvg, bzip2
{ stdenv, fetchurl, pkgconfig, gtk, libglade, libgnomecanvas, fribidi
, libpng, popt, libgsf, enchant, wv, librsvg, bzip2
}:
stdenv.mkDerivation {
name = "abiword-2.8.6";
src = fetchurl {
url = http://www.abisource.org/downloads/abiword/2.8.6/source/abiword-2.8.6.tar.gz;
sha256 = "059sd2apxdmcacc4pll880i7vm18h0kyjsq299m1mz3c7ak8k46r";
};
buildInputs = [pkgconfig gtk libglade librsvg bzip2
libgnomecanvas fribidi libpng popt libgsf enchant wv
];
buildInputs =
[ pkgconfig gtk libglade librsvg bzip2 libgnomecanvas fribidi libpng popt
libgsf enchant wv
];
}

View File

@@ -1,4 +1,6 @@
args: with args;
{ stdenv, fetchurl, pkgconfig, freetype, lcms, libtiff, libxml2
, libart_lgpl, qt, python, cups, fontconfig, libjpeg
, zlib, libpng, xorg, cairo, cmake }:
assert stdenv.gcc.gcc != null;
@@ -8,13 +10,9 @@ assert stdenv.gcc.gcc != null;
# will be released with the next version of scribus - So don't miss them
# when upgrading this package
#let useCairo = true;
let useCairo = false;
in
let useCairo = false; in
stdenv.mkDerivation {
name = "scribus-1.3.3.14";
src = fetchurl {
@@ -35,9 +33,9 @@ stdenv.mkDerivation {
buildInputs =
[ pkgconfig /*<- required fro cairo only?*/ cmake freetype lcms libtiff libxml2 libart_lgpl qt
python cups fontconfig
libXaw libXext libX11 libXtst libXi libXinerama
libjpeg libtiff zlib libpng
] ++ lib.optional useCairo cairo;
xorg.libXaw xorg.libXext xorg.libX11 xorg.libXtst xorg.libXi xorg.libXinerama
libjpeg zlib libpng
] ++ stdenv.lib.optional useCairo cairo;
# fix rpath which is removed by cmake..
postFixup = ''
@@ -49,9 +47,9 @@ stdenv.mkDerivation {
'';
meta = {
maintainers = [lib.maintainers.marcweber];
platforms = lib.platforms.linux;
description = "Desktop Publishing (DTP) and Layout program for Linux.";
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.linux;
description = "Desktop Publishing (DTP) and Layout program for Linux";
homepage = http://www.scribus.net;
license = "GPLv2";
};

View File

@@ -1,4 +1,5 @@
args: with args;
{ stdenv, fetchurl, glew, mesa, libpng, lesstif, lynx, freeglut
, libtiff, rxp, sablotron, perl, jdk, transfig, gv, gnuplot, xorg }:
# NOTE: This package does not build on 64-bit systems. Because of some faulty
# int->pointer arithmatic. The build scripts are abnormal - but it appears to
@@ -6,6 +7,7 @@ args: with args;
stdenv.mkDerivation {
name = "arb-2007-Dec-07";
src = fetchurl {
url = http://download.arb-home.de/release/2007_12_07/arbsrc.tgz;
sha256 = "04l7qj0wigg1h56a9d70hxhdr343v3dg5dhqrc7fahc1v4h8f1rd";
@@ -13,7 +15,11 @@ stdenv.mkDerivation {
patches = [ ./makefile.patch ];
buildInputs = [ glew mesa libpng libXpm lesstif lynx freeglut libtiff rxp sablotron libXaw perl jdk transfig libX11 libXext libXt gv gnuplot ];
buildInputs =
[ glew mesa libpng xorg.libXpm lesstif lynx freeglut libtiff rxp
sablotron xorg.libXaw perl jdk transfig xorg.libX11 xorg.libXext
xorg.libXt gv gnuplot
];
unpackPhase = ''
tar xzf $src
@@ -49,20 +55,22 @@ stdenv.mkDerivation {
chmod a+rwx $shareddir/lib/pixmaps
# bulk copy
cp -vau * $out
# replace arb script
mv $out/bin/arb $out/bin/arb.orig
cat > $out/bin/arb << ARB
#!/bin/sh
#!/bin/sh
echo Starting Nix compiled arb from $out
echo Shared databases are located in $shareddir
# sometimes local profiles override these:
export ARBHOME=$out
export LD_LIBRARY=$ARBHOME/lib
echo Starting Nix compiled arb from $out
echo Shared databases are located in $shareddir
# sometimes local profiles override these:
export ARBHOME=$out
export LD_LIBRARY=$ARBHOME/lib
$out/bin/arb_ntree $*
$out/bin/arb_ntree $*
ARB
ARB
chmod +x $out/bin/arb
'';

View File

@@ -0,0 +1,21 @@
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "tetgen-1.4.3";
src = fetchurl {
url = http://tetgen.berlios.de/files/tetgen1.4.3.tar.gz;
sha256 = "159i0vdjz7abb8bycz47ax4fqlzc82kv19sygqnrkr86qm4g43wy";
};
installPhase = ''
ensureDir $out/bin
cp tetgen $out/bin
'';
meta = {
description = "Quality Tetrahedral Mesh Generator and 3D Delaunay Triangulator";
homepage = "http://tetgen.berlios.de/";
license = "MIT";
};
}

View File

@@ -4,19 +4,15 @@
{stdenv, fetchurl, ocaml, camlp5, lablgtk, ncurses}:
let
pname = "coq";
version = "8.2pl1";
name = "${pname}-${version}";
version = "8.2pl2";
in
stdenv.mkDerivation {
inherit name;
name = "coq-${version}";
src = fetchurl {
url = "http://coq.inria.fr/V${version}/files/${name}.tar.gz";
sha256 = "7c15acfd369111e51d937cce632d22fc77a6718a5ac9f2dd2dcbdfab4256ae0c";
url = "http://coq.inria.fr/V${version}/files/coq-${version}.tar.gz";
sha256 = "0dh2vv3bvz8694dd12kjdkdaq19l1vslvygzif11igshc5bw4rhf";
};
buildInputs = [ ocaml camlp5 ncurses lablgtk ];

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl, nettools, polyml, emacs, emacsPackages }:
{ stdenv, fetchurl, perl, nettools, polyml, proofgeneral }:
# nettools needed for hostname
let
@@ -6,7 +6,6 @@ let
version = "2009-1";
name = "${pname}${version}";
theories = ["HOL" "FOL" "ZF"];
proofgeneral = (emacsPackages emacs).proofgeneral;
in
stdenv.mkDerivation {

View File

@@ -0,0 +1,42 @@
{stdenv, fetchurl, perl}:
stdenv.mkDerivation rec {
name = "yacas-1.2.2";
src = fetchurl {
url = "http://yacas.sourceforge.net/backups/${name}.tar.gz";
sha256 = "1dmafm3w0lm5w211nwkfzaid1rvvmgskz7k4500pjhgdczi5sd78";
};
# Perl is only for the documentation
buildNativeInputs = [ perl ];
patches = [ ./gcc43.patch ];
crossAttrs = {
# Trick to get host-built programs needed for the cross-build.
# If yacas had proper makefiles, this would not be needed.
preConfigure = ''
./configure
pushd src
make mkfastprimes
cp mkfastprimes ../..
popd
pushd manmake
make manripper removeduplicates
cp manripper removeduplicates ../..
popd
'';
preBuild = ''
cp ../mkfastprimes ../manripper ../removeduplicates src
'';
};
meta = {
description = "Easy to use, general purpose Computer Algebra System";
homepage = http://yacas.sourceforge.net/;
license = "GPLv2+";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; all;
};
}

View File

@@ -0,0 +1,17 @@
Taken from gentoo:
http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/yacas/files/yacas-1.2.2-gcc43.patch?rev=1.1&view=markup
Index: yacas-1.2.2-gcc43.patch
===================================================================
--- a/manmake/manripper.cpp
+++ b/manmake/manripper.cpp
@@ -1,7 +1,8 @@
-#include <stdio.h>
-#include <ctype.h>
+#include <cstdio>
+#include <cctype>
#include <string>
+#include <cstring>
#include <map>
using namespace std;

View File

@@ -1,7 +1,8 @@
args: with args;
{ stdenv, fetchurl, which, diffutils, gnupatch, gnutar }:
stdenv.mkDerivation rec {
name = "tla-1.3.5";
src = fetchurl {
url = "mirror://gnu/gnu-arch/" + name + ".tar.gz";
sha256 = "01mfzj1i6p4s8191cgd5850hds1zls88hkf9rb6qx1vqjv585aj0";
@@ -10,6 +11,7 @@ stdenv.mkDerivation rec {
patches = [ ./configure-tmpdir.patch ];
buildInputs = [which];
propagatedBuildInputs = [diffutils gnupatch gnutar];
# Instead of GNU Autoconf, tla uses Tom Lord's now

View File

@@ -1,11 +1,13 @@
{stdenv, fetchurl, python, makeWrapper}:
stdenv.mkDerivation {
name = "bazaar-1.10rc1";
stdenv.mkDerivation rec {
version = "2.2";
release = ".0";
name = "bazaar-${version}${release}";
src = fetchurl {
url = http://launchpad.net/bzr/1.10/1.10rc1/+download/bzr-1.10rc1.tar.gz;
sha256 = "dc3669e15ced93e0956c13b724f604075e0323ce07fb08f6463946c85e69bec0";
url = "http://launchpad.net/bzr/${version}/${version}${release}/+download/bzr-${version}${release}.tar.gz";
sha256 = "64cd6c23097884e40686adc7f0ad4a8200e2292bdc5e0caba3563b6f5c32bacf";
};
buildInputs = [python makeWrapper];

View File

@@ -5,9 +5,10 @@ if ! bazaar.python.readlineSupport then
else
rec {
version = "2.2.0";
src = fetchurl {
url = http://launchpad.net/bzrtools/stable/1.5.0/+download/bzrtools-1.5.0.tar.gz;
sha256 = "0lm4qhsjy3k8zp9hcahlf37v69w6lhhz2x3hjskgm3rk6b0bngjz";
url = "http://launchpad.net/bzrtools/stable/${version}/+download/bzrtools-${version}.tar.gz";
sha256 = "835e0dc2b3b798d3c88b960bf719fe3b4cec7ae241908aafeb6aafe4c83f591b";
};
buildInputs = [];
@@ -16,7 +17,7 @@ rec {
/* doConfigure should be specified separately */
phaseNames = [(simplyShare "bzrtools")];
name = "bzr-tools-1.5";
name = "bzr-tools-${version}";
meta = {
description = "Bazaar plugins.";
};

View File

@@ -3,8 +3,8 @@
cabal.mkDerivation (self : {
pname = "darcs";
name = self.fname;
version = "2.4.1";
sha256 = "6ac0e84d2eca160e6e33755679dfb185d9b5f9f5bdc43f99db326210aabbc4aa";
version = "2.4.4";
sha256 = "97cde35ae4b74488f8b98b487bc0498069eaa74fe035903394f3d4aff1da9f9e";
extraBuildInputs = [
html parsec regexCompat curl haskeline hashedStorage zlib

View File

@@ -1,7 +1,7 @@
{stdenv, fetchurl, zlib, openssl}:
let
version = "20100521162104";
version = "20100703153359";
in
stdenv.mkDerivation {
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
src = fetchurl {
url = "http://www.fossil-scm.org/download/fossil-src-${version}.tar.gz";
sha256 = "0aym6r06194nnl5801lhihvjc9mhj7zl602xsz7dch8bnhln470f";
sha256 = "1n4jl2xcwd8gfp0c897id13myk8z2h0yvs7g7z4s6bywx5wbkx0r";
};
buildInputs = [ zlib openssl ];
@@ -19,6 +19,10 @@ stdenv.mkDerivation {
INSTALLDIR=$out/bin make install
'';
crossAttrs = {
makeFlagsArray = [ "TCC=${stdenv.cross.config}-gcc" ];
};
meta = {
description = "Simple, high-reliability, distributed software configuration management.";
longDescription = ''

View File

@@ -12,11 +12,11 @@ let
in
stdenv.mkDerivation rec {
name = "git-1.7.1";
name = "git-1.7.2.1";
src = fetchurl {
url = "mirror://kernel/software/scm/git/${name}.tar.bz2";
sha256 = "bcf008ec9639480a3ebfdc4708743b6c0978a8bd3103a2dda587ea9473b9dde2";
sha256 = "5446b4ece3b8d81b1fcbcd6c4b91f1961b6f4047a3f6173e3200bee368724921";
};
patches = [ ./docbook2texi.patch ];
@@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
'')
+ ''# Install man pages and Info manual
make PERL_PATH="${perl}/bin/perl" cmd-list.made install install-info \
make -j $NIX_BUILD_CORES -l $NIX_BUILD_CORES PERL_PATH="${perl}/bin/perl" cmd-list.made install install-info \
-C Documentation ''
+ (if guiSupport then ''
@@ -116,6 +116,8 @@ stdenv.mkDerivation rec {
'';
enableParallelBuilding = true;
meta = {
license = "GPLv2";
homepage = http://git-scm.com/;

View File

@@ -1,7 +1,9 @@
args: with args;
{ stdenv, fetchurl, python, makeWrapper
, guiSupport ? false, tk ? null }:
stdenv.mkDerivation rec {
name = "mercurial-1.5.1";
src = fetchurl {
url = "http://www.selenic.com/mercurial/release/${name}.tar.gz";
sha256 = "5796dd27c884c0effb027c71925fe2c2506b08e0ac8c5f53db259d378ef96569";
@@ -10,8 +12,10 @@ stdenv.mkDerivation rec {
inherit python; # pass it so that the same version can be used in hg2git
buildInputs = [ python makeWrapper ];
makeFlags = "PREFIX=$(out)";
postInstall = (if args.guiSupport then
postInstall = (stdenv.lib.optionalString guiSupport
''
ensureDir $out/etc/mercurial
cp contrib/hgk $out/bin
@@ -23,9 +27,7 @@ stdenv.mkDerivation rec {
WRAP_TK=" --set TK_LIBRARY \"${tk}/lib/${tk.libPrefix}\"
--set HG \"$out/bin/hg\"
--prefix PATH : \"${tk}/bin\" "
''
else "")
+
'') +
''
for i in $(cd $out/bin && ls); do
wrapProgram $out/bin/$i \

View File

@@ -0,0 +1,34 @@
# patch "agraph.ml"
# from [8ae6c9bb70bbf9fd80e4e62d9f162ac581619b9e]
# to [05aa88921481ac9bfe238daeb4374fbc9993caaa]
#
============================================================
--- a/agraph.ml 8ae6c9bb70bbf9fd80e4e62d9f162ac581619b9e
+++ b/agraph.ml 05aa88921481ac9bfe238daeb4374fbc9993caaa
@@ -50,8 +50,9 @@ let dot_format params agraph =
agraph.nodes in
!+ "digraph \"monotone-viz\"\n{\n" ;
- if params.lr_layout then
- !+ " graph [rankdir=LR] ;\n" ;
+ if params.lr_layout
+ then !+ " graph [rankdir=LR] ;\n"
+ else !+ " graph [rankdir=BT] ;\n" ;
!+ " graph [ranksep=\"0.25\"] ;\n" ;
!+ " node [label=\"\"] ;\n" ;
@@ -222,11 +223,11 @@ let spawn_dot graph status done_cb =
let dot_prg = graph.layout_params.dot_program in
let cmd =
if Viz_misc.debug "dot"
- then [ "/bin/sh" ; "-c" ;
+ then [ "/bin/sh" ; "-c" ;
Printf.sprintf
"set -o pipefail ; \
- tee agraph.in.dot | %s -q -y -s%.0f | tee agraph.out.dot" dot_prg ppi ]
- else [ dot_prg ; "-q" ; "-y" ; Printf.sprintf "-s%.0f" ppi ] in
+ tee agraph.in.dot | %s -q -s%.0f | tee agraph.out.dot" dot_prg ppi ]
+ else [ dot_prg ; "-q" ; Printf.sprintf "-s%.0f" ppi ] in
let error fmt =
Printf.kprintf (fun s -> done_cb (`LAYOUT_ERROR s)) fmt in
try

View File

@@ -3,9 +3,9 @@ rec {
src = fetchmtn {
name = "monotone-viz-mtn-checkout";
dbs = ["monotone.ca"];
selector = "0e9194c89eb87e62ac7d54c7b88b10b94b07fa41";
branch = "net.venge.monotone-viz.automate";
sha256 = "d7980c9729b0a58f0dd27768b8eae46b45462fe72a88534b8aa159d889b4d624";
selector = "b34ff2e695b53c2d73d533a3ffa7cb081b48eefb";
branch = "net.venge.monotone-viz.new-stdio";
sha256 = "06263564bc111d865b50b4a9587a86f8d97fff47625a3c1cb98d90b79faf7889";
} + "/";
buildInputs = [ocaml lablgtk libgnomecanvas gtk graphviz glib
@@ -13,12 +13,14 @@ rec {
configureFlags = ["--with-lablgtk-dir=${lablgtk}/lib/ocaml/lablgtk2"];
/* doConfigure should be specified separately */
phaseNames = ["doAutoconf" "doConfigure" "doMakeInstall"];
phaseNames = ["doAutoconf" "doPatch" "doConfigure" "doMakeInstall"];
doAutoconf = fullDepEntry(''
aclocal -I .
autoconf -I .
'') ["minInit" "addInputs" "doUnpack"];
patches = [ ./graphviz.patch ];
name = "monotone-viz-mtn-head";
meta = {

View File

@@ -0,0 +1,49 @@
x@{builderDefsPackage
, cmake, curl, patch, zlib, icu, sqlite, libuuid
, readline, openssl, spidermonkey_1_8_0rc1
, ...}:
builderDefsPackage
(a :
let
s = import ./src-for-default.nix;
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
[];
buildInputs = map (n: builtins.getAttr n x)
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
in
rec {
src = a.fetchUrlFromSrcInfo s;
inherit (s) name;
inherit buildInputs;
phaseNames = ["prepareMakefiles" "doMake" "doDeploy"];
prepareMakefiles = a.fullDepEntry ''
find src -type f -exec sed -e 's@#include \([<"]\)sgbrings/js/js@#include \1js/js@g' -i '{}' ';'
cd ..
mkdir build
cd build
export NIX_LDFLAGS="$NIX_LDFLAGS -lssl"
cmake -G "Unix Makefiles" -D SGBRINGS_JS_INCDIR="${spidermonkey_1_8_0rc1}/include" -D SGBRINGS_JS_LIB="${spidermonkey_1_8_0rc1}/lib/libjs.a" ../veracity*
'' ["minInit" "addInputs" "doUnpack"];
doDeploy = a.fullDepEntry ''
ensureDir "$out/bin" "$out/share/veracity/"
cp -r .. "$out/share/veracity/build-dir"
ln -s "$out/share/veracity/build-dir/build/src/cmd/vv" "$out/bin"
ln -s "$out/share/veracity/build-dir/build/src/script/vscript" "$out/bin"
'' ["doMake" "minInit" "defEnsureDir"];
meta = {
description = "A distributed version control system with template-based merging";
maintainers = with a.lib.maintainers;
[
raskin
];
platforms = with a.lib.platforms;
linux ;
};
}) x

View File

@@ -0,0 +1,8 @@
rec {
version="0.3.0.10246";
name="veracity-0.3.0.10246";
hash="03wn6dzbjv5p50xmiznynza5c1nk38v95mzv6rk6km1ykqprnlw0";
url="http://download-us.sourcegear.com/Veracity/0.3.0.10246/veracity-source-${version}.tar.gz";
advertisedUrl="http://download-us.sourcegear.com/Veracity/0.3.0.10246/veracity-source-0.3.0.10246.tar.gz";
}

View File

@@ -0,0 +1,4 @@
{
downloadPage = "http://sourcegear.com/veracity/downloads.html";
baseName = "veracity";
}

View File

@@ -1,10 +1,11 @@
{ alsaSupport ? false, xvSupport ? true, theoraSupport ? false, cacaSupport ? false
, xineramaSupport ? false, randrSupport ? false, dvdnavSupport ? true
, stdenv, fetchurl, x11, freetype, fontconfig, zlib
, alsa ? null, libX11, libXv ? null, libtheora ? null, libcaca ? null
, alsa ? null, libXv ? null, libtheora ? null, libcaca ? null
, libXinerama ? null, libXrandr ? null, libdvdnav ? null
, cdparanoia ? null, cddaSupport ? true
, amrnb ? null, amrwb ? null, amrSupport ? false
, x11Support ? true, libX11 ? null
, jackaudioSupport ? false, jackaudio ? null
, x264Support ? false, x264 ? null
, xvidSupport ? false, xvidcore ? null
@@ -13,11 +14,12 @@
}:
assert alsaSupport -> alsa != null;
assert xvSupport -> libXv != null;
assert x11Support -> libX11 != null;
assert xvSupport -> (libXv != null && x11Support);
assert theoraSupport -> libtheora != null;
assert cacaSupport -> libcaca != null;
assert xineramaSupport -> libXinerama != null;
assert randrSupport -> libXrandr != null;
assert xineramaSupport -> (libXinerama != null && x11Support);
assert randrSupport -> (libXrandr != null && x11Support);
assert dvdnavSupport -> libdvdnav != null;
assert cddaSupport -> cdparanoia != null;
assert jackaudioSupport -> jackaudio != null;
@@ -54,7 +56,8 @@ stdenv.mkDerivation {
};
buildInputs =
[ x11 libXv freetype zlib mesa pkgconfig yasm ]
[ freetype zlib pkgconfig ]
++ stdenv.lib.optional x11Support [ libX11 mesa ]
++ stdenv.lib.optional alsaSupport alsa
++ stdenv.lib.optional xvSupport libXv
++ stdenv.lib.optional theoraSupport libtheora
@@ -69,18 +72,32 @@ stdenv.mkDerivation {
++ stdenv.lib.optional xvidSupport xvidcore
++ stdenv.lib.optional lameSupport lame;
buildNativeInputs = [ yasm ];
configureFlags = ''
${if cacaSupport then "--enable-caca" else "--disable-caca"}
${if dvdnavSupport then "--enable-dvdnav --enable-dvdread --disable-dvdread-internal" else ""}
${if x264Support then "--enable-x264 --extra-libs=-lx264" else ""}
--codecsdir=${codecs}
--enable-runtime-cpudetection
--enable-x11
${if x11Support then "--enable-x11" else ""}
--disable-xanim
--disable-ivtv
'';
NIX_LDFLAGS = "-lX11 -lXext";
NIX_LDFLAGS = if x11Support then "-lX11 -lXext" else "";
crossAttrs = {
preConfigure = ''
configureFlags="`echo $configureFlags |
sed -e 's/--build[^ ]\+//' \
-e 's/--host[^ ]\+//' \
-e 's/--codecsdir[^ ]\+//' \
-e 's/--enable-runtime-cpudetection//' `"
configureFlags="$configureFlags --target=${stdenv.cross.arch}-linux
--cc=$crossConfig-gcc --as=$crossConfig-as"
'';
};
meta = {
description = "A movie player that supports many video formats";

View File

@@ -1,6 +1,11 @@
args:
with args;
args.stdenv.mkDerivation {
{ stdenv, fetchurl, sourceFromHead, autoconf, automake, libtool
, pkgconfig, faad2, faac, a52dec, alsaLib, fftw, lame, libavc1394
, libiec61883, libraw1394, libsndfile, libvorbis, libogg, libjpeg
, libtiff, freetype, mjpegtools, x264, gettext, openexr, esound
, libXxf86vm, libXv, libXi, libX11, xextproto, libtheora, libpng
, libdv, nasm, perl, e2fsprogs }:
stdenv.mkDerivation {
name = "cinelerra-git";
# REGION AUTO UPDATE: { name="cinelerra"; type="git"; url="git://git.cinelerra.org/j6t/cinelerra.git"; }
@@ -8,35 +13,33 @@ args.stdenv.mkDerivation {
(fetchurl { url = "http://mawercer.de/~nix/repos/cinelerra-9f9adf2ad5472886d5bc43a05c6aa8077cabd967.tar.gz"; sha256 = "0b264e2a770d2257550c9a23883a060afcaff12293fe43828954e7373f5f4fb4"; });
# END
perl = args.perl;
# touch confi.rpath: work around bug in automake 1.10 ?
preConfigure = ''
find -type f -print0 | xargs --null sed -e "s@/usr/bin/perl@$perl/bin/perl@" -i
find -type f -print0 | xargs --null sed -e "s@/usr/bin/perl@${perl}/bin/perl@" -i
touch config.rpath
./autogen.sh
'';
configureOptions = ["--enable-freetype2"];
'';
configureFlags = [ "--enable-freetype2" ];
buildInputs =(with args; [
automake
buildInputs =
[ automake
autoconf libtool pkgconfig
faad2 faac
a52dec alsaLib fftw lame libavc1394 libiec61883
libraw1394 libsndfile libvorbis libogg libjpeg libtiff freetype
mjpegtools x264 gettext openexr esound
#
libXxf86vm libXv libXi libX11 xextproto
libtheora libpng libdv
nasm
perl
e2fsprogs
]);
];
meta = {
description = "Cinelerra - Video Editor";
homepage = http://www.cinelerra.org;
maintainers = [lib.maintainers.marcweber];
license = "GPLv2";
description = "Cinelerra - Video Editor";
homepage = http://www.cinelerra.org;
maintainers = [ stdenv.lib.maintainers.marcweber ];
license = "GPLv2";
};
}

View File

@@ -1,17 +1,18 @@
args:
args.stdenv.mkDerivation {
{ stdenv, fetchurl, imagemagick, libdvdread, libxml2, freetype, fribidi, libpng }:
stdenv.mkDerivation {
name = "dvdauthor-0.6.14";
src = args.fetchurl {
src = fetchurl {
url = mirror://sourceforge/dvdauthor/dvdauthor-0.6.14.tar.gz;
sha256 = "1x4flj3ja7m8rbc956a6ha3qk0k6zxd1y6sl826r6r7dyc91a6yx";
};
buildInputs =(with args; [imagemagick libdvdread libxml2 freetype fribidi libpng]);
buildInputs = [ imagemagick libdvdread libxml2 freetype fribidi libpng ];
meta = {
description = "Tools for generating DVD files to be played on standalone DVD players";
homepage = http://dvdauthor.sourceforge.net/;
license = ["GPLv2"];
description = "Tools for generating DVD files to be played on standalone DVD players";
homepage = http://dvdauthor.sourceforge.net/;
license = ["GPLv2"];
};
}

View File

@@ -1,27 +0,0 @@
args : with args;
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = [ http://fabrice.bellard.free.fr/qemu/linux-0.2.img.bz2 http://bellard.org/qemu/linux-0.2.img.bz2];
sha256 = "08xlwy1908chpc4fsqy2v13zi25dapk0ybrd43fj95v67kdj5hj1";
};
buildInputs = [];
configureFlags = [];
};
in with localDefs;
let
doCopy = fullDepEntry ("
ensureDir \$out/share/qemu-images
cp linux-0.2.img \$out/share/qemu-images/
") [minInit doUnpack defEnsureDir];
in
stdenv.mkDerivation rec {
name = "QEmu-Linux-Image-0.2";
builder = writeScript (name + "-builder")
(textClosure localDefs [doCopy doForceShare doPropagate]);
meta = {
description = "Qemu sample image.";
inherit src;
};
}

View File

@@ -0,0 +1,22 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "qemu-linux-image-0.2";
src = fetchurl {
url = http://wiki.qemu.org/download/linux-0.2.img.bz2;
sha256 = "08xlwy1908chpc4fsqy2v13zi25dapk0ybrd43fj95v67kdj5hj1";
};
unpackPhase = "true";
installPhase =
''
ensureDir $out/share/qemu-images
bunzip2 < $src > $out/share/qemu-images/linux-0.2.img
'';
meta = {
description = "QEMU sample Linux disk image";
};
}

View File

@@ -1,6 +1,6 @@
{ stdenv, fetchurl, lib, iasl, dev86, libxslt, libxml2, libX11, xproto, libXext
, libXcursor, qt4, libIDL, SDL, hal, libcap, zlib, libpng, glib, kernel
, python, which, alsaLib, curl
, python, which, alsaLib, curl, gawk
}:
stdenv.mkDerivation {
@@ -72,7 +72,7 @@ stdenv.mkDerivation {
sed -i -e "s|@INSTALL_PATH@|$out/virtualbox|" \
-e "s|@QT4_PATH@|${qt4}/lib|" \
-e "s|which|${which}/bin/which|" \
-e "s|awk|${stdenv.gawk}/bin/awk|" \
-e "s|awk|${gawk}/bin/awk|" \
$out/bin/VBox.sh
chmod 755 $out/bin/VBox.sh
for file in VirtualBox VBoxManage VBoxSDL

View File

@@ -4,11 +4,11 @@
, docbook_xml_dtd_45, libxslt, coreutils}:
stdenv.mkDerivation rec {
name = "awesome-3.4.5";
name = "awesome-3.4.6";
src = fetchurl {
url = http://awesome.naquadah.org/download/awesome-3.4.5.tar.xz;
sha256 = "124g6k4n2yf9shw3ig9lj1jdwiysfbj13mnjd38k22hqbj3yhnbi";
url = http://awesome.naquadah.org/download/awesome-3.4.6.tar.xz;
sha256 = "1bxym326pl32q5jsaqa7p785k8yviinzj0q1l42pdhiiq717zbwi";
};
buildInputs = [ xz cmake gperf imagemagick pkgconfig lua glib cairo pango

Some files were not shown because too many files have changed in this diff Show More