From 1329ae018d82eda6a1c205e8cb52a138167ca874 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Tue, 25 Sep 2012 17:44:57 +0200 Subject: [PATCH 01/46] Bump plowshare version to git20120916 --- pkgs/tools/misc/plowshare/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/misc/plowshare/default.nix b/pkgs/tools/misc/plowshare/default.nix index 5e684cfa377..d98dc33478a 100644 --- a/pkgs/tools/misc/plowshare/default.nix +++ b/pkgs/tools/misc/plowshare/default.nix @@ -1,16 +1,14 @@ { stdenv, fetchurl, makeWrapper, curl }: -let +stdenv.mkDerivation rec { - v = "20120807"; + name = "plowshare-${version}"; -in stdenv.mkDerivation { - - name = "plowshare-git${v}"; + version = "git20120916"; src = fetchurl { - url = "http://plowshare.googlecode.com/files/plowshare-snapshot-git${v}.tar.gz"; - sha256 = "0clryfssaa4rjvsy760p51ppq1275lwvhm9jh3g4mi973xv4n8si"; + url = "http://plowshare.googlecode.com/files/plowshare-snapshot-${version}.tar.gz"; + sha256 = "eccdb28d49ac47782abc8614202b3a88426cd587371641ecf2ec008880dc6067"; }; buildInputs = [ makeWrapper ]; From cc02b6cc19287e02f8ff2151a98a645151adda19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cillian=20de=20R=C3=B3iste?= Date: Wed, 26 Sep 2012 20:56:56 +0200 Subject: [PATCH 02/46] Updating the google talk plugin to 3.6.1 since 3.5.1 is no longer available for download. Although, it does not work correctly on my system. --- .../browsers/mozilla-plugins/google-talk-plugin/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/google-talk-plugin/default.nix b/pkgs/applications/networking/browsers/mozilla-plugins/google-talk-plugin/default.nix index a3f255b5d3e..e2e64dbbeb9 100644 --- a/pkgs/applications/networking/browsers/mozilla-plugins/google-talk-plugin/default.nix +++ b/pkgs/applications/networking/browsers/mozilla-plugins/google-talk-plugin/default.nix @@ -45,18 +45,18 @@ in stdenv.mkDerivation rec { name = "google-talk-plugin-${version}"; - version = "3.5.1.0"; + version = "3.6.1.0"; src = if stdenv.system == "x86_64-linux" then fetchurl { url = "${baseURL}/google-talkplugin_${version}-1_amd64.deb"; - sha256 = "0ml4yirzdcladw11fq5d8lwqfqgb1fh9vpbzbzmhplvyj6mvkqrj"; + sha256 = "1h6qa9vh1bbhsxsihm56nqg9is9vnrvnjl8cjz3hqym2w160ycbv"; } else if stdenv.system == "i686-linux" then fetchurl { url = "${baseURL}/google-talkplugin_${version}-1_i386.deb"; - sha256 = "1kfd26zygb76iqnr8n3f7k7n9h5bz0rf716n80crqzyasv51mn57"; + sha256 = "0d6dfivmm0azfpv283bqs04w6098z8w4cnjgivp80mfd6ndjv8x2"; } else throw "Google Talk does not support your platform."; From 27bd526654c2d876324b2192b71d671c8ee39a19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Wed, 26 Sep 2012 22:34:55 +0200 Subject: [PATCH 03/46] freeswitch: updating to stable 1.2.3 I'll avoid using the git version; I'm less sure if it's better than the released stable. --- pkgs/servers/sip/freeswitch/default.nix | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/pkgs/servers/sip/freeswitch/default.nix b/pkgs/servers/sip/freeswitch/default.nix index 5b341b7deb9..a1d9940c887 100644 --- a/pkgs/servers/sip/freeswitch/default.nix +++ b/pkgs/servers/sip/freeswitch/default.nix @@ -1,21 +1,16 @@ -{ fetchgit, stdenv, ncurses, curl, pkgconfig, gnutls, readline, openssl, perl, libjpeg -, libzrtpcpp, autoconf, automake, libtool }: +{ fetchurl, stdenv, ncurses, curl, pkgconfig, gnutls, readline, openssl, perl, libjpeg +, libzrtpcpp }: stdenv.mkDerivation rec { - name = "freeswitch-git-0db52e6"; + name = "freeswitch-1.2.3"; - src = fetchgit { - url = "git://git.freeswitch.org/freeswitch.git"; - rev = "0db52e6e556fce584f1850c3a3b87c8f46ff87c5"; - sha256 = "5cc7161c1ba64c5faf3dda2669e9aafd529eaa66be2fd83f284304444bcab9ff"; + src = fetchurl { + url = http://files.freeswitch.org/freeswitch-1.2.3.tar.bz2; + sha256 = "0kfvn5f75c6r6yp18almjz9p6llvpm66gpbxcjswrg3ddgbkzg0k"; }; - preConfigure = '' - ./bootstrap.sh - ''; - buildInputs = [ ncurses curl pkgconfig gnutls readline openssl perl libjpeg - autoconf automake libtool libzrtpcpp ]; + libzrtpcpp ]; meta = { description = "Cross-Platform Scalable FREE Multi-Protocol Soft Switch"; From 599517668cdcb1bbd8707c707734dc973c59984f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 26 Sep 2012 17:27:20 -0400 Subject: [PATCH 04/46] Fix Firefox config option processing --- pkgs/top-level/all-packages.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e164c16827b..f18d1115a54 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7876,20 +7876,21 @@ let inherit stdenv makeWrapper makeDesktopItem browser browserName desktopName nameSuffix icon; plugins = let - enableAdobeFlash = config.browserNameenableAdobeFlash or true; - enableGnash = config.browserNameenableGnash or false; + cfg = stdenv.lib.attrByPath [ browserName ] {} config; + enableAdobeFlash = cfg.enableAdobeFlash or true; + enableGnash = cfg.enableGnash or false; in assert !(enableGnash && enableAdobeFlash); ([ ] ++ lib.optional enableGnash gnash ++ lib.optional enableAdobeFlash flashplayer # RealPlayer is disabled by default for legal reasons. - ++ lib.optional (system != "i686-linux" && config.browserNameenableRealPlayer or false) RealPlayer - ++ lib.optional (config.browserNameenableDjvu or false) (djview4) - ++ lib.optional (config.browserNameenableMPlayer or false) (MPlayerPlugin browser) - ++ lib.optional (config.browserNameenableGeckoMediaPlayer or false) gecko_mediaplayer - ++ lib.optional (supportsJDK && config.browserNamejre or false && jrePlugin ? mozillaPlugin) jrePlugin - ++ lib.optional (config.browserNameenableGoogleTalkPlugin or false) google_talk_plugin + ++ lib.optional (system != "i686-linux" && cfg.enableRealPlayer or false) RealPlayer + ++ lib.optional (cfg.enableDjvu or false) (djview4) + ++ lib.optional (cfg.enableMPlayer or false) (MPlayerPlugin browser) + ++ lib.optional (cfg.enableGeckoMediaPlayer or false) gecko_mediaplayer + ++ lib.optional (supportsJDK && cfg.jre or false && jrePlugin ? mozillaPlugin) jrePlugin + ++ lib.optional (cfg.eenableGoogleTalkPlugin or false) google_talk_plugin ); libs = if config.browserNameenableQuakeLive or false From 775d62748feecb2541ecda1e322ccb8743cb0e3c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 26 Sep 2012 17:28:53 -0400 Subject: [PATCH 05/46] Make Firefox 15 the default --- .../networking/browsers/firefox/13.0.nix | 188 ------------------ 1 file changed, 188 deletions(-) delete mode 100644 pkgs/applications/networking/browsers/firefox/13.0.nix diff --git a/pkgs/applications/networking/browsers/firefox/13.0.nix b/pkgs/applications/networking/browsers/firefox/13.0.nix deleted file mode 100644 index fbbf3275ad1..00000000000 --- a/pkgs/applications/networking/browsers/firefox/13.0.nix +++ /dev/null @@ -1,188 +0,0 @@ -{ stdenv, fetchurl, pkgconfig, gtk, pango, perl, python, zip, libIDL -, libjpeg, libpng, zlib, cairo, dbus, dbus_glib, bzip2, xlibs -, freetype, fontconfig, file, alsaLib, nspr, nss, libnotify -, yasm, mesa, sqlite, unzip, makeWrapper - -, # If you want the resulting program to call itself "Firefox" instead - # of "Shiretoko" or whatever, enable this option. However, those - # binaries may not be distributed without permission from the - # Mozilla Foundation, see - # http://www.mozilla.org/foundation/trademarks/. - enableOfficialBranding ? false -}: - -assert stdenv.gcc ? libc && stdenv.gcc.libc != null; - -rec { - - firefoxVersion = "13.0.1"; - - xulVersion = "13.0.1"; # this attribute is used by other packages - - - src = fetchurl { - url = "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.bz2"; - sha1 = "3752f13f26a51dd2e42d2805a707a842e6f8d1b1"; - }; - - commonConfigureFlags = - [ "--enable-optimize" - "--disable-debug" - "--enable-strip" - "--with-system-jpeg" - "--with-system-zlib" - "--with-system-bz2" - "--with-system-nspr" - "--with-system-nss" - # "--with-system-png" # <-- "--with-system-png won't work because the system's libpng doesn't have APNG support" - # "--enable-system-cairo" # disabled for the moment because our Cairo is too old - "--enable-system-sqlite" - "--disable-crashreporter" - "--disable-tests" - "--disable-necko-wifi" # maybe we want to enable this at some point - "--disable-installer" - "--disable-updater" - ]; - - - xulrunner = stdenv.mkDerivation rec { - name = "xulrunner-${xulVersion}"; - - inherit src; - - buildInputs = - [ pkgconfig gtk perl zip libIDL libjpeg libpng zlib cairo bzip2 - python dbus dbus_glib pango freetype fontconfig xlibs.libXi - xlibs.libX11 xlibs.libXrender xlibs.libXft xlibs.libXt file - alsaLib nspr nss libnotify xlibs.pixman yasm mesa - xlibs.libXScrnSaver xlibs.scrnsaverproto - xlibs.libXext xlibs.xextproto sqlite unzip makeWrapper - ]; - - configureFlags = - [ "--enable-application=xulrunner" - "--disable-javaxpcom" - ] ++ commonConfigureFlags; - - enableParallelBuilding = true; - - # Hack to work around make's idea of -lbz2 dependency - preConfigure = - '' - find . -name Makefile.in -execdir sed -i '{}' -e '1ivpath %.so ${ - stdenv.lib.concatStringsSep ":" - (map (s : s + "/lib") (buildInputs ++ [stdenv.gcc.libc])) - }' ';' - - export NIX_LDFLAGS="$NIX_LDFLAGS -L$out/lib/xulrunner-${xulVersion}" - - mkdir ../objdir - cd ../objdir - configureScript=../mozilla-release/configure - ''; # */ - - # !!! Temporary hack. - preBuild = - '' - export NIX_ENFORCE_PURITY= - ''; - - installFlags = "SKIP_GRE_REGISTRATION=1"; - - postInstall = '' - # Fix some references to /bin paths in the Xulrunner shell script. - substituteInPlace $out/bin/xulrunner \ - --replace /bin/pwd "$(type -tP pwd)" \ - --replace /bin/ls "$(type -tP ls)" - - # Fix run-mozilla.sh search - libDir=$(cd $out/lib && ls -d xulrunner-[0-9]*) - echo libDir: $libDir - test -n "$libDir" - cd $out/bin - mv xulrunner ../lib/$libDir/ - - for i in $out/lib/$libDir/*; do - file $i; - if file $i | grep executable &>/dev/null; then - echo -e '#! /bin/sh\n"'"$i"'" "$@"' > "$out/bin/$(basename "$i")"; - chmod a+x "$out/bin/$(basename "$i")"; - fi; - done - for i in $out/lib/$libDir/*.so; do - patchelf --set-rpath "$(patchelf --print-rpath "$i"):$out/lib/$libDir" $i || true - done - for i in $out/lib/$libDir/{xpcshell,plugin-container}; do - wrapProgram $i --prefix LD_LIBRARY_PATH ':' "$out/lib/$libDir" - done - rm -f $out/bin/run-mozilla.sh - ''; # */ - - meta = { - description = "Mozilla Firefox XUL runner"; - homepage = http://www.mozilla.com/en-US/firefox/; - }; - - passthru = { inherit gtk; version = xulVersion; }; - }; - - - firefox = stdenv.mkDerivation rec { - name = "firefox-${firefoxVersion}"; - - inherit src; - - enableParallelBuilding = true; - - buildInputs = - [ pkgconfig gtk perl zip libIDL libjpeg zlib cairo bzip2 python - dbus dbus_glib pango freetype fontconfig alsaLib nspr nss libnotify - xlibs.pixman yasm mesa sqlite file unzip - ]; - - propagatedBuildInputs = [xulrunner]; - - configureFlags = - [ "--enable-application=browser" - "--with-libxul-sdk=${xulrunner}/lib/xulrunner-devel-${xulrunner.version}" - "--enable-chrome-format=jar" - "--disable-elf-hack" - ] - ++ commonConfigureFlags - ++ stdenv.lib.optional enableOfficialBranding "--enable-official-branding"; - - # Hack to work around make's idea of -lbz2 dependency - preConfigure = - '' - find . -name Makefile.in -execdir sed -i '{}' -e '1ivpath %.so ${ - stdenv.lib.concatStringsSep ":" - (map (s : s + "/lib") (buildInputs ++ [stdenv.gcc.libc])) - }' ';' - ''; - - postInstall = - '' - ln -s ${xulrunner}/lib/xulrunner-${xulrunner.version} $(echo $out/lib/firefox-*)/xulrunner - for j in $out/bin/*; do - i="$(readlink "$j")"; - file $i; - if file $i | grep executable &>/dev/null; then - rm "$out/bin/$(basename "$i")" - echo -e '#! /bin/sh\nexec "'"$i"'" "$@"' > "$out/bin/$(basename "$i")" - chmod a+x "$out/bin/$(basename "$i")" - fi; - done; - ''; # */ - - meta = { - description = "Mozilla Firefox - the browser, reloaded"; - homepage = http://www.mozilla.com/en-US/firefox/; - maintainers = [ stdenv.lib.maintainers.eelco ]; - }; - - passthru = { - inherit gtk xulrunner nspr; - isFirefox3Like = true; - }; - }; -} From 2ca9fc3a32beb1b797acea8497cc0c394d5ff457 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 26 Sep 2012 17:29:07 -0400 Subject: [PATCH 06/46] Make Firefox 15 the default (for realz this time) --- pkgs/top-level/all-packages.nix | 8 +------- pkgs/top-level/release.nix | 1 - 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f18d1115a54..547f74f931d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6911,7 +6911,7 @@ let firefoxWrapper = wrapFirefox { browser = pkgs.firefox; }; - firefoxPkgs = pkgs.firefox12Pkgs; + firefoxPkgs = pkgs.firefox15Pkgs; firefox36Pkgs = callPackage ../applications/networking/browsers/firefox/3.6.nix { inherit (gnome) libIDL; @@ -6925,12 +6925,6 @@ let firefox12Wrapper = wrapFirefox { browser = firefox12Pkgs.firefox; }; - firefox13Pkgs = callPackage ../applications/networking/browsers/firefox/13.0.nix { - inherit (gnome) libIDL; - }; - - firefox13Wrapper = lowPrio (wrapFirefox { browser = firefox13Pkgs.firefox; }); - firefox15Pkgs = callPackage ../applications/networking/browsers/firefox/15.0.nix { inherit (gnome) libIDL; inherit (pythonPackages) pysqlite; diff --git a/pkgs/top-level/release.nix b/pkgs/top-level/release.nix index 3b0a015d6b4..0f8ea5574e3 100644 --- a/pkgs/top-level/release.nix +++ b/pkgs/top-level/release.nix @@ -359,7 +359,6 @@ with (import ./release-lib.nix); firefox36Pkgs.firefox = linux; firefox12Pkgs.firefox = linux; - firefox13Pkgs.firefox = linux; firefox15Pkgs.firefox = linux; gnome = { From d8e8ff1fe979f7efd73ea2264efaf7fd239bc855 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cillian=20de=20R=C3=B3iste?= Date: Wed, 26 Sep 2012 23:45:35 +0200 Subject: [PATCH 07/46] Typo, fix the googleTalkPlugin --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 547f74f931d..3aeb726a855 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7884,7 +7884,7 @@ let ++ lib.optional (cfg.enableMPlayer or false) (MPlayerPlugin browser) ++ lib.optional (cfg.enableGeckoMediaPlayer or false) gecko_mediaplayer ++ lib.optional (supportsJDK && cfg.jre or false && jrePlugin ? mozillaPlugin) jrePlugin - ++ lib.optional (cfg.eenableGoogleTalkPlugin or false) google_talk_plugin + ++ lib.optional (cfg.enableGoogleTalkPlugin or false) google_talk_plugin ); libs = if config.browserNameenableQuakeLive or false From d9152f013345d3d9b2c1b1acc5efcea6eba9f3e9 Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Thu, 27 Sep 2012 01:29:53 +0200 Subject: [PATCH 08/46] fix build of smpeg --- pkgs/development/libraries/smpeg/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/smpeg/default.nix b/pkgs/development/libraries/smpeg/default.nix index 3e7baf77df8..e259e22ff01 100644 --- a/pkgs/development/libraries/smpeg/default.nix +++ b/pkgs/development/libraries/smpeg/default.nix @@ -10,11 +10,13 @@ stdenv.mkDerivation rec { sha256 = "0ynwn7ih5l2b1kpzpibns9bb9wzfjak7mgrb1ji0dkn2q5pv6lr0"; }; + enableParallelBuilding = true; + buildInputs = [ SDL autoconf automake libtool gtk m4 pkgconfig mesa ]; preConfigure = '' touch NEWS AUTHORS ChangeLog - autoreconf -fvi -I acinclude + sh autogen.sh ''; postInstall = '' From 1c35a0ca484404f935abc9af027365813d5cb97b Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Thu, 27 Sep 2012 01:35:40 +0200 Subject: [PATCH 09/46] adding python libraries serial and game which are both dependencies of plover steno engine which needs more testing --- pkgs/top-level/python-packages.nix | 39 ++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a55a869f88c..376cb2b3bbf 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -784,6 +784,36 @@ let pythonPackages = python.modules // rec { }; }); + game = buildPythonPackage rec { + name = "pygame-1.9.1"; + src = fetchurl { + url = http://www.pygame.org/ftp/pygame-1.9.1release.tar.gz; + sha256 = "0cyl0ww4fjlf289pjxa53q4klyn55ajvkgymw0qrdgp4593raq52"; + }; + patches = [ ./pygame.patch ]; + # auto confirming missing dependencies: + # PORTMIDI and PORTTIME still missing + patchPhase = '' + sed -i 's@raw_input(.*@"1"@' config_unix.py + unset patchPhase + patchPhase + ''; + installCommand = "python setup.py install --prefix=$out"; + + propagatedBuildInputs = [ + pkgs.SDL + pkgs.SDL_mixer + pkgs.SDL_gfx + pkgs.SDL_net + pkgs.SDL_sound + pkgs.SDL_ttf + pkgs.SDL_image + pkgs.smpeg + pkgs.libpng + pkgs.libjpeg + ]; + }; + genshi = buildPythonPackage { name = "genshi-0.6"; @@ -3009,6 +3039,15 @@ let pythonPackages = python.modules // rec { }; }; + serial = buildPythonPackage rec { + name = "pyserial-2.5"; + doCheck = false; + src = fetchurl { + url = http://heanet.dl.sourceforge.net/project/pyserial/pyserial/2.5/pyserial-2.5.tar.gz; + sha256 = "04gmpfb43ppc8cf1bvkz8r1gl0nrxc38kpfdqs40ib0d1ql25pgd"; + }; + }; + tracing = buildPythonPackage rec { name = "tracing-0.6"; From f81253e743eab7577e84d91250dec65b93ce7bc7 Mon Sep 17 00:00:00 2001 From: Andres Loeh Date: Thu, 27 Sep 2012 09:45:07 +0200 Subject: [PATCH 10/46] Add haskell-distributed-process and dependencies. --- .../haskell/distributed-process/default.nix | 22 +++++++++++++++++++ .../haskell/distributed-static/default.nix | 15 +++++++++++++ .../haskell/network-transport/default.nix | 15 +++++++++++++ .../haskell/rank1dynamic/default.nix | 15 +++++++++++++ pkgs/top-level/haskell-packages.nix | 8 +++++++ 5 files changed, 75 insertions(+) create mode 100644 pkgs/development/libraries/haskell/distributed-process/default.nix create mode 100644 pkgs/development/libraries/haskell/distributed-static/default.nix create mode 100644 pkgs/development/libraries/haskell/network-transport/default.nix create mode 100644 pkgs/development/libraries/haskell/rank1dynamic/default.nix diff --git a/pkgs/development/libraries/haskell/distributed-process/default.nix b/pkgs/development/libraries/haskell/distributed-process/default.nix new file mode 100644 index 00000000000..25b53834f94 --- /dev/null +++ b/pkgs/development/libraries/haskell/distributed-process/default.nix @@ -0,0 +1,22 @@ +{ cabal, binary, dataAccessor, distributedStatic, mtl +, networkTransport, random, rank1dynamic, stm, syb, time +, transformers +}: + +cabal.mkDerivation (self: { + pname = "distributed-process"; + version = "0.3.1"; + sha256 = "048j27mpdmknz2s4ja3q2mla1d2sjbvrpmzx0lz2qas123qz1siq"; + buildDepends = [ + binary dataAccessor distributedStatic mtl networkTransport random + rank1dynamic stm syb time transformers + ]; + noHaddock = true; + meta = { + homepage = "http://github.com/haskell-distributed/distributed-process"; + description = "Cloud Haskell: Erlang-style concurrency in Haskell"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/distributed-static/default.nix b/pkgs/development/libraries/haskell/distributed-static/default.nix new file mode 100644 index 00000000000..0778089bdd0 --- /dev/null +++ b/pkgs/development/libraries/haskell/distributed-static/default.nix @@ -0,0 +1,15 @@ +{ cabal, binary, rank1dynamic }: + +cabal.mkDerivation (self: { + pname = "distributed-static"; + version = "0.2.0.0"; + sha256 = "04s3iils9ji8bwizvm36r5ihnd11098346br0919dv1x6g67a610"; + buildDepends = [ binary rank1dynamic ]; + meta = { + homepage = "http://www.github.com/haskell-distributed/distributed-process"; + description = "Compositional, type-safe, polymorphic static values and closures"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/network-transport/default.nix b/pkgs/development/libraries/haskell/network-transport/default.nix new file mode 100644 index 00000000000..9e3ab7e7796 --- /dev/null +++ b/pkgs/development/libraries/haskell/network-transport/default.nix @@ -0,0 +1,15 @@ +{ cabal, binary, transformers }: + +cabal.mkDerivation (self: { + pname = "network-transport"; + version = "0.2.0.2"; + sha256 = "1pipykqwbjmbkgkmk0ss2pvfp72rkxwmz49d1j5xi8b0rlfgw05c"; + buildDepends = [ binary transformers ]; + meta = { + homepage = "http://github.com/haskell-distributed/distributed-process"; + description = "Network abstraction layer"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/rank1dynamic/default.nix b/pkgs/development/libraries/haskell/rank1dynamic/default.nix new file mode 100644 index 00000000000..b243279d64e --- /dev/null +++ b/pkgs/development/libraries/haskell/rank1dynamic/default.nix @@ -0,0 +1,15 @@ +{ cabal, binary }: + +cabal.mkDerivation (self: { + pname = "rank1dynamic"; + version = "0.1.0.0"; + sha256 = "19wyklhf5sghip0i71sza7lv50lj2dawfxy6k67njxr1y56ky92w"; + buildDepends = [ binary ]; + meta = { + homepage = "http://github.com/haskell-distributed/distributed-process"; + description = "Like Data.Dynamic/Data.Typeable but with support for rank-1 polymorphic types"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index e7157bc507b..8a9377c50c6 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -652,6 +652,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); directoryTree = callPackage ../development/libraries/haskell/directory-tree {}; + distributedProcess = callPackage ../development/libraries/haskell/distributed-process {}; + + distributedStatic = callPackage ../development/libraries/haskell/distributed-static {}; + distributive = callPackage ../development/libraries/haskell/distributive {}; dlist = callPackage ../development/libraries/haskell/dlist {}; @@ -1138,6 +1142,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); networkConduit = callPackage ../development/libraries/haskell/network-conduit {}; + networkTransport = callPackage ../development/libraries/haskell/network-transport {}; + newtype = callPackage ../development/libraries/haskell/newtype {}; nonNegative = callPackage ../development/libraries/haskell/non-negative {}; @@ -1277,6 +1283,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); randomShuffle = callPackage ../development/libraries/haskell/random-shuffle {}; + rank1dynamic = callPackage ../development/libraries/haskell/rank1dynamic {}; + ranges = callPackage ../development/libraries/haskell/ranges {}; rvar = callPackage ../development/libraries/haskell/rvar {}; From 42cf8b10021ebbaf997b3d65cf9ec58a1552fb87 Mon Sep 17 00:00:00 2001 From: Andres Loeh Date: Thu, 27 Sep 2012 09:50:02 +0200 Subject: [PATCH 11/46] Add distributed-process-simplelocalnet and dependencies. --- .../default.nix | 21 +++++++++++++++++++ .../haskell/network-multicast/default.nix | 14 +++++++++++++ .../haskell/network-transport-tcp/default.nix | 15 +++++++++++++ pkgs/top-level/haskell-packages.nix | 6 ++++++ 4 files changed, 56 insertions(+) create mode 100644 pkgs/development/libraries/haskell/distributed-process-simplelocalnet/default.nix create mode 100644 pkgs/development/libraries/haskell/network-multicast/default.nix create mode 100644 pkgs/development/libraries/haskell/network-transport-tcp/default.nix diff --git a/pkgs/development/libraries/haskell/distributed-process-simplelocalnet/default.nix b/pkgs/development/libraries/haskell/distributed-process-simplelocalnet/default.nix new file mode 100644 index 00000000000..650f82a99ec --- /dev/null +++ b/pkgs/development/libraries/haskell/distributed-process-simplelocalnet/default.nix @@ -0,0 +1,21 @@ +{ cabal, binary, dataAccessor, distributedProcess, network +, networkMulticast, networkTransport, networkTransportTcp +, transformers +}: + +cabal.mkDerivation (self: { + pname = "distributed-process-simplelocalnet"; + version = "0.2.0.5"; + sha256 = "04cx5pb3pf4wpmqx1zhdc9lrfs0mb8zk7p1qxxlsqg0x63f3353w"; + buildDepends = [ + binary dataAccessor distributedProcess network networkMulticast + networkTransport networkTransportTcp transformers + ]; + meta = { + homepage = "http://github.com/haskell-distributed/distributed-process"; + description = "Simple zero-configuration backend for Cloud Haskell"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/network-multicast/default.nix b/pkgs/development/libraries/haskell/network-multicast/default.nix new file mode 100644 index 00000000000..3a461a51f53 --- /dev/null +++ b/pkgs/development/libraries/haskell/network-multicast/default.nix @@ -0,0 +1,14 @@ +{ cabal, network }: + +cabal.mkDerivation (self: { + pname = "network-multicast"; + version = "0.0.7"; + sha256 = "18qlg4cg7ci1z3mbqh5z16mxkjir0079a0rgm4qk6jbmsnvfsq43"; + buildDepends = [ network ]; + meta = { + description = "Simple multicast library"; + license = self.stdenv.lib.licenses.publicDomain; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/network-transport-tcp/default.nix b/pkgs/development/libraries/haskell/network-transport-tcp/default.nix new file mode 100644 index 00000000000..61ebc4ec1d9 --- /dev/null +++ b/pkgs/development/libraries/haskell/network-transport-tcp/default.nix @@ -0,0 +1,15 @@ +{ cabal, dataAccessor, network, networkTransport }: + +cabal.mkDerivation (self: { + pname = "network-transport-tcp"; + version = "0.2.0.3"; + sha256 = "0jlw59ib6yzkv2qggza571k2nhxnwvwj42zdgzz6wh2bgdyihayw"; + buildDepends = [ dataAccessor network networkTransport ]; + meta = { + homepage = "http://github.com/haskell-distributed/distributed-process"; + description = "TCP instantation of Network.Transport"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 8a9377c50c6..41965315970 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -654,6 +654,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); distributedProcess = callPackage ../development/libraries/haskell/distributed-process {}; + distributedProcessSimplelocalnet = callPackage ../development/libraries/haskell/distributed-process-simplelocalnet {}; + distributedStatic = callPackage ../development/libraries/haskell/distributed-static {}; distributive = callPackage ../development/libraries/haskell/distributive {}; @@ -1142,8 +1144,12 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); networkConduit = callPackage ../development/libraries/haskell/network-conduit {}; + networkMulticast = callPackage ../development/libraries/haskell/network-multicast {}; + networkTransport = callPackage ../development/libraries/haskell/network-transport {}; + networkTransportTcp = callPackage ../development/libraries/haskell/network-transport-tcp {}; + newtype = callPackage ../development/libraries/haskell/newtype {}; nonNegative = callPackage ../development/libraries/haskell/non-negative {}; From 0a2f397ce0da851c1aac0279e5cccdfbe55126c6 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 27 Sep 2012 10:53:25 +0200 Subject: [PATCH 12/46] systemd: fix build on Linux/i686 --- pkgs/os-specific/linux/systemd/default.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index e5858d06b30..82d0e4c17a5 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -13,13 +13,7 @@ stdenv.mkDerivation rec { sha256 = "03y3y1w3x7bx67jvdxryhns3h1g6nrllln46gqipp35n99alki2m"; }; - patches = [ ./reexec.patch ] ++ - # Remove this patch after the next update. - stdenv.lib.optional (stdenv.system == "i686-linux") (fetchurl { - url = "https://bugs.freedesktop.org/attachment.cgi?id=67621"; - name = "fix-32-bit-build.patch"; - sha256 = "1i4xn6lc6iapaasd2lz717b1zrq5ds5g18i7m509fgfwy7w7x95l"; - }); + patches = [ ./reexec.patch ]; buildInputs = [ pkgconfig intltool gperf libcap dbus kmod xz pam acl From bed032887911c7f4a672891a7411dea879625d4b Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 27 Sep 2012 10:54:44 +0200 Subject: [PATCH 13/46] systemd: add myself as a maintainer --- pkgs/os-specific/linux/systemd/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index 82d0e4c17a5..1d44b899edf 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -88,8 +88,9 @@ stdenv.mkDerivation rec { passthru.interfaceVersion = 2; meta = { - homepage = http://www.freedesktop.org/wiki/Software/systemd; + homepage = "http://www.freedesktop.org/wiki/Software/systemd"; description = "A system and service manager for Linux"; platforms = stdenv.lib.platforms.linux; + maintainers = [ stdenv.lib.maintainers.simons ]; }; } From d06f4cf0000c8e188ad12de58dfb2455c1fdd1cb Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 27 Sep 2012 12:21:07 +0200 Subject: [PATCH 14/46] haskell-Boolean: update to version 0.1.0 --- pkgs/development/libraries/haskell/Boolean/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/haskell/Boolean/default.nix b/pkgs/development/libraries/haskell/Boolean/default.nix index 58bdf8b9970..c54c84080d6 100644 --- a/pkgs/development/libraries/haskell/Boolean/default.nix +++ b/pkgs/development/libraries/haskell/Boolean/default.nix @@ -2,8 +2,8 @@ cabal.mkDerivation (self: { pname = "Boolean"; - version = "0.0.1"; - sha256 = "dafcfb2e9d7f7aa24a3d3ceb385424176297cdf6f6044028d42d0fea1cae7765"; + version = "0.1.0"; + sha256 = "1843fddsc7x3mf6h69xpg7yjkpaws4v57zg02424mj86m5x6jfgz"; meta = { description = "Generalized booleans"; license = self.stdenv.lib.licenses.bsd3; From 2f2658d4ffabae2bdc64f24c3707b6e58d4c5466 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 27 Sep 2012 12:21:07 +0200 Subject: [PATCH 15/46] haskell-dataenc: update to version 0.14.0.4 --- pkgs/development/libraries/haskell/dataenc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/haskell/dataenc/default.nix b/pkgs/development/libraries/haskell/dataenc/default.nix index d2428600ce9..2ece14dcfdc 100644 --- a/pkgs/development/libraries/haskell/dataenc/default.nix +++ b/pkgs/development/libraries/haskell/dataenc/default.nix @@ -2,8 +2,8 @@ cabal.mkDerivation (self: { pname = "dataenc"; - version = "0.14.0.3"; - sha256 = "1k6k9cpx5ma32gvzf2mdbz4kfiblwfah9875qr13zkl4has9y0pd"; + version = "0.14.0.4"; + sha256 = "0xnn90nyz4m0rbzykkr5p9270s8dq2bfiz5j7qyzyy5m8vbl15bw"; isLibrary = true; isExecutable = true; meta = { From ee606adc9e957fafd517304a1208a74fe05afb6d Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 27 Sep 2012 12:21:07 +0200 Subject: [PATCH 16/46] haskell-directory-tree: update to version 0.11.0 --- .../libraries/haskell/directory-tree/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/haskell/directory-tree/default.nix b/pkgs/development/libraries/haskell/directory-tree/default.nix index 65148f10a22..5c8b357593e 100644 --- a/pkgs/development/libraries/haskell/directory-tree/default.nix +++ b/pkgs/development/libraries/haskell/directory-tree/default.nix @@ -2,11 +2,11 @@ cabal.mkDerivation (self: { pname = "directory-tree"; - version = "0.10.1"; - sha256 = "02acmfdw1yjb0h9dpjy04xxclsasm1p0m6w1dvccd4x2aqc6ybbw"; + version = "0.11.0"; + sha256 = "07vqwnzbwfjvlwcl50x5jl9yzvqfln0m4k4lam9r5n49wv7p01c9"; buildDepends = [ filepath ]; meta = { - homepage = "http://coder.bsimmons.name/blog/2009/05/directory-tree-module-released/"; + homepage = "http://brandon.si/code/directory-tree-module-released/"; description = "A simple directory-like tree datatype, with useful IO functions"; license = self.stdenv.lib.licenses.bsd3; platforms = self.ghc.meta.platforms; From 9ec744961f5f0c69c985eab67c7e0edbe71be4d4 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 27 Sep 2012 12:21:07 +0200 Subject: [PATCH 17/46] haskell-ghc-events: update to version 0.4.0.1 --- pkgs/development/libraries/haskell/ghc-events/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/haskell/ghc-events/default.nix b/pkgs/development/libraries/haskell/ghc-events/default.nix index 0b5fc5c107a..dfbf5181d40 100644 --- a/pkgs/development/libraries/haskell/ghc-events/default.nix +++ b/pkgs/development/libraries/haskell/ghc-events/default.nix @@ -2,13 +2,12 @@ cabal.mkDerivation (self: { pname = "ghc-events"; - version = "0.4.0.0"; - sha256 = "0q1r5jxk8ma8rg65n4iixl5zyk4nxpzi4ywf0jz8y1nbbhbas7g2"; + version = "0.4.0.1"; + sha256 = "1ic8r3hn1m500xwq1n8wz7fp65vm43n7dkjnn341xdmpd1546wlc"; isLibrary = true; isExecutable = true; buildDepends = [ binary mtl ]; noHaddock = true; - jailbreak = true; meta = { description = "Library and tool for parsing .eventlog files from GHC"; license = self.stdenv.lib.licenses.bsd3; From 219109de4e76d50f729d2d3fb7a8625bb1f40f22 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 27 Sep 2012 12:21:07 +0200 Subject: [PATCH 18/46] haskell-hs-bibutils: update to version 4.14 --- pkgs/development/libraries/haskell/hs-bibutils/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/haskell/hs-bibutils/default.nix b/pkgs/development/libraries/haskell/hs-bibutils/default.nix index c96e6aeaac6..dbbe28d274a 100644 --- a/pkgs/development/libraries/haskell/hs-bibutils/default.nix +++ b/pkgs/development/libraries/haskell/hs-bibutils/default.nix @@ -2,11 +2,11 @@ cabal.mkDerivation (self: { pname = "hs-bibutils"; - version = "4.12"; - sha256 = "0akxi69as7k5c0955yla9wcl1xvcvgzpzy3p1jj781w1lf89p537"; + version = "4.14"; + sha256 = "1icdaayahwgfmckd93k26kic2wdgyl65lv08rnwydsi5vlqww32x"; buildDepends = [ syb ]; meta = { - homepage = "http://code.haskell.org/hs-bibutils"; + homepage = "http://gorgias.mine.nu/repos/hs-bibutils/"; description = "Haskell bindings to bibutils, the bibliography conversion utilities"; license = "GPL"; platforms = self.ghc.meta.platforms; From ba6b7c53c4df3be5ef67b05a63dc29a0d1a5c6da Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 27 Sep 2012 12:21:07 +0200 Subject: [PATCH 19/46] haskell-http-conduit: update to version 1.6.1 --- pkgs/development/libraries/haskell/http-conduit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/haskell/http-conduit/default.nix b/pkgs/development/libraries/haskell/http-conduit/default.nix index 3597204eda6..4aad24d1cc7 100644 --- a/pkgs/development/libraries/haskell/http-conduit/default.nix +++ b/pkgs/development/libraries/haskell/http-conduit/default.nix @@ -8,8 +8,8 @@ cabal.mkDerivation (self: { pname = "http-conduit"; - version = "1.6.0.4"; - sha256 = "1gnr65nkgn99cvll71zka6wrpg9ihhn38mg89841q1w2y0xf1mb0"; + version = "1.6.1"; + sha256 = "1yzsa6gqhq6s4b2drhx4jd6qdfawf1swrjyffi2bfq1vq8i9ikf2"; buildDepends = [ asn1Data attoparsec attoparsecConduit base64Bytestring blazeBuilder blazeBuilderConduit caseInsensitive certificate conduit cookie From ced4dd874a75cd99e073ce8f95a5d5a7520c3b31 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 27 Sep 2012 12:21:07 +0200 Subject: [PATCH 20/46] haskell-hxt: update to version 9.3.1.0 --- pkgs/development/libraries/haskell/hxt/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/haskell/hxt/default.nix b/pkgs/development/libraries/haskell/hxt/default.nix index 203bb89ef09..3ffd3a0c1b0 100644 --- a/pkgs/development/libraries/haskell/hxt/default.nix +++ b/pkgs/development/libraries/haskell/hxt/default.nix @@ -4,8 +4,8 @@ cabal.mkDerivation (self: { pname = "hxt"; - version = "9.2.2"; - sha256 = "0ichjpshq10b11dyfv1q7rs2m190x3gplx6k54amlxv45nwd1s6r"; + version = "9.3.1.0"; + sha256 = "0nv7d7ffwq81671c7gyzaqx7xgrgs42svbq5xraij4jbq5406719"; buildDepends = [ binary deepseq filepath HUnit hxtCharproperties hxtRegexXmlschema hxtUnicode mtl network parsec From ef710f5c4d9bfb083482e6be18f749e80ffa4326 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 27 Sep 2012 12:21:07 +0200 Subject: [PATCH 21/46] haskell-random-fu: update to version 0.2.3.1 --- pkgs/development/libraries/haskell/random-fu/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/haskell/random-fu/default.nix b/pkgs/development/libraries/haskell/random-fu/default.nix index 72936308464..520f232d81f 100644 --- a/pkgs/development/libraries/haskell/random-fu/default.nix +++ b/pkgs/development/libraries/haskell/random-fu/default.nix @@ -4,8 +4,8 @@ cabal.mkDerivation (self: { pname = "random-fu"; - version = "0.2.3.0"; - sha256 = "17vn1dz4z00xjpsxjx2dfjnz4qhbn5cbkm2s142kdskiphgxi2f8"; + version = "0.2.3.1"; + sha256 = "06b4v7012fj1kmnz6i63vbwl9gkhzgk556gmcc62k14299ks8pci"; buildDepends = [ erf gamma monadLoops mtl randomShuffle randomSource rvar syb transformers vector From 0ff49d3405a3f97ff90fbb2759bca63fb420036f Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 27 Sep 2012 12:21:07 +0200 Subject: [PATCH 22/46] haskell-snap-server: update to version 0.9.2.3 --- pkgs/development/libraries/haskell/snap/server.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/haskell/snap/server.nix b/pkgs/development/libraries/haskell/snap/server.nix index 4971fec3b1d..c17b8e50e61 100644 --- a/pkgs/development/libraries/haskell/snap/server.nix +++ b/pkgs/development/libraries/haskell/snap/server.nix @@ -14,6 +14,7 @@ cabal.mkDerivation (self: { filepath MonadCatchIOTransformers mtl network snapCore text time transformers unixCompat ]; + jailbreak = true; meta = { homepage = "http://snapframework.com/"; description = "A fast, iteratee-based, epoll-enabled web server for the Snap Framework"; From 669de74d36ea14424cae64488652f237051a7a06 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 27 Sep 2012 12:21:07 +0200 Subject: [PATCH 23/46] haskell-snap: update to version 0.9.2.1 --- pkgs/development/libraries/haskell/snap/snap.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/haskell/snap/snap.nix b/pkgs/development/libraries/haskell/snap/snap.nix index 9ff0bceb3c3..83e149391c5 100644 --- a/pkgs/development/libraries/haskell/snap/snap.nix +++ b/pkgs/development/libraries/haskell/snap/snap.nix @@ -19,6 +19,7 @@ cabal.mkDerivation (self: { snapServer stm syb text time transformers unorderedContainers utf8String vector vectorAlgorithms xmlhtml ]; + jailbreak = true; meta = { homepage = "http://snapframework.com/"; description = "Top-level package for the Snap Web Framework"; From 6a695af99b8562d9bd471100246cce0b3a5b7730 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 27 Sep 2012 12:21:07 +0200 Subject: [PATCH 24/46] haskell-vector-space: update to version 0.8.3 --- pkgs/development/libraries/haskell/vector-space/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/haskell/vector-space/default.nix b/pkgs/development/libraries/haskell/vector-space/default.nix index 2957959f005..3a3cc4a561e 100644 --- a/pkgs/development/libraries/haskell/vector-space/default.nix +++ b/pkgs/development/libraries/haskell/vector-space/default.nix @@ -2,11 +2,10 @@ cabal.mkDerivation (self: { pname = "vector-space"; - version = "0.8.2"; - sha256 = "09gndxxscyc9w85fih370gag8yd1xbfg94nxkwdvhzvbkns9k2ad"; + version = "0.8.3"; + sha256 = "1wiwzbzp2fcavps0fqc9rwm50b2yv0ysgs78d29mvwcya1ywwxgw"; buildDepends = [ Boolean MemoTrie NumInstances ]; meta = { - homepage = "http://haskell.org/haskellwiki/vector-space"; description = "Vector & affine spaces, linear maps, and derivatives"; license = self.stdenv.lib.licenses.bsd3; platforms = self.ghc.meta.platforms; From 8432dddfe8ff4b20bf7d4726b3fc2edd6146d81e Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 27 Sep 2012 12:21:07 +0200 Subject: [PATCH 25/46] haskell-warp: update to version 1.3.2 --- pkgs/development/libraries/haskell/warp/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/haskell/warp/default.nix b/pkgs/development/libraries/haskell/warp/default.nix index b0c3c7205b3..bb168f7d990 100644 --- a/pkgs/development/libraries/haskell/warp/default.nix +++ b/pkgs/development/libraries/haskell/warp/default.nix @@ -5,8 +5,8 @@ cabal.mkDerivation (self: { pname = "warp"; - version = "1.3.1.2"; - sha256 = "11y1dwzvfhr4fhlh5j2ydwj4d3r92qm55rn9xwbfxmr0vmvm78b5"; + version = "1.3.2"; + sha256 = "14yib72x3z6fylpkzpr77cvvnr4bn1vdadh2pq6rknszspl6g7iq"; buildDepends = [ blazeBuilder blazeBuilderConduit caseInsensitive conduit hashable httpTypes liftedBase network networkConduit simpleSendfile From 310c7be3a1822d8e8c27506e9d26ef7b7397e1ab Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 27 Sep 2012 13:41:44 +0200 Subject: [PATCH 26/46] Revert "adding python libraries serial and game which are both dependencies of plover steno engine which needs more testing". The patch lacks the required file "pygame.patch". --- pkgs/top-level/python-packages.nix | 39 ------------------------------ 1 file changed, 39 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 376cb2b3bbf..a55a869f88c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -784,36 +784,6 @@ let pythonPackages = python.modules // rec { }; }); - game = buildPythonPackage rec { - name = "pygame-1.9.1"; - src = fetchurl { - url = http://www.pygame.org/ftp/pygame-1.9.1release.tar.gz; - sha256 = "0cyl0ww4fjlf289pjxa53q4klyn55ajvkgymw0qrdgp4593raq52"; - }; - patches = [ ./pygame.patch ]; - # auto confirming missing dependencies: - # PORTMIDI and PORTTIME still missing - patchPhase = '' - sed -i 's@raw_input(.*@"1"@' config_unix.py - unset patchPhase - patchPhase - ''; - installCommand = "python setup.py install --prefix=$out"; - - propagatedBuildInputs = [ - pkgs.SDL - pkgs.SDL_mixer - pkgs.SDL_gfx - pkgs.SDL_net - pkgs.SDL_sound - pkgs.SDL_ttf - pkgs.SDL_image - pkgs.smpeg - pkgs.libpng - pkgs.libjpeg - ]; - }; - genshi = buildPythonPackage { name = "genshi-0.6"; @@ -3039,15 +3009,6 @@ let pythonPackages = python.modules // rec { }; }; - serial = buildPythonPackage rec { - name = "pyserial-2.5"; - doCheck = false; - src = fetchurl { - url = http://heanet.dl.sourceforge.net/project/pyserial/pyserial/2.5/pyserial-2.5.tar.gz; - sha256 = "04gmpfb43ppc8cf1bvkz8r1gl0nrxc38kpfdqs40ib0d1ql25pgd"; - }; - }; - tracing = buildPythonPackage rec { name = "tracing-0.6"; From a596022d805403de73339493d7cd1ff5438cc852 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 27 Sep 2012 13:46:50 +0200 Subject: [PATCH 27/46] apache-httpd: update to version 2.4.3 --- pkgs/servers/http/apache-httpd/2.4.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/http/apache-httpd/2.4.nix b/pkgs/servers/http/apache-httpd/2.4.nix index c9161bf5909..44fa145b605 100644 --- a/pkgs/servers/http/apache-httpd/2.4.nix +++ b/pkgs/servers/http/apache-httpd/2.4.nix @@ -14,12 +14,12 @@ assert sslSupport -> aprutil.sslSupport && openssl != null; assert ldapSupport -> aprutil.ldapSupport && openldap != null; stdenv.mkDerivation rec { - version = "2.4.2"; + version = "2.4.3"; name = "apache-httpd-${version}"; src = fetchurl { url = "mirror://apache/httpd/httpd-${version}.tar.bz2"; - sha1 = "8d391db515edfb6623c0c7c6ce5c1b2e1f7c64c2"; + sha256 = "17i4zdcjfvxks0p1fbqvab37kr8d6zscqaqan8pqkw8iq6wh48fq"; }; buildInputs = [perl] ++ From 74c0850efd49681a9eac8fac5430a1ce688c95b3 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 27 Sep 2012 15:28:14 +0200 Subject: [PATCH 28/46] spamassassin: site-wide rules are in $out/share/spamassassin; user-rules in /etc/spamassassin --- pkgs/servers/mail/spamassassin/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/servers/mail/spamassassin/default.nix b/pkgs/servers/mail/spamassassin/default.nix index 0f5cefb84c2..7c1c3bc5f9c 100644 --- a/pkgs/servers/mail/spamassassin/default.nix +++ b/pkgs/servers/mail/spamassassin/default.nix @@ -27,9 +27,13 @@ buildPerlPackage rec { # for the PERL5LIB environment variable. Needs further investigation. makeFlags = "PERL_BIN=${perl}/bin/perl PERL_TAINT=no"; + makeMakerFlags = "CONFDIR=/etc/spamassassin LOCALSTATEDIR=/var/lib/spamassassin"; + doCheck = false; postInstall = '' + mv "rules/"* $out/share/spamassassin/ + for n in "$out/bin/"*; do wrapProgram "$n" --prefix PERL5LIB : "$PERL5LIB" done From dfaab992c26021bbe415f2410b1d3980a9e868a4 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 27 Sep 2012 15:29:01 +0200 Subject: [PATCH 29/46] spamassassin: enable more plugins and provide gpg for sa-update --- pkgs/servers/mail/spamassassin/default.nix | 24 +++++++++++----------- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/pkgs/servers/mail/spamassassin/default.nix b/pkgs/servers/mail/spamassassin/default.nix index 7c1c3bc5f9c..0e623f7ac04 100644 --- a/pkgs/servers/mail/spamassassin/default.nix +++ b/pkgs/servers/mail/spamassassin/default.nix @@ -1,16 +1,16 @@ { stdenv, fetchurl, buildPerlPackage, perl, HTMLParser, NetDNS, NetAddrIP, DBFile -, HTTPDate, MailDKIM, makeWrapper +, HTTPDate, MailDKIM, LWP, IOSocketSSL, IOSocketInet6, makeWrapper, gnupg1 }: -# TODO: +# TODO: Add the Perl modules ... +# +# DBI +# Encode::Detect +# IP::Country::Fast +# Mail::SPF +# Net::Ident +# Razor2::Client::Agent # -# - Mail::SPF -# - IP::Country -# - Razor2 -# - Net::Ident -# - DBI -# - LWP::UserAgent -# - Encode::Detect buildPerlPackage rec { name = "SpamAssassin-3.3.2"; @@ -20,8 +20,8 @@ buildPerlPackage rec { sha256 = "01d2jcpy423zfnhg123wlhzysih1hmb93nxfspiaajzh9r5rn8y7"; }; - buildInputs = [ makeWrapper HTMLParser NetDNS NetAddrIP DBFile HTTPDate - MailDKIM ]; + buildInputs = [ makeWrapper HTMLParser NetDNS NetAddrIP DBFile HTTPDate MailDKIM + LWP IOSocketSSL IOSocketInet6 ]; # Enabling 'taint' mode is desirable, but that flag disables support # for the PERL5LIB environment variable. Needs further investigation. @@ -35,7 +35,7 @@ buildPerlPackage rec { mv "rules/"* $out/share/spamassassin/ for n in "$out/bin/"*; do - wrapProgram "$n" --prefix PERL5LIB : "$PERL5LIB" + wrapProgram "$n" --prefix PERL5LIB : "$PERL5LIB" --prefix PATH : "${gnupg1}/bin" done ''; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3aeb726a855..7edc90f5940 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5432,7 +5432,7 @@ let spamassassin = callPackage ../servers/mail/spamassassin { inherit (perlPackages) HTMLParser NetDNS NetAddrIP DBFile - HTTPDate MailDKIM; + HTTPDate MailDKIM LWP IOSocketSSL IOSocketInet6; }; samba = callPackage ../servers/samba { }; From 9ffe9d4e09a8d830740d4049f90054e358e25a06 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 28 Sep 2012 10:35:15 +0200 Subject: [PATCH 30/46] haskell-hxt: jailbreak to support recent versions of the 'network' library --- pkgs/development/libraries/haskell/hxt/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/haskell/hxt/default.nix b/pkgs/development/libraries/haskell/hxt/default.nix index 3ffd3a0c1b0..ee79d374d42 100644 --- a/pkgs/development/libraries/haskell/hxt/default.nix +++ b/pkgs/development/libraries/haskell/hxt/default.nix @@ -10,6 +10,7 @@ cabal.mkDerivation (self: { binary deepseq filepath HUnit hxtCharproperties hxtRegexXmlschema hxtUnicode mtl network parsec ]; + jailbreak = true; meta = { homepage = "http://www.fh-wedel.de/~si/HXmlToolbox/index.html"; description = "A collection of tools for processing XML with Haskell"; From 84413b00e2dce1e914840152a14039b346bd699c Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 28 Sep 2012 10:46:38 +0200 Subject: [PATCH 31/46] haskell-DSH: update to version 0.7.8.2 --- pkgs/development/libraries/haskell/DSH/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/haskell/DSH/default.nix b/pkgs/development/libraries/haskell/DSH/default.nix index 725fe95cc8d..3275db0e0d8 100644 --- a/pkgs/development/libraries/haskell/DSH/default.nix +++ b/pkgs/development/libraries/haskell/DSH/default.nix @@ -4,8 +4,8 @@ cabal.mkDerivation (self: { pname = "DSH"; - version = "0.7.8.1"; - sha256 = "1yz8rh3hkqc465slfzi7jqhjd1xrmcghjxl7zprxw082p2qvj8g5"; + version = "0.7.8.2"; + sha256 = "1rs42c05q4s46a1a03srzdq0aijwalhilzifc8ryq4qwjgh7vkwz"; buildDepends = [ convertible csv FerryCore HaXml HDBC json mtl Pathfinder syb text xhtml From be459eddd8b8f33070e3bbe513a7ce867a232dc3 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 28 Sep 2012 10:46:39 +0200 Subject: [PATCH 32/46] haskell-hs-bibutils: update to version 4.15 --- pkgs/development/libraries/haskell/hs-bibutils/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/haskell/hs-bibutils/default.nix b/pkgs/development/libraries/haskell/hs-bibutils/default.nix index dbbe28d274a..8acb621fe3f 100644 --- a/pkgs/development/libraries/haskell/hs-bibutils/default.nix +++ b/pkgs/development/libraries/haskell/hs-bibutils/default.nix @@ -2,8 +2,8 @@ cabal.mkDerivation (self: { pname = "hs-bibutils"; - version = "4.14"; - sha256 = "1icdaayahwgfmckd93k26kic2wdgyl65lv08rnwydsi5vlqww32x"; + version = "4.15"; + sha256 = "1h2vqi6ymhx9wpfv5qzvq4fhc4iand93shsncp8nszk64acmz9z9"; buildDepends = [ syb ]; meta = { homepage = "http://gorgias.mine.nu/repos/hs-bibutils/"; From 88a859891ce98f4ca6fe05ed9ed86c3de1814e5f Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 28 Sep 2012 10:46:39 +0200 Subject: [PATCH 33/46] haskell-rank1dynamic: update to version 0.1.0.1 --- pkgs/development/libraries/haskell/rank1dynamic/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/haskell/rank1dynamic/default.nix b/pkgs/development/libraries/haskell/rank1dynamic/default.nix index b243279d64e..602f0cc2574 100644 --- a/pkgs/development/libraries/haskell/rank1dynamic/default.nix +++ b/pkgs/development/libraries/haskell/rank1dynamic/default.nix @@ -2,8 +2,8 @@ cabal.mkDerivation (self: { pname = "rank1dynamic"; - version = "0.1.0.0"; - sha256 = "19wyklhf5sghip0i71sza7lv50lj2dawfxy6k67njxr1y56ky92w"; + version = "0.1.0.1"; + sha256 = "18rlih5bndlm5v4nnv8g2rgvab5n22vd8mcjd0m4wq8fmqkb3x9d"; buildDepends = [ binary ]; meta = { homepage = "http://github.com/haskell-distributed/distributed-process"; From 71a51e3d47c5f2acedd167b7b13300f37816ba02 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 28 Sep 2012 10:46:39 +0200 Subject: [PATCH 34/46] haskell-simple-sendfile: update to version 0.2.8 --- .../development/libraries/haskell/simple-sendfile/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/haskell/simple-sendfile/default.nix b/pkgs/development/libraries/haskell/simple-sendfile/default.nix index d99762df2b2..2a55427a6aa 100644 --- a/pkgs/development/libraries/haskell/simple-sendfile/default.nix +++ b/pkgs/development/libraries/haskell/simple-sendfile/default.nix @@ -2,8 +2,8 @@ cabal.mkDerivation (self: { pname = "simple-sendfile"; - version = "0.2.7"; - sha256 = "0chjcn6j5irzjqid3nhh2ya395aqavcar3ygzd01z96ha1nl4dbw"; + version = "0.2.8"; + sha256 = "11lw8m21cy40hd9nzp80d9jawgv9hd3sfvizjcfbvdc2lpq6m17j"; buildDepends = [ network ]; meta = { description = "Cross platform library for the sendfile system call"; From 70ee9a6bb6f4f7ca8ef1dfbf2ad45d3b2b7e91bb Mon Sep 17 00:00:00 2001 From: Rok Garbas Date: Fri, 28 Sep 2012 17:02:19 +0200 Subject: [PATCH 35/46] aircrack-ng: updating hash --- pkgs/tools/networking/aircrack-ng/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/networking/aircrack-ng/default.nix b/pkgs/tools/networking/aircrack-ng/default.nix index 9ecaf183f1f..ea4f517000a 100644 --- a/pkgs/tools/networking/aircrack-ng/default.nix +++ b/pkgs/tools/networking/aircrack-ng/default.nix @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { src = fetchsvn { url = "http://trac.aircrack-ng.org/svn/trunk"; inherit rev; - sha256 = "0rwj2nk4nyy0l9dg6rpg2h5gpvcygs5irj4i6fdcsr8xf0blq7yw"; + sha256 = "d16fd3a4e918fd6a855c0d0ae0c863247a45189e6ec35c0c7082d3d07b6438db"; }; buildInputs = [libpcap openssl zlib]; From 1bcbffc8c5cff2c957961405703173963b2b4e87 Mon Sep 17 00:00:00 2001 From: Rok Garbas Date: Fri, 28 Sep 2012 17:06:07 +0200 Subject: [PATCH 36/46] afew, alot: version update; adding new python package flake8 --- pkgs/top-level/python-packages.nix | 41 +++++++++++++++++++++++------- 1 file changed, 32 insertions(+), 9 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a55a869f88c..ed7a03ac1ee 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -33,11 +33,13 @@ let pythonPackages = python.modules // rec { afew = buildPythonPackage rec { - name = "afew-1.0pre"; + rev = "6bb3915636aaf86f046a017ffffd9a4ef395e199"; + name = "afew-1.0_${rev}"; + src = fetchurl { - url = "https://github.com/teythoon/afew/tarball/master"; + url = "https://github.com/teythoon/afew/tarball/${rev}"; name = "${name}.tar.bz"; - sha256 = "949710f8dcf503f42f2a2d77ea71e48ccf70155a764f75ad29cc93edc120809b"; + sha256 = "74926d9ddfa69534cfbd08a82f0acccab2c649558062654d5d2ff2999d201384"; }; propagatedBuildInputs = [ notmuch pkgs.dbacl ]; @@ -59,12 +61,13 @@ let pythonPackages = python.modules // rec { alot = buildPythonPackage rec { - name = "alot-0.3.1"; + rev = "27c91058c49d8755d2813d5b78094f40f36ec905"; + name = "alot-0.3.3_${rev}"; src = fetchurl { - url = "https://github.com/pazz/alot/tarball/master"; + url = "https://github.com/pazz/alot/tarball/${rev}"; name = "${name}.tar.bz"; - sha256 = "06683de36688615d3d526198c93133e1131897c888ffa31e83f1ad292eae57af"; + sha256 = "67e1033aa91818b7fa4c3911430a4da0f73aca92c3e3832c010038cbf263eec2"; }; doCheck = false; @@ -73,7 +76,7 @@ let pythonPackages = python.modules // rec { postInstall = '' wrapProgram $out/bin/alot \ - --prefix LD_LIBRARY_PATH : ${pkgs.notmuch}/lib:${pkgs.file511}/lib + --prefix LD_LIBRARY_PATH : ${pkgs.notmuch}/lib:${pkgs.file511}/lib:${pkgs.gpgme}/lib ''; meta = { @@ -700,6 +703,26 @@ let pythonPackages = python.modules // rec { }; + flake8 = buildPythonPackage (rec { + name = "flake8-1.4"; + + src = fetchurl { + url = "http://pypi.python.org/packages/source/f/flake8/${name}.tar.gz"; + md5 = "64acc2c905178f6d6817d88574407fb5"; + }; + + doCheck = false; + + meta = { + description = "code checking using pep8 and pyflakes."; + homepage = http://pypi.python.org/pypi/flake8; + license = pkgs.lib.licenses.mit; + maintainers = [ stdenv.lib.maintainers.garbas ]; + platforms = python.meta.platforms; + }; + }); + + flask = buildPythonPackage { name = "flask-0.9"; @@ -2727,13 +2750,13 @@ let pythonPackages = python.modules // rec { urwid = buildPythonPackage (rec { - name = "urwid-1.0.1"; + name = "urwid-1.0.2"; doCheck = false; src = fetchurl { url = "http://excess.org/urwid/${name}.tar.gz"; - md5 = "828f7144b94920205e755c249d2e297f"; + md5 = "00542bbd15fae7ea60b02a7570edee2b"; }; meta = { From c9585528288c0c330486d29cddce1a7e10aa1a59 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 28 Sep 2012 11:47:01 -0400 Subject: [PATCH 37/46] systemd: Update to 193 --- pkgs/os-specific/linux/systemd/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index 1d44b899edf..abacee62ff3 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -6,11 +6,11 @@ assert stdenv.gcc.libc or null != null; stdenv.mkDerivation rec { - name = "systemd-192"; + name = "systemd-193"; src = fetchurl { url = "http://www.freedesktop.org/software/systemd/${name}.tar.xz"; - sha256 = "03y3y1w3x7bx67jvdxryhns3h1g6nrllln46gqipp35n99alki2m"; + sha256 = "1k8fmii15127y4b2kc9id2vkmrjdsbq3kv6fi308k72azbhnpnxr"; }; patches = [ ./reexec.patch ]; @@ -91,6 +91,6 @@ stdenv.mkDerivation rec { homepage = "http://www.freedesktop.org/wiki/Software/systemd"; description = "A system and service manager for Linux"; platforms = stdenv.lib.platforms.linux; - maintainers = [ stdenv.lib.maintainers.simons ]; + maintainers = [ stdenv.lib.maintainers.eelco stdenv.lib.maintainers.simons ]; }; } From 35cc2c32bbb1d9f5f06c57f06435f052424a1d56 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 28 Sep 2012 21:45:00 +0200 Subject: [PATCH 38/46] haskell-parallel-io: add version 0.3.2 --- .../libraries/haskell/parallel-io/default.nix | 17 +++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 19 insertions(+) create mode 100644 pkgs/development/libraries/haskell/parallel-io/default.nix diff --git a/pkgs/development/libraries/haskell/parallel-io/default.nix b/pkgs/development/libraries/haskell/parallel-io/default.nix new file mode 100644 index 00000000000..1cb682d2b91 --- /dev/null +++ b/pkgs/development/libraries/haskell/parallel-io/default.nix @@ -0,0 +1,17 @@ +{ cabal, extensibleExceptions, random }: + +cabal.mkDerivation (self: { + pname = "parallel-io"; + version = "0.3.2"; + sha256 = "1n9y1d1lcdwvhjsfqdlxknl89fxncq17kgin43wlki0c39cgirga"; + isLibrary = true; + isExecutable = true; + buildDepends = [ extensibleExceptions random ]; + jailbreak = true; + meta = { + homepage = "http://batterseapower.github.com/parallel-io"; + description = "Combinators for executing IO actions in parallel on a thread pool"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 41965315970..7be018fbeb8 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1199,6 +1199,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); parallel_3_2_0_3 = callPackage ../development/libraries/haskell/parallel/3.2.0.3.nix {}; parallel = self.parallel_3_2_0_3; + parallelIo = callPackage ../development/libraries/haskell/parallel-io {}; + parseargs = callPackage ../development/libraries/haskell/parseargs {}; parsec_2_1_0_1 = callPackage ../development/libraries/haskell/parsec/2.1.0.1.nix {}; From 8ea11ec677e5d5ad8f2a74f9684dafdeffd4882c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sat, 29 Sep 2012 23:36:42 +0200 Subject: [PATCH 39/46] ffmpeg: update to 1.0 --- pkgs/development/libraries/ffmpeg/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/ffmpeg/default.nix b/pkgs/development/libraries/ffmpeg/default.nix index 3b5e28a2ee7..02cc60d9b8d 100644 --- a/pkgs/development/libraries/ffmpeg/default.nix +++ b/pkgs/development/libraries/ffmpeg/default.nix @@ -21,11 +21,11 @@ assert vdpauSupport -> libvdpau != null; assert faacSupport -> faac != null; stdenv.mkDerivation rec { - name = "ffmpeg-0.10"; + name = "ffmpeg-1.0"; src = fetchurl { url = "http://www.ffmpeg.org/releases/${name}.tar.bz2"; - sha256 = "1ybzw6d5axr807141izvm2yf4pa0hc1zcywj89nsn3qsdnknlna3"; + sha256 = "1jbi85z2zkk3fh09l9f1s70kpvsz8706ay4lsw75395q8vic70hd"; }; # `--enable-gpl' (as well as the `postproc' and `swscale') mean that From f31de09d5cd983651dc654ce2a015292d7187ed2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sat, 29 Sep 2012 23:38:41 +0200 Subject: [PATCH 40/46] libvpx: updating to 1.1.0 --- pkgs/development/libraries/libvpx/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/libvpx/default.nix b/pkgs/development/libraries/libvpx/default.nix index 0d1a2cacc46..1c225aa7853 100644 --- a/pkgs/development/libraries/libvpx/default.nix +++ b/pkgs/development/libraries/libvpx/default.nix @@ -1,11 +1,11 @@ {stdenv, fetchurl, bash, yasm, which, perl}: stdenv.mkDerivation rec { - name = "libvpx-1.0.0"; + name = "libvpx-1.1.0"; src = fetchurl { - url = http://webm.googlecode.com/files/libvpx-v1.0.0.tar.bz2; - sha256 = "08gyx90ndv0v8dhbhp3jdh6g37pmcjlfwljzsy0nskm4345dpkh7"; + url = http://webm.googlecode.com/files/libvpx-v1.1.0.tar.bz2; + sha256 = "1ibjxcdsazqfbbjhb8w56vy3n9qwny2m9q4kzx4rmk9v9g7p9q4w"; }; patchPhase = '' From 3bc6675d70eeaaad2e6ca80ea7c25b107dcfdc94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sun, 30 Sep 2012 12:19:37 +0200 Subject: [PATCH 41/46] Revert "ffmpeg: update to 1.0" This reverts commit 8ea11ec677e5d5ad8f2a74f9684dafdeffd4882c. It was breaking things, as said by Eelco said in nix-dev: http://hydra.nixos.org/eval/742774 --- pkgs/development/libraries/ffmpeg/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/ffmpeg/default.nix b/pkgs/development/libraries/ffmpeg/default.nix index 02cc60d9b8d..3b5e28a2ee7 100644 --- a/pkgs/development/libraries/ffmpeg/default.nix +++ b/pkgs/development/libraries/ffmpeg/default.nix @@ -21,11 +21,11 @@ assert vdpauSupport -> libvdpau != null; assert faacSupport -> faac != null; stdenv.mkDerivation rec { - name = "ffmpeg-1.0"; + name = "ffmpeg-0.10"; src = fetchurl { url = "http://www.ffmpeg.org/releases/${name}.tar.bz2"; - sha256 = "1jbi85z2zkk3fh09l9f1s70kpvsz8706ay4lsw75395q8vic70hd"; + sha256 = "1ybzw6d5axr807141izvm2yf4pa0hc1zcywj89nsn3qsdnknlna3"; }; # `--enable-gpl' (as well as the `postproc' and `swscale') mean that From cb7e161361a44673417c949efb7466236c1f043e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sun, 30 Sep 2012 12:20:55 +0200 Subject: [PATCH 42/46] ffmpeg: adding 1.0 back as an attribute apart. --- pkgs/development/libraries/ffmpeg/1.0.nix | 81 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++ 2 files changed, 85 insertions(+) create mode 100644 pkgs/development/libraries/ffmpeg/1.0.nix diff --git a/pkgs/development/libraries/ffmpeg/1.0.nix b/pkgs/development/libraries/ffmpeg/1.0.nix new file mode 100644 index 00000000000..02cc60d9b8d --- /dev/null +++ b/pkgs/development/libraries/ffmpeg/1.0.nix @@ -0,0 +1,81 @@ +{ stdenv, fetchurl, pkgconfig, yasm, zlib, bzip2 +, mp3Support ? true, lame ? null +, speexSupport ? true, speex ? null +, theoraSupport ? true, libtheora ? null +, vorbisSupport ? true, libvorbis ? null +, vpxSupport ? false, libvpx ? null +, x264Support ? true, x264 ? null +, xvidSupport ? true, xvidcore ? null +, vdpauSupport ? true, libvdpau ? null +, faacSupport ? false, faac ? null +, dc1394Support ? false, libdc1394 ? null +}: + +assert speexSupport -> speex != null; +assert theoraSupport -> libtheora != null; +assert vorbisSupport -> libvorbis != null; +assert vpxSupport -> libvpx != null; +assert x264Support -> x264 != null; +assert xvidSupport -> xvidcore != null; +assert vdpauSupport -> libvdpau != null; +assert faacSupport -> faac != null; + +stdenv.mkDerivation rec { + name = "ffmpeg-1.0"; + + src = fetchurl { + url = "http://www.ffmpeg.org/releases/${name}.tar.bz2"; + sha256 = "1jbi85z2zkk3fh09l9f1s70kpvsz8706ay4lsw75395q8vic70hd"; + }; + + # `--enable-gpl' (as well as the `postproc' and `swscale') mean that + # the resulting library is GPL'ed, so it can only be used in GPL'ed + # applications. + configureFlags = [ + "--enable-gpl" + "--enable-postproc" + "--enable-swscale" + "--disable-ffplay" + "--enable-shared" + "--enable-runtime-cpudetect" + ] + ++ stdenv.lib.optional mp3Support "--enable-libmp3lame" + ++ stdenv.lib.optional speexSupport "--enable-libspeex" + ++ stdenv.lib.optional theoraSupport "--enable-libtheora" + ++ stdenv.lib.optional vorbisSupport "--enable-libvorbis" + ++ stdenv.lib.optional vpxSupport "--enable-libvpx" + ++ stdenv.lib.optional x264Support "--enable-libx264" + ++ stdenv.lib.optional xvidSupport "--enable-libxvid" + ++ stdenv.lib.optional vdpauSupport "--enable-vdpau" + ++ stdenv.lib.optional faacSupport "--enable-libfaac --enable-nonfree" + ++ stdenv.lib.optional dc1394Support "--enable-libdc1394"; + + buildInputs = [ pkgconfig lame yasm zlib bzip2 ] + ++ stdenv.lib.optional mp3Support lame + ++ stdenv.lib.optional speexSupport speex + ++ stdenv.lib.optional theoraSupport libtheora + ++ stdenv.lib.optional vorbisSupport libvorbis + ++ stdenv.lib.optional vpxSupport libvpx + ++ stdenv.lib.optional x264Support x264 + ++ stdenv.lib.optional xvidSupport xvidcore + ++ stdenv.lib.optional vdpauSupport libvdpau + ++ stdenv.lib.optional faacSupport faac + ++ stdenv.lib.optional dc1394Support libdc1394; + + enableParallelBuilding = true; + + crossAttrs = { + dontSetConfigureCross = true; + configureFlags = configureFlags ++ [ + "--cross-prefix=${stdenv.cross.config}-" + "--enable-cross-compile" + "--target_os=linux" + "--arch=${stdenv.cross.arch}" + ]; + }; + + meta = { + homepage = http://www.ffmpeg.org/; + description = "A complete, cross-platform solution to record, convert and stream audio and video"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7edc90f5940..ec7dd2436e7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3500,6 +3500,10 @@ let vpxSupport = if !stdenv.isMips then true else false; }; + ffmpeg_1_0 = callPackage ../development/libraries/ffmpeg/1.0.nix { + vpxSupport = if !stdenv.isMips then true else false; + }; + fftw = callPackage ../development/libraries/fftw { singlePrecision = false; }; From 564cc7d12c68f0678b49b5892e4406adedefda1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cillian=20de=20R=C3=B3iste?= Date: Sun, 30 Sep 2012 21:23:28 +0200 Subject: [PATCH 43/46] Upgrade ffado (FireWire audio drivers) to the recently released 2.1.0 --- pkgs/os-specific/linux/ffado/default.nix | 22 +++++++++++-------- .../linux/ffado/enable-mixer-and-dbus.patch | 13 ++++++----- 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/pkgs/os-specific/linux/ffado/default.nix b/pkgs/os-specific/linux/ffado/default.nix index a78599c6a20..1803a201aff 100644 --- a/pkgs/os-specific/linux/ffado/default.nix +++ b/pkgs/os-specific/linux/ffado/default.nix @@ -1,13 +1,14 @@ -{ stdenv, fetchsvn, dbus, dbus_cplusplus, expat, glibmm, libconfig +{ stdenv, fetchurl, dbus, dbus_cplusplus, expat, glibmm, libconfig , libavc1394, libiec61883, libraw1394, libxmlxx, makeWrapper, pkgconfig , pyqt4, python, pythonDBus, qt4, scons }: stdenv.mkDerivation rec { - name = "libffado-svn-1995"; + name = "libffado-${version}"; + version = "2.1.0"; - src = fetchsvn { - url = "http://subversion.ffado.org/ffado/trunk/libffado"; - rev = "1995"; + src = fetchurl { + url = "http://www.ffado.org/files/${name}.tgz"; + sha256 = "11cxmy31c19720j2171l735rpg7l8i41icsgqscfd2vkbscfmh6y"; }; buildInputs = @@ -18,13 +19,16 @@ stdenv.mkDerivation rec { patches = [ ./enable-mixer-and-dbus.patch ]; - preBuild = "export PYLIBSUFFIX=lib/${python.libPrefix}/site-packages"; - # TODO fix ffado-diag, it doesn't seem to use PYPKGDIR - buildPhase = "scons PYPKGDIR=$out/$PYLIBSUFFIX"; + buildPhase = '' + export PYLIBSUFFIX=lib/${python.libPrefix}/site-packages + scons PYPKGDIR=$out/$PYLIBSUFFIX + sed -e "s#/usr/local#$out#" -i support/mixer-qt4/ffado/config.py + ''; + installPhase = '' scons PREFIX=$out LIBDIR=$out/lib SHAREDIR=$out/share/libffado \ - PYPKGDIR=$out/$PYLIBSUFFIX install + PYPKGDIR=$out/$PYLIBSUFFIX UDEVDIR=$out/lib/udev/rules.d install sed -e "s#/usr/local#$out#g" -i $out/bin/ffado-diag diff --git a/pkgs/os-specific/linux/ffado/enable-mixer-and-dbus.patch b/pkgs/os-specific/linux/ffado/enable-mixer-and-dbus.patch index 44c0b991e0a..480e0f45a92 100644 --- a/pkgs/os-specific/linux/ffado/enable-mixer-and-dbus.patch +++ b/pkgs/os-specific/linux/ffado/enable-mixer-and-dbus.patch @@ -1,24 +1,25 @@ ---- libffado-r2117/SConstruct 1970-01-01 01:00:01.000000000 +0100 -+++ libffado-r2117/SConstruct 2012-04-06 18:26:45.521100690 +0200 -@@ -314,10 +314,8 @@ +--- libffado-2.1.0/SConstruct 1970-01-01 01:00:01.000000000 +0100 ++++ libffado-2.1.0/SConstruct 2012-09-30 16:50:23.603283095 +0000 +@@ -349,11 +349,9 @@ + # Optional checks follow: # - # PyQT checks +-# PyQT checks -build_mixer = False -if conf.CheckForApp( 'which pyuic4' ) and conf.CheckForPyModule( 'dbus' ) and conf.CheckForPyModule( 'PyQt4' ) and conf.CheckForPyModule( 'dbus.mainloop.qt' ): - env['PYUIC4'] = True - build_mixer = True +env['PYUIC4'] = True +build_mixer = True ++ if conf.CheckForApp( 'xdg-desktop-menu --help' ): env['XDG_TOOLS'] = True -@@ -348,7 +346,8 @@ +@@ -384,7 +382,7 @@ name2 = pkg.replace("+","").replace(".","").replace("-","").upper() env['%s_FLAGS' % name2] = conf.GetPKGFlags( pkg, pkgs[pkg] ) -if not env['DBUS1_FLAGS'] or not env['DBUSC1_FLAGS'] or not conf.CheckForApp('which dbusxx-xml2cpp'): -+ +if False: env['DBUS1_FLAGS'] = "" env['DBUSC1_FLAGS'] = "" From 471eb0ba53c80e1e5f03b86a03d4b284a804932d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cillian=20de=20R=C3=B3iste?= Date: Sun, 30 Sep 2012 23:53:39 +0200 Subject: [PATCH 44/46] ffmpeg: Add option to enable x11grab support. This is useful for making screencasts, or bug reporting. Note: This is copied from aszlig's pull request: 05831d3a668361b2 --- pkgs/development/libraries/ffmpeg/1.0.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/ffmpeg/1.0.nix b/pkgs/development/libraries/ffmpeg/1.0.nix index 02cc60d9b8d..7ac77ffdcb7 100644 --- a/pkgs/development/libraries/ffmpeg/1.0.nix +++ b/pkgs/development/libraries/ffmpeg/1.0.nix @@ -9,6 +9,7 @@ , vdpauSupport ? true, libvdpau ? null , faacSupport ? false, faac ? null , dc1394Support ? false, libdc1394 ? null +, x11grabSupport ? false, libXext ? null, libXfixes ? null }: assert speexSupport -> speex != null; @@ -19,6 +20,7 @@ assert x264Support -> x264 != null; assert xvidSupport -> xvidcore != null; assert vdpauSupport -> libvdpau != null; assert faacSupport -> faac != null; +assert x11grabSupport -> libXext != null && libXfixes != null; stdenv.mkDerivation rec { name = "ffmpeg-1.0"; @@ -48,7 +50,8 @@ stdenv.mkDerivation rec { ++ stdenv.lib.optional xvidSupport "--enable-libxvid" ++ stdenv.lib.optional vdpauSupport "--enable-vdpau" ++ stdenv.lib.optional faacSupport "--enable-libfaac --enable-nonfree" - ++ stdenv.lib.optional dc1394Support "--enable-libdc1394"; + ++ stdenv.lib.optional dc1394Support "--enable-libdc1394" + ++ stdenv.lib.optional x11grabSupport "--enable-x11grab"; buildInputs = [ pkgconfig lame yasm zlib bzip2 ] ++ stdenv.lib.optional mp3Support lame @@ -60,7 +63,8 @@ stdenv.mkDerivation rec { ++ stdenv.lib.optional xvidSupport xvidcore ++ stdenv.lib.optional vdpauSupport libvdpau ++ stdenv.lib.optional faacSupport faac - ++ stdenv.lib.optional dc1394Support libdc1394; + ++ stdenv.lib.optional dc1394Support libdc1394 + ++ stdenv.lib.optionals x11grabSupport [ libXext libXfixes ]; enableParallelBuilding = true; From 359355e15084b0d5572e3e39afb40ee94f7d00c6 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Mon, 1 Oct 2012 07:01:31 -0400 Subject: [PATCH 45/46] Linux 3.6 --- pkgs/os-specific/linux/kernel/linux-3.6.nix | 265 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 14 ++ 2 files changed, 279 insertions(+) create mode 100644 pkgs/os-specific/linux/kernel/linux-3.6.nix diff --git a/pkgs/os-specific/linux/kernel/linux-3.6.nix b/pkgs/os-specific/linux/kernel/linux-3.6.nix new file mode 100644 index 00000000000..6b6deb0f445 --- /dev/null +++ b/pkgs/os-specific/linux/kernel/linux-3.6.nix @@ -0,0 +1,265 @@ +args @ { stdenv, fetchurl, extraConfig ? "" +, perl, mktemp, module_init_tools +, ... }: + +let + configWithPlatform = kernelPlatform : + '' + # Power management and debugging for powertop. + DEBUG_KERNEL y + PM_ADVANCED_DEBUG y + PM_RUNTIME y + TIMER_STATS y + USB_SUSPEND y + BACKTRACE_SELF_TEST n + CPU_NOTIFIER_ERROR_INJECT? n + DEBUG_DEVRES n + DEBUG_NX_TEST n + DEBUG_STACK_USAGE n + DEBUG_STACKOVERFLOW n + RCU_TORTURE_TEST n + SCHEDSTATS n + + # Support drivers that need external firmware. + STANDALONE n + + # Make /proc/config.gz available. + IKCONFIG_PROC y + + # Optimize with -O2, not -Os. + CC_OPTIMIZE_FOR_SIZE n + + # Enable the kernel's built-in memory tester. + MEMTEST y + + # Include the CFQ I/O scheduler in the kernel, rather than as a + # module, so that the initrd gets a good I/O scheduler. + IOSCHED_CFQ y + BLK_CGROUP y # required by CFQ + + # Enable NUMA. + NUMA? y + + # Disable some expensive (?) features. + FTRACE n + KPROBES n + PM_TRACE_RTC n + + # Enable various subsystems. + ACCESSIBILITY y # Accessibility support + AUXDISPLAY y # Auxiliary Display support + DONGLE y # Serial dongle support + HIPPI? y + MTD_COMPLEX_MAPPINGS y # needed for many devices + SCSI_LOWLEVEL y # enable lots of SCSI devices + SCSI_LOWLEVEL_PCMCIA y + SPI y # needed for many devices + SPI_MASTER y + WAN y + + # Networking options. + IP_PNP n + IPV6_PRIVACY y + NETFILTER_ADVANCED y + IP_VS_PROTO_TCP y + IP_VS_PROTO_UDP y + IP_VS_PROTO_ESP y + IP_VS_PROTO_AH y + IP_DCCP_CCID3 n # experimental + CLS_U32_PERF y + CLS_U32_MARK y + + # Wireless networking. + IPW2100_MONITOR y # support promiscuous mode + IPW2200_MONITOR? y # support promiscuous mode + HOSTAP_FIRMWARE y # Support downloading firmware images with Host AP driver + HOSTAP_FIRMWARE_NVRAM y + ATH9K_PCI y # Detect Atheros AR9xxx cards on PCI(e) bus + ATH9K_AHB y # Ditto, AHB bus + B43_PHY_HT y + BCMA_HOST_PCI y + + # Some settings to make sure that fbcondecor works - in particular, + # disable tileblitting and the drivers that need it. + + # Enable various FB devices. + FB y + FB_EFI y + FB_NVIDIA_I2C y # Enable DDC Support + FB_RIVA_I2C y + FB_ATY_CT y # Mach64 CT/VT/GT/LT (incl. 3D RAGE) support + FB_ATY_GX y # Mach64 GX support + FB_SAVAGE_I2C y + FB_SAVAGE_ACCEL y + FB_SIS_300 y + FB_SIS_315 y + FB_3DFX_ACCEL y + FB_GEODE y + + # Video configuration + # Enable KMS for devices whose X.org driver supports it. + DRM_I915_KMS y + DRM_RADEON_KMS y + # Hybrid graphics support + VGA_SWITCHEROO y + + # Sound. + SND_AC97_POWER_SAVE y # AC97 Power-Saving Mode + SND_HDA_INPUT_BEEP y # Support digital beep via input layer + SND_USB_CAIAQ_INPUT y + PSS_MIXER y # Enable PSS mixer (Beethoven ADSP-16 and other compatible) + + # USB serial devices. + USB_SERIAL_GENERIC y # USB Generic Serial Driver + USB_SERIAL_KEYSPAN_MPR y # include firmware for various USB serial devices + USB_SERIAL_KEYSPAN_USA28 y + USB_SERIAL_KEYSPAN_USA28X y + USB_SERIAL_KEYSPAN_USA28XA y + USB_SERIAL_KEYSPAN_USA28XB y + USB_SERIAL_KEYSPAN_USA19 y + USB_SERIAL_KEYSPAN_USA18X y + USB_SERIAL_KEYSPAN_USA19W y + USB_SERIAL_KEYSPAN_USA19QW y + USB_SERIAL_KEYSPAN_USA19QI y + USB_SERIAL_KEYSPAN_USA49W y + USB_SERIAL_KEYSPAN_USA49WLC y + + # Filesystem options - in particular, enable extended attributes and + # ACLs for all filesystems that support them. + EXT2_FS_XATTR y # Ext2 extended attributes + EXT2_FS_POSIX_ACL y # Ext2 POSIX Access Control Lists + EXT2_FS_SECURITY y # Ext2 Security Labels + EXT2_FS_XIP y # Ext2 execute in place support + EXT4_FS_POSIX_ACL y + EXT4_FS_SECURITY y + REISERFS_FS_XATTR y + REISERFS_FS_POSIX_ACL y + REISERFS_FS_SECURITY y + JFS_POSIX_ACL y + JFS_SECURITY y + XFS_QUOTA y + XFS_POSIX_ACL y + XFS_RT y # XFS Realtime subvolume support + OCFS2_DEBUG_MASKLOG n + BTRFS_FS_POSIX_ACL y + UBIFS_FS_XATTR? y + UBIFS_FS_ADVANCED_COMPR y + NFSD_V2_ACL y + NFSD_V3 y + NFSD_V3_ACL y + NFSD_V4 y + CIFS_XATTR y + CIFS_POSIX y + + # Security related features. + STRICT_DEVMEM y # Filter access to /dev/mem + SECURITY_SELINUX_BOOTPARAM_VALUE 0 # disable SELinux by default + + # Misc. options. + 8139TOO_8129 y + 8139TOO_PIO n # PIO is slower + AIC79XX_DEBUG_ENABLE n + AIC7XXX_DEBUG_ENABLE n + AIC94XX_DEBUG n + B43_PCMCIA y + BLK_DEV_CMD640_ENHANCED y # CMD640 enhanced support + BLK_DEV_IDEACPI y # IDE ACPI support + BLK_DEV_INTEGRITY y + BSD_PROCESS_ACCT_V3 y + BT_HCIUART_BCSP y + BT_HCIUART_H4 y # UART (H4) protocol support + BT_HCIUART_LL y + BT_RFCOMM m + BT_RFCOMM_TTY y # RFCOMM TTY support + CRASH_DUMP n + DMAR? n # experimental + DVB_DYNAMIC_MINORS? y # we use udev + EFI_STUB y # EFI bootloader in the bzImage itself + FUSION y # Fusion MPT device support + IDE_GD_ATAPI y # ATAPI floppy support + IRDA_ULTRA y # Ultra (connectionless) protocol + JOYSTICK_IFORCE_232 y # I-Force Serial joysticks and wheels + JOYSTICK_IFORCE_USB y # I-Force USB joysticks and wheels + JOYSTICK_XPAD_FF y # X-Box gamepad rumble support + JOYSTICK_XPAD_LEDS y # LED Support for Xbox360 controller 'BigX' LED + LDM_PARTITION y # Windows Logical Disk Manager (Dynamic Disk) support + LEDS_TRIGGER_IDE_DISK y # LED IDE Disk Trigger + LOGIRUMBLEPAD2_FF y # Logitech Rumblepad 2 force feedback + LOGO n # not needed + MEDIA_ATTACH? y + MEGARAID_NEWGEN y + MICROCODE_AMD y + MODVERSIONS y + MOUSE_PS2_ELANTECH y # Elantech PS/2 protocol extension + MTRR_SANITIZER y + NET_FC y # Fibre Channel driver support + PPP_MULTILINK y # PPP multilink support + REGULATOR y # Voltage and Current Regulator Support + SCSI_LOGGING y # SCSI logging facility + SERIAL_8250 y # 8250/16550 and compatible serial support + SLIP_COMPRESSED y # CSLIP compressed headers + SLIP_SMART y + THERMAL_HWMON y # Hardware monitoring support + USB_DEBUG n + USB_EHCI_ROOT_HUB_TT y # Root Hub Transaction Translators + USB_EHCI_TT_NEWSCHED y # Improved transaction translator scheduling + X86_CHECK_BIOS_CORRUPTION y + X86_MCE y + XEN_DOM0 y + + # Linux Containers + RT_GROUP_SCHED? y + CGROUP_DEVICE? y + CGROUP_MEM_RES_CTLR? y + CGROUP_MEM_RES_CTLR_SWAP? y + DEVPTS_MULTIPLE_INSTANCES? y + + # Enable staging drivers. These are somewhat experimental, but + # they generally don't hurt. + STAGING y + + # PROC_EVENTS requires that the netlink connector is not built + # as a module. This is required by libcgroup's cgrulesengd. + CONNECTOR y + PROC_EVENTS y + + # Tracing + FTRACE y + FUNCTION_TRACER y + FTRACE_SYSCALLS y + SCHED_TRACER y + + # Devtmpfs support. + DEVTMPFS y + + ${if kernelPlatform ? kernelExtraConfig then kernelPlatform.kernelExtraConfig else ""} + ${extraConfig} + ''; +in + +import ./generic.nix ( + + rec { + version = "3.6"; + modDirVersion = "3.6.0"; + testing = false; + + preConfigure = '' + substituteInPlace scripts/depmod.sh --replace '-b "$INSTALL_MOD_PATH"' "" + ''; + + src = fetchurl { + url = "mirror://kernel/linux/kernel/v3.x/${if testing then "testing/" else ""}linux-${version}.tar.xz"; + sha256 = "0kvqj6bhzcq581aav8mjzzxisz7s5vwng7b5kwzp2d8p3kpsdfaa"; + }; + + config = configWithPlatform stdenv.platform; + configCross = configWithPlatform stdenv.cross.platform; + + features.iwlwifi = true; + features.efiBootStub = true; + features.needsCifsUtils = true; + } + + // removeAttrs args ["extraConfig"] +) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ec7dd2436e7..e0a0ae0cd26 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5848,6 +5848,19 @@ let ]; }; + linux_3_6 = makeOverridable (import ../os-specific/linux/kernel/linux-3.6.nix) { + inherit fetchurl stdenv perl mktemp module_init_tools ubootChooser; + kernelPatches = + [ + kernelPatches.sec_perm_2_6_24 +# kernelPatches.aufs3_5 +# kernelPatches.perf3_5 + ] ++ lib.optionals (platform.kernelArch == "mips") + [ kernelPatches.mips_fpureg_emu + kernelPatches.mips_fpu_sigill + ]; + }; + /* Linux kernel modules are inherently tied to a specific kernel. So rather than provide specific instances of those packages for a specific kernel, we have a function that builds those packages @@ -5973,6 +5986,7 @@ let linuxPackages_3_3 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_3 pkgs.linuxPackages_3_3); linuxPackages_3_4 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_4 pkgs.linuxPackages_3_4); linuxPackages_3_5 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_5 pkgs.linuxPackages_3_5); + linuxPackages_3_6 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_6 pkgs.linuxPackages_3_6); # The current default kernel / kernel modules. linux = linuxPackages.kernel; From 41ca123e73225105b83299f8cf477ddc48287f49 Mon Sep 17 00:00:00 2001 From: Rok Garbas Date: Mon, 1 Oct 2012 13:05:57 +0200 Subject: [PATCH 46/46] python-httplib2: updated to 0.7.6, added python-turses and its dependencies (python-oauth2, python-tweepy) --- pkgs/top-level/python-packages.nix | 68 ++++++++++++++++++++++++++++-- 1 file changed, 65 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ed7a03ac1ee..a9d9a258bbb 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -925,18 +925,21 @@ let pythonPackages = python.modules // rec { httplib2 = buildPythonPackage rec { - name = "httplib2-0.6.0"; + name = "httplib2-0.7.6"; src = fetchurl { url = "http://httplib2.googlecode.com/files/${name}.tar.gz"; - sha256 = "134pldyxayc0x4akzzvkciz2kj1w2dsim1xvd9b1qrpmba70dpjq"; + sha256 = "baa7bf431fa9d3c1016562de717e1ebb322a99df72a2918f6b5b8f65fa65bc2e"; }; doCheck = false; # doesn't have a test meta = { - homepage = http://code.google.com/p/httplib2/; + homepage = "http://code.google.com/p/httplib2"; description = "A comprehensive HTTP client library"; + license = pkgs.lib.licenses.mit; + maintainers = [ stdenv.lib.maintainers.garbas ]; + platforms = python.meta.platforms; }; }; @@ -1445,6 +1448,26 @@ let pythonPackages = python.modules // rec { }; }); + oauth2 = buildPythonPackage (rec { + name = "auth2-1.5.211"; + + src = fetchurl { + url = "http://pypi.python.org/packages/source/o/oauth2/oauth2-1.5.211.tar.gz"; + sha256 = "82a38f674da1fa496c0fc4df714cbb058540bed72a30c50a2e344b0d984c4d21"; + }; + + propagatedBuildInputs = [ httplib2 ]; + doCheck = false; + + meta = { + homepage = "https://github.com/simplegeo/python-oauth2"; + description = "library for OAuth version 1.0"; + license = pkgs.lib.licenses.mit; + maintainers = [ stdenv.lib.maintainers.garbas ]; + platforms = stdenv.lib.platforms.linux; + }; + }); + optfunc = buildPythonPackage ( rec { name = "optfunc-git"; @@ -2679,6 +2702,45 @@ let pythonPackages = python.modules // rec { }; }; + turses = buildPythonPackage (rec { + name = "turses-0.2.5"; + + src = fetchurl { + url = "http://pypi.python.org/packages/source/t/turses/${name}.tar.gz"; + sha256 = "fbbc0ca93324535bcafa8434395caded8047e40c25d7a4004806415dd6ca023f"; + }; + + propagatedBuildInputs = [ oauth2 urwid tweepy ]; + doCheck = false; + + meta = { + homepage = "https://github.com/alejandrogomez/turses"; + description = "A Twitter client for the console."; + license = pkgs.lib.licenses.gpl3; + maintainers = [ stdenv.lib.maintainers.garbas ]; + platforms = stdenv.lib.platforms.linux; + }; + }); + + tweepy = buildPythonPackage (rec { + name = "tweepy-1.11"; + + src = fetchurl { + url = "http://pypi.python.org/packages/source/t/tweepy/${name}.tar.gz"; + sha256 = "2b9fa225e9254e2cbbb01e59c6e92d9c42e5d41d97e8c74dee93eb09babffde5"; + }; + + doCheck = false; + + meta = { + homepage = "https://github.com/tweepy/tweepy"; + description = "Twitter library for python"; + license = pkgs.lib.licenses.mit; + maintainers = [ stdenv.lib.maintainers.garbas ]; + platforms = stdenv.lib.platforms.linux; + }; + }); + twisted = buildPythonPackage rec { name = "twisted-10.2.0";