Commit Graph
100 Commits
Author SHA1 Message Date
Russell O'Connor 8df0bb7aac duplicity: add dependency on rsync
When using the rsync:// protocol, duplicity expects to find the rsync binary in the path.
Without rsync in the path, duplicity fails with the following error

    Attempt 1 failed. AttributeError: 'NoneType' object has no attribute 'rfind'

Adding rsync to the path enables the rsync:// protocol to work correctly.
2016-09-09 18:37:25 +02:00
roconnor f5c6b160c9 trezor-agent: 0.6.1 -> 0.6.5 (#18163)
cc @np
2016-08-31 17:01:43 +00:00
roconnor 811e1b01e5 Merge pull request #11140 from roconnor/master
coq: 8.5b2 -> 8.5b3
2015-11-19 00:14:32 -05:00
roconnor 0caedf7525 Merge pull request #10248 from Havvy/node
nodejs: 4.1.0 -> 4.1.2
2015-10-07 23:05:32 -04:00
roconnor 22838a8f99 Merge pull request #9765 from roconnor/master
Add csdp support for Micromega tactics in Coq.
2015-09-11 00:19:08 -04:00
roconnor 1be2b63d27 Merge pull request #9387 from doshitan/update-tarsnap
tarsnap: 1.0.35 -> 1.0.36.1 and use upstream bash completion scripts
2015-08-22 12:26:58 -04:00
Russell O'Connor 3feac4fd86 Merge branch 'master' of github.com:NixOS/nixpkgs 2015-02-05 15:21:54 -05:00
roconnor 6b2ecc5b39 Merge pull request #4313 from NixOS/fastReplaceDeps
Exponentially reduce computation time needed for replace-dependency by u...
2014-09-28 21:19:55 -04:00
Russell O'Connor 94c6af494a Exponentially reduce computation time needed for replace-dependency by using memoization.
This patch makes two changes.

(1) It memoizes the computation of dependsOnOld.
(2) It replaces rewrittenDerivations with a similar memoized table rewriteMemo.

This prevents the entire tree of run-time dependencies from being traversed and instead only traverses the graph of run-time dependencies.
In the case of deep dependency changes (such as changing one's bash version for an entire NixOS system) this can lead to an exponential speedup in processing time
because shared dependencies are no longer traversed multiple times.

This patch isn't quite derivation-per-derivation equivalent to the original computation.
There are two immaterial differences.

(1) The previous version would always call upon sed to replace oldDependency with newDependency even when the store object being updated doesn't directly depend on
oldDependency.
The new version only replaceds oldDependency with newDependency when the store object being updated actually directly depends on oldDependency (which means there is
actually a hash to replace).
(2) The previous version would list the old store object as a source input of the new store object, *except* for the root derivation being updated.  Because the
root derivation being updated has its actual derivation avaiable the previous verions would make the updated root derivation depend on the old derivation as a
derivation input instead of a source input.
The new version always lists the old store object as a source input, including the root derivation.
2014-09-28 09:39:39 -04:00
roconnor bbd58db13a Merge pull request #4133 from vbgl/coq-8-3
Fixes coq-8.3: requires OCaml 3.12 and lablgtk 2.14
2014-09-20 16:24:10 -04:00
roconnor cbf79969b3 Merge pull request #4120 from NixOS/gnupg
Add pinentry optional dependency for gnupg.

Delete gnupg2_1.
2014-09-19 23:44:53 -04:00
Russell O'Connor 88b7d32bee Comment on optional dependencies for Gnupg. 2014-09-18 14:55:49 -04:00
Russell O'Connor 2b4e35bfd3 Remove unmaintained gnupg2_1. 2014-09-18 14:46:54 -04:00
Russell O'Connor 86204e322f Add roconnor to GnuPG maintainers. 2014-09-17 19:16:09 -04:00
Russell O'Connor 2faad96991 Consistently use the package name opensans-ttf everywhere. 2014-07-16 16:22:47 -04:00
Russell O'Connor c4affbb17c Package for Open Sans fonts. 2014-07-15 13:35:22 -04:00
Russell O'Connor 5bbcebf2db Bump coq version to 8.4pl4. 2014-05-12 22:17:00 -04:00
Russell O'Connor 46ccebe413 Allow for later binding in ghcPrefs
Now that both self and super are available to prefFun, we can use self, where appropriate to access late bound versions of most
packages.

When extensions are not used, there is no difference between self and super.
2014-05-08 22:01:36 -04:00
Russell O'Connor d4bd4650d6 Rework the knot-tying code for defining Haskell packages.
The existing knot-tying code I felt was a bit incoherent with result, finalReturn, self, refering to different various forms of the "haskellPackages" value and often
different forms in the same place.

This commit instills some object-oriented discipline to the construction of hasekllPackages using a small number of fundamental OO concepts:

* An class is a open recursive function of the form (self : fooBody) where fooBody is a set.
* An instance of a class is the fixed point of the class.
  This value is sometimes refered to as an object and the values in the resulting set are sometimes refered to as methods.
* A class, foo = self : fooBody, can be extended by an extension which is a function bar = (self : super : barBody) where barBody a set of overrides for fooBody.
  The result of a class extension is a new class whose value is self : foo self // bar self (foo self).
  The super parameter gives access to the original methods that barBody may be overriding.

This commit turns the haskell-packages value into a "class".

The knot-tying, a.k.a the object instanitation, is moved into haskells-defaults.  The "finalReturn" is no longer needed and is eliminated from the body of
haskell-packages. All the work done by prefFun is moved to haskell-defaults, so that parameter is eliminated form haskell-packages.  Notice that the old prefFun took
two pameters named "self" and "super", but both parameters got passed the same value "result".  There seems to have been some confusion in the old code.

Inside haskell-defaults, the haskell-packages class is extended twice before instantiation.  The first extension is done using prefFun argument.
The second extension is done the extension argument, which is a renamed version of extraPrefs.

This two stage approach means that extension's super gets access to the post "perfFun" object while previously the extraPrefs only had access to the pre "prefFun"
object.  Also the extension function has access to both the super (post "perfFun") object and to self, the final object.  With extraPrefs, one needed to use the
"finalReturn" of the haskell packages to get access to the final object.  Due to significant changes in semantics, I thought it best to replace extraPrefs with
extension so that people using extraPrefs know to update thier cod.

Lastly, all the Prefs functions have renamed the "self" parameter to "super".  This is because "self" was never actually a self-reference in the object oriented sense
of the word.  For example

    Cabal_1_18_1_3 = self.Cabal_1_18_1_3.override { deepseq = self.deepseq_1_3_0_2; };

doesn't actually make sense from an object oriented standpoint because, barring further method overriding, the value of Cabal_1_18_1_3 would be trying to override it's
own value which simply causes a loop exception.  Thankfully all these uses of self were really uses of super:

    Cabal_1_18_1_3 = super.Cabal_1_18_1_3.override { deepseq = super.deepseq_1_3_0_2; };

In this notation the overriden Cabal_1_18_1_3 method calls the Cabal_1_18_1_3 of the super-class, which is a well-founded notion.

Below is an example use of using "extension" parameter

{
  packageOverrides = pkgs : {
    testHaskellPackages = pkgs.haskellPackages.override {
      extension = self : super : {
        transformers_0_4_1_0 = self.cabal.mkDerivation (pkgs: {
        pname = "transformers";
        version = "0.4.1.0";
        sha256 = "0jlnz86f87jndv4sifg1zpv5b2g2cxy1x2575x727az6vyaarwwg";
        meta = {
          description = "Concrete functor and monad transformers";
          license = pkgs.stdenv.lib.licenses.bsd3;
          platforms = pkgs.ghc.meta.platforms;
          maintainers = [ pkgs.stdenv.lib.maintainers.andres ];
        };
       });

      transformers = self.transformers_0_4_1_0;

      lensFamilyCore = super.lensFamilyCore.override { transformers = self.transformers_0_3_0_0; };
     };
   };
 };
}

Notice the use of self in the body of the override of the transformers method which references the newly defined transformers_0_4_1_0 method.

With the previous code, one would have to instead akwardly write

      transformers = super.finalReturn.transformers_0_4_1_0;

or use a rec clause, which would prevent futher overriding of transformers_0_4_1_0.
2014-05-08 12:01:45 -04:00
Russell O'Connor 0990730038 Merge branch 'master' of github.com:NixOS/nixpkgs 2013-07-25 06:50:31 -04:00
Russell O'Connor 4e723ca537 Update tarsnap to version 1.0.35 2013-07-25 06:49:25 -04:00
Russell O'Connor 9fe9527f57 Merge branch 'master' of github.com:NixOS/nixpkgs 2013-07-14 23:43:00 -04:00
Russell O'Connor 3538f7c549 Update download link for ssreflect. 2013-07-14 23:41:55 -04:00
Russell O'Connor 8e9f501fd7 Update tarsnap to version 1.0.34. 2013-07-14 23:38:20 -04:00
Russell O'Connor 74d7c12e3a Merge branch 'master' of github.com:NixOS/nixpkgs 2013-06-14 12:18:27 -04:00
Russell O'Connor c9f5959285 Update Coq to version 8.4pl2. 2013-06-14 12:16:52 -04:00
roconnor aa1289dd91 Merge pull request #159 from NixOS/nginx-fullWebDAV
Add options for user and group to run nginx as.
2013-05-12 15:32:59 -07:00
Russell O'Connor 9c62645273 Add braces to fix compilation errors.
I don't understand how Apache gets away without them.
2013-05-06 11:11:04 -04:00
Russell O'Connor 76b7dea805 Make nginx uid and gid optional. 2013-05-06 10:49:23 -04:00
Russell O'Connor 7c8c1dade5 Add options for user and group to run nginx as.
Add option to compile in full WebDAV support.
2013-05-05 15:44:06 -04:00
Russell O'Connor 9808445598 Add optional third party support for fullWebDAV.
This follows the directions fom http://wiki.nginx.org/HttpDavModule.
2013-05-05 15:19:03 -04:00
Russell O'Connor 006af75c17 Merge branch 'master' of github.com:NixOS/nixpkgs 2012-10-21 03:04:22 +02:00
Russell O'Connor f5c346d556 Add tarsnap package. 2012-10-21 03:03:13 +02:00
Russell O'Connor 048ef1659f Merge branch 'master' of github.com:NixOS/nixpkgs 2012-09-10 23:50:17 +02:00
Russell O'Connor 46d9146d64 Update SSReflect to version 1.4 2012-09-10 23:15:54 +02:00
Russell O'Connor b881bee48b Merge branch 'master' of https://github.com/NixOS/nixpkgs 2012-09-04 12:39:56 -04:00
Russell O'Connor 314af2262c 2030 Images – for Intel Centrino Wireless-N 2230 2012-09-04 12:39:40 -04:00
Russell O'Connor 525b8015e7 Fixing configure patch for coq 8.3. 2012-08-19 01:11:11 -04:00
Russell O'Connor eafd2008f1 Correcting filename. 2012-08-19 01:06:15 -04:00
Russell O'Connor fdb659906a Merge branch 'master' of https://github.com/NixOS/nixpkgs 2012-08-19 01:05:17 -04:00
Russell O'Connor 706cbc9318 Update coq to 8.4 2012-08-19 01:01:30 -04:00
Russell O'Connor dace27b4c4 Revert accidentaly patch of ssreflect.
svn path=/nixpkgs/trunk/; revision=34264
2012-05-28 20:57:54 +00:00
Russell O'Connor 417a07a0e9 Updatings ssreflect to depend on camlp5 version 6.
svn path=/nixpkgs/trunk/; revision=34263
2012-05-28 20:53:17 +00:00
Russell O'Connor f02a71103a add support to make building coqide optional.
svn path=/nixpkgs/trunk/; revision=34262
2012-05-28 19:45:14 +00:00
Russell O'Connor 390907e0a2 Update coq to use camlp5 version 6.
svn path=/nixpkgs/trunk/; revision=34261
2012-05-28 19:41:26 +00:00
Russell O'Connor cfc8538326 Updating coq and ssreflect to patch level 4.
svn path=/nixpkgs/trunk/; revision=34146
2012-05-16 22:04:02 +00:00
Russell O'Connor bc43657f1e Updating calibre to 0.8.51
svn path=/nixpkgs/trunk/; revision=34075
2012-05-12 20:56:47 +00:00
Russell O'Connor ff1fa88e3d Adding pdftohtml to the PATH for calibre.
svn path=/nixpkgs/trunk/; revision=34074
2012-05-12 20:34:01 +00:00
Russell O'Connor 812ced356f Updating cssutils.
svn path=/nixpkgs/trunk/; revision=34017
2012-05-08 11:36:04 +00:00
Russell O'Connor 2c99cdce3e Adding examples to share directory
The easy-rsa example contains scripts for generating certificates.

svn path=/nixpkgs/trunk/; revision=33550
2012-04-02 22:05:02 +00:00
Russell O'Connor d8e8730127 Adding support for dhcpcd to wicd.
svn path=/nixpkgs/trunk/; revision=33532
2012-04-01 22:46:15 +00:00
Russell O'Connor bba264d897 Adding forgotten configure_130312 patch for matitia.
svn path=/nixpkgs/trunk/; revision=33433
2012-03-26 19:11:25 +00:00
Russell O'Connor ec5dda12d2 Reparing stable build of Matita.
Also correcting the version and simplifying the prerelease package of Matita.


svn path=/nixpkgs/trunk/; revision=33420
2012-03-25 21:27:30 +00:00
Russell O'Connor 4bccef4db2 Updating hash for ocaml_sqlite3
Markus Mottl <markus.mottl@gmail.com> said by email to me that 

``Note that this link is served by a Mercurial Apache module, i.e. this
is not static content.  It's likely that e.g. tar or bzip2 produce
slightly different output, which would explain changing hashes.

So I guess we shouldn't worry too much about the change in hash?


svn path=/nixpkgs/trunk/; revision=33419
2012-03-25 21:24:23 +00:00
Russell O'Connor 510308e039 Adding a package for a preview release of Matita.
svn path=/nixpkgs/trunk/; revision=33418
2012-03-25 20:43:00 +00:00
Russell O'Connor f9a5fa373e Upgrading HOL4 to version k.7.
svn path=/nixpkgs/trunk/; revision=33306
2012-03-20 19:11:22 +00:00
Russell O'Connor 83452ba0ab adding two versions of metaocaml
svn path=/nixpkgs/trunk/; revision=31026
2011-12-21 21:51:35 +00:00
Russell O'Connor a31ff3d009 Forgot to add picosat to the all-packages.nix in revision 29869. Now I'm adding it.
svn path=/nixpkgs/trunk/; revision=30554
2011-11-24 19:53:42 +00:00
Russell O'Connor c9b2f32c45 Updating bitcoin to version 0.5.0.
svn path=/nixpkgs/trunk/; revision=30553
2011-11-24 19:48:20 +00:00
Russell O'Connor 845f2a8658 adding camlp5 as a propogated build input to ulex 0.8
matita and ulex must build against the same version of camlp5, so in an attempt to force them to always be the same I am adding a propgatedBuildInput to ulex.
Granted Matita still requires camlp5_traditional and this is less obvious in the matita file now, so I am not entirely sure this is the right design choice.

svn path=/nixpkgs/trunk/; revision=30552
2011-11-24 19:43:03 +00:00
Russell O'Connor 491c6e43b1 Package for picosat.
svn path=/nixpkgs/trunk/; revision=29869
2011-10-17 22:18:21 +00:00
Russell O'Connor 7bb3f91731 updating dwarf-fortress
svn path=/nixpkgs/trunk/; revision=29853
2011-10-15 14:46:05 +00:00
Russell O'Connor 8c40562197 New package for CamlIDL 1.05
svn path=/nixpkgs/trunk/; revision=29619
2011-10-04 01:40:45 +00:00
Russell O'Connor 1744733be8 Revering CUPS update.
svn path=/nixos/trunk/; revision=29283
2011-09-14 17:58:57 +00:00
Russell O'Connor eaa3e31695 Reverting CUPS update.
svn path=/nixpkgs/trunk/; revision=29282
2011-09-14 17:57:49 +00:00
Russell O'Connor 15293fa398 Upgrading cups to 1.5.0
(this fixes http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634325)


svn path=/nixpkgs/trunk/; revision=29237
2011-09-13 13:57:46 +00:00
Russell O'Connor 2bc0a91739 bitcoin cannot use the recent versions of boost.
setting boost dependency to 1.44

svn path=/nixpkgs/trunk/; revision=28988
2011-09-02 20:19:42 +00:00
Russell O'Connor c128803d11 upgrading 32-bit flashplayer to version 10.3.183.7
svn path=/nixpkgs/trunk/; revision=28987
2011-09-02 19:25:46 +00:00
Russell O'Connor c7e097251c Updating Encfs to 1.7.4
svn path=/nixpkgs/trunk/; revision=28854
2011-08-28 00:16:43 +00:00
Russell O'Connor d21e981e64 Upgrade bitcoin to 0.3.24
svn path=/nixpkgs/trunk/; revision=27687
2011-07-10 01:12:57 +00:00
Russell O'Connor 4c1bc91985 Upgrade to bitcoin 0.3.22.
svn path=/nixpkgs/trunk/; revision=27348
2011-06-06 09:22:04 +00:00
Russell O'Connor aaa09472bc Update bitcoin to 0.3.21
svn path=/nixpkgs/trunk/; revision=27275
2011-05-17 11:34:18 +00:00
Russell O'Connor af59636bf5 adding ecm support to msieve.
svn path=/nixpkgs/trunk/; revision=26931
2011-04-23 12:36:36 +00:00
Russell O'Connor 699261d8df Adding ecm-6.2.3.
svn path=/nixpkgs/trunk/; revision=26930
2011-04-23 12:25:51 +00:00
Russell O'Connor 3db6f63711 Package for msieve.
This would be better if gmp-emc were packaged as well.

svn path=/nixpkgs/trunk/; revision=26915
2011-04-21 12:48:07 +00:00
Russell O'Connor 9a74c2b3b5 Bitcoin now builds on 64-bit linux.
svn path=/nixpkgs/trunk/; revision=26904
2011-04-20 13:52:02 +00:00
Russell O'Connor a42b81d33d Updating optipng to 0.6.5
svn path=/nixpkgs/trunk/; revision=26857
2011-04-16 20:42:01 +00:00
Russell O'Connor 78f9628037 wicd should no longer write into the nix store.
But it doesn't compile optimized bytecode. :(  I would be good if someone who actually knew python could give this package some love.

svn path=/nixpkgs/trunk/; revision=26742
2011-04-07 15:39:53 +00:00
Russell O'Connor bec1a9c44f update coq to 8.3pl1
update ssreflect to 1.3pl1

svn path=/nixpkgs/trunk/; revision=26692
2011-04-05 11:59:25 +00:00
Russell O'Connor 2a07e68e9c Upgrade FlashPlayer to version 10.2.153.1
svn path=/nixpkgs/trunk/; revision=26672
2011-04-04 02:34:17 +00:00
Russell O'Connor 72124a0aa9 Bitcoin.
svn path=/nixpkgs/trunk/; revision=26544
2011-03-27 06:44:34 +00:00
Russell O'Connor 7e62d8736c upgrading flash player on i686.
svn path=/nixpkgs/trunk/; revision=26432
2011-03-20 16:54:49 +00:00
Russell O'Connor 22fbb1f3d9 Adding freetype dependency for TeXmacs.
svn path=/nixpkgs/trunk/; revision=26306
2011-03-14 22:03:26 +00:00
Russell O'Connor 43bed60351 Fix PDF export.
svn path=/nixpkgs/trunk/; revision=26293
2011-03-14 00:04:30 +00:00
Russell O'Connor 7748f89d86 Bump TeXmacs to verion 1.0.7.9.
svn path=/nixpkgs/trunk/; revision=25770
2011-02-03 16:23:05 +00:00
Russell O'Connor b46d1d2e07 Updating Ktorrent to the latest.
svn path=/nixpkgs/trunk/; revision=25346
2011-01-02 19:06:45 +00:00
Russell O'Connor 88ec92d14c Matita and its dependencies.
svn path=/nixpkgs/trunk/; revision=25328
2010-12-31 17:48:55 +00:00
Russell O'Connor 83e25f83c8 Patch Inkscape to support PDF importing.
svn path=/nixpkgs/trunk/; revision=25151
2010-12-15 15:56:04 +00:00
Russell O'Connor d07675c415 Maybe this will fix wicd.
svn path=/nixpkgs/trunk/; revision=24933
2010-11-30 04:09:51 +00:00
Russell O'Connor 7f65afe3f3 Update wicd to 1.7.0
svn path=/nixpkgs/trunk/; revision=24929
2010-11-29 20:15:44 +00:00
Russell O'Connor 63321806b4 Updating pygobject to latest version
svn path=/nixpkgs/trunk/; revision=24763
2010-11-19 04:09:22 +00:00
Russell O'Connor c8b990398a Bumping default Haddock version to 2.7.2
svn path=/nixpkgs/trunk/; revision=24717
2010-11-17 00:21:50 +00:00
Russell O'Connor 7f27566ef5 Adding wrapper to get users packages
Haddock calls directly into ghclib by passing our carefully crafted ghc-wrapper.
This means that haddock needs to be wrapped itself, which this patch does.

svn path=/nixpkgs/trunk/; revision=24716
2010-11-17 00:18:39 +00:00
Russell O'Connor 4018b1dd39 updating flashplayer
svn path=/nixpkgs/trunk/; revision=24678
2010-11-12 18:58:24 +00:00
Russell O'Connor 497a1476ae Dwarf Fortress files in dipscript are again opened in read-write mode and need to be hacked around.
It's almost tempting to copy the whole data dirctory and put every file in read-write mode.

svn path=/nixpkgs/trunk/; revision=24550
2010-10-31 04:08:14 +00:00
Russell O'Connor d32b86837b Dwarf Fortress help files are also opened in read-write mode, so they too need to be hacked around.
svn path=/nixpkgs/trunk/; revision=24543
2010-10-30 14:58:14 +00:00
Russell O'Connor cb72dd1ba8 Dwarf Fortress
The wrapper script works by creating an image of the distribution in the users home directory
(defaulting to $HOME/.config/df_linux).  This is done because the program expects to write
state into it's own distribution.

Better ideas are welcome!

What further is needed is to allow users to configure the init.  One way is to use nix-config
to apply patches to the init.txt file, though this would break sharing of the package between
different users.


svn path=/nixpkgs/trunk/; revision=24538
2010-10-30 06:00:44 +00:00
Russell O'Connor d953e6bb35 Add flac and ogg vorbis to libsndfile
Updating libsndfile to the latest version while I'm at it.


svn path=/nixpkgs/trunk/; revision=24514
2010-10-28 14:00:41 +00:00
Russell O'Connor 9bcb9bcea1 Patching scons to give an absolute path to python rather than using ".../bin/env python"
When users install scons, users no longer need to also install python in their environment.


svn path=/nixpkgs/trunk/; revision=24425
2010-10-22 19:10:02 +00:00
Russell O'Connor b36f4c74bd openjade requires a version of opensp built with gcc33 in order to compile.
svn path=/nixpkgs/trunk/; revision=24057
2010-10-04 17:05:22 +00:00