Compare commits

...

289 Commits

Author SHA1 Message Date
Lluís Batlle i Rossell
adc111e85f Changing my email address, to one I prefer.
svn path=/nixpkgs/trunk/; revision=30286
2011-11-06 21:38:34 +00:00
Michael Raskin
3b3c1670d1 Obviously, iproute needs host flex
svn path=/nixpkgs/trunk/; revision=30285
2011-11-06 21:38:02 +00:00
Ludovic Courtès
84888ac3f1 glibc 2.12: Add an option to keep debugging symbols.
svn path=/nixpkgs/trunk/; revision=30284
2011-11-06 21:06:05 +00:00
David Guibert
18fcb0f5f8 update pulseaudio 0.9.23 -> 1.1
svn path=/nixpkgs/trunk/; revision=30279
2011-11-06 20:03:07 +00:00
David Guibert
29bdb369ab update cmake
svn path=/nixpkgs/trunk/; revision=30278
2011-11-06 20:03:00 +00:00
Michael Raskin
a64122818f Cross-compiling TinyCC: move build helpers to buildNativeInputs
svn path=/nixpkgs/trunk/; revision=30277
2011-11-06 19:18:02 +00:00
Peter Simons
c03581c2be haskell-hlint: updated to version 1.8.18
svn path=/nixpkgs/trunk/; revision=30273
2011-11-06 18:36:45 +00:00
Peter Simons
dc4b393ded haskell-uniplate: updated to version 1.6.5
svn path=/nixpkgs/trunk/; revision=30272
2011-11-06 18:36:42 +00:00
Peter Simons
5b28154e86 haskell-tagsoup: updated to version 0.12.4
svn path=/nixpkgs/trunk/; revision=30271
2011-11-06 18:36:39 +00:00
Peter Simons
e576156354 haskell-system-filepath: updated to version 0.4.3
svn path=/nixpkgs/trunk/; revision=30270
2011-11-06 18:36:36 +00:00
Peter Simons
7130820f8c haskell-system-fileio: updated to version 0.3.3
svn path=/nixpkgs/trunk/; revision=30269
2011-11-06 18:36:33 +00:00
Peter Simons
8325085a7d haskell-hint: updated to version 0.3.3.3
svn path=/nixpkgs/trunk/; revision=30268
2011-11-06 18:36:30 +00:00
Peter Simons
cc2456282d haskell-ghc-mtl: updated to version 1.0.1.1
svn path=/nixpkgs/trunk/; revision=30267
2011-11-06 18:36:27 +00:00
Peter Simons
5396f76a55 haskell-gamma: updated to version 0.9.0.1
svn path=/nixpkgs/trunk/; revision=30266
2011-11-06 18:36:24 +00:00
Peter Simons
ff21c3f5b5 haskell-blaze-html: updated to version 0.4.2.1
svn path=/nixpkgs/trunk/; revision=30265
2011-11-06 18:36:21 +00:00
Shea Levy
5e5dd16842 Remove the efi stub patch
svn path=/nixpkgs/trunk/; revision=30264
2011-11-06 17:38:51 +00:00
Shea Levy
83acc83fb7 Reenable grub2_efi
svn path=/nixpkgs/trunk/; revision=30262
2011-11-06 17:08:05 +00:00
Rob Vermaas
25d6f604bb add patches for libofa and libtunepipe due to remove curl/types.h in new curl
svn path=/nixpkgs/trunk/; revision=30261
2011-11-06 14:26:55 +00:00
Alexander Tsamutali
1b9adf9951 games/xonotic: New nixbuild.
svn path=/nixpkgs/trunk/; revision=30260
2011-11-06 13:54:03 +00:00
Alexander Tsamutali
10128798b5 games/teeworlds: Updated to 0.6.1, added myself as maintainer.
svn path=/nixpkgs/trunk/; revision=30259
2011-11-06 10:11:31 +00:00
Piotr Pietraszkiewicz
1916578852 made sword build against current curl (v7.22.0) by removing deprecated includes
svn path=/nixpkgs/trunk/; revision=30248
2011-11-05 22:12:18 +00:00
Lluís Batlle i Rossell
36c0150c1e I think these changes make postfix start again.
svn path=/nixpkgs/trunk/; revision=30246
2011-11-05 21:14:30 +00:00
Lluís Batlle i Rossell
70035096a5 Updating our super-old postfix. 2.8.6 builds. I don't know if it serves well.
svn path=/nixpkgs/trunk/; revision=30244
2011-11-05 18:50:43 +00:00
Eelco Dolstra
4d95b41bc8 * curl updated to 7.22.0. Dropped the connect timeout patch because
it doesn't seem necessary anymore.

svn path=/nixpkgs/trunk/; revision=30243
2011-11-05 01:55:53 +00:00
Peter Simons
a0cf7c24e1 git-annex: updated to version 3.20111025
svn path=/nixpkgs/trunk/; revision=30241
2011-11-05 00:03:44 +00:00
Michael Raskin
16b52399c7 Oops, set include dir
svn path=/nixpkgs/trunk/; revision=30240
2011-11-04 21:53:47 +00:00
Michael Raskin
f9596a8145 Make cross-buildable. I wonder if it will work...
svn path=/nixpkgs/trunk/; revision=30239
2011-11-04 21:35:35 +00:00
Michael Raskin
ca92853163 Make cross-buildable
svn path=/nixpkgs/trunk/; revision=30238
2011-11-04 21:31:07 +00:00
Michael Raskin
bcfa6a78e8 Fix one part of cross-Linux-PAM failure...
svn path=/nixpkgs/trunk/; revision=30237
2011-11-04 21:11:43 +00:00
Lluís Batlle i Rossell
c95d373b68 Patching gtmess; it did not build on arm.
svn path=/nixpkgs/trunk/; revision=30230
2011-11-04 18:10:44 +00:00
Peter Simons
0812835108 haskell-uuagc-cabal: updated to version 1.0.0.9
svn path=/nixpkgs/trunk/; revision=30228
2011-11-04 16:57:39 +00:00
Peter Simons
e723b95140 haskell-xml-enumerator: updated to version 0.4.3.1
svn path=/nixpkgs/trunk/; revision=30227
2011-11-04 16:57:24 +00:00
Michael Raskin
78070477bf Given that this version is the dependency of OpenSSH, fix cross-build.
svn path=/nixpkgs/trunk/; revision=30226
2011-11-04 16:55:47 +00:00
Michael Raskin
d48ca86dd9 Given that this version is the dependency of OpenSSH, fix cross-build.
svn path=/nixpkgs/trunk/; revision=30225
2011-11-04 16:54:04 +00:00
Lluís Batlle i Rossell
6d9179983b Semicolon
svn path=/nixpkgs/trunk/; revision=30222
2011-11-04 10:35:21 +00:00
Lluís Batlle i Rossell
0f0ca48a8d Adding gtmess
svn path=/nixpkgs/trunk/; revision=30221
2011-11-04 10:28:18 +00:00
Rob Vermaas
9d3e13f7f3 remove .hg-archival.txt from nix-prefetch-hg result
svn path=/nixpkgs/trunk/; revision=30217
2011-11-03 23:46:50 +00:00
Ludovic Courtès
9878098ddf Add TI-RPC.
svn path=/nixpkgs/trunk/; revision=30216
2011-11-03 21:08:32 +00:00
Lluís Batlle i Rossell
15c16f50aa Adding dnstop
svn path=/nixpkgs/trunk/; revision=30209
2011-11-03 18:43:48 +00:00
Peter Simons
583fbe814f haskell-vty: updated to version 4.7.0.6
svn path=/nixpkgs/trunk/; revision=30208
2011-11-03 18:17:23 +00:00
Peter Simons
bb2c5cbf70 haskell-system-filepath: updated to version 0.4.2
svn path=/nixpkgs/trunk/; revision=30207
2011-11-03 18:17:17 +00:00
Peter Simons
678b22a3a1 haskell-cereal: updated to version 0.3.4.0
svn path=/nixpkgs/trunk/; revision=30206
2011-11-03 18:17:09 +00:00
Peter Simons
22e1af0a3e haskell-base-unicode-symbols: updated to version 0.2.2.2
svn path=/nixpkgs/trunk/; revision=30205
2011-11-03 18:17:03 +00:00
Peter Simons
c1475b6431 haskell-text: updated to version 0.11.1.9
svn path=/nixpkgs/trunk/; revision=30204
2011-11-03 18:16:54 +00:00
Eelco Dolstra
d0c3f05c13 * Apply a patch to propagate the --force flag in the legacy drbdadm to
drbdsetup.  Otherwise "drbdadm primary --force" won't work as
  expected (the kernel will say "State change failed: Need access to
  UpToDate data").

svn path=/nixpkgs/trunk/; revision=30195
2011-11-02 18:54:49 +00:00
Eelco Dolstra
2d2ee447fb * Build the legacy tools.
svn path=/nixpkgs/trunk/; revision=30194
2011-11-02 17:13:38 +00:00
Eelco Dolstra
efe6fddd59 * Indentation.
svn path=/nixpkgs/trunk/; revision=30193
2011-11-02 17:13:24 +00:00
Shea Levy
a6cb9725c0 Ruby 1.9.3-p0
svn path=/nixpkgs/trunk/; revision=30191
2011-11-02 15:42:29 +00:00
Lluís Batlle i Rossell
b931fd862d Updating scribus to 1.4.0rc6. The developers say they abandoned 1.3 long ago.
svn path=/nixpkgs/trunk/; revision=30190
2011-11-02 15:00:11 +00:00
Lluís Batlle i Rossell
665dc49d43 I make qcad compile further... and more importantly, I make it fail the build
if the compilation fails. It was not so.

But it still needs some patching to build.

svn path=/nixpkgs/trunk/; revision=30189
2011-11-02 15:00:04 +00:00
Sander van der Burg
bf457edff0 reverted default kernel back to 2.6.35
svn path=/nixpkgs/trunk/; revision=30188
2011-11-02 13:51:31 +00:00
Sander van der Burg
2a7dfdbce9 Changed the default linux kernel to the 2.6.39 series
svn path=/nixpkgs/trunk/; revision=30187
2011-11-02 13:16:18 +00:00
Peter Simons
c882363fce haskell-tls: updated to version 0.8.2
svn path=/nixpkgs/trunk/; revision=30185
2011-11-02 01:42:26 +00:00
Peter Simons
949d850c63 haskell-tls-extra: updated to version 0.4.1
svn path=/nixpkgs/trunk/; revision=30184
2011-11-02 01:42:23 +00:00
Peter Simons
eaf51ba7e6 haskell-http-enumerator: updated to version 0.7.1.4
svn path=/nixpkgs/trunk/; revision=30183
2011-11-02 01:42:20 +00:00
Peter Simons
5ab11e58fc haskell-happstack-server: updated to version 6.2.5
svn path=/nixpkgs/trunk/; revision=30182
2011-11-02 01:42:17 +00:00
Peter Simons
5e5a7ea167 haskell-cryptocipher: updated to version 0.3.0
svn path=/nixpkgs/trunk/; revision=30181
2011-11-02 01:42:15 +00:00
Peter Simons
bca247ca0f haskell-clientsession: updated to version 0.7.3.3
svn path=/nixpkgs/trunk/; revision=30180
2011-11-02 01:42:12 +00:00
Peter Simons
547f7448c8 haskell-certificate: updated to version 1.0.0
svn path=/nixpkgs/trunk/; revision=30179
2011-11-02 01:42:09 +00:00
Peter Simons
9567a44892 haskell-cryptocipher: dropped obsolete version 0.2.14
svn path=/nixpkgs/trunk/; revision=30178
2011-11-02 01:42:05 +00:00
Shea Levy
3447d62e64 pidgin-sipe: Bump to 1.12.0
svn path=/nixpkgs/trunk/; revision=30177
2011-11-02 00:19:19 +00:00
Ludovic Courtès
3419ae4fdd gnupdate: Handle GnuPG-related packages.
* maintainers/scripts/gnu/gnupdate (gnu?): Check `gnupg.org'.
  (ftp-server/directory)[quirks]: Add libassuan.

svn path=/nixpkgs/trunk/; revision=30176
2011-11-01 22:38:09 +00:00
Ludovic Courtès
f9667d3cd8 Add `meta.platforms' to various GnuPG dependencies.
svn path=/nixpkgs/trunk/; revision=30175
2011-11-01 22:38:05 +00:00
Lluís Batlle i Rossell
d4b26a727a Updating unbound.
svn path=/nixpkgs/trunk/; revision=30174
2011-11-01 22:33:40 +00:00
Ludovic Courtès
0f6979f5b9 Move GNU/Hurd package attributes under `os-specific/gnu/default.nix'.
svn path=/nixpkgs/trunk/; revision=30173
2011-11-01 22:10:51 +00:00
Ludovic Courtès
08b5baee9a glibc/hurd: Update to latest Git; add dependency on pthread headers.
svn path=/nixpkgs/trunk/; revision=30172
2011-11-01 22:10:45 +00:00
Peter Simons
3239966f9d haskell-uu-parsinglib: updated to version 2.7.2.2
svn path=/nixpkgs/trunk/; revision=30171
2011-11-01 19:03:07 +00:00
Peter Simons
742f6e1363 haskell-http-types: updated to version 0.6.6
svn path=/nixpkgs/trunk/; revision=30170
2011-11-01 19:03:05 +00:00
Peter Simons
d19ed54693 haskell-cryptocipher: added version 0.3.0
svn path=/nixpkgs/trunk/; revision=30169
2011-11-01 19:03:01 +00:00
David Guibert
2a0816fb45 add libjson library
svn path=/nixpkgs/trunk/; revision=30168
2011-11-01 17:07:14 +00:00
David Guibert
752e53e95d lsof 2.84 -> 2.85
svn path=/nixpkgs/trunk/; revision=30167
2011-11-01 17:07:07 +00:00
David Guibert
2ae62028c3 update libgcrypt 1.4.6 -> 1.5.0
svn path=/nixpkgs/trunk/; revision=30166
2011-11-01 17:06:58 +00:00
Eelco Dolstra
0918b83c75 * Added the Docbook 4.1 SGML DTDs.
* Fixed the "docbook2man --sgml" command in docbook2x.
* Fixed the module-init-tools manual pages.

svn path=/nixpkgs/trunk/; revision=30165
2011-11-01 16:47:18 +00:00
Eelco Dolstra
aa98c7dc02 * Added drbd.
svn path=/nixpkgs/trunk/; revision=30163
2011-11-01 15:21:31 +00:00
Eelco Dolstra
a5a5dcde90 * Updated PostgreSQL.
svn path=/nixpkgs/trunk/; revision=30162
2011-11-01 14:37:27 +00:00
Peter Simons
0187ec7032 haskell-cprng-aes: updated to version 0.2.3
svn path=/nixpkgs/trunk/; revision=30159
2011-10-31 22:38:47 +00:00
Peter Simons
4da7dbb56f haskell-crypto-pubkey-types: added version 0.1.0
svn path=/nixpkgs/trunk/; revision=30158
2011-10-31 22:38:44 +00:00
Lluís Batlle i Rossell
4cf25b19de Updating xpdf.
svn path=/nixpkgs/trunk/; revision=30157
2011-10-31 21:38:30 +00:00
Peter Simons
8437718fbe haskell-yesod: updated to version 0.9.3.1
svn path=/nixpkgs/trunk/; revision=30154
2011-10-31 18:50:12 +00:00
Peter Simons
0cacb0a390 haskell-yesod-core: updated to version 0.9.3.3
svn path=/nixpkgs/trunk/; revision=30153
2011-10-31 18:50:09 +00:00
Peter Simons
4fb2bea7e7 haskell-yesod-auth: updated to version 0.7.5
svn path=/nixpkgs/trunk/; revision=30152
2011-10-31 18:50:07 +00:00
Peter Simons
6d455773b0 haskell-wai-extra: updated to version 0.4.4
svn path=/nixpkgs/trunk/; revision=30151
2011-10-31 18:50:04 +00:00
Peter Simons
40571fd25f haskell-shakespeare: updated to version 0.10.2
svn path=/nixpkgs/trunk/; revision=30150
2011-10-31 18:50:01 +00:00
Peter Simons
eeffbea836 haskell-persistent: updated to version 0.6.4
svn path=/nixpkgs/trunk/; revision=30149
2011-10-31 18:49:58 +00:00
Peter Simons
686580dc80 haskell-http-date: updated to version 0.0.1
svn path=/nixpkgs/trunk/; revision=30148
2011-10-31 18:49:56 +00:00
Peter Simons
9864618daf haskell-hamlet: updated to version 0.10.4
svn path=/nixpkgs/trunk/; revision=30147
2011-10-31 18:49:52 +00:00
Peter Simons
b052d41f51 haskell-download-curl: added meta.maintainers
svn path=/nixpkgs/trunk/; revision=30146
2011-10-31 18:49:49 +00:00
Peter Simons
1c509caa6f haskell-time: updated to version 1.4.0.1
svn path=/nixpkgs/trunk/; revision=30145
2011-10-31 18:49:45 +00:00
Rob Vermaas
edbae5f6c3 update nginx to 1.1.7
svn path=/nixpkgs/trunk/; revision=30144
2011-10-31 18:26:20 +00:00
Eelco Dolstra
bd5e996e20 * Apply a patch to fix the "max resident" size reported by ‘time’
being off by a factor of 4.  (The most recent release of ‘time’ is
  from 1996 BTW...)

svn path=/nixpkgs/trunk/; revision=30143
2011-10-31 14:44:32 +00:00
Cillian de Roiste
e15db25ff3 Updating unetbootin to 563, the previous version was not working for me at all, it dropped me to a busybox shell
svn path=/nixpkgs/trunk/; revision=30139
2011-10-31 00:25:55 +00:00
Peter Simons
652a24f21a haskell-curl: added meta.maintainers
svn path=/nixpkgs/trunk/; revision=30137
2011-10-30 16:06:47 +00:00
Peter Simons
e93ae189ab haskell-skein: updated to version 0.1.0.3
svn path=/nixpkgs/trunk/; revision=30136
2011-10-30 16:06:45 +00:00
Peter Simons
3eac2b5f88 haskell-simple-sendfile: updated to version 0.1.3
svn path=/nixpkgs/trunk/; revision=30135
2011-10-30 16:06:42 +00:00
Peter Simons
8a2cef50ab haskell-hashable: updated to version 1.1.2.2
svn path=/nixpkgs/trunk/; revision=30134
2011-10-30 16:06:39 +00:00
Peter Simons
67d39b288c haskell-text: updated to version 0.11.1.7
svn path=/nixpkgs/trunk/; revision=30133
2011-10-30 16:06:37 +00:00
Peter Simons
77bf849490 haskell-network: updated to version 2.3.0.7
svn path=/nixpkgs/trunk/; revision=30132
2011-10-30 16:06:34 +00:00
Peter Simons
ebb773ee24 haskell-download: added meta.maintainers
svn path=/nixpkgs/trunk/; revision=30131
2011-10-30 16:06:30 +00:00
Shea Levy
9bcfce124a Add download-curl
svn path=/nixpkgs/trunk/; revision=30130
2011-10-30 15:39:13 +00:00
Shea Levy
3ec73f62af Whoops, forgot the nix expression
svn path=/nixpkgs/trunk/; revision=30129
2011-10-30 15:26:55 +00:00
Shea Levy
53bf668c0f Add Haskell curl bindings
svn path=/nixpkgs/trunk/; revision=30128
2011-10-30 15:24:00 +00:00
Shea Levy
324a9ec3b6 Add tagsoup-0.10.1 (needed for download-curl)
svn path=/nixpkgs/trunk/; revision=30126
2011-10-30 15:19:27 +00:00
Shea Levy
62a775f829 Add the download Haskell library
svn path=/nixpkgs/trunk/; revision=30125
2011-10-30 13:55:22 +00:00
Ludovic Courtès
67e7995cdc MIT/GNU Scheme 9.1.
svn path=/nixpkgs/trunk/; revision=30124
2011-10-30 11:51:55 +00:00
Ludovic Courtès
bba5ca07e1 GNU cflow 1.4.
svn path=/nixpkgs/trunk/; revision=30123
2011-10-30 00:01:33 +00:00
Ludovic Courtès
fa09c2684d GNU oSIP 3.6.0.
svn path=/nixpkgs/trunk/; revision=30122
2011-10-30 00:01:29 +00:00
Ludovic Courtès
929841f10a GNU Wget 1.13.4.
svn path=/nixpkgs/trunk/; revision=30121
2011-10-30 00:01:24 +00:00
Ludovic Courtès
461f4d0c4e GNU gengetopt 2.22.5.
svn path=/nixpkgs/trunk/; revision=30120
2011-10-30 00:01:20 +00:00
Ludovic Courtès
89df6c6c35 GNU GLOBAL 6.1.
svn path=/nixpkgs/trunk/; revision=30119
2011-10-30 00:01:15 +00:00
Ludovic Courtès
c9f5cba45d GNU Libtasn1 2.10.
svn path=/nixpkgs/trunk/; revision=30118
2011-10-30 00:01:10 +00:00
Ludovic Courtès
125680c1cb GNU uCommon C++ 5.0.6.
svn path=/nixpkgs/trunk/; revision=30117
2011-10-30 00:01:05 +00:00
Ludovic Courtès
74201c0fcb GNU SIP Witch 1.1.2.
svn path=/nixpkgs/trunk/; revision=30116
2011-10-30 00:00:56 +00:00
Ludovic Courtès
1476689828 GNU Fdisk 1.3.0a.
svn path=/nixpkgs/trunk/; revision=30115
2011-10-30 00:00:48 +00:00
Ludovic Courtès
9b12043e62 GNU FreeIPMI 1.0.8.
svn path=/nixpkgs/trunk/; revision=30114
2011-10-30 00:00:43 +00:00
Ludovic Courtès
7da5374672 GNU Xorriso 1.1.6.
svn path=/nixpkgs/trunk/; revision=30113
2011-10-30 00:00:39 +00:00
Ludovic Courtès
54786058b2 GNU Parallel 20111022.
svn path=/nixpkgs/trunk/; revision=30112
2011-10-30 00:00:34 +00:00
Ludovic Courtès
b2d282b491 GNU Libtool 2.4.2.
svn path=/nixpkgs/trunk/; revision=30111
2011-10-30 00:00:29 +00:00
Ludovic Courtès
e26fc2311a GNU Zile 2.4.2.
svn path=/nixpkgs/trunk/; revision=30110
2011-10-30 00:00:25 +00:00
Ludovic Courtès
573c9178b5 gnupdate: Make `nix-prefetch-url' memoizing.
* maintainers/scripts/gnu/gnupdate (memoize): New procedure.
  (nix-prefetch-url): Use it.

svn path=/nixpkgs/trunk/; revision=30109
2011-10-30 00:00:20 +00:00
Ludovic Courtès
354b1a12c1 gnupdate: Fix auto-downloading of GPG keys.
* maintainers/scripts/gnu/gnupdate (gnupg-verify): Always return STATUS.

svn path=/nixpkgs/trunk/; revision=30108
2011-10-30 00:00:16 +00:00
Ludovic Courtès
2492fba29f gnupdate: Add `--attribute' option.
* maintainers/scripts/gnu/gnupdate (open-nixpkgs): Add optional
  ATTRIBUTE parameter; honor it.
  (%options)["-A"]: New option.
  (gnupdate)[nixpkgs->snix]: Add ATTRIBUTE parameter and pass it down to
  `open-nixpkgs'.
  [selected-gnu-packages]: New procedure.
  Adjust callers accordingly.

svn path=/nixpkgs/trunk/; revision=30107
2011-10-30 00:00:11 +00:00
Peter Simons
908f43b020 haskell-snap-server: updated to version 0.6.0.1
svn path=/nixpkgs/trunk/; revision=30102
2011-10-29 10:48:05 +00:00
Peter Simons
d9f4e0f2e8 haskell-snap-core: updated to version 0.6.0.1
svn path=/nixpkgs/trunk/; revision=30101
2011-10-29 10:48:02 +00:00
Peter Simons
2688ba5b0a haskell-MonadCatchIO-transformers: updated to version 0.2.2.3
svn path=/nixpkgs/trunk/; revision=30100
2011-10-29 10:47:58 +00:00
Shea Levy
0f80aa96a6 s|/nix/store|$NIX_STORE|
svn path=/nixpkgs/trunk/; revision=30094
2011-10-28 23:44:49 +00:00
Shea Levy
c3ef673ff1 iproute2: Working URL
svn path=/nixpkgs/trunk/; revision=30093
2011-10-28 21:31:03 +00:00
Shea Levy
c90c831a85 ntfs-3g: The tuxera url isn't working
svn path=/nixpkgs/trunk/; revision=30092
2011-10-28 21:28:52 +00:00
Eelco Dolstra
c33eec8e05 * Make KDE 4.7 the default.
svn path=/nixpkgs/trunk/; revision=30091
2011-10-28 21:25:09 +00:00
Shea Levy
9afc1f6a24 nuke-refs: Don't assume /nix/store
svn path=/nixpkgs/trunk/; revision=30090
2011-10-28 21:23:40 +00:00
Shea Levy
819198fba0 usbutils: The sourceforge site doesn't appear to have the tarball anymore, use kernel mirror
svn path=/nixpkgs/trunk/; revision=30089
2011-10-28 21:11:27 +00:00
Shea Levy
a5c4b75643 reiserfsprogs: Use the kernel mirrors
svn path=/nixpkgs/trunk/; revision=30088
2011-10-28 21:02:34 +00:00
Shea Levy
3b75d96027 glibc locales: Don't assume /nix/store
svn path=/nixpkgs/trunk/; revision=30087
2011-10-28 19:49:08 +00:00
Peter Simons
4d0fb1076d haskell-snap-server: updated to version 0.6.0
svn path=/nixpkgs/trunk/; revision=30086
2011-10-28 19:23:09 +00:00
Peter Simons
ea0524380a haskell-snap-core: updated to version 0.6.0
svn path=/nixpkgs/trunk/; revision=30085
2011-10-28 19:23:07 +00:00
Peter Simons
de38964185 haskell-OpenGLRaw: updated to version 1.1.0.2
svn path=/nixpkgs/trunk/; revision=30084
2011-10-28 19:23:04 +00:00
Peter Simons
7ae5561dc2 haskell-GLURaw: updated to version 1.1.0.1
svn path=/nixpkgs/trunk/; revision=30083
2011-10-28 19:23:01 +00:00
Peter Simons
357e506105 haskell-base16-bytestring: added version 0.1.1.2
svn path=/nixpkgs/trunk/; revision=30082
2011-10-28 19:22:58 +00:00
Peter Simons
2ac2f2fac9 haskell-OpenGL: updated to version 2.4.0.2
svn path=/nixpkgs/trunk/; revision=30081
2011-10-28 19:22:55 +00:00
Peter Simons
dd9dc1a337 haskell-GLUT: updated to version 2.2.2.1
svn path=/nixpkgs/trunk/; revision=30080
2011-10-28 19:22:51 +00:00
Peter Simons
629c2411cd haskell-texmath: updated to version 0.5.0.2
svn path=/nixpkgs/trunk/; revision=30079
2011-10-28 19:22:47 +00:00
Eelco Dolstra
041170f5ec * Bump nixUnstable.
svn path=/nixpkgs/trunk/; revision=30078
2011-10-28 18:06:23 +00:00
Lluís Batlle i Rossell
9b9ca264d1 dovecot 2 feels hapier with zlib and bzip2
svn path=/nixpkgs/trunk/; revision=30077
2011-10-27 22:07:39 +00:00
Lluís Batlle i Rossell
cf23b0c4e5 Making dovecot2 not use $out/var for runtime files.
svn path=/nixpkgs/trunk/; revision=30075
2011-10-27 22:03:41 +00:00
Eelco Dolstra
49456aaec2 * Added Data::UUID.
svn path=/nixpkgs/trunk/; revision=30074
2011-10-27 21:52:03 +00:00
Eelco Dolstra
34117268d2 * Use a fork of Net::Amazon::EC2 that supports tags.
svn path=/nixpkgs/trunk/; revision=30073
2011-10-27 21:45:53 +00:00
Andres Löh
f4c75d125b Generally switching to haskell-vector-0.9.
The price is that gamma's current upper bound has to be patched.

svn path=/nixpkgs/trunk/; revision=30066
2011-10-27 17:39:42 +00:00
Peter Simons
8a6bba5549 haskell-vacuum: updated to version 1.0.0.2
svn path=/nixpkgs/trunk/; revision=30064
2011-10-27 17:05:53 +00:00
Peter Simons
f1a04fbc60 haskell-uu-parsinglib: updated to version 2.7.2.1
svn path=/nixpkgs/trunk/; revision=30063
2011-10-27 17:05:49 +00:00
Eelco Dolstra
78ff18a538 * ec2-api-tools updated to 1.4.4.2.
svn path=/nixpkgs/trunk/; revision=30054
2011-10-27 15:15:28 +00:00
Lluís Batlle i Rossell
0ccd825d81 Adding an udev patch for kernels not having the accept4 call. armv5tel 3.0, for example.
svn path=/nixpkgs/trunk/; revision=30053
2011-10-27 15:13:26 +00:00
Shea Levy
d2006f51a0 Use -isystem instead of -I for system headers to avoid warnings when using -pedantic
svn path=/nixpkgs/trunk/; revision=30052
2011-10-27 06:39:45 +00:00
Shea Levy
0892d42613 The clang static analyzer can be accessed through clang --analyze, no need for scan-build and view
svn path=/nixpkgs/trunk/; revision=30051
2011-10-27 06:04:00 +00:00
Eelco Dolstra
bcffafa65a * Whitespace.
svn path=/nixpkgs/trunk/; revision=30044
2011-10-26 17:58:53 +00:00
Peter Simons
3a160ac25d haskell-hledger-web: updated to version 0.16.5
svn path=/nixpkgs/trunk/; revision=30043
2011-10-26 17:39:44 +00:00
Peter Simons
2b0c889181 haskell-http-enumerator: updated to version 0.7.1.3
svn path=/nixpkgs/trunk/; revision=30042
2011-10-26 17:37:31 +00:00
Peter Simons
e85d655229 haskell-gloss: updated to version 1.5.0.2
svn path=/nixpkgs/trunk/; revision=30041
2011-10-26 17:37:28 +00:00
Peter Simons
fe5f8db5aa haskell-cabal-file-th: updated to version 0.2.1
svn path=/nixpkgs/trunk/; revision=30040
2011-10-26 17:37:25 +00:00
Peter Simons
4e9e385fec haskell-Hipmunk: updated to version 5.2.0.5
svn path=/nixpkgs/trunk/; revision=30039
2011-10-26 17:37:22 +00:00
Peter Simons
b072f7f2ea haskell-ConfigFile: updated to version 1.1.1
svn path=/nixpkgs/trunk/; revision=30038
2011-10-26 17:37:19 +00:00
Peter Simons
9de4823ff5 haskell-text: updated to version 0.11.1.6
svn path=/nixpkgs/trunk/; revision=30037
2011-10-26 17:37:15 +00:00
Eelco Dolstra
40f93f0b3b * Increase XEN_MAX_DOMAIN_MEMORY to support 4xlarge EC2 instances.
svn path=/nixpkgs/trunk/; revision=30036
2011-10-26 17:34:31 +00:00
Eelco Dolstra
7c953e8bf5 * Remove sed hackery that is no longer needed. (The firmware files in
the Debian SVN tree had a version number attached that had to be
  stripped out.)

svn path=/nixpkgs/trunk/; revision=30035
2011-10-26 16:16:44 +00:00
Eelco Dolstra
eeb4d231b3 * Subversion updated to 1.7.1.
svn path=/nixpkgs/trunk/; revision=30034
2011-10-26 15:32:56 +00:00
Peter Simons
12ab90b047 prune empty directories
svn path=/nixpkgs/trunk/; revision=30032
2011-10-26 10:51:24 +00:00
Shea Levy
892889cf35 Add netperf
I will add meta later, I promise, I just need to use this now

svn path=/nixpkgs/trunk/; revision=30026
2011-10-25 20:49:22 +00:00
Lluís Batlle i Rossell
621e87f821 Adding a newer dovecot
svn path=/nixpkgs/trunk/; revision=30025
2011-10-25 20:34:19 +00:00
Lluís Batlle i Rossell
6582f602c9 Updating gnutls, as it failed on 'make test' on arm. The new does not fail.
svn path=/nixpkgs/trunk/; revision=30021
2011-10-25 17:53:44 +00:00
Lluís Batlle i Rossell
faafa3513a Adding a kernel mirror that at least has the module-init-tools of nixpkgs.
svn path=/nixpkgs/trunk/; revision=30020
2011-10-25 17:46:39 +00:00
Lluís Batlle i Rossell
b74d8fb90f Making gpgme optional in mutt. A dependency of gpgme (pth) does not build on arm.
svn path=/nixpkgs/trunk/; revision=30019
2011-10-25 17:46:26 +00:00
Lluís Batlle i Rossell
624b8616d4 Enabling the ipv6 module in the sheevaplug
svn path=/nixpkgs/trunk/; revision=30018
2011-10-25 17:41:43 +00:00
Peter Simons
ebdf510f74 os-specific/linux/firmware/bcm43xx: fetch files individually to avoid checksum errors in tarball
svn path=/nixpkgs/trunk/; revision=30016
2011-10-25 17:06:38 +00:00
Peter Simons
e09dbeb845 haskell-cabal-file-th: updated to version 0.2.1
svn path=/nixpkgs/trunk/; revision=30015
2011-10-25 16:43:13 +00:00
Eelco Dolstra
f31cd519b6 * Updated version of the readlink() patch.
svn path=/nixpkgs/trunk/; revision=30013
2011-10-25 12:52:41 +00:00
Shea Levy
c7b6e96d84 v86d
svn path=/nixpkgs/trunk/; revision=30011
2011-10-25 09:40:15 +00:00
Peter Simons
a5324f2132 pkgs/os-specific/linux/firmware/bcm43xx: please do not use fetchsvn in base system
Replaced use of fetchsvn with fetchurl. Please note that machines behind a
company firewall usually cannot access svn://-style URLs, which means that
nixos-rebuild is going to fail. HTTP works fine, though.

The URL I used to download the tar.gz archive is probably not stable, or
rather, the tar.gz archive generated by Gitweb at that URL might have a
different checksum every time it's generated. I'm not sure what else to do,
though. Could a kind firmware expert please improve the situation further?

Also, I wonder what is the purpose of the sed expression in the command

    cp $i $out/brcm/$(echo $i | sed 's/\(.*\.fw\).*/\1/')

...? The downloaded directory doesn't seem to contain any files that would
match that expression?

svn path=/nixpkgs/trunk/; revision=30010
2011-10-25 09:27:41 +00:00
Shea Levy
dd9e83b77f Enable building full klibc as a kernelPackage
svn path=/nixpkgs/trunk/; revision=30009
2011-10-25 08:59:39 +00:00
Shea Levy
e0e4770ec9 klibc 1.5.24
svn path=/nixpkgs/trunk/; revision=30008
2011-10-25 08:20:03 +00:00
Shea Levy
6638835c93 Linux 3.0
svn path=/nixpkgs/trunk/; revision=30007
2011-10-25 06:21:27 +00:00
Eelco Dolstra
4401a2b70c * Added the Broadcom 43xx firmware.
svn path=/nixpkgs/trunk/; revision=30002
2011-10-24 23:35:53 +00:00
Peter Simons
19291c77e3 haskell-hledger-web: updated to version 0.16.4
svn path=/nixpkgs/trunk/; revision=30000
2011-10-24 19:18:10 +00:00
Peter Simons
e0b9bbdb27 haskell-cabal-file-th: added version 0.1
svn path=/nixpkgs/trunk/; revision=29999
2011-10-24 19:18:04 +00:00
Lluís Batlle i Rossell
f71f99ce48 Updating mldonkey
svn path=/nixpkgs/trunk/; revision=29998
2011-10-24 19:03:18 +00:00
Lluís Batlle i Rossell
d7eb2167aa Updating opendkim
svn path=/nixpkgs/trunk/; revision=29997
2011-10-24 18:53:24 +00:00
Eelco Dolstra
215e6d0c7d * attachments.samba.org is down, and we should not depend on it anyway.
svn path=/nixpkgs/trunk/; revision=29996
2011-10-24 17:22:10 +00:00
Lluís Batlle i Rossell
cb823d1c08 Adding mu0, maildir utils.
svn path=/nixpkgs/trunk/; revision=29995
2011-10-24 16:36:03 +00:00
Eelco Dolstra
f405ee266b * Enable staging drivers in Linux 3.x. Staging drivers are more experimental
and lower quality than regular drivers.  However, there are a lot of drivers
  for wireless cards that we really need to have.  And it doesn't really hurt
  to have these drivers if you don't need them.
* Enable the Radeon KMS option.  This shouldn't be a problem since the X driver
  supports KMS (I think).

svn path=/nixpkgs/trunk/; revision=29994
2011-10-24 16:30:59 +00:00
Shea Levy
b3f1015e6b Linux 3.1
svn path=/nixpkgs/trunk/; revision=29993
2011-10-24 16:06:31 +00:00
Peter Simons
b5819b5738 haskell-skein: updated to version 0.1.0.2
svn path=/nixpkgs/trunk/; revision=29992
2011-10-24 15:36:50 +00:00
Peter Simons
942784d483 haskell-gloss: updated to version 1.4.0.1
svn path=/nixpkgs/trunk/; revision=29991
2011-10-24 15:36:45 +00:00
Peter Simons
553eb023d8 haskell-enumerator: updated to version 0.4.15
svn path=/nixpkgs/trunk/; revision=29990
2011-10-24 15:36:37 +00:00
Peter Simons
663a451a06 haskell-cryptohash: updated to version 0.7.4
svn path=/nixpkgs/trunk/; revision=29989
2011-10-24 15:36:28 +00:00
Peter Simons
f0b4235838 haskell-cprng-aes: updated to version 0.2.2
svn path=/nixpkgs/trunk/; revision=29988
2011-10-24 15:36:21 +00:00
Peter Simons
142d3b222d haskell-clientsession: updated to version 0.7.3.2
svn path=/nixpkgs/trunk/; revision=29987
2011-10-24 15:36:14 +00:00
Peter Simons
7f96fe0a32 haskell-bytestring-nums: updated to version 0.3.5
svn path=/nixpkgs/trunk/; revision=29986
2011-10-24 15:36:06 +00:00
Peter Simons
c026c35988 haskell-crypto-api: dropped obsolete version 0.6.4
svn path=/nixpkgs/trunk/; revision=29985
2011-10-24 15:35:56 +00:00
Eelco Dolstra
6bdcaec0cb * Purity fix in libwww-perl.
svn path=/nixpkgs/trunk/; revision=29984
2011-10-24 13:56:50 +00:00
Rob Vermaas
5e6dbdf386 update to gcc 4.4.6
svn path=/nixpkgs/trunk/; revision=29979
2011-10-24 01:03:16 +00:00
Shea Levy
11941954d8 Linux 3.0.7
svn path=/nixpkgs/trunk/; revision=29978
2011-10-23 15:52:28 +00:00
Alexander Tsamutali
5cd2d19bb5 tools/misc/qjoypad: New nixbuild.
svn path=/nixpkgs/trunk/; revision=29977
2011-10-22 22:12:45 +00:00
Ludovic Courtès
d4a560845d Make `ftp.gnu.org' the first site for GNU stuff.
svn path=/nixpkgs/trunk/; revision=29976
2011-10-22 21:55:04 +00:00
Alexander Tsamutali
c10a1a50b8 games/alienarena: New nixbuild.
svn path=/nixpkgs/trunk/; revision=29975
2011-10-22 21:04:29 +00:00
Lluís Batlle i Rossell
22ff0a19c3 Updating the fossil tarball hash, due to an update upstream:
http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg06730.html

I also add readline (it may provide a nicer prompt on fossil sqlite)
and sqlite (required for some tests).

The old tarballs were broken in a way that the tests requiring sqlite were not run.


svn path=/nixpkgs/trunk/; revision=29974
2011-10-22 20:41:37 +00:00
Ludovic Courtès
2dcd1544dd GNU Guile 2.0.3!
svn path=/nixpkgs/trunk/; revision=29973
2011-10-22 16:21:07 +00:00
Nicolas Pierron
87bf637319 Mercurial: Give access to ssl and curses python packages for
fast-export and crecord.

svn path=/nixpkgs/trunk/; revision=29972
2011-10-22 15:41:20 +00:00
Cillian de Roiste
d91165c368 Updating Inkscape to 0.48.2
svn path=/nixpkgs/trunk/; revision=29971
2011-10-22 00:01:26 +00:00
Eelco Dolstra
9667d5ec5a * Samba: Apply a patch that fixes readlink() on symlinks that point
outside of the share.  This is necessary for EC2 image generation
  (and similar actions).  Many thanks to Jeremy Allison to fixing this
  very quickly.  (https://bugzilla.samba.org/show_bug.cgi?id=8541)

svn path=/nixpkgs/trunk/; revision=29969
2011-10-21 23:36:48 +00:00
Eelco Dolstra
87a251aea5 * Samba 3.6.1.
svn path=/nixpkgs/trunk/; revision=29967
2011-10-21 19:30:32 +00:00
Peter Simons
68198ed18d smartmontools: updated to version 5.42
svn path=/nixpkgs/trunk/; revision=29966
2011-10-21 17:00:03 +00:00
Peter Simons
9016346fbd git: updated to version 1.7.7
svn path=/nixpkgs/trunk/; revision=29965
2011-10-21 16:50:36 +00:00
Peter Simons
e98852cefd git-annex: updated to version 3.20111011
svn path=/nixpkgs/trunk/; revision=29964
2011-10-21 16:34:38 +00:00
Eelco Dolstra
9704af30c3 * Latest EC2 AMI tools.
svn path=/nixpkgs/trunk/; revision=29963
2011-10-21 16:25:27 +00:00
Peter Simons
b1dde14221 haskell-NanoProlog: updated to version 0.2.3.3
svn path=/nixpkgs/trunk/; revision=29961
2011-10-21 16:14:00 +00:00
Peter Simons
bba184d375 haskell-ConfigFile: updated to version 1.1.0
svn path=/nixpkgs/trunk/; revision=29960
2011-10-21 16:13:56 +00:00
Peter Simons
7d2a905c82 haskell-crypto-api: updated to version 0.8
svn path=/nixpkgs/trunk/; revision=29959
2011-10-21 16:13:49 +00:00
Eelco Dolstra
75c3c1418d * Fix powerpc-linux evaluation (does anybody care?).
svn path=/nixpkgs/trunk/; revision=29958
2011-10-21 16:10:07 +00:00
Eelco Dolstra
cac34d2be5 * Applied a patch to get Euca2ools / Boto to work on Python 2.7.
svn path=/nixpkgs/trunk/; revision=29956
2011-10-21 15:01:40 +00:00
Eelco Dolstra
5e51aadc10 * Fix evaluation errors.
svn path=/nixpkgs/trunk/; revision=29955
2011-10-21 14:43:18 +00:00
Marco Maggesi
11d18ba4fd Update fossil to version 1.20
svn path=/nixpkgs/trunk/; revision=29954
2011-10-21 14:12:46 +00:00
Eelco Dolstra
572b54cb9c * Spotify updated to the latest version.
svn path=/nixpkgs/trunk/; revision=29953
2011-10-21 02:26:26 +00:00
Eelco Dolstra
6ddae753dc * Added regionset, a tool for changing the region code setting of DVD
players.

svn path=/nixpkgs/trunk/; revision=29952
2011-10-21 00:43:56 +00:00
Eelco Dolstra
8f76df522e * 32-bit Flash player updated.
svn path=/nixpkgs/trunk/; revision=29951
2011-10-20 23:11:13 +00:00
Eelco Dolstra
b0ead4190d * Some Net::Amazon::EC2 patches.
svn path=/nixpkgs/trunk/; revision=29944
2011-10-20 18:17:37 +00:00
Eelco Dolstra
7e2fbda505 * Net::Amazon::EC2: use LWP::Protocol::https.
svn path=/nixpkgs/trunk/; revision=29941
2011-10-20 17:51:52 +00:00
Marco Maggesi
bc49e0ff84 yajl: fix meta.license
svn path=/nixpkgs/trunk/; revision=29933
2011-10-20 11:46:13 +00:00
Sander van der Burg
d744daf773 Removed non existent license attribute
svn path=/nixpkgs/trunk/; revision=29931
2011-10-20 11:18:43 +00:00
Sander van der Burg
9ee72eb9ae Added license to yafc
svn path=/nixpkgs/trunk/; revision=29930
2011-10-20 11:17:24 +00:00
Sander van der Burg
631f071df8 Bumped version of disnixos
svn path=/nixpkgs/trunk/; revision=29929
2011-10-20 11:07:47 +00:00
Shea Levy
7c32c9c426 llvm: Use the sw_vers program on darwin
svn path=/nixpkgs/trunk/; revision=29925
2011-10-20 10:15:54 +00:00
Shea Levy
252286194e clang: have gcc tell us its target triplet, no need to limit to x86 linuces
svn path=/nixpkgs/trunk/; revision=29924
2011-10-20 02:07:00 +00:00
Shea Levy
1214310f5d Use the right triplet for 1686
Not sure why we're inconsistent between arches there...

svn path=/nixpkgs/trunk/; revision=29923
2011-10-20 00:15:49 +00:00
Shea Levy
188df14951 clang: Use configureFlags instead of env vars to tell which compiler to use
svn path=/nixpkgs/trunk/; revision=29922
2011-10-19 23:49:22 +00:00
Shea Levy
1d7f2e1e90 clang: Install static analysis tools
svn path=/nixpkgs/trunk/; revision=29921
2011-10-19 21:47:28 +00:00
Shea Levy
6e3cde6383 Enable building clang separately from llvm
Note that there is some duplication when building clang now. The llvm source
is unpacked twice, ./configure is run twice, and two small unit test
libraries are compiled twice. IMO this is a fair tradeoff for having
llvm be a separate build unaffected by changes to clang

svn path=/nixpkgs/trunk/; revision=29919
2011-10-19 20:57:18 +00:00
Eelco Dolstra
54951e3994 * QEMU/KVM updated to 0.15.1.
svn path=/nixpkgs/trunk/; revision=29918
2011-10-19 20:41:15 +00:00
Peter Simons
7784111b49 haskell-cabal2nix: updated to version 1.18
svn path=/nixpkgs/trunk/; revision=29917
2011-10-19 19:54:59 +00:00
Peter Simons
1faa8711c8 haskell-nixos-types: updated to version 1.2
svn path=/nixpkgs/trunk/; revision=29916
2011-10-19 19:54:55 +00:00
Peter Simons
0c9057b912 haskell-yesod: updated to version 0.9.3
svn path=/nixpkgs/trunk/; revision=29915
2011-10-19 19:46:00 +00:00
Peter Simons
ffbe3e6ef0 haskell-yesod-static: updated to version 0.3.1.2
svn path=/nixpkgs/trunk/; revision=29914
2011-10-19 19:45:56 +00:00
Peter Simons
575ec1ce25 haskell-yesod-form: updated to version 0.3.3
svn path=/nixpkgs/trunk/; revision=29913
2011-10-19 19:45:51 +00:00
Peter Simons
aa79612af5 haskell-yesod-core: updated to version 0.9.3.2
svn path=/nixpkgs/trunk/; revision=29912
2011-10-19 19:45:47 +00:00
Peter Simons
fe7f1ba570 haskell-yesod-auth: updated to version 0.7.4
svn path=/nixpkgs/trunk/; revision=29911
2011-10-19 19:45:43 +00:00
Peter Simons
f3f7cbde19 updated to haskell-vector 0.9: aeson-native, blaze-textual-native, and cryptocipher
svn path=/nixpkgs/trunk/; revision=29910
2011-10-19 19:45:38 +00:00
Peter Simons
172507f79e haskell-WebBits: added version 2.1
svn path=/nixpkgs/trunk/; revision=29909
2011-10-19 19:37:34 +00:00
Peter Simons
35bbc615f7 haskell-packages.nix: cosmetic
svn path=/nixpkgs/trunk/; revision=29908
2011-10-19 19:37:27 +00:00
Peter Simons
9a8c52cf41 haskell-hmatrix: enable -fvector flag
svn path=/nixpkgs/trunk/; revision=29907
2011-10-19 18:26:02 +00:00
Peter Simons
8398d7ef2a haskell-packages.nix: update default attributes of vector and primitive to the latest versions
svn path=/nixpkgs/trunk/; revision=29906
2011-10-19 18:25:57 +00:00
Peter Simons
b903b335fb haskell-vty: dropped obsolete version 4.6.0.4
svn path=/nixpkgs/trunk/; revision=29905
2011-10-19 18:25:52 +00:00
Peter Simons
0b11520557 haskell-packages.nix: make users of haskell-vector and haskell-primitive explicit
svn path=/nixpkgs/trunk/; revision=29904
2011-10-19 18:25:45 +00:00
Peter Simons
3c80eda948 haskell-vector: ensure that version 0.7.1 uses the correct version of 'primitive'
svn path=/nixpkgs/trunk/; revision=29903
2011-10-19 18:06:19 +00:00
Peter Simons
94884218d4 haskell-haskeline: updated to version 0.6.4.5
svn path=/nixpkgs/trunk/; revision=29902
2011-10-19 18:06:13 +00:00
Shea Levy
94dbab27a3 Bootstrap clang with itself
svn path=/nixpkgs/trunk/; revision=29901
2011-10-19 17:11:26 +00:00
Peter Simons
bfc36e2f8a haskell-yap: updated to version 0.1
svn path=/nixpkgs/trunk/; revision=29900
2011-10-19 16:37:05 +00:00
Peter Simons
34f300aee6 haskell-hp2any-core: updated to version 0.11.1
svn path=/nixpkgs/trunk/; revision=29899
2011-10-19 16:37:01 +00:00
Peter Simons
d547b72bee haskell-blaze-builder-enumerator: updated to version 0.2.0.3
svn path=/nixpkgs/trunk/; revision=29898
2011-10-19 16:36:57 +00:00
Peter Simons
f7a1a82fce haskell-crypto-api: added version 0.7
svn path=/nixpkgs/trunk/; revision=29897
2011-10-19 16:36:51 +00:00
Peter Simons
eec3529bc2 haskell-NanoProlog: added version 0.2.3.1
svn path=/nixpkgs/trunk/; revision=29896
2011-10-19 16:36:45 +00:00
Peter Simons
efaa164120 haskell-packages.nix: fixed misspelled uuParsinglib attribute
svn path=/nixpkgs/trunk/; revision=29895
2011-10-19 16:36:40 +00:00
Sander van der Burg
4f32c23d86 Bumped some versions of Disnix tools
svn path=/nixpkgs/trunk/; revision=29890
2011-10-19 12:24:24 +00:00
Peter Simons
42fd7e5d64 python-ldap: added version 2.4.3
svn path=/nixpkgs/trunk/; revision=29886
2011-10-19 10:27:57 +00:00
Shea Levy
1ed93241cd clang: Don't send extra -I flags to the linker
svn path=/nixpkgs/trunk/; revision=29883
2011-10-19 04:14:55 +00:00
Shea Levy
db619f2d55 First try at a clang-wrapper. Hello world compiles\!
svn path=/nixpkgs/trunk/; revision=29879
2011-10-18 20:03:09 +00:00
Shea Levy
9783d27b7a Bump llvm and clang to 2.9
svn path=/nixpkgs/trunk/; revision=29878
2011-10-18 16:37:28 +00:00
Russell O'Connor
491c6e43b1 Package for picosat.
svn path=/nixpkgs/trunk/; revision=29869
2011-10-17 22:18:21 +00:00
Peter Simons
924e624aad haskell-haskeline: updated to version 0.6.4.4
svn path=/nixpkgs/trunk/; revision=29868
2011-10-17 17:05:14 +00:00
Peter Simons
810a7e4198 haskell-hakyll: updated to version 3.2.0.10
svn path=/nixpkgs/trunk/; revision=29867
2011-10-17 17:05:05 +00:00
Peter Simons
7b478fb0fd haskell-certificate: updated to version 0.9.5
svn path=/nixpkgs/trunk/; revision=29866
2011-10-17 17:04:59 +00:00
Marco Maggesi
17c7829893 Ooops.
svn path=/nixpkgs/trunk/; revision=29865
2011-10-17 12:59:44 +00:00
Marco Maggesi
e726f10554 Io does not depend anymore on e2fsprogs
svn path=/nixpkgs/trunk/; revision=29864
2011-10-17 12:57:15 +00:00
Marco Maggesi
71f9ad3fe3 Make yajl build on Darwin.
svn path=/nixpkgs/trunk/; revision=29863
2011-10-17 10:19:35 +00:00
Marco Maggesi
8d424305f5 Update Io to version 2011.09.12.
svn path=/nixpkgs/trunk/; revision=29862
2011-10-17 08:36:07 +00:00
Peter Simons
be3cf6fe6c haskell-snap-server: updated to version 0.5.5
svn path=/nixpkgs/trunk/; revision=29861
2011-10-16 18:22:42 +00:00
Peter Simons
aa49225df1 haskell-snap-core: updated to version 0.5.5
svn path=/nixpkgs/trunk/; revision=29860
2011-10-16 18:22:36 +00:00
Peter Simons
8f13b206cf haskell-haskell-src-meta: updated to version 0.5.0.2
svn path=/nixpkgs/trunk/; revision=29859
2011-10-16 18:22:30 +00:00
Cillian de Roiste
13e76321f0 Updating IPython (python shell) to 0.11
svn path=/nixpkgs/trunk/; revision=29858
2011-10-16 12:46:47 +00:00
Cillian de Roiste
549bd62221 Adding the virtualenv package, for creating isolated dev environments
svn path=/nixpkgs/trunk/; revision=29857
2011-10-16 12:36:37 +00:00
Ludovic Courtès
9188489caf Guile: Disable more GC-sensitive tests when using `-O0'.
svn path=/nixpkgs/trunk/; revision=29854
2011-10-15 16:34:26 +00:00
Russell O'Connor
7bb3f91731 updating dwarf-fortress
svn path=/nixpkgs/trunk/; revision=29853
2011-10-15 14:46:05 +00:00
Yury G. Kudryashov
2109983477 Fix comment
svn path=/nixpkgs/trunk/; revision=29852
2011-10-15 13:32:05 +00:00
Peter Simons
b648906658 haskell-packages.nix: use blanks instead of tabs
svn path=/nixpkgs/trunk/; revision=29850
2011-10-14 22:04:10 +00:00
Rob Vermaas
c7cea676ce add disper
svn path=/nixpkgs/trunk/; revision=29845
2011-10-14 18:04:34 +00:00
Peter Simons
b27823bfac haskell-cpphs: updated to version 1.13.2
svn path=/nixpkgs/trunk/; revision=29844
2011-10-14 17:26:38 +00:00
Peter Simons
e419979131 haskell-tls: updated to version 0.8.1
svn path=/nixpkgs/trunk/; revision=29843
2011-10-14 17:26:32 +00:00
Peter Simons
c7aca7221b haskell-http-enumerator: updated to version 0.7.1.2
svn path=/nixpkgs/trunk/; revision=29842
2011-10-14 17:26:27 +00:00
Peter Simons
65d9c62ac8 haskell-certificate: updated to version 0.9.4
svn path=/nixpkgs/trunk/; revision=29841
2011-10-14 17:26:22 +00:00
Peter Simons
e0528d4078 haskell-asn1-data: updated to version 0.6.1
svn path=/nixpkgs/trunk/; revision=29840
2011-10-14 17:26:16 +00:00
Peter Simons
c8529df9a9 haskell-Hipmunk: updated to version 5.2.0.4
svn path=/nixpkgs/trunk/; revision=29839
2011-10-14 17:26:12 +00:00
Marco Maggesi
c8e061945c yajl: enable Hydra build
svn path=/nixpkgs/trunk/; revision=29838
2011-10-14 14:14:36 +00:00
Marco Maggesi
39df2ce05e Add yaml - Yet Another JSON Library
svn path=/nixpkgs/trunk/; revision=29837
2011-10-14 14:00:50 +00:00
Sander van der Burg
1fc00185f4 Updated Axis2 to version 1.6.1
svn path=/nixpkgs/trunk/; revision=29836
2011-10-14 13:24:55 +00:00
242 changed files with 3469 additions and 3074 deletions

View File

@@ -308,12 +308,17 @@ replaced by the result of their application to DERIVATIONS, a vhash."
;; DERIVATION lacks an "src" attribute.
(and=> (derivation-source derivation) source-output-path))
(define (open-nixpkgs nixpkgs)
(define* (open-nixpkgs nixpkgs #:optional attribute)
;; Return an input pipe to the XML representation of Nixpkgs. When
;; ATTRIBUTE is true, only that attribute is considered.
(let ((script (string-append nixpkgs
"/maintainers/scripts/eval-release.nix")))
(open-pipe* OPEN_READ "nix-instantiate"
"--strict" "--eval-only" "--xml"
script)))
(apply open-pipe* OPEN_READ
"nix-instantiate" "--strict" "--eval-only" "--xml"
`(,@(if attribute
`("-A" ,attribute)
'())
,script))))
(define (pipe-failed? pipe)
"Close pipe and return its status if it failed."
@@ -323,21 +328,36 @@ replaced by the result of their application to DERIVATIONS, a vhash."
status
#f)))
(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)))
(if (or (pipe-failed? pipe)
(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 (or (pipe-failed? pipe)
(eof-object? path))
(values #f #f)
(values (string-trim-both hash) (string-trim-both path)))))))
(define (memoize proc)
"Return a memoizing version of PROC."
(let ((cache (make-hash-table)))
(lambda args
(let ((results (hash-ref cache args)))
(if results
(apply values results)
(let ((results (call-with-values (lambda ()
(apply proc args))
list)))
(hash-set! cache args results)
(apply values results)))))))
(define nix-prefetch-url
(memoize
(lambda (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)))
(if (or (pipe-failed? pipe)
(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 (or (pipe-failed? pipe)
(eof-object? path))
(values #f #f)
(values (string-trim-both hash) (string-trim-both path)))))))))
(define (update-nix-expression file
old-version old-hash
@@ -409,8 +429,7 @@ replaced by the result of their application to DERIVATIONS, a vhash."
(define %openpgp-key-server "keys.gnupg.net")
(define (gnupg-verify sig file)
"Verify signature SIG for FILE. Return a status s-exp or #f if GnuPG
failed."
"Verify signature SIG for FILE. Return a status s-exp if GnuPG failed."
(define (status-line->sexp line)
;; See file `doc/DETAILS' in GnuPG.
@@ -475,9 +494,10 @@ failed."
(let* ((pipe (open-pipe* OPEN_READ %gpg-command "--status-fd=1"
"--verify" sig file))
(status (parse-status pipe)))
(if (pipe-failed? pipe)
#f
status)))
;; Ignore PIPE's exit status since STATUS above should contain all the
;; info we need.
(close-pipe pipe)
status))
(define (gnupg-status-good-signature? status)
"If STATUS, as returned by `gnupg-verify', denotes a good signature, return
@@ -716,7 +736,8 @@ Return #t if the signature was good, #f otherwise."
(('attribute _ "description" value)
(string-prefix? "GNU" value))
(('attribute _ "homepage" (? string? value))
(string-contains value "www.gnu.org"))
(or (string-contains value "gnu.org")
(string-contains value "gnupg.org")))
(('attribute _ "homepage" ((? string? value) ...))
(any (cut string-contains <> "www.gnu.org") value))
(_ #f)))
@@ -749,6 +770,7 @@ Return #t if the signature was good, #f otherwise."
("libosip2" "ftp.gnu.org" "/gnu/osip" #f)
("libgcrypt" "ftp.gnupg.org" "/gcrypt" #t)
("libgpg-error" "ftp.gnupg.org" "/gcrypt" #t)
("libassuan" "ftp.gnupg.org" "/gcrypt" #t)
("freefont-ttf" "ftp.gnu.org" "/gnu/freefont" #f)
("gnupg" "ftp.gnupg.org" "/gcrypt" #t)
("gnu-ghostscript" "ftp.gnu.org" "/gnu/ghostscript" #f)
@@ -921,6 +943,7 @@ pairs. Example: (\"mit-scheme-9.0.1\" . \"/gnu/mit-scheme/stable.pkg/9.0.1\").
gnu-packages))
(define (fetch-gnu project directory version archive-type)
"Download PROJECT's tarball over FTP."
(let* ((server (ftp-server/directory project))
(base (string-append project "-" version ".tar." archive-type))
(url (string-append "ftp://" server "/" directory "/" base))
@@ -963,12 +986,18 @@ pairs. Example: (\"mit-scheme-9.0.1\" . \"/gnu/mit-scheme/stable.pkg/9.0.1\").
(format #t "~%")
(format #t " -x, --xml=FILE Read XML output of `nix-instantiate'~%")
(format #t " from FILE.~%")
(format #t " -A, --attribute=ATTR~%")
(format #t " Update only the package pointed to by attribute~%")
(format #t " ATTR.~%")
(format #t " -s, --select=SET Update only packages from SET, which may~%")
(format #t " be either `all', `stdenv', or `non-stdenv'.~%")
(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 '(#\A "attribute") #t #f
(lambda (opt name arg result)
(alist-cons 'attribute arg result)))
(option '(#\s "select") #t #f
(lambda (opt name arg result)
(cond ((string-ci=? arg "stdenv")
@@ -994,13 +1023,14 @@ pairs. Example: (\"mit-scheme-9.0.1\" . \"/gnu/mit-scheme/stable.pkg/9.0.1\").
(define (gnupdate . args)
;; Assume Nixpkgs is under $NIXPKGS or ~/src/nixpkgs.
(define (nixpkgs->snix xml-file)
(define (nixpkgs->snix xml-file attribute)
(format (current-error-port) "evaluating Nixpkgs...~%")
(let* ((home (getenv "HOME"))
(xml (if xml-file
(open-input-file xml-file)
(open-nixpkgs (or (getenv "NIXPKGS")
(string-append home "/src/nixpkgs")))))
(string-append home "/src/nixpkgs"))
attribute)))
(snix (xml->snix xml)))
(if (not xml-file)
(let ((status (pipe-failed? xml)))
@@ -1009,7 +1039,34 @@ pairs. Example: (\"mit-scheme-9.0.1\" . \"/gnu/mit-scheme/stable.pkg/9.0.1\").
(format (current-error-port) "`nix-instantiate' failed: ~A~%"
status)
(exit 1)))))
snix))
;; If we asked for a specific attribute, rewrap the thing in an
;; attribute set to match the expectations of `packages-to-update' & co.
(if attribute
(match snix
(('snix loc ('derivation args ...))
`(snix ,loc
(attribute-set
((attribute #f ,attribute
(derivation ,@args)))))))
snix)))
(define (selected-gnu-packages packages stdenv selection)
;; Return the subset of PACKAGES that are/aren't in STDENV, according to
;; SELECTION. To do that reliably, we check whether their "src"
;; derivation is a requisite of STDENV.
(define gnu
(gnu-packages packages))
(case selection
((stdenv)
gnu)
((non-stdenv)
(filter (lambda (p)
(not (member (package-source-output-path p)
(force stdenv))))
gnu))
(else gnu)))
(let* ((opts (args-fold (cdr args) %options
(lambda (opt name arg result)
@@ -1017,7 +1074,8 @@ pairs. Example: (\"mit-scheme-9.0.1\" . \"/gnu/mit-scheme/stable.pkg/9.0.1\").
(lambda (operand result)
(error "extraneous argument `~A'" operand))
'()))
(snix (nixpkgs->snix (assoc-ref opts 'xml-file)))
(snix (nixpkgs->snix (assq-ref opts 'xml-file)
(assq-ref opts 'attribute)))
(packages (match snix
(('snix _ ('attribute-set attributes))
attributes)
@@ -1026,23 +1084,12 @@ pairs. Example: (\"mit-scheme-9.0.1\" . \"/gnu/mit-scheme/stable.pkg/9.0.1\").
;; The source tarballs that make up stdenv.
(filter-map derivation-source-output-path
(package-requisites (stdenv-package packages)))))
(gnu (gnu-packages packages))
(gnu* (case (assoc-ref opts 'filter)
;; Filter out packages that are/aren't in `stdenv'. To
;; do that reliably, we check whether their "src"
;; derivation is a requisite of stdenv.
((stdenv)
(filter (lambda (p)
(member (package-source-output-path p)
(force stdenv)))
gnu))
((non-stdenv)
(filter (lambda (p)
(not (member (package-source-output-path p)
(force stdenv))))
gnu))
(else gnu)))
(updates (packages-to-update gnu*)))
(attribute (assq-ref opts 'attribute))
(selection (assq-ref opts 'filter))
(to-update (if attribute
packages ; already a subset
(selected-gnu-packages packages stdenv selection)))
(updates (packages-to-update to-update)))
(format #t "~%~A packages to update...~%" (length updates))
(for-each (lambda (update)

View File

@@ -2,7 +2,7 @@
assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux";
let version = "0.6.1.309"; in
let version = "0.6.2.291"; in
stdenv.mkDerivation {
name = "spotify-${version}";
@@ -10,13 +10,13 @@ stdenv.mkDerivation {
src =
if stdenv.system == "i686-linux" then
fetchurl {
url = "http://repository.spotify.com/pool/non-free/s/spotify/spotify-client-qt_${version}.gb871a7d-1_i386.deb";
sha256 = "01bavmv78vd3lxsinbls72v2sj8czbcwzdg6sc2f9yd5g7snb3im";
url = "http://repository.spotify.com/pool/non-free/s/spotify/spotify-client-qt_${version}.gcccc1f5.116-1_i386.deb";
sha256 = "164ka9xry9nbnv77w71kzi7bjidlmccw8wnn4fyzavi8pbrpmj08";
}
else if stdenv.system == "x86_64-linux" then
fetchurl {
url = "http://repository.spotify.com/pool/non-free/s/spotify/spotify-client-qt_${version}.gb871a7d-1_amd64.deb";
sha256 = "13ki1pcpna7f5sxf1j2axww95c4kqhj0r1d11y98mfvzxxjqimjs";
url = "http://repository.spotify.com/pool/non-free/s/spotify/spotify-client-qt_${version}.gcccc1f5.116-1_amd64.deb";
sha256 = "08snnpqd5ldiqv98pwx3fjrhdlwp4arbgda9xnsy92wfk0s85lv8";
}
else throw "Spotify not supported on this platform.";

View File

@@ -1,14 +1,14 @@
{ fetchurl, stdenv, ncurses, help2man }:
{ fetchurl, stdenv, ncurses, boehmgc, perl, help2man }:
stdenv.mkDerivation rec {
name = "zile-2.3.24";
name = "zile-2.4.2";
src = fetchurl {
url = "mirror://gnu/zile/${name}.tar.gz";
sha256 = "12by1f5nbk2qcq0f35aqjq5g54nsnajk2rk5060icsjc86pv52r1";
sha256 = "0ia91c18fyssnhabfb22npmidjkx32rqfkjgxxjibvdwfja25d3k";
};
buildInputs = [ ncurses ];
buildInputs = [ ncurses boehmgc perl ];
buildNativeInputs = [ help2man ];
# Tests can't be run because most of them rely on the ability to

View File

@@ -1,9 +1,11 @@
{ stdenv, fetchurl,
GConf, atk, cairo, cmake, curl, dbus_glib, exiv2, glib,
gnome_keyring, gphoto2, gtk, ilmbase, intltool, lcms, lcms2,
lensfun, libXau, libXdmcp, libexif, libglade, libgphoto2, libjpeg,
libpng, libpthreadstubs, libraw1394, librsvg, libtiff, libxcb,
openexr, pixman, pkgconfig, sqlite}:
{ stdenv, fetchurl
, GConf, atk, cairo, cmake, curl, dbus_glib, exiv2, glib
, gnome_keyring, gphoto2, gtk, ilmbase, intltool, lcms, lcms2
, lensfun, libXau, libXdmcp, libexif, libglade, libgphoto2, libjpeg
, libpng, libpthreadstubs, libraw1394, librsvg, libtiff, libxcb
, openexr, pixman, pkgconfig, sqlite }:
assert stdenv ? glibc;
stdenv.mkDerivation rec {
version = "0.9.1";
@@ -14,11 +16,12 @@ stdenv.mkDerivation rec {
sha256 = "b687a5f1b2a6c8aa230c1dc3ef83bf74a103e3ebe1c61cdea95a612a7375f21e";
};
buildInputs = [
GConf atk cairo cmake curl dbus_glib exiv2 glib gnome_keyring gtk
ilmbase intltool lcms lcms2 lensfun libXau libXdmcp libexif
libglade libgphoto2 libjpeg libpng libpthreadstubs libraw1394
librsvg libtiff libxcb openexr pixman pkgconfig sqlite];
buildInputs =
[ GConf atk cairo cmake curl dbus_glib exiv2 glib gnome_keyring gtk
ilmbase intltool lcms lcms2 lensfun libXau libXdmcp libexif
libglade libgphoto2 libjpeg libpng libpthreadstubs libraw1394
librsvg libtiff libxcb openexr pixman pkgconfig sqlite
];
preConfigure = ''
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${gtk}/include/gtk-2.0"

View File

@@ -4,14 +4,14 @@
, gsl, python, pyxml, lxml, poppler }:
stdenv.mkDerivation rec {
name = "inkscape-0.48.1";
name = "inkscape-0.48.2";
src = fetchurl {
url = "mirror://sourceforge/inkscape/${name}.tar.bz2";
sha256 = "11mvwil787pj3kx3qvjqvd6z5hlk40i6g95g4vs52hrp2ifs9ga4";
sha256 = "10v7ixdz7f8vgk2wv0m81zli9p0f446cm1f4aqlvni1ndsx44fi2";
};
patches = [ ./configure-python-libs.patch ];
patches = [ ./configure-python-libs.patch ];
propagatedBuildInputs = [
# Python is used at run-time to execute scripts, e.g., those from

View File

@@ -19,15 +19,26 @@ stdenv.mkDerivation {
buildInputs = [ qt3 libpng libXext libX11 ];
patchPhase = ''
prePatch = ''
sed -i 's/-pedantic//' mkspecs/defs.pro
patch -p1 < ${ ./qcad-2.0.4.0-1.src-intptr.patch /* taken from gentoo, fixes amd64 compilation issue */}
# patch -p1 < ${ ./qcad-2.0.4.0-1.src-intptr.patch }
'';
patches = [
/* taken from gentoo, fixes amd64 compilation issue */
./qcad-2.0.4.0-1.src-intptr.patch
/* taken from gentoo, fixes gcc 4.3 or above compilation issue */
./qcad-2.0.4.0-gcc43.patch
];
# probably there is more to be done. But this seems to work for now (eg see gentoo ebuild)
installPhase = ''
ensureDir $out/{bin,share}
cp -r qcad $out/share
# The compilation does not fail with error code. But qcad will not exist
# if it failed.
test -f $out/share/qcad/qcad
cat >> $out/bin/qcad << EOF
#!/bin/sh
cd $out/share/qcad

View File

@@ -0,0 +1,45 @@
diff -Naur qcad-2.0.4.0-1.src/dxflib/src/dl_writer_ascii.cpp qcad-2.0.4.0-1.src.new/dxflib/src/dl_writer_ascii.cpp
--- qcad-2.0.4.0-1.src/dxflib/src/dl_writer_ascii.cpp 2004-09-14 16:13:01.000000000 -0400
+++ qcad-2.0.4.0-1.src.new/dxflib/src/dl_writer_ascii.cpp 2008-04-27 08:35:47.000000000 -0400
@@ -30,6 +30,7 @@
#endif // _MSC_VER > 1000
#include <stdio.h>
+#include <cstring>
#include "dl_writer_ascii.h"
#include "dl_exception.h"
diff -Naur qcad-2.0.4.0-1.src/dxflib/src/dl_writer.h qcad-2.0.4.0-1.src.new/dxflib/src/dl_writer.h
--- qcad-2.0.4.0-1.src/dxflib/src/dl_writer.h 2004-09-14 16:13:01.000000000 -0400
+++ qcad-2.0.4.0-1.src.new/dxflib/src/dl_writer.h 2008-04-27 08:35:48.000000000 -0400
@@ -34,6 +34,7 @@
#include <iostream>
+#include <cstring>
#include "dl_attributes.h"
diff -Naur qcad-2.0.4.0-1.src/qcadactions/src/rs_actionzoompan.cpp qcad-2.0.4.0-1.src.new/qcadactions/src/rs_actionzoompan.cpp
--- qcad-2.0.4.0-1.src/qcadactions/src/rs_actionzoompan.cpp 2004-09-14 16:13:03.000000000 -0400
+++ qcad-2.0.4.0-1.src.new/qcadactions/src/rs_actionzoompan.cpp 2008-04-27 08:35:48.000000000 -0400
@@ -28,6 +28,7 @@
#include "rs_snapper.h"
#include "rs_point.h"
+#include <cstdlib>
RS_ActionZoomPan::RS_ActionZoomPan(RS_EntityContainer& container,
RS_GraphicView& graphicView)
diff -Naur qcad-2.0.4.0-1.src/qcadlib/src/information/rs_information.h qcad-2.0.4.0-1.src.new/qcadlib/src/information/rs_information.h
--- qcad-2.0.4.0-1.src/qcadlib/src/information/rs_information.h 2004-09-14 16:13:02.000000000 -0400
+++ qcad-2.0.4.0-1.src.new/qcadlib/src/information/rs_information.h 2008-04-27 08:35:48.000000000 -0400
@@ -31,7 +31,7 @@
#include "rs_line.h"
#include "rs_arc.h"
-
+#include <cstdlib>
/**
* Class for getting information about entities. This includes

View File

@@ -8,40 +8,19 @@ assert enablePDFtoPPM -> freetype != null;
assert useT1Lib -> t1lib != null;
stdenv.mkDerivation {
name = "xpdf-3.02pl5";
name = "xpdf-3.03";
src = fetchurl {
url = ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02.tar.gz;
sha256 = "000zq4ddbwyxiki4vdwpmxbnw5n9hsg9hvwra2p33hslyib7sfmk";
url = ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.03.tar.gz;
sha256 = "1jnfzdqc54wa73lw28kjv0m7120mksb0zkcn81jdlvijyvc67kq2";
};
buildInputs =
(if enableGUI then [x11 motif] else []) ++
(if useT1Lib then [t1lib] else []);
patches = [
(fetchurl {
url = ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02pl1.patch;
sha256 = "1wxv9l0d2kkwi961ihpdwi75whdvk7cgqxkbfym8cjj11fq17xjq";
})
(fetchurl {
url = ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02pl2.patch;
sha256 = "1nfrgsh9xj0vryd8h65myzd94bjz117y89gq0hzji9dqn23xihfi";
})
(fetchurl {
url = ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02pl3.patch;
sha256 = "0jskkv8x6dqr9zj4azaglas8cziwqqrkbbnzrpm2kzrvsbxyhk2r";
})
(fetchurl {
url = ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02pl4.patch;
sha256 = "1c48h7aizx0ngmzlzw0mpja1w8vqyy3pg62hyxp7c60k86al715h";
})
(fetchurl {
url = ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02pl5.patch;
sha256 = "1fki66pw56yr6aw38f6amrx7wxwcxbx4704pjqq7pqqr784b7z4j";
})
./xpdf-3.02-protection.patch
];
# Debian uses '-fpermissive' to bypass some errors on char* constantness.
CXXFLAGS = "-O2 -fpermissive";
configureFlags =
"--infodir=$out/share/info --mandir=$out/share/man --enable-a4-paper"
@@ -54,7 +33,7 @@ stdenv.mkDerivation {
if test -n \"${base14Fonts}\"; then
substituteInPlace $out/etc/xpdfrc \\
--replace /usr/local/share/ghostscript/fonts ${base14Fonts} \\
--replace '#displayFontT1' displayFontT1
--replace '#displayFontT1' displayFontT2
fi
";

View File

@@ -53,9 +53,9 @@ let
url = http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_p2_32bit_debug_linux_092710.tar.gz;
sha256 = "11w3mxa39l4mnlsqzlwbdh1sald549afyqbx2kbid7in5qzamlcc";
} else {
version = "10.3.183.7";
version = "10.3.183.10";
url = http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz;
sha256 = "166ipldmd03psy68xxirmdd4p591vjnffpv2l97yg1bbkn5h2pj6";
sha256 = "0fj51dg0aa813b44yn8dvmmvw4qwi8vbi0x8n1bcqrcld3sbpmfz";
}
else throw "Flash Player is not supported on this platform";

View File

@@ -0,0 +1,21 @@
{stdenv, fetchurl, ncurses, openssl, tcl, tk}:
stdenv.mkDerivation {
name = "gtmess-0.96";
src = fetchurl {
url = mirror://sourceforge/gtmess/gtmess-0.96.tar.gz;
sha256 = "0w29wyshx32485c7wazj51lvk2j9k1kn2jmwpf916r4513hwplvm";
};
buildInputs = [ ncurses openssl tcl tk];
patches = [ ./va_list.patch ];
meta = {
description = "Console MSN Messenger client for Linux and other unix systems";
homepage = http://gtmess.sourceforge.net/;
license = "GPLv2+";
platforms = with stdenv.lib.platforms; linux;
};
}

View File

@@ -0,0 +1,22 @@
diff --git a/src/client/screen.c b/src/client/screen.c
index e8fa75f..d3842ac 100644
--- a/src/client/screen.c
+++ b/src/client/screen.c
@@ -255,7 +255,7 @@ void msg(int attr, const char *fmt, ...)
va_start(ap, fmt);
r = vmsg(attr, SML, fmt, ap);
va_end(ap);
- if (r) vmsg(C_ERR, SML, "msg(): output truncated\n", NULL);
+ if (r) msgn(C_ERR, SML, "msg(): output truncated\n");
}
void msgn(int attr, int size, const char *fmt, ...)
@@ -266,7 +266,7 @@ void msgn(int attr, int size, const char *fmt, ...)
va_start(ap, fmt);
r = vmsg(attr, size, fmt, ap);
va_end(ap);
- if (r) vmsg(C_ERR, SML, "msgn(): output truncated\n", NULL);
+ if (r) msgn(C_ERR, SML, "msgn(): output truncated\n");
}
int screen_shut()

View File

@@ -1,17 +1,15 @@
{ stdenv, fetchurl, pidgin, intltool, libxml2 }:
let version = "1.10.0"; in
let version = "1.12.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";
url = "mirror://sourceforge/sipe/pidgin-sipe-${version}.tar.gz";
sha256 = "12ki6n360v2ja961fzw4mwpgb8jdp9k21y5mbiab151867c862r6";
};
patches = [ ./fix-2.7.0.patch ];
meta = {
description = "SIPE plugin for Pidgin IM.";
homepage = http://sipe.sourceforge.net/;

View File

@@ -1,27 +0,0 @@
From 8ad28171ac5c3fbd1917a2f52e75423c4d357b24 Mon Sep 17 00:00:00 2001
From: David Brown <nix@davidb.org>
Date: Thu, 3 Jun 2010 06:40:04 -0700
Subject: [PATCH] Fix initializer for 2.7.0 release
The release of 2.7.0 of pidgin/purple gained two extra fields in a
structure.
---
src/core/sipe.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/core/sipe.c b/src/core/sipe.c
index 45a9015..19f4237 100644
--- a/src/core/sipe.c
+++ b/src/core/sipe.c
@@ -10683,6 +10683,8 @@ PurplePluginProtocolInfo prpl_info =
NULL, /* get_media_caps */
#if PURPLE_VERSION_CHECK(2,7,0)
NULL, /* get_moods */
+ NULL, /* set_public_alias */
+ NULL, /* get_public_alias */
#endif
#endif
#endif
--
1.7.1

View File

@@ -1,11 +1,13 @@
{ stdenv, fetchurl, ncurses, which, perl, gpgme
{ stdenv, fetchurl, ncurses, which, perl
, sslSupport ? true
, imapSupport ? true
, headerCache ? true
, saslSupport ? true
, gpgmeSupport ? true
, gdbm ? null
, openssl ? null
, cyrus_sasl ? null
, gpgme ? null
}:
assert headerCache -> gdbm != null;
@@ -21,17 +23,20 @@ stdenv.mkDerivation rec {
};
buildInputs = [
ncurses which perl gpgme
ncurses which perl
(if headerCache then gdbm else null)
(if sslSupport then openssl else null)
(if saslSupport then cyrus_sasl else null)
(if gpgmeSupport then gpgme else null)
];
configureFlags = [
"--with-mailpath=" "--enable-smtp"
# This allows calls with "-d N", that output debug info into ~/.muttdebug*
"--enable-debug" "--enable-pop" "--enable-imap" "--enable-gpgme"
"--enable-debug"
"--enable-pop" "--enable-imap"
# The next allows building mutt without having anything setgid
# set by the installer, and removing the need for the group 'mail'
@@ -41,6 +46,7 @@ stdenv.mkDerivation rec {
(if sslSupport then "--with-ssl" else "--without-ssl")
(if imapSupport then "--enable-imap" else "--disable-imap")
(if saslSupport then "--with-sasl" else "--without-sasl")
(if gpgmeSupport then "--enable-gpgme" else "--disable-gpgme")
];
meta = {

View File

@@ -0,0 +1,11 @@
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "netperf-2.5.0";
src = fetchurl {
url = "ftp://ftp.netperf.org/netperf/${name}.tar.bz2";
sha256 = "1l06bb99b4wfnmq247b8rvp4kn3w6bh1m46ri4d74z22li7br545";
};
}

View File

@@ -1,11 +1,11 @@
{stdenv, fetchurl, ocaml, zlib, bzip2, ncurses, file, gd, libpng }:
stdenv.mkDerivation (rec {
name = "mldonkey-3.0.7";
name = "mldonkey-3.1.0";
src = fetchurl {
url = "mirror://sourceforge/mldonkey/${name}.tar.bz2";
sha256 = "1m5cfx79jiym93bx789lqc1bmwrkz1b1jilhga7d994jsjcw6c2n";
sha256 = "02038nhh6lbb714ariy2xw1vgfycr1w750zplbgwk5pa3cm163zx";
};
meta = {

View File

@@ -16,5 +16,6 @@ stdenv.mkDerivation {
meta = {
description = "ftp/sftp client with readline, autocompletion and bookmarks";
homepage = http://yafc.sourceforge.net;
license = "GPLv2+";
};
}

View File

@@ -1,50 +1,22 @@
{ stdenv, fetchurl, pkgconfig, freetype, lcms, libtiff, libxml2
, libart_lgpl, qt, python, cups, fontconfig, libjpeg
, zlib, libpng, xorg, cairo, cmake }:
assert stdenv.gcc.gcc != null;
# NOTE: ! If Scribus doesn't render text try another font.
# a lot of templates, colour palettes, colour profiles or gradients
# will be released with the next version of scribus - So don't miss them
# when upgrading this package
let useCairo = false; in
, zlib, libpng, xorg, cairo, podofo, aspell, boost, cmake }:
stdenv.mkDerivation {
name = "scribus-1.3.3.14";
name = "scribus-1.4.0rc6";
src = fetchurl {
url = mirror://sourceforge/scribus/scribus/1.3.3.14/scribus-1.3.3.14.tar.bz2;
sha256 = "1ig7x6vxhqgjlpnv6hkzpb6gj4yvxsrx7rw900zlp7g6zxl01iyy";
url = mirror://sourceforge/scribus/scribus/scribus-1.4.0.rc6.tar.bz2;
sha256 = "1rrnzxjzhqj4lgyfswly501xlyvm4hsnnq7zw008v0cnkx31icli";
};
cmakeFlags = if useCairo then "-DWANT_CAIRO=1" else "";
configurePhase = ''
set -x
mkdir -p build;
cd build
eval -- "cmake .. $cmakeFlags"
set +x
'';
enableParallelBuilding = true;
buildInputs =
[ pkgconfig /*<- required fro cairo only?*/ cmake freetype lcms libtiff libxml2 libart_lgpl qt
[ pkgconfig cmake freetype lcms libtiff libxml2 libart_lgpl qt
python cups fontconfig
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 = ''
for i in $buildNativeInputs ${stdenv.gcc.gcc}; do
[ -d "$i/lib" ] && RPATH="$RPATH:$i/lib"
[ -d "$i/lib64" ] && RPATH="$RPATH:$i/lib64"
done
patchelf --set-rpath "''\${RPATH:1}" $out/bin/scribus
'';
libjpeg zlib libpng podofo aspell cairo
];
meta = {
maintainers = [ stdenv.lib.maintainers.marcweber ];
@@ -54,4 +26,3 @@ stdenv.mkDerivation {
license = "GPLv2";
};
}

View File

@@ -0,0 +1,41 @@
{stdenv, fetchurl }:
let
version = "936";
pname = "picosat";
in
stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "http://fmv.jku.at/picosat/${name}.tar.gz";
sha256 = "02hq68fmfjs085216wsj13ff6i1rhc652yscl16w9jzpfqzly91n";
};
dontAddPrefix = true;
# configureFlags = "--shared"; the ./configure file is broken and doesn't accept this parameter :(
patchPhase = ''
sed -e 's/^shared=no/shared=yes/' -i configure
'';
installPhase = ''
ensureDir "$out"/bin
cp picomus "$out"/bin
cp picosat "$out"/bin
ensureDir "$out"/lib
cp libpicosat.a "$out"/lib
cp libpicosat.so "$out"/lib
ensureDir "$out"/include/picosat
cp picosat.h "$out"/include/picosat
'';
meta = {
homepage = http://fmv.jku.at/picosat/;
description = "SAT solver with proof and core support";
license = "MIT";
maintainers = [ stdenv.lib.maintainers.roconnor ];
};
}

View File

@@ -1,8 +1,8 @@
{stdenv, fetchurl, zlib, openssl, tcl}:
{stdenv, fetchurl, zlib, openssl, tcl, readline, sqlite}:
let
version = "1.19";
filedate = "20110901182519";
version = "1.20";
filedate = "20111021125253";
in
stdenv.mkDerivation {
@@ -10,10 +10,10 @@ stdenv.mkDerivation {
src = fetchurl {
url = "http://www.fossil-scm.org/download/fossil-src-${filedate}.tar.gz";
sha256 = "14snmwjfl9xz52d8lfzsp4zciwfbi9fwk623bm5dxhn2fczzc960";
sha256 = "0m75kw77iray3kbjm1xfn8hr116fn11yv1wr7adcwy314cgj0vv3";
};
buildInputs = [ zlib openssl ];
buildInputs = [ zlib openssl readline sqlite ];
buildNativeInputs = [ tcl ];
doCheck = true;

View File

@@ -3,7 +3,7 @@
*/
args: with args; with pkgs;
let
inherit (pkgs) stdenv fetchurl subversion;
inherit (pkgs) stdenv fetchgit fetchurl subversion;
in
rec {
@@ -92,8 +92,7 @@ rec {
};
gitFastExport = import ./fast-export {
inherit fetchurl sourceFromHead stdenv mercurial coreutils git makeWrapper
subversion;
inherit fetchgit stdenv mercurial coreutils git makeWrapper subversion;
};
git2cl = import ./git2cl {

View File

@@ -1,13 +1,14 @@
args: with args;
{stdenv, fetchgit, mercurial, coreutils, git, makeWrapper, subversion}:
stdenv.mkDerivation {
name = "fast-export";
# REGION AUTO UPDATE: { name="git_fast_export"; type = "git"; url="git://repo.or.cz/hg2git.git"; }
src = sourceFromHead "git_fast_export-1464dabbff7fe42b9069e98869db40276d295ad6.tar.gz"
(fetchurl { url = "http://mawercer.de/~nix/repos/git_fast_export-1464dabbff7fe42b9069e98869db40276d295ad6.tar.gz"; sha256 = "c65b8607836794b250f5faeef5ec1bcbf40f0bfaeb39ccb600966deb6a40d755"; });
# END
src = fetchgit {
url = "git://repo.or.cz/fast-export.git";
rev = "refs/heads/master";
};
buildInputs =([mercurial.python mercurial makeWrapper subversion]);
buildInputs = [mercurial.python mercurial makeWrapper subversion];
buildPhase="true"; # skip svn for now
@@ -24,7 +25,7 @@ stdenv.mkDerivation {
mv *.py $l
for p in $out/bin/*.sh; do
wrapProgram $p \
--set PYTHONPATH "$(echo ${mercurial}/lib/python*/site-packages)" \
--prefix PYTHONPATH : "$(echo ${mercurial}/lib/python*/site-packages):$(echo ${mercurial.python}/lib/python*/site-packages)${stdenv.lib.concatMapStrings (x: ":$(echo ${x}/lib/python*/site-packages)") mercurial.pythonPackages}" \
--prefix PATH : "$(dirname $(type -p python))":$l
done
'';

View File

@@ -4,14 +4,14 @@
}:
let
version = "3.20110915";
version = "3.20111025";
in
stdenv.mkDerivation {
name = "git-annex-${version}";
src = fetchurl {
url = "http://ftp.de.debian.org/debian/pool/main/g/git-annex/git-annex_${version}.tar.gz";
sha256 = "d16c305c82b151ef6ce0c5cfa52a119240b66e02424aefc15a1f67392f976d47";
sha256 = "1ae0fd9551d3397d1b7e5bc1eba9aab47b803bac680c3d019ba6ef7cefe96d27";
};
buildInputs = [

View File

@@ -8,15 +8,15 @@
}:
let
version = "1.7.7";
svn = subversionClient.override { perlBindings = true; };
in
stdenv.mkDerivation rec {
name = "git-1.7.6";
stdenv.mkDerivation {
name = "git-${version}";
src = fetchurl {
url = "mirror://kernel/software/scm/git/${name}.tar.bz2";
sha256 = "778795cece63cd758192378f3a999870cea290181b3a4c9de573c77192561082";
url = "http://git-core.googlecode.com/files/git-${version}.tar.gz";
sha256 = "1xkpyd6mff4m8kmk4vkwi7snr2ff2nmrmsa5hf9bk2a93v07p5ss";
};
patches = [ ./docbook2texi.patch ];

View File

@@ -1,15 +1,16 @@
{ stdenv, fetchurl, python, makeWrapper, docutils
, guiSupport ? false, tk ? null, ssl }:
, guiSupport ? false, tk ? null, ssl, curses }:
stdenv.mkDerivation rec {
name = "mercurial-1.9";
name = "mercurial-1.9.2";
src = fetchurl {
url = "http://mercurial.selenic.com/release/${name}.tar.gz";
sha256 = "1q1307rv5cyv7qalwkampy1h2f92j4d46v4x9647ljljs8f4n7ki";
sha256 = "481309264d8528a871aab013068c48fa3a6072b016a4095a22230cfdfb8bb9aa";
};
inherit python; # pass it so that the same version can be used in hg2git
pythonPackages = [ ssl curses ];
buildInputs = [ python makeWrapper docutils ];
@@ -31,7 +32,7 @@ stdenv.mkDerivation rec {
''
for i in $(cd $out/bin && ls); do
wrapProgram $out/bin/$i \
--prefix PYTHONPATH : "$(toPythonPath "$out ${ssl}")" \
--prefix PYTHONPATH : "$(toPythonPath "$out ${ssl} ${curses}")" \
$WRAP_TK
done

View File

@@ -19,13 +19,13 @@ assert compressionSupport -> neon.compressionSupport;
stdenv.mkDerivation rec {
version = "1.6.17";
version = "1.7.1";
name = "subversion-${version}";
src = fetchurl {
url = "http://subversion.tigris.org/downloads/${name}.tar.bz2";
sha1 = "6e3ed7c87d98fdf5f0a999050ab601dcec6155a1";
url = "mirror://apache/subversion//${name}.tar.bz2";
sha1 = "4bfaa8e33e9eaf26a504117cd91b23805518071a";
};
buildInputs = [ zlib apr aprutil sqlite ]
@@ -48,9 +48,6 @@ stdenv.mkDerivation rec {
'';
postInstall = ''
ensureDir $out/share/emacs/site-lisp
cp contrib/client-side/emacs/[dp]svn*.el $out/share/emacs/site-lisp/
if test -n "$pythonBindings"; then
make swig-py swig_pydir=$(toPythonPath $out)/libsvn swig_pydir_extra=$(toPythonPath $out)/svn
make install-swig-py swig_pydir=$(toPythonPath $out)/libsvn swig_pydir_extra=$(toPythonPath $out)/svn

View File

@@ -0,0 +1,24 @@
# `-B@out@/bin' forces clang to use ld-wrapper.sh when calling ld.
export NIX_CFLAGS_COMPILE="-B@out@/bin/ $NIX_CFLAGS_COMPILE"
if test -e @out@/nix-support/libc-cflags; then
export NIX_CFLAGS_COMPILE="$(cat @out@/nix-support/libc-cflags) $NIX_CFLAGS_COMPILE"
fi
if test -e @out@/nix-support/clang-cflags; then
export NIX_CFLAGS_COMPILE="$(cat @out@/nix-support/clang-cflags) $NIX_CFLAGS_COMPILE"
fi
if test -e @out@/nix-support/libc-ldflags; then
export NIX_LDFLAGS="$NIX_LDFLAGS $(cat @out@/nix-support/libc-ldflags)"
fi
if test -e @out@/nix-support/clang-ldflags; then
export NIX_LDFLAGS="$NIX_LDFLAGS $(cat @out@/nix-support/clang-ldflags)"
fi
if test -e @out@/nix-support/libc-ldflags-before; then
export NIX_LDFLAGS_BEFORE="$(cat @out@/nix-support/libc-ldflags-before) $NIX_LDFLAGS_BEFORE"
fi
export NIX_CLANG_WRAPPER_FLAGS_SET=1

View File

@@ -0,0 +1,131 @@
source $stdenv/setup
ensureDir $out/bin
ensureDir $out/nix-support
if test -z "$nativeLibc"; then
dynamicLinker="$libc/lib/$dynamicLinker"
echo $dynamicLinker > $out/nix-support/dynamic-linker
if test -e $libc/lib/32/ld-linux.so.2; then
echo $libc/lib/32/ld-linux.so.2 > $out/nix-support/dynamic-linker-m32
fi
# The "-B$libc/lib/" flag is a quick hack to force clang to link
# against the crt1.o from our own glibc, rather than the one in
# /usr/lib. (This is only an issue when using an `impure'
# compiler/linker, i.e., one that searches /usr/lib and so on.)
echo "-B$libc/lib/ -idirafter $libc/include" > $out/nix-support/libc-cflags
echo "-L$libc/lib" > $out/nix-support/libc-ldflags
# The dynamic linker is passed in `ldflagsBefore' to allow
# explicit overrides of the dynamic linker by callers to clang/ld
# (the *last* value counts, so ours should come first).
echo "-dynamic-linker $dynamicLinker" > $out/nix-support/libc-ldflags-before
fi
if test -n "$nativeTools"; then
clangPath="$nativePrefix/bin"
ldPath="$nativePrefix/bin"
else
basePath=`echo $gcc/lib/*/*/*`
# Need libgcc until the llvm compiler-rt library is complete
clangLDFlags="$clangLDFlags -L$basePath"
if test -e "$gcc/lib64"; then
clangLDFlags="$clangLDFlags -L$gcc/lib64"
else
clangLDFlags="$clangLDFlags -L$gcc/lib"
fi
clangLDFlags="$clangLDFlags -L$clang/lib"
echo "$clangLDFlags" > $out/nix-support/clang-ldflags
# Need files like crtbegin.o from gcc
# It's unclear if these will ever be provided by an LLVM project
clangCFlags="$clangCFlags -B$basePath"
clangCFlags="$clangCFlags -isystem$clang/lib/clang/$clangVersion/include"
echo "$clangCFlags" > $out/nix-support/clang-cflags
clangPath="$clang/bin"
ldPath="$binutils/bin"
fi
doSubstitute() {
local src=$1
local dst=$2
# Can't use substitute() here, because replace may not have been
# built yet (in the bootstrap).
sed \
-e "s^@out@^$out^g" \
-e "s^@shell@^$shell^g" \
-e "s^@clang@^$clang^g" \
-e "s^@clangProg@^$clangProg^g" \
-e "s^@binutils@^$binutils^g" \
-e "s^@coreutils@^$coreutils^g" \
-e "s^@libc@^$libc^g" \
-e "s^@ld@^$ldPath/ld^g" \
< "$src" > "$dst"
}
# Make wrapper scripts around clang and clang++. Also make symlinks
# cc and c++
mkClangWrapper() {
local dst=$1
local src=$2
if ! test -f "$src"; then
echo "$src does not exist (skipping)"
return 1
fi
clangProg="$src"
doSubstitute "$clangWrapper" "$dst"
chmod +x "$dst"
}
if mkClangWrapper $out/bin/clang $clangPath/clang
then
ln -sv clang $out/bin/cc
fi
if mkClangWrapper $out/bin/clang++ $clangPath/clang++
then
ln -sv clang++ $out/bin/c++
fi
# Create a symlink to as (the assembler). This is useful when a
# clang-wrapper is installed in a user environment, as it ensures that
# the right assembler is called.
ln -s $ldPath/as $out/bin/as
# Make a wrapper around the linker.
doSubstitute "$ldWrapper" "$out/bin/ld"
chmod +x "$out/bin/ld"
# Emit a setup hook. Also store the path to the original Clang and
# libc.
test -n "$clang" && echo $clang > $out/nix-support/orig-clang
test -n "$libc" && echo $libc > $out/nix-support/orig-libc
doSubstitute "$addFlags" "$out/nix-support/add-flags.sh"
doSubstitute "$setupHook" "$out/nix-support/setup-hook"
cp -p $utils $out/nix-support/utils.sh
# Propagate the wrapped clang so that if you install the wrapper, you get
# llvm tools, the manpages, etc. as well (including for binutils
# and Glibc).
if test -z "$nativeTools"; then
echo $clang $binutils $libc > $out/nix-support/propagated-user-env-packages
fi

View File

@@ -0,0 +1,152 @@
#! @shell@ -e
if test -n "$NIX_CLANG_WRAPPER_START_HOOK"; then
source "$NIX_CLANG_WRAPPER_START_HOOK"
fi
if test -z "$NIX_CLANG_WRAPPER_FLAGS_SET"; then
source @out@/nix-support/add-flags.sh
fi
source @out@/nix-support/utils.sh
# Figure out if linker flags should be passed. Clang prints annoying
# warnings when they are not needed. (does it really? Copied from gcc-wrapper)
dontLink=0
getVersion=0
nonFlagArgs=0
for i in "$@"; do
if test "$i" = "-c"; then
dontLink=1
elif test "$i" = "-S"; then
dontLink=1
elif test "$i" = "-E"; then
dontLink=1
elif test "$i" = "-E"; then
dontLink=1
elif test "$i" = "-M"; then
dontLink=1
elif test "$i" = "-MM"; then
dontLink=1
elif test "$i" = "-x"; then
# At least for the cases c-header or c++-header we should set dontLink.
# I expect no one use -x other than making precompiled headers.
dontLink=1
elif test "${i:0:1}" != "-"; then
nonFlagArgs=1
elif test "$i" = "-m32"; then
if test -e @out@/nix-support/dynamic-linker-m32; then
NIX_LDFLAGS="$NIX_LDFLAGS -dynamic-linker $(cat @out@/nix-support/dynamic-linker-m32)"
fi
fi
done
# If we pass a flag like -Wl, then clang will call the linker unless it
# can figure out that it has to do something else (e.g., because of a
# "-c" flag). So if no non-flag arguments are given, don't pass any
# linker flags. This catches cases like "clang" (should just print
# "clang: no input files") and "clang -v" (should print the version).
if test "$nonFlagArgs" = "0"; then
dontLink=1
fi
# Optionally filter out paths not refering to the store.
params=("$@")
if test "$NIX_ENFORCE_PURITY" = "1" -a -n "$NIX_STORE"; then
rest=()
n=0
while test $n -lt ${#params[*]}; do
p=${params[n]}
p2=${params[$((n+1))]}
if test "${p:0:3}" = "-L/" && badPath "${p:2}"; then
skip $p
elif test "$p" = "-L" && badPath "$p2"; then
n=$((n + 1)); skip $p2
elif test "${p:0:3}" = "-I/" && badPath "${p:2}"; then
skip $p
elif test "$p" = "-I" && badPath "$p2"; then
n=$((n + 1)); skip $p2
elif test "$p" = "-isystem" && badPath "$p2"; then
n=$((n + 1)); skip $p2
else
rest=("${rest[@]}" "$p")
fi
n=$((n + 1))
done
params=("${rest[@]}")
fi
# Add the flags for the C compiler proper.
extraAfter=($NIX_CFLAGS_COMPILE)
extraBefore=()
if test "$dontLink" != "1"; then
# Add the flags that should only be passed to the compiler when
# linking.
extraAfter=(${extraAfter[@]} $NIX_CFLAGS_LINK)
# Add the flags that should be passed to the linker (and prevent
# `ld-wrapper' from adding NIX_LDFLAGS again).
for i in $NIX_LDFLAGS_BEFORE; do
extraBefore=(${extraBefore[@]} "-Wl,$i")
done
for i in $NIX_LDFLAGS; do
if test "${i:0:3}" = "-L/"; then
extraAfter=(${extraAfter[@]} "$i")
else
extraAfter=(${extraAfter[@]} "-Wl,$i")
fi
done
export NIX_LDFLAGS_SET=1
if test "$NIX_STRIP_DEBUG" = "1"; then
# Add executable-stripping flags.
extraAfter=(${extraAfter[@]} $NIX_CFLAGS_STRIP)
fi
fi
# As a very special hack, if the arguments are just `-v', then don't
# add anything. This is to prevent `clang -v' (which normally prints
# out the version number and returns exit code 0) from printing out
# `No input files specified' and returning exit code 1.
if test "$*" = "-v"; then
extraAfter=()
extraBefore=()
fi
# Optionally print debug info.
if test "$NIX_DEBUG" = "1"; then
echo "original flags to @clangProg@:" >&2
for i in "${params[@]}"; do
echo " $i" >&2
done
echo "extraBefore flags to @clangProg@:" >&2
for i in ${extraBefore[@]}; do
echo " $i" >&2
done
echo "extraAfter flags to @clangProg@:" >&2
for i in ${extraAfter[@]}; do
echo " $i" >&2
done
fi
if test -n "$NIX_CLANG_WRAPPER_EXEC_HOOK"; then
source "$NIX_CLANG_WRAPPER_EXEC_HOOK"
fi
# Call the real `clang'. Filter out warnings from stderr about unused
# `-B' flags, since they confuse some programs. Deep bash magic to
# apply grep to stderr (by swapping stdin/stderr twice).
if test -z "$NIX_CLANG_NEEDS_GREP"; then
@clangProg@ ${extraBefore[@]} "${params[@]}" ${extraAfter[@]}
else
(@clangProg@ ${extraBefore[@]} "${params[@]}" ${extraAfter[@]} 3>&2 2>&1 1>&3- \
| (grep -v 'file path prefix' || true); exit ${PIPESTATUS[0]}) 3>&2 2>&1 1>&3-
exit $?
fi

View File

@@ -0,0 +1,84 @@
# The Nix `clang' stdenv.mkDerivation is not directly usable, since it doesn't
# know where the C library and standard header files are. Therefore
# the compiler produced by that package cannot be installed directly
# in a user environment and used from the command line. This
# stdenv.mkDerivation provides a wrapper that sets up the right environment
# variables so that the compiler and the linker just "work".
{ name ? "", stdenv, nativeTools, nativeLibc, nativePrefix ? ""
, clang ? null, libc ? null, binutils ? null, coreutils ? null, shell ? ""
, zlib ? null
}:
assert nativeTools -> nativePrefix != "";
assert !nativeTools -> clang != null && binutils != null && coreutils != null;
assert !nativeLibc -> libc != null;
let
clangVersion = (builtins.parseDrvName clang.name).version;
clangName = (builtins.parseDrvName clang.name).name;
in
stdenv.mkDerivation {
name =
(if name != "" then name else clangName + "-wrapper") +
(if clang != null && clangVersion != "" then "-" + clangVersion else "");
builder = ./builder.sh;
setupHook = ./setup-hook.sh;
clangWrapper = ./clang-wrapper.sh;
ldWrapper = ./ld-wrapper.sh;
utils = ./utils.sh;
addFlags = ./add-flags;
inherit nativeTools nativeLibc nativePrefix clang clangVersion;
gcc = clang.gcc;
libc = if nativeLibc then null else libc;
binutils = if nativeTools then null else binutils;
# The wrapper scripts use 'cat', so we may need coreutils
coreutils = if nativeTools then null else coreutils;
langC = true;
langCC = true;
shell = if shell == "" then stdenv.shell else
if builtins.isAttrs shell then (shell + shell.shellPath)
else shell;
crossAttrs = {
shell = shell.hostDrv + shell.hostDrv.shellPath;
libc = libc.hostDrv;
coreutils = coreutils.hostDrv;
binutils = binutils.hostDrv;
clang = clang.hostDrv;
#
# This is not the best way to do this. I think the reference should be
# the style in the gcc-cross-wrapper, but to keep a stable stdenv now I
# do this sufficient if/else.
dynamicLinker =
(if stdenv.cross.arch == "arm" then "ld-linux.so.3" else
if stdenv.cross.arch == "mips" then "ld.so.1" else
if stdenv.lib.hasSuffix "pc-gnu" stdenv.cross.config then "ld.so.1" else
abort "don't know the name of the dynamic linker for this platform");
};
meta =
let clang_ = if clang != null then clang else {}; in
(if clang_ ? meta then removeAttrs clang.meta ["priority"] else {}) //
{ description =
stdenv.lib.attrByPath ["meta" "description"] "System C compiler" clang_
+ " (wrapper script)";
};
# The dynamic linker has different names on different Linux platforms.
dynamicLinker =
if !nativeLibc then
(if stdenv.system == "i686-linux" then "ld-linux.so.2" else
if stdenv.system == "x86_64-linux" then "ld-linux-x86-64.so.2" else
if stdenv.system == "armv5tel-linux" then "ld-linux.so.3" else
if stdenv.system == "powerpc-linux" then "ld.so.1" else
if stdenv.system == "mips64-linux" then "ld.so.1" else
abort "don't know the name of the dynamic linker for this platform")
else "";
}

View File

@@ -0,0 +1,161 @@
#! @shell@ -e
if test -n "$NIX_LD_WRAPPER_START_HOOK"; then
source "$NIX_LD_WRAPPER_START_HOOK"
fi
if test -z "$NIX_CLANG_WRAPPER_FLAGS_SET"; then
source @out@/nix-support/add-flags.sh
fi
source @out@/nix-support/utils.sh
# Optionally filter out paths not refering to the store.
params=("$@")
if test "$NIX_ENFORCE_PURITY" = "1" -a -n "$NIX_STORE" \
-a \( -z "$NIX_IGNORE_LD_THROUGH_CLANG" -o -z "$NIX_LDFLAGS_SET" \); then
rest=()
n=0
while test $n -lt ${#params[*]}; do
p=${params[n]}
p2=${params[$((n+1))]}
if test "${p:0:3}" = "-L/" && badPath "${p:2}"; then
skip $p
elif test "$p" = "-L" && badPath "$p2"; then
n=$((n + 1)); skip $p2
elif test "$p" = "-rpath" && badPath "$p2"; then
n=$((n + 1)); skip $p2
elif test "$p" = "-dynamic-linker" && badPath "$p2"; then
n=$((n + 1)); skip $p2
elif test "${p:0:1}" = "/" && badPath "$p"; then
# We cannot skip this; barf.
echo "impure path \`$p' used in link" >&2
exit 1
else
rest=("${rest[@]}" "$p")
fi
n=$((n + 1))
done
params=("${rest[@]}")
fi
extra=()
extraBefore=()
if test -z "$NIX_LDFLAGS_SET"; then
extra=(${extra[@]} $NIX_LDFLAGS)
extraBefore=(${extraBefore[@]} $NIX_LDFLAGS_BEFORE)
fi
# Add all used dynamic libraries to the rpath.
if test "$NIX_DONT_SET_RPATH" != "1"; then
libPath=""
addToLibPath() {
local path="$1"
if test "${path:0:1}" != "/"; then return 0; fi
case "$path" in
*..*|*./*|*/.*|*//*)
local path2
if path2=$(readlink -f "$path"); then
path="$path2"
fi
;;
esac
case $libPath in
*\ $path\ *) return 0 ;;
esac
libPath="$libPath $path "
}
addToRPath() {
# If the path is not in the store, don't add it to the rpath.
# This typically happens for libraries in /tmp that are later
# copied to $out/lib. If not, we're screwed.
if test "${1:0:${#NIX_STORE}}" != "$NIX_STORE"; then return 0; fi
case $rpath in
*\ $1\ *) return 0 ;;
esac
rpath="$rpath $1 "
}
libs=""
addToLibs() {
libs="$libs $1"
}
rpath=""
# First, find all -L... switches.
allParams=("${params[@]}" ${extra[@]})
n=0
while test $n -lt ${#allParams[*]}; do
p=${allParams[n]}
p2=${allParams[$((n+1))]}
if test "${p:0:3}" = "-L/"; then
addToLibPath ${p:2}
elif test "$p" = "-L"; then
addToLibPath ${p2}
n=$((n + 1))
elif test "$p" = "-l"; then
addToLibs ${p2}
n=$((n + 1))
elif test "${p:0:2}" = "-l"; then
addToLibs ${p:2}
elif test "$p" = "-dynamic-linker"; then
# Ignore the dynamic linker argument, or it
# will get into the next 'elif'. We don't want
# the dynamic linker path rpath to go always first.
n=$((n + 1))
elif [[ "$p" =~ ^[^-].*\.so($|\.) ]]; then
# This is a direct reference to a shared library, so add
# its directory to the rpath.
path="$(dirname "$p")";
addToRPath "${path}"
fi
n=$((n + 1))
done
# Second, for each directory in the library search path (-L...),
# see if it contains a dynamic library used by a -l... flag. If
# so, add the directory to the rpath.
# It's important to add the rpath in the order of -L..., so
# the link time chosen objects will be those of runtime linking.
for i in $libPath; do
for j in $libs; do
if test -f "$i/lib$j.so"; then
addToRPath $i
break
fi
done
done
# Finally, add `-rpath' switches.
for i in $rpath; do
extra=(${extra[@]} -rpath $i)
done
fi
# Optionally print debug info.
if test "$NIX_DEBUG" = "1"; then
echo "original flags to @ld@:" >&2
for i in "${params[@]}"; do
echo " $i" >&2
done
echo "extra flags to @ld@:" >&2
for i in ${extra[@]}; do
echo " $i" >&2
done
fi
if test -n "$NIX_LD_WRAPPER_EXEC_HOOK"; then
source "$NIX_LD_WRAPPER_EXEC_HOOK"
fi
exec @ld@ ${extraBefore[@]} "${params[@]}" ${extra[@]}

View File

@@ -0,0 +1,33 @@
addCVars () {
if test -d $1/include; then
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$1/include"
fi
if test -d $1/lib64; then
export NIX_LDFLAGS="$NIX_LDFLAGS -L$1/lib64"
fi
if test -d $1/lib; then
export NIX_LDFLAGS="$NIX_LDFLAGS -L$1/lib"
fi
}
envHooks=(${envHooks[@]} addCVars)
# Note: these come *after* $out in the PATH (see setup.sh).
if test -n "@clang@"; then
addToSearchPath PATH @clang@/bin
fi
if test -n "@binutils@"; then
addToSearchPath PATH @binutils@/bin
fi
if test -n "@libc@"; then
addToSearchPath PATH @libc@/bin
fi
if test -n "@coreutils@"; then
addToSearchPath PATH @coreutils@/bin
fi

View File

@@ -0,0 +1,23 @@
skip () {
if test "$NIX_DEBUG" = "1"; then
echo "skipping impure path $1" >&2
fi
}
# Checks whether a path is impure. E.g., `/lib/foo.so' is impure, but
# `/nix/store/.../lib/foo.so' isn't.
badPath() {
local p=$1
# Relative paths are okay (since they're presumably relative to
# the temporary build directory).
if test "${p:0:1}" != "/"; then return 1; fi
# Otherwise, the path should refer to the store or some temporary
# directory (including the build directory).
test \
"${p:0:${#NIX_STORE}}" != "$NIX_STORE" -a \
"${p:0:4}" != "/tmp" -a \
"${p:0:${#NIX_BUILD_TOP}}" != "$NIX_BUILD_TOP"
}

View File

@@ -49,6 +49,7 @@ if test -z "$finalPath"; then
tmpClone=$url
fi
hg archive -q -y -r "$rev" --cwd $tmpClone $tmpArchive
rm -f $tmpArchive/.hg_archival.txt
# Compute the hash.

View File

@@ -24,6 +24,9 @@ rec {
# GNU (http://www.gnu.org/prep/ftp.html).
gnu = [
# This one is the master repository, and thus it's always up-to-date.
http://ftp.gnu.org/pub/gnu/
# This one redirects to a (supposedly) nearby and (supposedly) up-to-date
# mirror.
http://ftpmirror.gnu.org/
@@ -33,8 +36,6 @@ rec {
ftp://mirror.cict.fr/gnu/
ftp://ftp.cs.tu-berlin.de/pub/gnu/
ftp://ftp.chg.ru/pub/gnu/
http://ftp.gnu.org/pub/gnu/
];
# GCC.
@@ -99,6 +100,7 @@ rec {
http://www.de.kernel.org/pub/
http://ramses.wh2.tu-dresden.de/pub/mirrors/kernel.org/
http://linux-kernel.uio.no/pub/
http://kernel.osuosl.org/pub/
];
# Mirrors of ftp://ftp.kde.org/pub/kde/.

View File

@@ -27,7 +27,7 @@ done
echo "closure:"
ensureDir $out/lib/modules/"$version"
for module in $closure; do
target=$(echo $module | sed "s^/nix/store/.*/lib/modules/^$out/lib/modules/^")
target=$(echo $module | sed "s^$NIX_STORE.*/lib/modules/^$out/lib/modules/^")
if test -e "$target"; then continue; fi
mkdir -p $(dirname $target)
echo $module

View File

@@ -5,7 +5,7 @@ cat > $out/bin/nuke-refs <<EOF
#! $SHELL -e
for i in \$*; do
if test ! -L \$i -a -f \$i; then
cat \$i | sed "s|/nix/store/[a-z0-9]*-|/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-|g" > \$i.tmp
cat \$i | sed "s|$NIX_STORE/[a-z0-9]*-|$NIX_STORE/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-|g" > \$i.tmp
if test -x \$i; then chmod +x \$i.tmp; fi
mv \$i.tmp \$i
fi

View File

@@ -15,6 +15,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Linux development manual pages";
homepage = http://kernel.org/pub/linux/docs/manpages/;
homepage = http://www.kernel.org/doc/man-pages/;
};
}

View File

@@ -0,0 +1,33 @@
{ stdenv, fetchurl, unzip }:
let
src = fetchurl {
url = http://www.oasis-open.org/docbook/sgml/4.1/docbk41.zip;
sha256 = "04b3gp4zkh9c5g9kvnywdkdfkcqx3kjc04j4mpkr4xk7lgqgrany";
};
isoents = fetchurl {
url = http://www.oasis-open.org/cover/ISOEnts.zip;
sha256 = "1clrkaqnvc1ja4lj8blr0rdlphngkcda3snm7b9jzvcn76d3br6w";
};
in
stdenv.mkDerivation {
name = "docbook-sgml-4.1";
unpackPhase = "true";
buildInputs = [ unzip ];
installPhase =
''
o=$out/sgml/dtd/docbook-4.1
mkdir -p $o
cd $o
unzip ${src}
unzip ${isoents}
sed -e "s/iso-/ISO/" -e "s/.gml//" -i docbook.cat
'';
}

View File

@@ -33,7 +33,8 @@ rec {
enableParallelBuilding = true;
} // (removeAttrs a [ "meta" "name" ]));
# kdeMonoPkg wrapper for modules splitted upstream. Used in TODO
# kdeMonoPkg wrapper for modules splitted upstream compatible with combinePkgs
# API.
kdeSplittedPkg = module: {name, sane ? name}: kdeMonoPkg name;
# Build subdirectory ${subdir} of tarball ${module}-${release}.tar.bz2

View File

@@ -33,7 +33,7 @@ assert langVhdl -> gnat != null;
with stdenv.lib;
let version = "4.4.3";
let version = "4.4.6";
javaEcj = fetchurl {
# The `$(top_srcdir)/ecj.jar' file is automatically picked up at
# `configure' time.

View File

@@ -1,26 +1,26 @@
/* Automatically generated by `update-gcc.sh', do not edit.
For GCC 4.4.2. */
For GCC 4.4.6. */
{ fetchurl, optional, version, langC, langCC, langFortran, langJava, langAda }:
assert version == "4.4.3";
assert version == "4.4.6";
optional /* langC */ true (fetchurl {
url = "mirror://gcc/releases/gcc-${version}/gcc-core-${version}.tar.bz2";
sha256 = "0ml360nwkf95w0ykn19zlyxmdvvzpmrbxj2vfrn0k8i2pvk13wwj";
sha256 = "c2959820de3e42eee6b1d381586992f26430f0083b9a51db31d706080fc9b44a";
}) ++
optional langCC (fetchurl {
url = "mirror://gcc/releases/gcc-${version}/gcc-g++-${version}.tar.bz2";
sha256 = "1s5zy8pfn4rgfm2l1dpfzrrdhi2l5zhphqk0h3gsbn1pdw751kkv";
sha256 = "6d5d2dacab9569472e4caa291abe94017a9b19574b9b0d866de7b04702634ddf";
}) ++
optional langFortran (fetchurl {
url = "mirror://gcc/releases/gcc-${version}/gcc-fortran-${version}.tar.bz2";
sha256 = "0iivw5kgwxdlqamwgaw5zhw48jajsmg09fgynyxkrxsa702s74sw";
sha256 = "2b9998716a16b80f4cf843ce81da1cf58ce116e0b85422e3004ce4454e8ff923";
}) ++
optional langJava (fetchurl {
url = "mirror://gcc/releases/gcc-${version}/gcc-java-${version}.tar.bz2";
sha256 = "13r0yxz6sif3i6sxh7b3fa5m1ygynvsg1bf6ssq6njp1fzp9a2kq";
sha256 = "7c8c12eac21d2a5c605ea4d9b7aa52e482354205b801bc93d62603b6f0956b35";
}) ++
optional langAda (fetchurl {
url = "mirror://gcc/releases/gcc-${version}/gcc-ada-${version}.tar.bz2";
sha256 = "146jfkwgg7gdgfqnrm04133amk8k9vr51wc01rwp2bcjai9c3kk7";
sha256 = "771ef0e90abf61208ce84689bed15391ad249287e36a28e816d6a044035af0c6";
}) ++
[]

View File

@@ -1,15 +1,15 @@
diff -ru -x '*~' a/tools/clang/lib/Frontend/InitHeaderSearch.cpp b/tools/clang/lib/Frontend/InitHeaderSearch.cpp
--- a/tools/clang/lib/Frontend/InitHeaderSearch.cpp 2010-09-03 18:45:53.000000000 +0200
+++ b/tools/clang/lib/Frontend/InitHeaderSearch.cpp 2011-02-05 14:59:08.669573190 +0100
@@ -443,6 +443,7 @@
AddPath(*i, System, false, false, false);
return;
}
--- a/tools/clang/lib/Frontend/InitHeaderSearch.cpp 2011-03-21 20:24:04.000000000 -0400
+++ b/tools/clang/lib/Frontend/InitHeaderSearch.cpp 2011-10-18 12:09:50.624355551 -0400
@@ -438,6 +438,7 @@
void InitHeaderSearch::AddDefaultCIncludePaths(const llvm::Triple &triple,
const HeaderSearchOptions &HSOpts) {
+#if 0
llvm::Triple::OSType os = triple.getOS();
switch (os) {
case llvm::Triple::Win32:
@@ -532,6 +533,8 @@
@@ -559,6 +560,8 @@
}
AddPath("/usr/include", System, false, false, false);
@@ -18,7 +18,7 @@ diff -ru -x '*~' a/tools/clang/lib/Frontend/InitHeaderSearch.cpp b/tools/clang/l
}
void InitHeaderSearch::
@@ -550,6 +553,7 @@
@@ -577,6 +580,7 @@
triple);
return;
}
@@ -26,7 +26,7 @@ diff -ru -x '*~' a/tools/clang/lib/Frontend/InitHeaderSearch.cpp b/tools/clang/l
// FIXME: temporary hack: hard-coded paths.
switch (os) {
case llvm::Triple::Cygwin:
@@ -769,6 +773,10 @@
@@ -847,6 +851,10 @@
default:
break;
}

View File

@@ -0,0 +1,45 @@
diff -Naur a/tools/clang/lib/Driver/ToolChains.cpp b/tools/clang/lib/Driver/ToolChains.cpp
--- a/tools/clang/lib/Driver/ToolChains.cpp 2011-03-21 17:29:27.000000000 -0400
+++ b/tools/clang/lib/Driver/ToolChains.cpp 2011-10-18 19:43:48.999590771 -0400
@@ -1482,12 +1482,9 @@
Lib = Lib64;
}
- llvm::sys::Path LinkerPath(Base + "/../../../../" + GccTriple + "/bin/ld");
- if (!llvm::sys::fs::exists(LinkerPath.str(), Exists) && Exists)
- Linker = LinkerPath.str();
- else
- Linker = GetProgramPath("ld");
+ Linker = GetProgramPath("ld");
+#if 0
LinuxDistro Distro = DetectLinuxDistro(Arch);
if (IsUbuntu(Distro)) {
@@ -1531,6 +1528,7 @@
Paths.push_back(Base + "/../../..");
if (Arch == getArch() && IsUbuntu(Distro))
Paths.push_back("/usr/lib/" + GccTriple);
+#endif
}
bool Linux::HasNativeLLVMSupport() const {
diff -Naur a/tools/clang/lib/Driver/Tools.cpp b/tools/clang/lib/Driver/Tools.cpp
--- a/tools/clang/lib/Driver/Tools.cpp 2011-03-06 18:31:01.000000000 -0500
+++ b/tools/clang/lib/Driver/Tools.cpp 2011-10-18 18:44:00.799604267 -0400
@@ -3619,6 +3619,7 @@
ToolChain.getArch() == llvm::Triple::thumb ||
(!Args.hasArg(options::OPT_static) &&
!Args.hasArg(options::OPT_shared))) {
+#if 0
CmdArgs.push_back("-dynamic-linker");
if (ToolChain.getArch() == llvm::Triple::x86)
CmdArgs.push_back("/lib/ld-linux.so.2");
@@ -3627,6 +3628,7 @@
CmdArgs.push_back("/lib/ld-linux.so.3");
else
CmdArgs.push_back("/lib64/ld-linux-x86-64.so.2");
+#endif
}
CmdArgs.push_back("-o");

View File

@@ -0,0 +1,42 @@
diff -Naur llvm-2.9-orig/Makefile.rules llvm-2.9/Makefile.rules
--- llvm-2.9-orig/Makefile.rules 2011-03-25 02:26:58.000000000 -0400
+++ llvm-2.9/Makefile.rules 2011-10-19 15:31:38.538674143 -0400
@@ -941,7 +941,7 @@
@echo "*** llvm-config doesn't exist - rebuilding it."
@$(MAKE) -C $(PROJ_OBJ_ROOT)/tools/llvm-config
-$(ToolDir)/$(strip $(TOOLNAME))$(EXEEXT): $(LLVM_CONFIG)
+$(ToolDir)/$(strip $(TOOLNAME))$(EXEEXT):
ifeq ($(ENABLE_SHARED), 1)
# We can take the "auto-import" feature to get rid of using dllimport.
@@ -1137,7 +1137,7 @@
else
SharedLibKindMessage := "Shared Library"
endif
-$(LibName.SO): $(ObjectsO) $(ProjLibsPaths) $(LLVMLibsPaths) $(SharedLibDir)/.dir
+$(LibName.SO): $(ObjectsO) $(ProjLibsPaths) $(SharedLibDir)/.dir
$(Echo) Linking $(BuildMode) $(SharedLibKindMessage) \
$(notdir $@)
$(Verb) $(Link) $(SharedLinkOptions) -o $@ $(ObjectsO) \
@@ -1411,7 +1411,7 @@
$(ToolBuildPath): $(ToolDir)/.dir
endif
-$(ToolBuildPath): $(ObjectsO) $(ProjLibsPaths) $(LLVMLibsPaths)
+$(ToolBuildPath): $(ObjectsO) $(ProjLibsPaths)
$(Echo) Linking $(BuildMode) executable $(TOOLNAME) $(StripWarnMsg)
$(Verb) $(Link) -o $@ $(TOOLLINKOPTS) $(ObjectsO) $(ProjLibsOptions) \
$(LLVMLibsOptions) $(ExtraLibs) $(TOOLLINKOPTSB) $(LIBS)
diff -Naur llvm-2.9-orig/unittests/Makefile.unittest llvm-2.9/unittests/Makefile.unittest
--- llvm-2.9-orig/unittests/Makefile.unittest 2011-02-04 12:12:18.000000000 -0500
+++ llvm-2.9/unittests/Makefile.unittest 2011-10-19 15:47:27.100035616 -0400
@@ -47,7 +47,7 @@
Run.Shared := $(SHLIBPATH_VAR)="$(SharedLibDir)$${$(SHLIBPATH_VAR):+:}$$$(SHLIBPATH_VAR)"
endif
-$(LLVMUnitTestExe): $(ObjectsO) $(ProjLibsPaths) $(LLVMLibsPaths)
+$(LLVMUnitTestExe): $(ObjectsO) $(ProjLibsPaths)
$(Echo) Linking $(BuildMode) unit test $(TESTNAME) $(StripWarnMsg)
$(Verb) $(Link) -o $@ $(TOOLLINKOPTS) $(ObjectsO) $(ProjLibsOptions) \
$(TESTLIBS) $(LLVMLibsOptions) $(ExtraLibs) $(TOOLLINKOPTSB) $(LIBS)

View File

@@ -0,0 +1,134 @@
diff -Naur a/tools/clang/include/clang/AST/Makefile b/tools/clang/include/clang/AST/Makefile
--- a/tools/clang/include/clang/AST/Makefile 2010-08-18 19:23:40.000000000 -0400
+++ b/tools/clang/include/clang/AST/Makefile 2011-10-19 14:19:21.420750346 -0400
@@ -6,24 +6,24 @@
include $(CLANG_LEVEL)/Makefile
-$(ObjDir)/Attrs.inc.tmp : $(TD_SRC_DIR)/Attr.td $(TBLGEN) \
+$(ObjDir)/Attrs.inc.tmp : $(TD_SRC_DIR)/Attr.td \
$(ObjDir)/.dir
$(Echo) "Building Clang attribute classes with tblgen"
$(Verb) $(TableGen) -gen-clang-attr-classes -o $(call SYSPATH, $@) \
-I $(PROJ_SRC_DIR)/../../ $<
-$(ObjDir)/AttrImpl.inc.tmp : $(TD_SRC_DIR)/Attr.td $(TBLGEN) \
+$(ObjDir)/AttrImpl.inc.tmp : $(TD_SRC_DIR)/Attr.td \
$(ObjDir)/.dir
$(Echo) "Building Clang attribute implementations with tblgen"
$(Verb) $(TableGen) -gen-clang-attr-impl -o $(call SYSPATH, $@) \
-I $(PROJ_SRC_DIR)/../../ $<
-$(ObjDir)/StmtNodes.inc.tmp : $(TD_SRC_DIR)/StmtNodes.td $(TBLGEN) \
+$(ObjDir)/StmtNodes.inc.tmp : $(TD_SRC_DIR)/StmtNodes.td \
$(ObjDir)/.dir
$(Echo) "Building Clang statement node tables with tblgen"
$(Verb) $(TableGen) -gen-clang-stmt-nodes -o $(call SYSPATH, $@) $<
-$(ObjDir)/DeclNodes.inc.tmp : $(TD_SRC_DIR)/DeclNodes.td $(TBLGEN) \
+$(ObjDir)/DeclNodes.inc.tmp : $(TD_SRC_DIR)/DeclNodes.td \
$(ObjDir)/.dir
$(Echo) "Building Clang declaration node tables with tblgen"
$(Verb) $(TableGen) -gen-clang-decl-nodes -o $(call SYSPATH, $@) $<
diff -Naur a/tools/clang/include/clang/Basic/Makefile b/tools/clang/include/clang/Basic/Makefile
--- a/tools/clang/include/clang/Basic/Makefile 2010-09-09 16:27:36.000000000 -0400
+++ b/tools/clang/include/clang/Basic/Makefile 2011-10-19 14:17:54.950837324 -0400
@@ -29,20 +29,20 @@
CLANG_HAS_VERSION_PATCHLEVEL := 1
endif
-$(ObjDir)/Diagnostic%Kinds.inc.tmp : Diagnostic.td Diagnostic%Kinds.td $(TBLGEN) $(ObjDir)/.dir
+$(ObjDir)/Diagnostic%Kinds.inc.tmp : Diagnostic.td Diagnostic%Kinds.td $(ObjDir)/.dir
$(Echo) "Building Clang $(patsubst Diagnostic%Kinds.inc.tmp,%,$(@F)) diagnostic tables with tblgen"
$(Verb) $(TableGen) -gen-clang-diags-defs -clang-component=$(patsubst Diagnostic%Kinds.inc.tmp,%,$(@F)) -o $(call SYSPATH, $@) $<
-$(ObjDir)/DiagnosticGroups.inc.tmp : Diagnostic.td DiagnosticGroups.td $(INPUT_TDS) $(TBLGEN) $(ObjDir)/.dir
+$(ObjDir)/DiagnosticGroups.inc.tmp : Diagnostic.td DiagnosticGroups.td $(INPUT_TDS) $(ObjDir)/.dir
$(Echo) "Building Clang diagnostic groups with tblgen"
$(Verb) $(TableGen) -gen-clang-diag-groups -o $(call SYSPATH, $@) $<
-$(ObjDir)/AttrList.inc.tmp : Attr.td $(TBLGEN) $(ObjDir)/.dir
+$(ObjDir)/AttrList.inc.tmp : Attr.td $(ObjDir)/.dir
$(Echo) "Building Clang attribute list with tblgen"
$(Verb) $(TableGen) -gen-clang-attr-list -o $(call SYSPATH, $@) \
-I $(PROJ_SRC_DIR)/../.. $<
-$(ObjDir)/arm_neon.inc.tmp : arm_neon.td $(TBLGEN) $(ObjDir)/.dir
+$(ObjDir)/arm_neon.inc.tmp : arm_neon.td $(ObjDir)/.dir
$(Echo) "Building Clang arm_neon.inc with tblgen"
$(Verb) $(TableGen) -gen-arm-neon-sema -o $(call SYSPATH, $@) $<
diff -Naur a/tools/clang/include/clang/Driver/Makefile b/tools/clang/include/clang/Driver/Makefile
--- a/tools/clang/include/clang/Driver/Makefile 2010-06-08 16:34:18.000000000 -0400
+++ b/tools/clang/include/clang/Driver/Makefile 2011-10-19 14:25:33.739369159 -0400
@@ -5,14 +5,14 @@
include $(CLANG_LEVEL)/Makefile
-$(ObjDir)/Options.inc.tmp : Options.td OptParser.td $(TBLGEN) $(ObjDir)/.dir
+$(ObjDir)/Options.inc.tmp : Options.td OptParser.td $(ObjDir)/.dir
$(Echo) "Building Clang Driver Option tables with tblgen"
$(Verb) $(TableGen) -gen-opt-parser-defs -o $(call SYSPATH, $@) $<
-$(ObjDir)/CC1Options.inc.tmp : CC1Options.td OptParser.td $(TBLGEN) $(ObjDir)/.dir
+$(ObjDir)/CC1Options.inc.tmp : CC1Options.td OptParser.td $(ObjDir)/.dir
$(Echo) "Building Clang CC1 Option tables with tblgen"
$(Verb) $(TableGen) -gen-opt-parser-defs -o $(call SYSPATH, $@) $<
-$(ObjDir)/CC1AsOptions.inc.tmp : CC1AsOptions.td OptParser.td $(TBLGEN) $(ObjDir)/.dir
+$(ObjDir)/CC1AsOptions.inc.tmp : CC1AsOptions.td OptParser.td $(ObjDir)/.dir
$(Echo) "Building Clang CC1 Assembler Option tables with tblgen"
$(Verb) $(TableGen) -gen-opt-parser-defs -o $(call SYSPATH, $@) $<
diff -Naur a/tools/clang/include/clang/Lex/Makefile b/tools/clang/include/clang/Lex/Makefile
--- a/tools/clang/include/clang/Lex/Makefile 2010-10-19 22:31:43.000000000 -0400
+++ b/tools/clang/include/clang/Lex/Makefile 2011-10-19 14:18:25.082807086 -0400
@@ -6,7 +6,7 @@
include $(CLANG_LEVEL)/Makefile
-$(ObjDir)/AttrSpellings.inc.tmp : $(TD_SRC_DIR)/Attr.td $(TBLGEN) \
+$(ObjDir)/AttrSpellings.inc.tmp : $(TD_SRC_DIR)/Attr.td \
$(ObjDir)/.dir
$(Echo) "Building Clang attribute spellings with tblgen"
$(Verb) $(TableGen) -gen-clang-attr-spelling-list -o $(call SYSPATH, $@) \
diff -Naur a/tools/clang/include/clang/Serialization/Makefile b/tools/clang/include/clang/Serialization/Makefile
--- a/tools/clang/include/clang/Serialization/Makefile 2010-08-18 19:23:40.000000000 -0400
+++ b/tools/clang/include/clang/Serialization/Makefile 2011-10-19 14:25:05.764398164 -0400
@@ -6,13 +6,13 @@
include $(CLANG_LEVEL)/Makefile
-$(ObjDir)/AttrPCHRead.inc.tmp : $(TD_SRC_DIR)/Attr.td $(TBLGEN) \
+$(ObjDir)/AttrPCHRead.inc.tmp : $(TD_SRC_DIR)/Attr.td \
$(ObjDir)/.dir
$(Echo) "Building Clang PCH reader with tblgen"
$(Verb) $(TableGen) -gen-clang-attr-pch-read -o $(call SYSPATH, $@) \
-I $(PROJ_SRC_DIR)/../../ $<
-$(ObjDir)/AttrPCHWrite.inc.tmp : $(TD_SRC_DIR)/Attr.td $(TBLGEN) \
+$(ObjDir)/AttrPCHWrite.inc.tmp : $(TD_SRC_DIR)/Attr.td \
$(ObjDir)/.dir
$(Echo) "Building Clang PCH writer with tblgen"
$(Verb) $(TableGen) -gen-clang-attr-pch-write -o $(call SYSPATH, $@) \
diff -Naur a/tools/clang/lib/Headers/Makefile b/tools/clang/lib/Headers/Makefile
--- a/tools/clang/lib/Headers/Makefile 2010-07-21 21:19:36.000000000 -0400
+++ b/tools/clang/lib/Headers/Makefile 2011-10-19 14:15:18.520993127 -0400
@@ -49,6 +49,6 @@
install-local:: $(INSTHEADERS)
-$(ObjDir)/arm_neon.h.inc.tmp : $(CLANG_LEVEL)/include/clang/Basic/arm_neon.td $(TBLGEN) $(ObjDir)/.dir
+$(ObjDir)/arm_neon.h.inc.tmp : $(CLANG_LEVEL)/include/clang/Basic/arm_neon.td $(ObjDir)/.dir
$(Echo) "Building Clang arm_neon.h.inc with tblgen"
$(Verb) $(TableGen) -gen-arm-neon -o $(call SYSPATH, $@) $<
diff -Naur a/tools/clang/lib/StaticAnalyzer/Checkers/Makefile b/tools/clang/lib/StaticAnalyzer/Checkers/Makefile
--- a/tools/clang/lib/StaticAnalyzer/Checkers/Makefile 2011-02-15 02:42:38.000000000 -0500
+++ b/tools/clang/lib/StaticAnalyzer/Checkers/Makefile 2011-10-19 14:15:58.240953760 -0400
@@ -19,6 +19,6 @@
include $(CLANG_LEVEL)/Makefile
-$(ObjDir)/Checkers.inc.tmp : Checkers.td $(PROJ_SRC_DIR)/$(CLANG_LEVEL)/include/clang/StaticAnalyzer/Checkers/CheckerBase.td $(TBLGEN) $(ObjDir)/.dir
+$(ObjDir)/Checkers.inc.tmp : Checkers.td $(PROJ_SRC_DIR)/$(CLANG_LEVEL)/include/clang/StaticAnalyzer/Checkers/CheckerBase.td $(ObjDir)/.dir
$(Echo) "Building Clang SA Checkers tables with tblgen"
$(Verb) $(TableGen) -gen-clang-sa-checkers -I $(PROJ_SRC_DIR)/$(CLANG_LEVEL)/include -o $(call SYSPATH, $@) $<

View File

@@ -0,0 +1,58 @@
{ stdenv, fetchurl, perl, groff, llvm }:
assert stdenv.isLinux && stdenv.gcc.gcc != null;
let version = "2.9"; in
stdenv.mkDerivation {
name = "clang-${version}";
src = llvm.src;
buildInputs = [ perl llvm groff ];
configureFlags = [ "--enable-optimized" "--enable-shared" "--disable-static" ]
++ stdenv.lib.optionals (stdenv.gcc ? clang) [
"--with-built-clang=yes"
"CXX=clang++"
];
srcClang = fetchurl {
url = "http://llvm.org/releases/${version}/clang-${version}.tgz";
sha256 = "1pq9g7qxw761dp6gx3amx39kl9p4zhlymmn8gfmcnw9ag0zizi3h";
};
prePatch = ''
pushd tools
unpackFile $srcClang
mv clang-${version} clang
popd
find
'';
patches = [ ./clang-include-paths.patch ./clang-ld-flags.patch ./clang-tblgen.patch ./clang-system-llvm-libs.patch ];
buildFlags = [ "TableGen=tblgen" "LLVM_CONFIG=llvm-config" ];
preBuild = ''
sed -i -e 's,C_INCLUDE_PATH,"${stdenv.gcc.libc}/include/",' \
-e 's,CPP_HOST,"'$(${stdenv.gcc.gcc}/bin/gcc -dumpmachine)'",' \
-e 's,CPP_INCLUDE_PATH,"${stdenv.gcc.gcc}/include/c++/${stdenv.gcc.gcc.version}",' \
tools/clang/lib/Frontend/InitHeaderSearch.cpp
pushd utils/unittest
make
popd
cd tools/clang
'';
passthru = { gcc = stdenv.gcc.gcc; };
meta = {
homepage = http://clang.llvm.org/;
description = "A C language family frontend for LLVM";
license = "BSD";
maintainers = with stdenv.lib.maintainers; [viric shlevy];
platforms = with stdenv.lib.platforms; all;
};
}

View File

@@ -1,66 +1,30 @@
{ stdenv, fetchurl, gcc, flex, perl, libtool, groff
, buildClang ? false }:
{ stdenv, fetchurl, perl, groff, darwinSwVersUtility }:
let version = "2.9"; in
stdenv.mkDerivation {
name = "llvm-${version}";
stdenv.mkDerivation ({
name = "llvm-2.8";
src = fetchurl {
url = http://llvm.org/releases/2.8/llvm-2.8.tgz;
sha256 = "0fyl2gk2ld28isz9bq4f6r4dhqm9vljfj3pdfwlc2v0w5xsdpb95";
url = "http://llvm.org/releases/${version}/llvm-${version}.tgz";
sha256 = "0y9pgdakn3n0vf8zs6fjxjw6972nyw4rkfwwza6b8a3ll77kc4k6";
};
buildInputs = [ gcc flex perl groff ];
buildInputs = [ perl groff ] ++
stdenv.lib.optional stdenv.isDarwin darwinSwVersUtility;
configureFlags = [ "--enable-optimized" "--enable-shared" "--disable-static" ];
configureFlags = [ "--enable-optimized" "--enable-shared" "--disable-static" ]
++ stdenv.lib.optionals (stdenv.gcc ? clang) [
"--with-built-clang=yes"
"CXX=clang++"
];
meta = {
homepage = http://llvm.org/;
description = "Collection of modular and reusable compiler and toolchain technologies";
license = "BSD";
maintainers = with stdenv.lib.maintainers; [viric];
maintainers = with stdenv.lib.maintainers; [viric shlevy];
platforms = with stdenv.lib.platforms; all;
};
}
// stdenv.lib.optionalAttrs buildClang (
# I write the assert because 'gcc.libc' will be evaluated although 'triplet' would not
# evaluate properly (in the preConfigure below)
assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux";
let
triplet = if (stdenv.system == "i686-linux") then "i686-unknown-linux-gnu"
else if (stdenv.system == "x86_64-linux") then "x86_64-unknown-linux-gnu"
else throw "System not supported";
in {
name = "clang-2.8";
srcClang = fetchurl {
url = http://llvm.org/releases/2.8/clang-2.8.tgz;
sha256 = "1hg0vqmyr4wdy686l2bga0rpin41v0q9ds2k5659m8z6acali0zd";
};
prePatch = ''
pushd tools
unpackFile $srcClang
mv clang-2.8 clang
popd
find
'';
patches = [ ./clang-include-paths.patch ];
# Set up the header file paths
preConfigure = ''
sed -i -e 's,C_INCLUDE_PATH,"${gcc.libc}/include/",' \
-e 's,CPP_HOST,"${triplet}",' \
-e 's,CPP_INCLUDE_PATH,"${gcc.gcc}/include/c++/${gcc.gcc.version}",' \
tools/clang/lib/Frontend/InitHeaderSearch.cpp
'';
meta = {
homepage = http://clang.llvm.org/;
description = "A C language family frontend for LLVM";
license = "BSD";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}
))

View File

@@ -1,7 +1,7 @@
{ fetchurl, stdenv, gnum4 }:
{ fetchurl, stdenv, gnum4, texinfo, texLive, automake }:
let
version = "9.0.1";
version = "9.1";
bootstrapFromC = ! (stdenv.isi686 || stdenv.isx86_64);
in
stdenv.mkDerivation {
@@ -15,23 +15,47 @@ stdenv.mkDerivation {
if stdenv.isi686
then fetchurl {
url = "mirror://gnu/mit-scheme/stable.pkg/${version}/mit-scheme-${version}-i386.tar.gz";
sha256 = "0cfj3bawjdnpa7cbqh2f23hfpjpmryypmzkhndvdbi79a65fl0n2";
sha256 = "1vqdy9f1lbzflr9bw0gjn4g4w3hdpnjrkiwj5aaah70flif5ndns";
} else if stdenv.isx86_64
then fetchurl {
url = "mirror://gnu/mit-scheme/stable.pkg/${version}/mit-scheme-${version}-x86-64.tar.gz";
sha256 = "0p188d7n0iqdgvra6qv5apvcsv0z2p97ry7xz5216zkc364i6mmr";
sha256 = "1l4zxqm5r1alc6y1cky62rn8h6i40qyiba081n6phwypwxr5sd0g";
} else fetchurl {
url = "mirror://gnu/mit-scheme/stable.pkg/${version}/mit-scheme-c-${version}.tar.gz";
sha256 = "1g2mifrx0bvag0hlrbk81rkrlm1pbn688zw8b9d2i0sl5g2p1ril";
sha256 = "1661cybycfvjjyq92gb3n1cygxfmfjdhnh3d2ha3vy6xxk9d7za9";
};
preConfigure = "cd src";
buildPhase =
if bootstrapFromC
then "./etc/make-liarc.sh --prefix=$out"
else "make compile-microcode";
configurePhase =
'' cd src
./configure --prefix="$out"
buildInputs = [ gnum4 ];
cd ../doc
./configure --prefix="$out"
cd ..
'';
buildPhase =
'' cd src
${if bootstrapFromC
then "./etc/make-liarc.sh --prefix=$out"
else "make compile-microcode"}
cd ../doc
# Provide a `texinfo.tex'.
export TEXINPUTS="$(echo ${automake}/share/automake-*)"
echo "\$TEXINPUTS is \`$TEXINPUTS'"
make
cd ..
'';
installPhase =
'' make install -C src
make install -C doc
'';
buildNativeInputs = [ gnum4 texinfo texLive automake ];
# XXX: The `check' target doesn't exist.
doCheck = false;

View File

@@ -11,7 +11,7 @@ let version = "0.9.25"; in
sha256 = "0dfycf80x73dz67c97j1ry29wrv35393ai5ry46i1x1fzfq6rv8v";
};
buildInputs = [ perl texinfo ];
buildNativeInputs = [ perl texinfo ];
patches =
[ (fetchurl {

View File

@@ -1,4 +1,4 @@
{ fetchurl, stdenv, libtool, readline, gmp, pkgconfig, boehmgc, libunistring
{ fetchurl, stdenv, xz, libtool, readline, gmp, pkgconfig, boehmgc, libunistring
, libffi, gawk, makeWrapper, coverageAnalysis ? null }:
# Do either a coverage analysis build or a standard build.
@@ -7,13 +7,14 @@
else stdenv.mkDerivation)
rec {
name = "guile-2.0.2";
name = "guile-2.0.3";
src = fetchurl {
url = "mirror://gnu/guile/${name}.tar.gz";
sha256 = "0adiwydwb285bb7mcakfdzjgyv24lrm7pk2grgxzi66kidpm6dhx";
url = "mirror://gnu/guile/${name}.tar.xz";
sha256 = "14rhlpxxa4v5y3gl992l7lnd5qnqawx0a84idnwq0w2qviwcvsyj";
};
buildNativeInputs = [ xz ];
buildInputs =
[ makeWrapper gawk readline libtool libunistring
libffi pkgconfig

View File

@@ -3,6 +3,16 @@ compiling with `-O0' (as is done with coverage analysis) since there may
be many false references held on the stack, leading to the failure of
such tests.
--- a/test-suite/tests/gc.test
+++ b/test-suite/tests/gc.test
@@ -67,6 +67,7 @@
(with-test-prefix "gc"
(pass-if "Unused modules are removed"
+ (throw 'unresolved)
(let* ((guard (make-guardian))
(total 1000))
--- a/test-suite/tests/threads.test
+++ b/test-suite/tests/threads.test
@@ -366,6 +366,7 @@

View File

@@ -1,57 +1,31 @@
args :
let
lib = args.lib;
fetchurl = args.fetchurl;
fullDepEntry = args.fullDepEntry;
doPatchShebangs = args.doPatchShebangs;
{ stdenv, fetchurl, cmake, zlib, sqlite, gmp, libffi, cairo, ncurses,
freetype, mesa, libpng, libtiff, libjpeg, readline, libsndfile, libxml2,
freeglut, libsamplerate, pcre, libevent, libedit, yajl,
python, openssl, glfw
}:
version = lib.attrByPath ["version"] "2008.03.30" args;
buildInputs = with args; [
zlib sqlite gmp libffi cairo ncurses freetype mesa
stdenv.mkDerivation {
name = "io-2011.09.12";
src = fetchurl {
url = http://github.com/stevedekorte/io/tarball/2011.09.12;
name = "io-2011.09.12.tar.gz";
sha256 = "14nhk5vkk74pbf36jsfaxqh2ihi5d7jby79yf1ibbax319xbjk3v";
};
buildInputs = [
cmake zlib sqlite gmp libffi cairo ncurses freetype mesa
libpng libtiff libjpeg readline libsndfile libxml2
freeglut e2fsprogs libsamplerate pcre libevent libedit
freeglut libsamplerate pcre libevent libedit yajl
];
in
rec {
src = /* Here a fetchurl expression goes */
fetchurl {
url = "http://github.com/stevedekorte/io/tarball/${version}";
name = "io-${version}.tar.gz";
sha256 = "1i1hcidcf93145jj1vwwa2jvp8lb25pn2kg0cb56a059narrqxlv";
};
inherit buildInputs;
configureFlags = [];
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=release" ];
makeFlags = ["INSTALL_PREFIX=$out"];
/* doConfigure should be specified separately */
phaseNames = ["preBuild" "doMakeInstall" "postInstall" (doPatchShebangs "$out/share/io/samples")
(doPatchShebangs "$out/lib/io")];
preBuild = fullDepEntry (''
for i in $pkgs ${
if args.stdenv ? glibc then args.stdenv.glibc else ""
} ${
if args ? libffi && args.libffi != null then "$(echo ${args.libffi}/lib/*/include/..)" else ""
}; do
echo "Path: $i"
sed -i build/AddonBuilder.io -e '/"\/sw"/asearchPrefixes append("'"$i"'"); '
sed -i addons/Flux/io/Flux.io -e 's@/usr/local/@'"$out/"'@g'
done
'') ["minInit" "addInputs" "doUnpack"];
postInstall = fullDepEntry (''
ensureDir $out/share/io
ln -s $out/lib/io/addons $out/share/io
cp -r samples $out/share/io
'') ["minInit" "doUnpack" "defEnsureDir" "doMakeInstall"];
name = "io-" + version;
meta = {
description = "Io programming language";
maintainers = [lib.maintainers.raskin];
platforms = lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [
raskin
z77z
];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "ftp://ftp.ruby-lang.org/pub/ruby/1.9/${name}.tar.gz";
sha256 = "0zmxdqzprbdc5mvmba1i94mpqnqxxlh460jri7bx6i29bibigj0w";
sha256 = "0km3ryc0cs578982x6c3y3n3xr920grnpncmznb447snwd10149v";
};
# Have `configure' avoid `/usr/bin/nroff' in non-chroot builds.
@@ -44,8 +44,8 @@ stdenv.mkDerivation rec {
passthru = rec {
majorVersion = "1.9";
minorVersion = "2";
patchLevel = "290";
minorVersion = "3";
patchLevel = "0";
libPath = "lib/ruby/${majorVersion}";
gemPath = "lib/ruby/gems/${majorVersion}";
};

View File

@@ -5,13 +5,14 @@ cross :
{ name, fetchurl, stdenv, installLocales ? false
, gccCross ? null, kernelHeaders ? null
, machHeaders ? null, hurdHeaders ? null, mig ? null, fetchgit ? null
, machHeaders ? null, hurdHeaders ? null, libpthreadHeaders ? null
, mig ? null, fetchgit ? null
, profilingLibraries ? false, meta
, preConfigure ? "", ... }@args :
let
# For GNU/Hurd, see below.
version = if hurdHeaders != null then "20110623" else "2.12.2";
version = if hurdHeaders != null then "20111025" else "2.12.2";
needsPortsNative = stdenv.isMips || stdenv.isArm;
needsPortsCross = cross.arch == "mips" || cross.arch == "arm";
@@ -31,6 +32,7 @@ assert (cross != null) -> (gccCross != null);
assert (mig != null) -> (machHeaders != null);
assert (machHeaders != null) -> (hurdHeaders != null);
assert (hurdHeaders != null) -> (libpthreadHeaders != null);
assert (hurdHeaders != null) -> (fetchgit != null);
stdenv.mkDerivation ({
@@ -141,8 +143,8 @@ stdenv.mkDerivation ({
# maintained by the Hurd folks, `tschwinge/Roger_Whittaker' branch.
# See <http://www.gnu.org/software/hurd/source_repositories/glibc.html>.
url = "git://git.sv.gnu.org/hurd/glibc.git";
sha256 = "39ea53f318376cbd33e06ec23f4a393fc0801ea3aa87286b30943aa7ef7604cd";
rev = "77a94de8d3490e73a71efc0b981356d5acb7a28a";
sha256 = "3fb3dd7030a4b6d3e144fa94c32a0c4f46f17f94e2dfbc6bef41cfc3198725ca";
rev = "d740cf9d201dc9ecb0335b0a585828dea9cce793";
}
else fetchurl {
url = "mirror://gnu/glibc/glibc-${version}.tar.bz2";
@@ -198,11 +200,15 @@ stdenv.mkDerivation ({
then {
# Work around the fact that the configure snippet that looks for
# <hurd/version.h> does not honor `--with-headers=$sysheaders' and that
# glibc expects both Mach and Hurd headers to be in the same place.
CPATH = "${hurdHeaders}/include:${machHeaders}/include";
# glibc expects Mach, Hurd, and pthread headers to be in the same place.
CPATH = "${hurdHeaders}/include:${machHeaders}/include:${libpthreadHeaders}/include";
# `fetchgit' is a function and thus should not be passed to the
# `derivation' primitive.
fetchgit = null;
# Install NSS stuff in the right place.
# XXX: This will be needed for all new glibcs and isn't Hurd-specific.
makeFlags = ''vardbdir="$out/var/db"'';
}
else { }))

View File

@@ -1,8 +1,10 @@
{ stdenv, fetchurl, kernelHeaders
, machHeaders ? null, hurdHeaders ? null, mig ? null, fetchgit ? null
, machHeaders ? null, hurdHeaders ? null, libpthreadHeaders ? null
, mig ? null, fetchgit ? null
, installLocales ? true
, profilingLibraries ? false
, gccCross ? null
, debugSymbols ? false
}:
assert stdenv.gcc.gcc != null;
@@ -12,7 +14,7 @@ let
cross = if gccCross != null then gccCross.target else null;
in
build cross ({
name = "glibc";
name = "glibc${if debugSymbols then "-debug" else ""}";
inherit fetchurl stdenv kernelHeaders installLocales profilingLibraries
gccCross;
@@ -38,11 +40,23 @@ in
//
(if debugSymbols
then {
# Build with debugging symbols, but leave optimizations on and don't
# attempt to keep the build tree.
dontStrip = true;
dontCrossStrip = true;
NIX_STRIP_DEBUG = 0;
}
else {})
//
(if hurdHeaders != null
then rec {
inherit machHeaders hurdHeaders mig fetchgit;
inherit machHeaders hurdHeaders libpthreadHeaders mig fetchgit;
propagatedBuildInputs = [ machHeaders hurdHeaders ];
propagatedBuildInputs = [ machHeaders hurdHeaders libpthreadHeaders ];
passthru = {
# When building GCC itself `propagatedBuildInputs' above is not

View File

@@ -40,7 +40,7 @@ in
installPhase =
''
ensureDir "$out/lib/locale"
cp -v "$TMPDIR/nix/store/"*"/lib/locale/locale-archive" "$out/lib/locale"
cp -v "$TMPDIR/$NIX_STORE/"*"/lib/locale/locale-archive" "$out/lib/locale"
'';
meta.description = "Locale information for the GNU C Library";

View File

@@ -1,15 +1,15 @@
{ fetchurl, stdenv, xz, zlib, lzo, libtasn1, nettle
, guileBindings, guile }:
, guileBindings, guile, perl }:
assert guileBindings -> guile != null;
stdenv.mkDerivation rec {
name = "gnutls-3.0.2";
name = "gnutls-3.0.4";
src = fetchurl {
url = "mirror://gnu/gnutls/${name}.tar.xz";
sha256 = "0jy0j77inv6yr7s9mnhs5kvjjmhj0ifg35145s1qn3hd9ma36nii";
sha256 = "16mhr52c07xlkv5m5bxgr51ppjz0gqjw6rgv52ql4iyi569ffrx3";
};
configurePhase = ''
@@ -22,9 +22,11 @@ stdenv.mkDerivation rec {
else ""}
'';
buildInputs = [ xz zlib lzo ]
buildInputs = [ zlib lzo ]
++ stdenv.lib.optional guileBindings guile;
buildNativeInputs = [ xz perl ];
propagatedBuildInputs = [ nettle libtasn1 ];
doCheck = true;

View File

@@ -2,11 +2,12 @@
cabal.mkDerivation (self: {
pname = "ConfigFile";
version = "1.0.6";
sha256 = "339722184b86d53d8b361933e572b6e1478824c7eba3fb66b67d0eb5245cd038";
version = "1.1.1";
sha256 = "0w2yhbnqldhmj3d98j720l4lj4d08abqcff751p2slszdm5pw1jm";
isLibrary = true;
isExecutable = true;
buildDepends = [ MissingH mtl parsec ];
noHaddock = true;
meta = {
homepage = "http://software.complete.org/configfile";
description = "Configuration file reading & writing";

View File

@@ -2,12 +2,12 @@
cabal.mkDerivation (self: {
pname = "GLURaw";
version = "1.1.0.0";
sha256 = "03lsskqxh2q7kbnw8hbxz5wp7zq55nwbibsb9maj4y3xpc1vprac";
version = "1.1.0.1";
sha256 = "0n2yazdk98ia9j65n4ac7k0lnyp9cmz51d344x0jsi0xyfckm0mq";
buildDepends = [ OpenGLRaw ];
extraLibraries = [ freeglut mesa ];
meta = {
homepage = "http://www.haskell.org/HOpenGL/";
homepage = "http://www.haskell.org/haskellwiki/Opengl";
description = "A raw binding for the OpenGL graphics system";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;

View File

@@ -4,12 +4,12 @@
cabal.mkDerivation (self: {
pname = "GLUT";
version = "2.2.2.0";
sha256 = "0hilpjwkjvpz4sz0zqa36vmx8m1yycjnqdd721mqns7lib2fnzrx";
version = "2.2.2.1";
sha256 = "09qpkrwpc3w173mvqwda7vi0ncpzzzrnlfa14ja7jba489a8l1mw";
buildDepends = [ OpenGL StateVar Tensor ];
extraLibraries = [ freeglut libICE libSM libXi libXmu mesa ];
meta = {
homepage = "http://www.haskell.org/HOpenGL/";
homepage = "http://www.haskell.org/haskellwiki/Opengl";
description = "A binding for the OpenGL Utility Toolkit";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;

View File

@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "Hipmunk";
version = "5.2.0.3";
sha256 = "1as00372hz0ngy6pc5l0w7qgw5flcyag07zk3dxkbj5kv24xk49m";
version = "5.2.0.5";
sha256 = "0zmc1bddpvjg11r5931hfx6va73jk1f3nb8nb1qfh86a4addp9id";
buildDepends = [ StateVar transformers ];
noHaddock = true;
meta = {

View File

@@ -2,12 +2,12 @@
cabal.mkDerivation (self: {
pname = "MonadCatchIO-transformers";
version = "0.2.2.2";
sha256 = "083c0abwja447j0p8q0j15iv7bshchy83rfqw07b2hfy38467h9g";
version = "0.2.2.3";
sha256 = "1qwy9rrmf3kl7rb7v46n81xmrwy4xl63lfnlsiz1qc0hybjkl7m6";
buildDepends = [ extensibleExceptions transformers ];
meta = {
description = "Monad-transformer compatible version of the Control.Exception module";
license = self.stdenv.lib.licenses.publicDomain;
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres

View File

@@ -0,0 +1,19 @@
{ cabal, ListLike, uuParsinglib }:
cabal.mkDerivation (self: {
pname = "NanoProlog";
version = "0.2.3.3";
sha256 = "0008xpahqbs2djchlw1bslhqqhbc0n7ql7pqm4g7lh8xd3ampxba";
isLibrary = true;
isExecutable = true;
buildDepends = [ ListLike uuParsinglib ];
meta = {
description = "Very small interpreter for a Prolog-like language";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})

View File

@@ -4,12 +4,12 @@
cabal.mkDerivation (self: {
pname = "OpenGL";
version = "2.4.0.1";
sha256 = "0xdclf0m7qxp4157053cbsybpy7fqiiiak0g2kyf8awr7a5736n5";
version = "2.4.0.2";
sha256 = "00rjvm02p6h8vbyxi3ri4jkk75ki414wk5al2z2fsszjfpdl93b6";
buildDepends = [ GLURaw ObjectName OpenGLRaw StateVar Tensor ];
extraLibraries = [ libX11 mesa ];
meta = {
homepage = "http://www.haskell.org/HOpenGL/";
homepage = "http://www.haskell.org/haskellwiki/Opengl";
description = "A binding for the OpenGL graphics system";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;

View File

@@ -2,11 +2,11 @@
cabal.mkDerivation (self: {
pname = "OpenGLRaw";
version = "1.1.0.1";
sha256 = "0v6zcy4xvjj5g137rwjsh6hs0ni9dfkvsqynxv4bl5s78amppqnf";
version = "1.1.0.2";
sha256 = "0d1rjh2vq0w1pzf3vz0mw6p0w43h3sf6034qsi89m4jkx3125fwf";
extraLibraries = [ mesa ];
meta = {
homepage = "http://www.haskell.org/HOpenGL/";
homepage = "http://www.haskell.org/haskellwiki/Opengl";
description = "A raw binding for the OpenGL graphics system";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;

View File

@@ -0,0 +1,18 @@
{ cabal, mtl, parsec, syb }:
cabal.mkDerivation (self: {
pname = "WebBits";
version = "2.1";
sha256 = "18m19fck9zb6jh8bfd47nja1q6ab1jmd0q5r3k8m5674i6273hyn";
buildDepends = [ mtl parsec syb ];
meta = {
homepage = "http://www.cs.brown.edu/research/plt/";
description = "JavaScript analysis tools";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})

View File

@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "asn1-data";
version = "0.6.0";
sha256 = "0gk34x2frkk2s7d0i7ahwnjv9jcqdgx2sd1kp3d854548k171z3f";
version = "0.6.1";
sha256 = "1kj1h1z4ix8kdxq5838xk70sgz9rq0vdii5nli1rcycx3y2ipi84";
isLibrary = true;
isExecutable = true;
buildDepends = [

View File

@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "base-unicode-symbols";
version = "0.2.2.1";
sha256 = "095x4mlkn7i9byg6kdp2f7z0x7sizmy4lgsi0rsabazyd3d8rr9l";
version = "0.2.2.2";
sha256 = "13bn580r3wk7g5bq8ry04i2lvrcf576wjzlr0imli8rklkx8k3b8";
meta = {
homepage = "http://haskell.org/haskellwiki/Unicode-symbols";
description = "Unicode alternatives for common functions and operators";

View File

@@ -0,0 +1,17 @@
{ cabal }:
cabal.mkDerivation (self: {
pname = "base16-bytestring";
version = "0.1.1.2";
sha256 = "1isxyl52vh0lg195wq9nkr3hlmbw3d3c9aymxlz8hynz0hh1q1z0";
meta = {
homepage = "http://github.com/mailrank/base16-bytestring";
description = "Fast base16 (hex) encoding and deconding for ByteStrings";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})

View File

@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "blaze-builder-enumerator";
version = "0.2.0.2";
sha256 = "0as4mjh695jpxp9qfhpsxyr1448l0pk94sh5kk8sgxv5hfiy41k9";
version = "0.2.0.3";
sha256 = "00a9rly27sh49gi5askg7z3ji8ig9llxk4qcznsag01d1z0kb97n";
buildDepends = [ blazeBuilder enumerator transformers ];
meta = {
homepage = "https://github.com/meiersi/blaze-builder-enumerator";

View File

@@ -2,11 +2,12 @@
cabal.mkDerivation (self: {
pname = "blaze-html";
version = "0.4.2.0";
sha256 = "098y9mzq6jr73lavv7ky58bl3aajvdg72y12varpf3v3rr4l0lb2";
version = "0.4.2.1";
sha256 = "0hm2jnz9n68njdrrq73a558qxl2jwcvxmy62mvf2v9q96wyp07yj";
buildDepends = [ blazeBuilder text ];
meta = {
homepage = "http://jaspervdj.be/blaze";
description = "A blazingly fast HTML combinator library for Haskell";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [

View File

@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "bytestring-nums";
version = "0.3.3";
sha256 = "09gdbyj5qw98j57cs9phzsbmvdm7y6j07wg908i34jklwm24nxfd";
version = "0.3.5";
sha256 = "12knbyrvr1wa7za8bwypvq3cp81k18qi032dl98s2ylhcz1r6rdk";
isLibrary = true;
isExecutable = true;
meta = {

View File

@@ -0,0 +1,17 @@
{ cabal }:
cabal.mkDerivation (self: {
pname = "cabal-file-th";
version = "0.2.1";
sha256 = "0nczwicgf6kx3lk5m7wqf1wj6ghn8jfx112dzh7jh4f4xs66nsd1";
meta = {
homepage = "http://github.com/nkpart/cabal-file-th";
description = "Template Haskell expressions for reading fields from a project's cabal file";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})

View File

@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "cereal";
version = "0.3.3.0";
sha256 = "0bqd5qfvbz77mq0zxgafj011hrxcanrfzvlwhf4j4dzr6yryk53y";
version = "0.3.4.0";
sha256 = "019fc094w2ica9ims83jacy2digbygaww5wb73xyrj3vgjw774xq";
meta = {
description = "A binary serialization library";
license = self.stdenv.lib.licenses.bsd3;

View File

@@ -1,12 +1,15 @@
{ cabal, asn1Data, base64Bytestring, mtl, time }:
{ cabal, asn1Data, base64Bytestring, cryptoPubkeyTypes, mtl, time
}:
cabal.mkDerivation (self: {
pname = "certificate";
version = "0.9.3";
sha256 = "1gg26d1arf588zjhdzs8r26k40v6m679l8k2vw28l8j3q5m11p71";
version = "1.0.0";
sha256 = "1i4s1yvl765cfj7ya5rsvzqnijf307zh4i4pzcgncmr37mlkfjz2";
isLibrary = true;
isExecutable = true;
buildDepends = [ asn1Data base64Bytestring mtl time ];
buildDepends = [
asn1Data base64Bytestring cryptoPubkeyTypes mtl time
];
meta = {
homepage = "http://github.com/vincenthz/hs-certificate";
description = "Certificates and Key Reader/Writer";

View File

@@ -3,8 +3,8 @@
cabal.mkDerivation (self: {
pname = "clientsession";
version = "0.7.3.1";
sha256 = "0q16brla4m5g7dmgln3awx964ms7pi1s2r21idmc0mk4rnw2rpi7";
version = "0.7.3.3";
sha256 = "0cfj225hzn8fsffwnq5zq55dh9m5av1i58b4njhna7miiz6b4jsq";
buildDepends = [
base64Bytestring cereal cryptoApi cryptocipher skein
];

View File

@@ -1,10 +1,10 @@
{ cabal, cereal, cryptoApi, cryptocipher, random }:
{ cabal, cereal, cryptoApi, cryptocipher, entropy, random }:
cabal.mkDerivation (self: {
pname = "cprng-aes";
version = "0.2.1";
sha256 = "0q6qkvha7cckz3zjnzfsrx298arzbdavy1f73hygrd8f7n74442j";
buildDepends = [ cereal cryptoApi cryptocipher random ];
version = "0.2.3";
sha256 = "1xyphzb3afvw7kpgq3b0c86b45rp5a8s870gag1lp7h686lhfnn3";
buildDepends = [ cereal cryptoApi cryptocipher entropy random ];
meta = {
homepage = "http://github.com/vincenthz/hs-cprng-aes";
description = "Crypto Pseudo Random Number Generator using AES in counter mode";

View File

@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "crypto-api";
version = "0.6.4";
sha256 = "1v3nnfw13r514a723lsx8d1awlad6fmv27bgp76f1ssv1garraf3";
version = "0.8";
sha256 = "1fwkafb9v2348vr1a4xnlmkgs4kh85az4f3wnrl9cbqwxf3cc328";
buildDepends = [ cereal entropy largeword tagged ];
meta = {
homepage = "http://trac.haskell.org/crypto-api/wiki";

View File

@@ -0,0 +1,18 @@
{ cabal, cryptoApi }:
cabal.mkDerivation (self: {
pname = "crypto-pubkey-types";
version = "0.1.0";
sha256 = "1ib5bqxydvv37l53wl6b4j6m6y904rsiamhh144lm6rmqiym26f5";
buildDepends = [ cryptoApi ];
meta = {
homepage = "http://github.com/vincenthz/hs-crypto-pubkey-types";
description = "Generic cryptography Public keys algorithm types";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})

View File

@@ -1,12 +1,16 @@
{ cabal, cereal, cryptoApi, primitive, tagged, vector }:
{ cabal, cereal, cryptoApi, cryptoPubkeyTypes, primitive, tagged
, vector
}:
cabal.mkDerivation (self: {
pname = "cryptocipher";
version = "0.2.14";
sha256 = "1r91d9sqc53c628z378fyah7vvmkakvxpwbslam0yhfgp2p0l23z";
version = "0.3.0";
sha256 = "17jbzssdbprspadz5ynyam60l5iw7s809irklfg1ii89x26mlyix";
isLibrary = true;
isExecutable = true;
buildDepends = [ cereal cryptoApi primitive tagged vector ];
buildDepends = [
cereal cryptoApi cryptoPubkeyTypes primitive tagged vector
];
meta = {
homepage = "http://github.com/vincenthz/hs-cryptocipher";
description = "Symmetrical Block, Stream and PubKey Ciphers";

View File

@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "cryptohash";
version = "0.7.3";
sha256 = "1wjmf7ll9jady6p79066b5ib70ywvbgnbc71s76pibkg5hsvclgj";
version = "0.7.4";
sha256 = "1nplmwihq40jmng4r3wiyfb0i33a8wx2gmlbqajc62wny98l7sab";
isLibrary = true;
isExecutable = true;
buildDepends = [ cereal cryptoApi tagged ];

View File

@@ -0,0 +1,17 @@
{ cabal, curl }:
cabal.mkDerivation (self: {
pname = "curl";
version = "1.3.7";
sha256 = "0i6d7732p5gn1bcvavbxcg4wd18j425mi1yjg0b29zzz3yl0qhgi";
extraLibraries = [ curl ];
meta = {
description = "Haskell binding to libcurl";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})

View File

@@ -0,0 +1,18 @@
{ cabal, curl, feed, tagsoup, xml }:
cabal.mkDerivation (self: {
pname = "download-curl";
version = "0.1.3";
sha256 = "17g5dnw4yxi4kf5x71bkk4wx1zl8yjs5dd34k6dgnw9wgkz97qw1";
buildDepends = [ curl feed tagsoup xml ];
meta = {
homepage = "http://code.haskell.org/~dons/code/download-curl";
description = "High-level file download based on URLs";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})

View File

@@ -0,0 +1,18 @@
{ cabal, feed, tagsoup, xml }:
cabal.mkDerivation (self: {
pname = "download";
version = "0.3.2";
sha256 = "0nhbfq8q9ckc5fnlg54l361p2jhkag9cz11v07kj9f1kwkm4d7w3";
buildDepends = [ feed tagsoup xml ];
meta = {
homepage = "http://code.haskell.org/~dons/code/download";
description = "High-level file download based on URLs";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})

View File

@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "enumerator";
version = "0.4.14";
sha256 = "06bvrr76y12r3i1xi1s98fc1v6mcmn8nzhbp80wgyi743ksqcr1d";
version = "0.4.15";
sha256 = "06yzf2xaadmdhgidzyp7qywd8d401f4n1qlfyx0q72nafgnlvr6v";
buildDepends = [ text transformers ];
meta = {
homepage = "https://john-millikin.com/software/enumerator/";

View File

@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "gamma";
version = "0.7.0.1";
sha256 = "0728b5mrzmj9hkaqvikl45jyi2p9hnkl2p6l9yv7wnw557yb0gb2";
version = "0.9.0.1";
sha256 = "02s9m2vlrnfg26c7921x60xxmawzzk27y3czcnvs8hlk01mb1xv7";
buildDepends = [ continuedFractions converge vector ];
meta = {
homepage = "https://github.com/mokus0/gamma";

View File

@@ -2,11 +2,11 @@
cabal.mkDerivation (self: {
pname = "ghc-mtl";
version = "1.0.1.0";
sha256 = "5284e0ecf99511e6263503412faf6fa809dc577c009fde63203d46405eb1b191";
version = "1.0.1.1";
sha256 = "04lm1g27xwwph02k3d8b51nbhi2sw8jx7arqczcqc3rygak10fpn";
buildDepends = [ MonadCatchIOMtl mtl ];
meta = {
homepage = "http://code.haskell.org/~jcpetruzza/ghc-mtl";
homepage = "http://darcsden.com/jcpetruzza/ghc-mtl";
description = "An mtl compatible version of the Ghc-Api monads and monad-transformers";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;

View File

@@ -1,10 +1,10 @@
{ cabal, GLUT, OpenGL }:
{ cabal, bmp, GLUT, OpenGL }:
cabal.mkDerivation (self: {
pname = "gloss";
version = "1.3.4.1";
sha256 = "0cyk75b495vq59pnfqy6ny5kb0i0zq2hwfb1q69vj0cfyiqiwjsb";
buildDepends = [ GLUT OpenGL ];
version = "1.5.0.2";
sha256 = "01fd5yl5wdw09xqslmx8h563k2v8dglc60902kia8b5h62xjr1w6";
buildDepends = [ bmp GLUT OpenGL ];
meta = {
homepage = "http://gloss.ouroborus.net";
description = "Painless 2D vector graphics, animations and simulations";

View File

@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "hakyll";
version = "3.2.0.9";
sha256 = "1gb10bvzlm8qn6ap7cxykscbhbs2jsfqgsw53r8vd8k5bfgm5jv6";
version = "3.2.0.10";
sha256 = "1hdivw1smfkxza5jl8gm84gnzb5a9sgc2lcas3hikv968p9c1yry";
buildDepends = [
binary blazeHtml cryptohash hamlet mtl pandoc parsec regexBase
regexPcre snapCore snapServer tagsoup time

View File

@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "hamlet";
version = "0.10.3";
sha256 = "1xkk8hcmfnn9y14fsrab3cv8xknhf8j6hkv668yshg8bjzz1smva";
version = "0.10.4";
sha256 = "10ik9rbj9srb1f7vavs5siidyybzbr4fpy3akv90qldd2xyifhxa";
buildDepends = [
blazeBuilder blazeHtml failure parsec shakespeare text
];

View File

@@ -5,8 +5,8 @@
cabal.mkDerivation (self: {
pname = "happstack-server";
version = "6.2.4";
sha256 = "0lhyjaxw1qkh1pi0v14j7ya2ljrfizmxwahrhqk3sasnf2mrqycp";
version = "6.2.5";
sha256 = "196s8i3v55i10nkapkvzyw048flshw8mlm604548f0qjciynfjmg";
isLibrary = true;
isExecutable = true;
buildDepends = [

View File

@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "hashable";
version = "1.1.2.1";
sha256 = "1kmx3jr9cmkbapd7gywx7zvyd22nyz2mgs8lnzspp5hi7crx3wcx";
version = "1.1.2.2";
sha256 = "0gfg1cyd468czfv5xfhn7rz0r5s0v378c4xjlm6kkw7n10n2zg8y";
buildDepends = [ text ];
meta = {
homepage = "http://github.com/tibbe/hashable";

View File

@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "haskeline";
version = "0.6.4.3";
sha256 = "1dlrsazprvn6xcd12k5ln536rv9sljjccrjgpq6jj6b9ziadwiwr";
version = "0.6.4.5";
sha256 = "1blhbh53p6di3q3gldzmg3i8f4w3ahipai3di49i4rdcnjry0j5b";
buildDepends = [ extensibleExceptions mtl terminfo utf8String ];
meta = {
homepage = "http://trac.haskell.org/haskeline";

View File

@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "haskell-src-meta";
version = "0.5";
sha256 = "0403j2ks2as61rfl049v4h43xpgx06bm739y80vada6jc85rfinr";
version = "0.5.0.2";
sha256 = "059zvr91bnajql19c76vwivvy6sbca83ky8ja91bf8xv1p3jfz3w";
buildDepends = [ haskellSrcExts syb thLift ];
meta = {
description = "Parse source to template-haskell abstract syntax";

View File

@@ -4,14 +4,14 @@
cabal.mkDerivation (self: {
pname = "hint";
version = "0.3.3.2";
sha256 = "1qm74hjz8cxypvavcw7s094zg9ic3r1ll2lj3y159ipc79cw2sn1";
version = "0.3.3.3";
sha256 = "0i7d7c2786c13npbb5np3gaidsq4kkajvm3fn2gx8djrhhlrqw5l";
buildDepends = [
extensibleExceptions ghcMtl ghcPaths haskellSrc MonadCatchIOMtl mtl
random utf8String
];
meta = {
homepage = "http://projects.haskell.org/hint";
homepage = "http://darcsden.com/jcpetruzza/hint";
description = "Runtime Haskell interpreter (GHC API wrapper)";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;

View File

@@ -1,19 +1,19 @@
{ cabal, aesonNative, blazeHtml, clientsession, cmdargs, dataObject
, dataObjectYaml, failure, fileEmbed, hamlet, hledger, hledgerLib
, HUnit, ioStorage, parsec, regexpr, safe, shakespeareCss
, shakespeareJs, shakespeareText, text, time, transformers, wai
, waiExtra, warp, yesod, yesodCore, yesodForm, yesodJson
, yesodStatic
{ cabal, aesonNative, blazeHtml, cabalFileTh, clientsession
, cmdargs, dataObject, dataObjectYaml, failure, fileEmbed, hamlet
, hledger, hledgerLib, HUnit, ioStorage, parsec, regexpr, safe
, shakespeareCss, shakespeareJs, shakespeareText, text, time
, transformers, wai, waiExtra, warp, yesod, yesodCore, yesodForm
, yesodJson, yesodStatic
}:
cabal.mkDerivation (self: {
pname = "hledger-web";
version = "0.16.3";
sha256 = "0jciah0k6i4aa21hgpl1nqfyjkmm5kg5zmzmxwynvwckncy17ihg";
version = "0.16.5";
sha256 = "0gqhmyl62jkz156gypzxwj46xrh5as3wrvkwrg04wfmpqrac5n06";
isLibrary = true;
isExecutable = true;
buildDepends = [
aesonNative blazeHtml clientsession cmdargs dataObject
aesonNative blazeHtml cabalFileTh clientsession cmdargs dataObject
dataObjectYaml failure fileEmbed hamlet hledger hledgerLib HUnit
ioStorage parsec regexpr safe shakespeareCss shakespeareJs
shakespeareText text time transformers wai waiExtra warp yesod

View File

@@ -10,6 +10,7 @@ cabal.mkDerivation (self: {
binary HUnit QuickCheck random storableComplex vector
];
extraLibraries = [ blas gsl liblapack ];
configureFlags = "-fvector";
meta = {
homepage = "http://perception.inf.um.es/hmatrix";
description = "Linear algebra and numerical computation";

View File

@@ -1,10 +1,10 @@
{ cabal, bytestringTrie, network, time }:
{ cabal, attoparsec, network, time }:
cabal.mkDerivation (self: {
pname = "hp2any-core";
version = "0.10.1";
sha256 = "1qblsvlj4x22ml3k5mlr28r5xk9rmi7lpipd369dbvdzm0rflf03";
buildDepends = [ bytestringTrie network time ];
version = "0.11.1";
sha256 = "146bigmch7dawyyakj0w55p0jdpnxkj8q5izjsswqqk0pdxia546";
buildDepends = [ attoparsec network time ];
meta = {
homepage = "http://www.haskell.org/haskellwiki/Hp2any";
description = "Heap profiling helper library";

View File

@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "http-date";
version = "0.0.0";
sha256 = "0jia05636xk9k70hqjjiny5298pkb8g7mck7zybfwvigi1fppa46";
version = "0.0.1";
sha256 = "1dqnglz1l6h14339nd5q8sq90fak64ab8fs9fkhf8ipg5y0pzwbd";
buildDepends = [ attoparsec ];
meta = {
description = "HTTP Date parser/formatter";

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