lol

Merge remote-tracking branch 'origin/master' into staging

+1830 -664
+3 -3
doc/Makefile
··· 21 21 22 22 NEWS.html: release-notes.xml 23 23 $(XSLTPROC) --nonet --xinclude --output $@ $(NEWS_OPTS) \ 24 - $(docbookxsl)/html/docbook.xsl release-notes.xml 24 + $(docbookxsl)/xhtml/docbook.xsl release-notes.xml 25 25 26 26 NEWS.txt: release-notes.xml 27 27 $(XSLTPROC) --nonet --xinclude quote-literals.xsl release-notes.xml | \ 28 28 $(XSLTPROC) --nonet --output $@.tmp.html $(NEWS_OPTS) \ 29 - $(docbookxsl)/html/docbook.xsl - 29 + $(docbookxsl)/xhtml/docbook.xsl - 30 30 LANG=en_US w3m -dump $@.tmp.html > $@ 31 31 rm $@.tmp.html 32 32 33 33 manual.html: *.xml 34 34 $(XSLTPROC) --nonet --xinclude --output manual.html \ 35 - $(docbookxsl)/html/docbook.xsl manual.xml 35 + $(docbookxsl)/xhtml/docbook.xsl manual.xml 36 36 37 37 manual.pdf: *.xml 38 38 $(dblatex) \
+1
lib/maintainers.nix
··· 48 48 iElectric = "Domen Kozar <domen@dev.si>"; 49 49 iyzsong = "Song Wenwu <iyzsong@gmail.com>"; 50 50 jcumming = "Jack Cummings <jack@mudshark.org>"; 51 + jgeerds = "Jascha Geerds <jg@ekby.de>"; 51 52 joamaki = "Jussi Maki <joamaki@gmail.com>"; 52 53 joelteon = "Joel Taylor <me@joelt.io>"; 53 54 jwiegley = "John Wiegley <johnw@newartisans.com>";
+1 -1
nixos/modules/config/ldap.nix
··· 1 1 { config, lib, pkgs, ... }: 2 2 3 - with lib; 4 3 with pkgs; 4 + with lib; 5 5 6 6 let 7 7
+2 -2
nixos/modules/config/networking.nix
··· 14 14 15 15 options = { 16 16 17 - networking.extraHosts = pkgs.lib.mkOption { 17 + networking.extraHosts = lib.mkOption { 18 18 type = types.lines; 19 19 default = ""; 20 20 example = "192.168.0.1 lanlocalhost"; ··· 23 23 ''; 24 24 }; 25 25 26 - networking.dnsSingleRequest = pkgs.lib.mkOption { 26 + networking.dnsSingleRequest = lib.mkOption { 27 27 type = types.bool; 28 28 default = false; 29 29 description = ''
+1 -1
nixos/modules/config/pulseaudio.nix
··· 1 1 { config, lib, pkgs, ... }: 2 2 3 - with lib; 4 3 with pkgs; 4 + with lib; 5 5 6 6 let 7 7
+1 -1
nixos/modules/config/swap.nix
··· 1 1 { config, lib, pkgs, utils, ... }: 2 2 3 - with lib; 4 3 with utils; 4 + with lib; 5 5 6 6 { 7 7
+1 -1
nixos/modules/config/unix-odbc-drivers.nix
··· 27 27 28 28 environment.etc."odbcinst.ini".text = 29 29 let inis = config.environment.unixODBCDrivers; 30 - in pkgs.lib.concatStringsSep "\n" inis; 30 + in lib.concatStringsSep "\n" inis; 31 31 32 32 }; 33 33
+4 -4
nixos/modules/hardware/network/intel-2100bg.nix
··· 1 - { config, pkgs, ... }: 1 + { config, pkgs, lib, ... }: 2 2 3 3 { 4 4 ··· 6 6 7 7 options = { 8 8 9 - networking.enableIntel2100BGFirmware = pkgs.lib.mkOption { 9 + networking.enableIntel2100BGFirmware = lib.mkOption { 10 10 default = false; 11 - type = pkgs.lib.types.bool; 11 + type = lib.types.bool; 12 12 description = '' 13 13 Turn on this option if you want firmware for the Intel 14 14 PRO/Wireless 2100BG to be loaded automatically. This is ··· 21 21 22 22 ###### implementation 23 23 24 - config = pkgs.lib.mkIf config.networking.enableIntel2100BGFirmware { 24 + config = lib.mkIf config.networking.enableIntel2100BGFirmware { 25 25 26 26 hardware.enableAllFirmware = true; 27 27
+4 -4
nixos/modules/hardware/network/intel-2200bg.nix
··· 1 - { config, pkgs, ... }: 1 + { config, pkgs, lib, ... }: 2 2 3 3 { 4 4 ··· 6 6 7 7 options = { 8 8 9 - networking.enableIntel2200BGFirmware = pkgs.lib.mkOption { 9 + networking.enableIntel2200BGFirmware = lib.mkOption { 10 10 default = false; 11 - type = pkgs.lib.types.bool; 11 + type = lib.types.bool; 12 12 description = '' 13 13 Turn on this option if you want firmware for the Intel 14 14 PRO/Wireless 2200BG to be loaded automatically. This is ··· 21 21 22 22 ###### implementation 23 23 24 - config = pkgs.lib.mkIf config.networking.enableIntel2200BGFirmware { 24 + config = lib.mkIf config.networking.enableIntel2200BGFirmware { 25 25 26 26 hardware.enableAllFirmware = true; 27 27
+4 -4
nixos/modules/hardware/network/intel-3945abg.nix
··· 1 - { config, pkgs, ... }: 1 + { config, pkgs, lib, ... }: 2 2 3 3 { 4 4 ··· 6 6 7 7 options = { 8 8 9 - networking.enableIntel3945ABGFirmware = pkgs.lib.mkOption { 9 + networking.enableIntel3945ABGFirmware = lib.mkOption { 10 10 default = false; 11 - type = pkgs.lib.types.bool; 11 + type = lib.types.bool; 12 12 description = '' 13 13 This option enables automatic loading of the firmware for the Intel 14 14 PRO/Wireless 3945ABG. ··· 20 20 21 21 ###### implementation 22 22 23 - config = pkgs.lib.mkIf config.networking.enableIntel3945ABGFirmware { 23 + config = lib.mkIf config.networking.enableIntel3945ABGFirmware { 24 24 25 25 hardware.enableAllFirmware = true; 26 26
+4 -4
nixos/modules/hardware/network/ralink.nix
··· 1 - {pkgs, config, ...}: 1 + {pkgs, config, lib, ...}: 2 2 3 3 { 4 4 ··· 6 6 7 7 options = { 8 8 9 - networking.enableRalinkFirmware = pkgs.lib.mkOption { 9 + networking.enableRalinkFirmware = lib.mkOption { 10 10 default = false; 11 - type = pkgs.lib.types.bool; 11 + type = lib.types.bool; 12 12 description = '' 13 13 Turn on this option if you want firmware for the RT73 NIC. 14 14 ''; ··· 19 19 20 20 ###### implementation 21 21 22 - config = pkgs.lib.mkIf config.networking.enableRalinkFirmware { 22 + config = lib.mkIf config.networking.enableRalinkFirmware { 23 23 hardware.enableAllFirmware = true; 24 24 }; 25 25
+4 -4
nixos/modules/hardware/network/rtl8192c.nix
··· 1 - {pkgs, config, ...}: 1 + {pkgs, config, lib, ...}: 2 2 3 3 { 4 4 ··· 6 6 7 7 options = { 8 8 9 - networking.enableRTL8192cFirmware = pkgs.lib.mkOption { 9 + networking.enableRTL8192cFirmware = lib.mkOption { 10 10 default = false; 11 - type = pkgs.lib.types.bool; 11 + type = lib.types.bool; 12 12 description = '' 13 13 Turn on this option if you want firmware for the RTL8192c (and related) NICs. 14 14 ''; ··· 19 19 20 20 ###### implementation 21 21 22 - config = pkgs.lib.mkIf config.networking.enableRTL8192cFirmware { 22 + config = lib.mkIf config.networking.enableRTL8192cFirmware { 23 23 hardware.enableAllFirmware = true; 24 24 }; 25 25
+2 -2
nixos/modules/hardware/network/smc-2632w/default.nix
··· 1 - {pkgs, config, ...}: 1 + {lib, config, ...}: 2 2 3 3 { 4 4 hardware = { 5 5 pcmcia = { 6 - firmware = [ (pkgs.lib.cleanSource ./firmware) ]; 6 + firmware = [ (lib.cleanSource ./firmware) ]; 7 7 }; 8 8 }; 9 9 }
+1 -1
nixos/modules/hardware/opengl.nix
··· 84 84 85 85 config = mkIf cfg.enable { 86 86 87 - assertions = pkgs.lib.singleton { 87 + assertions = lib.singleton { 88 88 assertion = cfg.driSupport32Bit -> pkgs.stdenv.isx86_64; 89 89 message = "Option driSupport32Bit only makes sense on a 64-bit system."; 90 90 };
+1 -1
nixos/modules/installer/cd-dvd/system-tarball-fuloong2f.nix
··· 152 152 # default root password is empty. 153 153 services.openssh.enable = true; 154 154 155 - jobs.openssh.startOn = pkgs.lib.mkOverride 50 ""; 155 + jobs.openssh.startOn = lib.mkOverride 50 ""; 156 156 157 157 boot.loader.grub.enable = false; 158 158 boot.loader.generationsDir.enable = false;
+1 -1
nixos/modules/installer/cd-dvd/system-tarball-pc.nix
··· 109 109 # not be started by default on the installation CD because the 110 110 # default root password is empty. 111 111 services.openssh.enable = true; 112 - jobs.openssh.startOn = pkgs.lib.mkOverride 50 ""; 112 + jobs.openssh.startOn = lib.mkOverride 50 ""; 113 113 114 114 # To be able to use the systemTarball to catch troubles. 115 115 boot.crashDump = {
+1 -1
nixos/modules/installer/cd-dvd/system-tarball-sheevaplug.nix
··· 165 165 # not be started by default on the installation CD because the 166 166 # default root password is empty. 167 167 services.openssh.enable = true; 168 - jobs.openssh.startOn = pkgs.lib.mkOverride 50 ""; 168 + jobs.openssh.startOn = lib.mkOverride 50 ""; 169 169 170 170 # cpufrequtils fails to build on non-pc 171 171 powerManagement.enable = false;
+2 -2
nixos/modules/installer/tools/tools.nix
··· 1 1 # This module generates nixos-install, nixos-rebuild, 2 2 # nixos-generate-config, etc. 3 3 4 - { config, pkgs, modulesPath, ... }: 4 + { config, pkgs, modulesPath, lib, ... }: 5 5 6 6 let 7 7 ··· 65 65 test -e "$out/chrome/content/jquery-1.5.2.js" || 66 66 cp -f "$jquery" "$out/chrome/content/jquery-1.5.2.js" 67 67 ''; 68 - gui = pkgs.lib.cleanSource "${modulesPath}/../gui"; 68 + gui = lib.cleanSource "${modulesPath}/../gui"; 69 69 jquery = pkgs.fetchurl { 70 70 url = http://code.jquery.com/jquery-1.5.2.min.js; 71 71 sha256 = "8f0a19ee8c606b35a10904951e0a27da1896eafe33c6e88cb7bcbe455f05a24a";
+5 -3
nixos/modules/misc/ids.nix
··· 1 1 # This module defines the global list of uids and gids. We keep a 2 2 # central list to prevent id collisions. 3 3 4 - { config, pkgs, ... }: 4 + { config, pkgs, lib, ... }: 5 5 6 6 { 7 7 options = { 8 8 9 - ids.uids = pkgs.lib.mkOption { 9 + ids.uids = lib.mkOption { 10 10 internal = true; 11 11 description = '' 12 12 The user IDs used in NixOS. 13 13 ''; 14 14 }; 15 15 16 - ids.gids = pkgs.lib.mkOption { 16 + ids.gids = lib.mkOption { 17 17 internal = true; 18 18 description = '' 19 19 The group IDs used in NixOS. ··· 135 135 influxdb = 125; 136 136 nsd = 126; 137 137 gitolite = 127; 138 + znc = 128; 138 139 139 140 # When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399! 140 141 ··· 243 244 teamspeak = 124; 244 245 influxdb = 125; 245 246 nsd = 126; 247 + znc = 128; 246 248 247 249 # When adding a gid, make sure it doesn't match an existing uid. And don't use gids above 399! 248 250
+3 -3
nixos/modules/misc/lib.nix
··· 1 - { config, pkgs, ... }: 1 + { config, lib, ... }: 2 2 3 3 { 4 4 options = { 5 - lib = pkgs.lib.mkOption { 5 + lib = lib.mkOption { 6 6 default = {}; 7 7 8 - type = pkgs.lib.types.attrsOf pkgs.lib.types.attrs; 8 + type = lib.types.attrsOf lib.types.attrs; 9 9 10 10 description = '' 11 11 This option allows modules to define helper functions, constants, etc.
+2 -2
nixos/modules/misc/passthru.nix
··· 1 1 # This module allows you to export something from configuration 2 2 # Use case: export kernel source expression for ease of configuring 3 3 4 - { config, pkgs, ... }: 4 + { config, lib, ... }: 5 5 6 6 { 7 7 options = { 8 - passthru = pkgs.lib.mkOption { 8 + passthru = lib.mkOption { 9 9 visible = false; 10 10 description = '' 11 11 This attribute set will be exported as a system attribute.
+1
nixos/modules/module-list.nix
··· 237 237 ./services/networking/wicd.nix 238 238 ./services/networking/wpa_supplicant.nix 239 239 ./services/networking/xinetd.nix 240 + ./services/networking/znc.nix 240 241 ./services/printing/cupsd.nix 241 242 ./services/scheduling/atd.nix 242 243 ./services/scheduling/cron.nix
+2 -2
nixos/modules/programs/blcr.nix
··· 1 - { config, pkgs, ... }: 1 + { config, lib, ... }: 2 2 3 3 let 4 - inherit (pkgs.lib) mkOption mkIf; 4 + inherit (lib) mkOption mkIf; 5 5 cfg = config.environment.blcr; 6 6 blcrPkg = config.boot.kernelPackages.blcr; 7 7 in
+2 -2
nixos/modules/programs/screen.nix
··· 1 - { config, pkgs, ... }: 1 + { config, lib, ... }: 2 2 3 3 let 4 - inherit (pkgs.lib) mkOption mkIf types; 4 + inherit (lib) mkOption mkIf types; 5 5 cfg = config.programs.screen; 6 6 in 7 7
+2 -2
nixos/modules/programs/shadow.nix
··· 40 40 41 41 options = { 42 42 43 - users.defaultUserShell = pkgs.lib.mkOption { 43 + users.defaultUserShell = lib.mkOption { 44 44 description = '' 45 45 This option defines the default shell assigned to user 46 46 accounts. This must not be a store path, since the path is ··· 60 60 config = { 61 61 62 62 environment.systemPackages = 63 - pkgs.lib.optional config.users.mutableUsers pkgs.shadow; 63 + lib.optional config.users.mutableUsers pkgs.shadow; 64 64 65 65 environment.etc = 66 66 [ { # /etc/login.defs: global configuration for pwdutils. You
+1
nixos/modules/programs/virtualbox.nix
··· 14 14 services.udev.extraRules = 15 15 '' 16 16 KERNEL=="vboxdrv", OWNER="root", GROUP="vboxusers", MODE="0660", TAG+="systemd" 17 + KERNEL=="vboxdrvu", OWNER="root", GROUP="root", MODE="0666", TAG+="systemd" 17 18 KERNEL=="vboxnetctl", OWNER="root", GROUP="root", MODE="0600", TAG+="systemd" 18 19 SUBSYSTEM=="usb_device", ACTION=="add", RUN+="${virtualbox}/libexec/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}" 19 20 SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="${virtualbox}/libexec/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
+1 -1
nixos/modules/services/amqp/activemq/default.nix
··· 1 1 { config, lib, pkgs, ... }: 2 2 3 - with lib; 4 3 with pkgs; 4 + with lib; 5 5 6 6 let 7 7
+1 -1
nixos/modules/services/backup/sitecopy-backup.nix
··· 73 73 touch ${stateDir}/sitecopy.secrets 74 74 chown root ${stateDir}/sitecopy.secrets 75 75 76 - ${pkgs.lib.concatStrings (map ( b: '' 76 + ${lib.concatStrings (map ( b: '' 77 77 unset secrets 78 78 unset secret 79 79 secrets=`grep '^${b.server}' ${stateDir}/sitecopy.secrets | head -1`
+1 -1
nixos/modules/services/databases/postgresql.nix
··· 85 85 Defines how users authenticate themselves to the server. By 86 86 default, "trust" access to local users will always be granted 87 87 along with any other custom options. If you do not want this, 88 - set this option using "pkgs.lib.mkForce" to override this 88 + set this option using "lib.mkForce" to override this 89 89 behaviour. 90 90 ''; 91 91 };
+2 -2
nixos/modules/services/desktops/gnome3/gnome-documents.nix
··· 1 1 # GNOME Documents daemon. 2 2 3 - { config, pkgs, ... }: 3 + { config, pkgs, lib, ... }: 4 4 5 - with pkgs.lib; 5 + with lib; 6 6 7 7 let 8 8 gnome3 = config.environment.gnome3.packageSet;
+2 -2
nixos/modules/services/desktops/gnome3/gnome-keyring.nix
··· 1 1 # GNOME Keyring daemon. 2 2 3 - { config, pkgs, ... }: 3 + { config, pkgs, lib, ... }: 4 4 5 - with pkgs.lib; 5 + with lib; 6 6 7 7 let 8 8 gnome3 = config.environment.gnome3.packageSet;
+2 -2
nixos/modules/services/desktops/gnome3/gnome-online-accounts.nix
··· 1 1 # GNOME Online Accounts daemon. 2 2 3 - { config, pkgs, ... }: 3 + { config, pkgs, lib, ... }: 4 4 5 - with pkgs.lib; 5 + with lib; 6 6 7 7 let 8 8 gnome3 = config.environment.gnome3.packageSet;
+2 -2
nixos/modules/services/desktops/gnome3/gnome-online-miners.nix
··· 1 1 # GNOME Online Miners daemon. 2 2 3 - { config, pkgs, ... }: 3 + { config, pkgs, lib, ... }: 4 4 5 - with pkgs.lib; 5 + with lib; 6 6 7 7 let 8 8 gnome3 = config.environment.gnome3.packageSet;
+2 -2
nixos/modules/services/desktops/gnome3/gnome-user-share.nix
··· 1 1 # GNOME User Share daemon. 2 2 3 - { config, pkgs, ... }: 3 + { config, pkgs, lib, ... }: 4 4 5 - with pkgs.lib; 5 + with lib; 6 6 7 7 let 8 8 gnome3 = config.environment.gnome3.packageSet;
+2 -2
nixos/modules/services/desktops/gnome3/gvfs.nix
··· 1 1 # gvfs backends 2 2 3 - { config, pkgs, ... }: 3 + { config, lib, ... }: 4 4 5 - with pkgs.lib; 5 + with lib; 6 6 7 7 let 8 8 gnome3 = config.environment.gnome3.packageSet;
+2 -2
nixos/modules/services/desktops/gnome3/seahorse.nix
··· 1 1 # Seahorse daemon. 2 2 3 - { config, pkgs, ... }: 3 + { config, pkgs, lib, ... }: 4 4 5 - with pkgs.lib; 5 + with lib; 6 6 7 7 let 8 8 gnome3 = config.environment.gnome3.packageSet;
+2 -2
nixos/modules/services/desktops/gnome3/tracker.nix
··· 1 1 # Tracker daemon. 2 2 3 - { config, pkgs, ... }: 3 + { config, pkgs, lib, ... }: 4 4 5 - with pkgs.lib; 5 + with lib; 6 6 7 7 let 8 8 gnome3 = config.environment.gnome3.packageSet;
+1 -1
nixos/modules/services/hardware/acpid.nix
··· 16 16 echo "event=${event.event}" > $fn 17 17 echo "action=${pkgs.writeScript "${event.name}.sh" event.action}" >> $fn 18 18 ''; 19 - in pkgs.lib.concatMapStrings f events 19 + in lib.concatMapStrings f events 20 20 } 21 21 ''; 22 22
+4 -4
nixos/modules/services/hardware/amd-hybrid-graphics.nix
··· 1 - { config, pkgs, ... }: 1 + { config, pkgs, lib, ... }: 2 2 3 3 { 4 4 ··· 6 6 7 7 options = { 8 8 9 - hardware.amdHybridGraphics.disable = pkgs.lib.mkOption { 9 + hardware.amdHybridGraphics.disable = lib.mkOption { 10 10 default = false; 11 - type = pkgs.lib.types.bool; 11 + type = lib.types.bool; 12 12 description = '' 13 13 Completely disable the AMD graphics card and use the 14 14 integrated graphics processor instead. ··· 20 20 21 21 ###### implementation 22 22 23 - config = pkgs.lib.mkIf config.hardware.amdHybridGraphics.disable { 23 + config = lib.mkIf config.hardware.amdHybridGraphics.disable { 24 24 systemd.services."amd-hybrid-graphics" = { 25 25 path = [ pkgs.bash ]; 26 26 description = "Disable AMD Card";
+4 -4
nixos/modules/services/hardware/nvidia-optimus.nix
··· 1 - { config, pkgs, ... }: 1 + { config, pkgs, lib, ... }: 2 2 3 3 let kernel = config.boot.kernelPackages; in 4 4 ··· 8 8 9 9 options = { 10 10 11 - hardware.nvidiaOptimus.disable = pkgs.lib.mkOption { 11 + hardware.nvidiaOptimus.disable = lib.mkOption { 12 12 default = false; 13 - type = pkgs.lib.types.bool; 13 + type = lib.types.bool; 14 14 description = '' 15 15 Completely disable the NVIDIA graphics card and use the 16 16 integrated graphics processor instead. ··· 22 22 23 23 ###### implementation 24 24 25 - config = pkgs.lib.mkIf config.hardware.nvidiaOptimus.disable { 25 + config = lib.mkIf config.hardware.nvidiaOptimus.disable { 26 26 boot.blacklistedKernelModules = ["nouveau" "nvidia" "nvidiafb"]; 27 27 boot.kernelModules = [ "bbswitch" ]; 28 28 boot.extraModulePackages = [ kernel.bbswitch ];
+2 -2
nixos/modules/services/monitoring/monit.nix
··· 1 1 # Monit system watcher 2 2 # http://mmonit.org/monit/ 3 3 4 - {config, pkgs, ...}: 4 + {config, pkgs, lib, ...}: 5 5 6 - let inherit (pkgs.lib) mkOption mkIf; 6 + let inherit (lib) mkOption mkIf; 7 7 in 8 8 9 9 {
+2 -2
nixos/modules/services/monitoring/uptime.nix
··· 1 - { config, pkgs, ... }: 1 + { config, pkgs, lib, ... }: 2 2 let 3 - inherit (pkgs.lib) mkOption mkEnableOption mkIf mkMerge types optionalAttrs optional; 3 + inherit (lib) mkOption mkEnableOption mkIf mkMerge types optionalAttrs optional; 4 4 5 5 cfg = config.services.uptime; 6 6
+2 -2
nixos/modules/services/network-filesystems/openafs-client/default.nix
··· 1 - { config, pkgs, ... }: 1 + { config, pkgs, lib, ... }: 2 2 3 3 let 4 - inherit (pkgs.lib) mkOption mkIf; 4 + inherit (lib) mkOption mkIf; 5 5 6 6 cfg = config.services.openafsClient; 7 7
+3 -3
nixos/modules/services/network-filesystems/rsyncd.nix
··· 1 - { config, pkgs, ... }: 1 + { config, pkgs, lib, ... }: 2 2 3 - with pkgs.lib; 3 + with lib; 4 4 5 5 let 6 6 ··· 136 136 137 137 networking.firewall.allowedTCPPorts = [ cfg.port ]; 138 138 }; 139 - } 139 + }
+1 -1
nixos/modules/services/networking/connman.nix
··· 1 1 { config, lib, pkgs, ... }: 2 2 3 - with lib; 4 3 with pkgs; 4 + with lib; 5 5 6 6 let 7 7 cfg = config.networking.connman;
+2 -2
nixos/modules/services/networking/ddclient.nix
··· 1 - { config, pkgs, ... }: 1 + { config, pkgs, lib, ... }: 2 2 3 3 let 4 4 5 - inherit (pkgs.lib) mkOption mkIf singleton; 5 + inherit (lib) mkOption mkIf singleton; 6 6 7 7 inherit (pkgs) ddclient; 8 8
+1 -1
nixos/modules/services/networking/dhcpd.nix
··· 18 18 19 19 ${cfg.extraConfig} 20 20 21 - ${pkgs.lib.concatMapStrings 21 + ${lib.concatMapStrings 22 22 (machine: '' 23 23 host ${machine.hostName} { 24 24 hardware ethernet ${machine.ethernetAddress};
+2 -2
nixos/modules/services/networking/gvpe.nix
··· 1 1 # GNU Virtual Private Ethernet 2 2 3 - {config, pkgs, ...}: 3 + {config, pkgs, lib, ...}: 4 4 5 5 let 6 - inherit (pkgs.lib) mkOption mkIf; 6 + inherit (lib) mkOption mkIf; 7 7 8 8 cfg = config.services.gvpe; 9 9
+2 -2
nixos/modules/services/networking/networkmanager.nix
··· 1 1 { config, lib, pkgs, ... }: 2 2 3 - with lib; 4 3 with pkgs; 4 + with lib; 5 5 6 6 let 7 7 cfg = config.networking.networkmanager; ··· 151 151 { source = "${networkmanager_pptp}/etc/NetworkManager/VPN/nm-pptp-service.name"; 152 152 target = "NetworkManager/VPN/nm-pptp-service.name"; 153 153 } 154 - ] ++ pkgs.lib.optional (cfg.appendNameservers == [] || cfg.insertNameservers == []) 154 + ] ++ optional (cfg.appendNameservers == [] || cfg.insertNameservers == []) 155 155 { source = overrideNameserversScript; 156 156 target = "NetworkManager/dispatcher.d/02overridedns"; 157 157 };
+1 -1
nixos/modules/services/networking/notbit.nix
··· 1 1 { config, lib, pkgs, ... }: 2 2 3 - with pkgs.lib; 3 + with lib; 4 4 let 5 5 cfg = config.services.notbit; 6 6 varDir = "/var/lib/notbit";
+2 -2
nixos/modules/services/networking/nsd.nix
··· 1 - { config, pkgs, ... }: 1 + { config, pkgs, lib, ... }: 2 2 3 - with pkgs.lib; 3 + with lib; 4 4 5 5 let 6 6 cfg = config.services.nsd;
+2 -2
nixos/modules/services/networking/teamspeak3.nix
··· 1 - { config, pkgs, ... }: 1 + { config, lib, pkgs, ... }: 2 2 3 - with pkgs.lib; 3 + with lib; 4 4 5 5 let 6 6 ts3 = pkgs.teamspeak_server;
+294
nixos/modules/services/networking/znc.nix
··· 1 + { config, lib, pkgs, ...}: 2 + 3 + with lib; 4 + 5 + let 6 + cfg = config.services.znc; 7 + 8 + defaultUser = "znc"; # Default user to own process. 9 + 10 + # Default user and pass: 11 + # un=znc 12 + # pw=nixospass 13 + 14 + defaultUserName = "znc"; 15 + defaultPassBlock = " 16 + <Pass password> 17 + Method = sha256 18 + Hash = e2ce303c7ea75c571d80d8540a8699b46535be6a085be3414947d638e48d9e93 19 + Salt = l5Xryew4g*!oa(ECfX2o 20 + </Pass> 21 + "; 22 + 23 + confOptions = { ... }: { 24 + options = { 25 + modules = mkOption { 26 + type = types.listOf types.string; 27 + default = [ "partyline" "webadmin" "adminlog" "log" ]; 28 + example = [ "partyline" "webadmin" "adminlog" "log" ]; 29 + description = '' 30 + A list of modules to include in the `znc.conf` file. 31 + ''; 32 + }; 33 + 34 + userName = mkOption { 35 + default = defaultUserName; 36 + example = "johntron"; 37 + type = types.string; 38 + description = '' 39 + The user name to use when generating the `znc.conf` file. 40 + This is the user name used by the user logging into the ZNC web admin. 41 + ''; 42 + }; 43 + 44 + nick = mkOption { 45 + default = "znc-user"; 46 + example = "john"; 47 + type = types.string; 48 + description = '' 49 + The IRC nick to use when generating the `znc.conf` file. 50 + ''; 51 + }; 52 + 53 + passBlock = mkOption { 54 + default = defaultPassBlock; 55 + example = "Must be the block generated by the `znc --makepass` command."; 56 + type = types.string; 57 + description = '' 58 + The pass block to use when generating the `znc.conf` file. 59 + This is the password used by the user logging into the ZNC web admin. 60 + This is the block generated by the `znc --makepass` command. 61 + !!! If not specified, please change this after starting the service. !!! 62 + ''; 63 + }; 64 + 65 + port = mkOption { 66 + default = "5000"; 67 + example = "5000"; 68 + type = types.string; 69 + description = '' 70 + Specifies the port on which to listen. 71 + ''; 72 + }; 73 + 74 + useSSL = mkOption { 75 + default = true; 76 + example = true; 77 + type = types.bool; 78 + description = '' 79 + Indicates whether the ZNC server should use SSL when listening on the specified port. 80 + ''; 81 + }; 82 + 83 + }; 84 + }; 85 + 86 + # Keep znc.conf in nix store, then symlink or copy into `dataDir`, depending on `mutable`. 87 + mkZncConf = confOpts: '' 88 + // Also check http://en.znc.in/wiki/Configuration 89 + 90 + AnonIPLimit = 10 91 + ConnectDelay = 5 92 + # Add `LoadModule = x` for each module... 93 + ${concatMapStrings (n: "LoadModule = ${n}\n") confOpts.modules} 94 + MaxBufferSize = 500 95 + ProtectWebSessions = true 96 + SSLCertFile = ${cfg.dataDir}/znc.pem 97 + ServerThrottle = 30 98 + Skin = dark-clouds 99 + StatusPrefix = * 100 + Version = 1.2 101 + 102 + <Listener listener0> 103 + AllowIRC = true 104 + AllowWeb = true 105 + IPv4 = true 106 + IPv6 = false 107 + Port = ${if confOpts.useSSL then "+" else ""}${confOpts.port} 108 + SSL = ${if confOpts.useSSL then "true" else "false"} 109 + </Listener> 110 + 111 + <User ${confOpts.userName}> 112 + Admin = true 113 + Allow = * 114 + AltNick = ${confOpts.nick}_ 115 + AppendTimestamp = false 116 + AutoClearChanBuffer = false 117 + Buffer = 150 118 + ChanModes = +stn 119 + DenyLoadMod = false 120 + DenySetBindHost = false 121 + Ident = ident 122 + JoinTries = 10 123 + MaxJoins = 0 124 + MaxNetworks = 1 125 + MultiClients = true 126 + Nick = ${confOpts.nick} 127 + PrependTimestamp = true 128 + QuitMsg = Quit 129 + RealName = ${confOpts.nick} 130 + TimestampFormat = [%H:%M:%S] 131 + 132 + ${confOpts.passBlock} 133 + </User> 134 + ''; 135 + 136 + zncConfFile = pkgs.writeTextFile { 137 + name = "znc.conf"; 138 + text = if cfg.zncConf != "" 139 + then cfg.zncConf 140 + else mkZncConf cfg.confOptions; 141 + }; 142 + 143 + in 144 + 145 + { 146 + 147 + ###### Interface 148 + 149 + options = { 150 + services.znc = { 151 + enable = mkOption { 152 + default = false; 153 + example = true; 154 + type = types.bool; 155 + description = '' 156 + Enable a ZNC service for a user. 157 + ''; 158 + }; 159 + 160 + user = mkOption { 161 + default = "znc"; 162 + example = "john"; 163 + type = types.string; 164 + description = '' 165 + The name of an existing user account to use to own the ZNC server process. 166 + If not specified, a default user will be created to own the process. 167 + ''; 168 + }; 169 + 170 + dataDir = mkOption { 171 + default = "/home/${cfg.user}/.znc"; 172 + example = "/home/john/.znc"; 173 + type = types.string; 174 + description = '' 175 + The data directory. Used for configuration files and modules. 176 + ''; 177 + }; 178 + 179 + zncConf = mkOption { 180 + default = ""; 181 + example = "See: http://wiki.znc.in/Configuration"; 182 + type = types.string; 183 + description = '' 184 + The contents of the `znc.conf` file to use when creating it. 185 + If specified, `confOptions` will be ignored, and this value, as-is, will be used. 186 + If left empty, a conf file with default values will be used. 187 + Recommended to generate with `znc --makeconf` command. 188 + ''; 189 + }; 190 + 191 + confOptions = mkOption { 192 + default = {}; 193 + example = { 194 + modules = [ "log" ]; 195 + userName = "john"; 196 + nick = "johntron"; 197 + }; 198 + type = types.optionSet; 199 + description = '' 200 + Values to use when creating a `znc.conf` file. 201 + ''; 202 + options = confOptions; 203 + }; 204 + 205 + mutable = mkOption { 206 + default = false; 207 + example = true; 208 + type = types.bool; 209 + description = '' 210 + Indicates whether to allow the contents of the `dataDir` directory to be changed 211 + by the user at run-time. 212 + If true, modifications to the ZNC configuration after its initial creation are not 213 + overwritten by a NixOS system rebuild. 214 + If false, the ZNC configuration is rebuilt by every system rebuild. 215 + If the user wants to manage the ZNC service using the web admin interface, this value 216 + should be set to true. 217 + ''; 218 + }; 219 + 220 + extraFlags = mkOption { 221 + default = ""; 222 + example = "--debug"; 223 + type = types.string; 224 + description = '' 225 + Extra flags to use when executing znc command. 226 + ''; 227 + }; 228 + }; 229 + }; 230 + 231 + 232 + ###### Implementation 233 + 234 + config = mkIf cfg.enable { 235 + 236 + systemd.services."znc-${cfg.user}" = { 237 + description = "ZNC Server of ${cfg.user}."; 238 + wantedBy = [ "multi-user.target" ]; 239 + after = [ "network.service" ]; 240 + path = [ pkgs.znc ]; 241 + serviceConfig = { 242 + User = "${cfg.user}"; 243 + Restart = "always"; 244 + ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID"; 245 + ExecStop = "${pkgs.coreutils}/bin/kill -INT $MAINPID"; 246 + }; 247 + preStart = '' 248 + ${pkgs.coreutils}/bin/mkdir -p ${cfg.dataDir} 249 + ${pkgs.coreutils}/bin/chown ${cfg.user} ${cfg.dataDir} -R 250 + ${pkgs.coreutils}/bin/mkdir -p ${cfg.dataDir}/configs 251 + 252 + # If mutable, regenerate conf file every time. 253 + ${optionalString (!cfg.mutable) '' 254 + ${pkgs.coreutils}/echo "znc-${cfg.user} is set to be system-managed. Now deleting old znc.conf file to be regenerated." 255 + ${pkgs.coreutils}/rm -f ${cfg.dataDir}/configs/znc.conf 256 + ''} 257 + 258 + # Ensure essential files exist. 259 + if [[ ! -f ${cfg.dataDir}/configs/znc.conf ]]; then 260 + ${pkgs.coreutils}/bin/echo "No znc.conf file found in ${cfg.dataDir}. Creating one now." 261 + ${if (!cfg.mutable) 262 + then "${pkgs.coreutils}/bin/ln --force -s ${zncConfFile} ${cfg.dataDir}/configs/znc.conf" 263 + else '' 264 + ${pkgs.coreutils}/bin/cp --no-clobber ${zncConfFile} ${cfg.dataDir}/configs/znc.conf 265 + ${pkgs.coreutils}/bin/chmod u+rw ${cfg.dataDir}/configs/znc.conf 266 + ${pkgs.coreutils}/bin/chown ${cfg.user} ${cfg.dataDir}/configs/znc.conf 267 + ''} 268 + fi 269 + 270 + if [[ ! -f ${cfg.dataDir}/znc.pem ]]; then 271 + ${pkgs.coreutils}/bin/echo "No znc.pem file found in ${cfg.dataDir}. Creating one now." 272 + ${pkgs.znc}/bin/znc --makepem 273 + fi 274 + ''; 275 + script = "${pkgs.znc}/bin/znc --foreground --datadir ${cfg.dataDir} ${cfg.extraFlags}"; 276 + }; 277 + 278 + users.extraUsers = optional (cfg.user == defaultUser) 279 + { name = defaultUser; 280 + description = "ZNC server daemon owner"; 281 + group = defaultUser; 282 + uid = config.ids.uids.znc; 283 + createHome = true; 284 + createUser = true; 285 + }; 286 + 287 + users.extraGroups = optional (cfg.user == defaultUser) 288 + { name = defaultUser; 289 + gid = config.ids.gids.znc; 290 + members = [ defaultUser ]; 291 + }; 292 + 293 + }; 294 + }
+1 -1
nixos/modules/services/scheduling/cron.nix
··· 15 15 MAILTO="${config.services.cron.mailto}" 16 16 ''} 17 17 NIX_CONF_DIR=/etc/nix 18 - ${pkgs.lib.concatStrings (map (job: job + "\n") config.services.cron.systemCronJobs)} 18 + ${lib.concatStrings (map (job: job + "\n") config.services.cron.systemCronJobs)} 19 19 ''; 20 20 21 21 # Vixie cron requires build-time configuration for the sendmail path.
+1 -1
nixos/modules/services/scheduling/fcron.nix
··· 17 17 MAILTO="${config.services.cron.mailto}" 18 18 ''} 19 19 NIX_CONF_DIR=/etc/nix 20 - ${pkgs.lib.concatStrings (map (job: job + "\n") config.services.cron.systemCronJobs)} 20 + ${lib.concatStrings (map (job: job + "\n") config.services.cron.systemCronJobs)} 21 21 ''; 22 22 23 23 allowdeny = target: users:
+4 -4
nixos/modules/services/security/frandom.nix
··· 1 - {pkgs, config, ...}: 1 + {lib, config, ...}: 2 2 3 3 let kernel = config.boot.kernelPackages; 4 4 in ··· 9 9 10 10 options = { 11 11 12 - services.frandom.enable = pkgs.lib.mkOption { 12 + services.frandom.enable = lib.mkOption { 13 13 default = false; 14 - type = pkgs.lib.types.bool; 14 + type = lib.types.bool; 15 15 description = '' 16 16 enable the /dev/frandom device (a very fast random number generator) 17 17 ''; ··· 22 22 23 23 ###### implementation 24 24 25 - config = pkgs.lib.mkIf config.services.frandom.enable { 25 + config = lib.mkIf config.services.frandom.enable { 26 26 boot.kernelModules = [ "frandom" ]; 27 27 boot.extraModulePackages = [ kernel.frandom ]; 28 28 services.udev.packages = [ kernel.frandom ];
+3 -3
nixos/modules/services/system/kerberos.nix
··· 1 - {pkgs, config, ...}: 1 + {pkgs, config, lib, ...}: 2 2 3 3 let 4 4 5 - inherit (pkgs.lib) mkOption mkIf singleton; 5 + inherit (lib) mkOption mkIf singleton; 6 6 7 7 inherit (pkgs) heimdal; 8 8 ··· 36 36 environment.systemPackages = [ heimdal ]; 37 37 38 38 services.xinetd.enable = true; 39 - services.xinetd.services = pkgs.lib.singleton 39 + services.xinetd.services = lib.singleton 40 40 { name = "kerberos-adm"; 41 41 flags = "REUSE NAMEINARGS"; 42 42 protocol = "tcp";
+1 -1
nixos/modules/services/system/nscd.nix
··· 7 7 nssModulesPath = config.system.nssModules.path; 8 8 cfg = config.services.nscd; 9 9 10 - inherit (pkgs.lib) singleton; 10 + inherit (lib) singleton; 11 11 12 12 cfgFile = pkgs.writeText "nscd.conf" cfg.config; 13 13
+2 -2
nixos/modules/services/system/uptimed.nix
··· 1 - {pkgs, config, ...}: 1 + {pkgs, config, lib, ...}: 2 2 3 3 let 4 4 5 - inherit (pkgs.lib) mkOption mkIf singleton; 5 + inherit (lib) mkOption mkIf singleton; 6 6 7 7 inherit (pkgs) uptimed; 8 8
+2 -2
nixos/modules/services/ttys/kmscon.nix
··· 1 - { config, pkgs, ... }: 1 + { config, pkgs, lib, ... }: 2 2 let 3 - inherit (pkgs.lib) mkOption types mkIf optionalString; 3 + inherit (lib) mkOption types mkIf optionalString; 4 4 5 5 cfg = config.services.kmscon; 6 6
+7 -6
nixos/modules/services/web-servers/apache-httpd/mediawiki.nix
··· 72 72 73 73 # Unpack Mediawiki and put the config file in its root directory. 74 74 mediawikiRoot = pkgs.stdenv.mkDerivation rec { 75 - name= "mediawiki-1.20.8"; 75 + name= "mediawiki-1.23.1"; 76 76 77 77 src = pkgs.fetchurl { 78 - url = "http://download.wikimedia.org/mediawiki/1.20/${name}.tar.gz"; 79 - sha256 = "0yfmh5vnfbgpvicfqh7nh4hwdk4qbc6gfniv02vchkg5al0nn7ag"; 78 + url = "http://download.wikimedia.org/mediawiki/1.23/${name}.tar.gz"; 79 + sha256 = "07z5j8d988cdg4ml4n0vs9fwmj0p594ibbqdid16faxwqm52dkhl"; 80 80 }; 81 81 82 82 skins = config.skins; ··· 93 93 mkdir -p $out 94 94 cp -r * $out 95 95 cp ${mediawikiConfig} $out/LocalSettings.php 96 - sed -i 's|/bin/bash|${pkgs.stdenv.shell}|' \ 97 - $out/maintenance/fuzz-tester.php \ 98 - $out/bin/ulimit.sh \ 96 + sed -i \ 97 + -e 's|/bin/bash|${pkgs.bash}/bin/bash|g' \ 98 + -e 's|/usr/bin/timeout|${pkgs.coreutils}/bin/timeout|g' \ 99 + $out/includes/limit.sh \ 99 100 $out/includes/GlobalFunctions.php 100 101 ''; 101 102 };
+2 -2
nixos/modules/services/web-servers/apache-httpd/mercurial.nix
··· 1 - { config, pkgs, serverInfo, ... }: 1 + { config, pkgs, serverInfo, lib, ... }: 2 2 3 3 let 4 4 inherit (pkgs) mercurial; 5 - inherit (pkgs.lib) mkOption; 5 + inherit (lib) mkOption; 6 6 7 7 urlPrefix = config.urlPrefix; 8 8
+2 -2
nixos/modules/services/web-servers/apache-httpd/tomcat-connector.nix
··· 1 - { config, pkgs, serverInfo, ... }: 1 + { config, pkgs, serverInfo, lib, ... }: 2 2 3 3 let 4 - extraWorkersProperties = pkgs.lib.optionalString (config ? extraWorkersProperties) config.extraWorkersProperties; 4 + extraWorkersProperties = lib.optionalString (config ? extraWorkersProperties) config.extraWorkersProperties; 5 5 6 6 workersProperties = pkgs.writeText "workers.properties" '' 7 7 # Define list of workers that will be used
+2 -2
nixos/modules/services/x11/window-managers/openbox.nix
··· 1 - {pkgs, config, ...}: 1 + {lib, pkgs, config, ...}: 2 2 3 3 let 4 - inherit (pkgs.lib) mkOption mkIf; 4 + inherit (lib) mkOption mkIf; 5 5 cfg = config.services.xserver.windowManager.openbox; 6 6 in 7 7
+3 -3
nixos/modules/services/x11/window-managers/xmonad.nix
··· 1 - {pkgs, config, ...}: 1 + {pkgs, lib, config, ...}: 2 2 3 3 let 4 - inherit (pkgs.lib) mkOption mkIf optionals literalExample; 4 + inherit (lib) mkOption mkIf optionals literalExample; 5 5 cfg = config.services.xserver.windowManager.xmonad; 6 6 xmonadEnv = cfg.haskellPackages.ghcWithPackages(self: [ 7 7 self.xmonad ··· 48 48 enableContribAndExtras = mkOption { 49 49 default = false; 50 50 example = true; 51 - type = pkgs.lib.types.bool; 51 + type = lib.types.bool; 52 52 description = "Enable xmonad-{contrib,extras} in Xmonad."; 53 53 }; 54 54 };
+2 -2
nixos/modules/tasks/encrypted-devices.nix
··· 1 - { config, pkgs, modulesPath, ... }: 1 + { config, lib, ... }: 2 2 3 - with pkgs.lib; 3 + with lib; 4 4 5 5 let 6 6 fileSystems = attrValues config.fileSystems ++ config.swapDevices;
+2 -2
nixos/modules/tasks/filesystems/f2fs.nix
··· 1 - { config, pkgs, ... }: 1 + { config, pkgs, lib, ... }: 2 2 3 - with pkgs.lib; 3 + with lib; 4 4 5 5 let 6 6 inInitrd = any (fs: fs == "f2fs") config.boot.initrd.supportedFilesystems;
+4 -4
nixos/modules/tasks/filesystems/unionfs-fuse.nix
··· 1 - { config, pkgs, ... }: 1 + { config, pkgs, lib, ... }: 2 2 3 3 { 4 - config = pkgs.lib.mkMerge [ 5 - (pkgs.lib.mkIf (pkgs.lib.any (fs: fs == "unionfs-fuse") config.boot.initrd.supportedFilesystems) { 4 + config = lib.mkMerge [ 5 + (lib.mkIf (lib.any (fs: fs == "unionfs-fuse") config.boot.initrd.supportedFilesystems) { 6 6 boot.initrd.kernelModules = [ "fuse" ]; 7 7 8 8 boot.initrd.extraUtilsCommands = '' ··· 17 17 ln -s $(which umount) /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-${pkgs.utillinux.name}/bin 18 18 ''; 19 19 }) 20 - (pkgs.lib.mkIf (pkgs.lib.any (fs: fs == "unionfs-fuse") config.boot.supportedFilesystems) { 20 + (lib.mkIf (lib.any (fs: fs == "unionfs-fuse") config.boot.supportedFilesystems) { 21 21 system.fsPackages = [ pkgs.unionfs-fuse ]; 22 22 }) 23 23 ];
+2 -2
nixos/modules/testing/minimal-kernel.nix
··· 1 - { config, pkgs, ... }: 1 + { config, pkgs, lib, ... }: 2 2 3 3 let 4 - configfile = builtins.storePath (builtins.toFile "config" (pkgs.lib.concatStringsSep "\n" 4 + configfile = builtins.storePath (builtins.toFile "config" (lib.concatStringsSep "\n" 5 5 (map (builtins.getAttr "configLine") config.system.requiredKernelConfig)) 6 6 ); 7 7
+4 -1
nixos/modules/virtualisation/virtualbox-guest.nix
··· 11 11 12 12 in 13 13 14 - optionalAttrs (pkgs.stdenv.isi686 || pkgs.stdenv.isx86_64) # ugly... 15 14 { 16 15 17 16 ###### interface ··· 33 32 ###### implementation 34 33 35 34 config = mkIf cfg.enable { 35 + assertions = [ { 36 + assertion = pkgs.stdenv.isi686 || pkgs.stdenv.isx86_64; 37 + message = "Virtualbox not currently supported on ${pkgs.stdenv.system}"; 38 + } ]; 36 39 37 40 environment.systemPackages = [ kernel.virtualboxGuestAdditions ]; 38 41
+1 -1
nixos/tests/installer.nix
··· 370 370 # Rebuild the CD configuration with a little modification. 371 371 rebuildCD = makeTest 372 372 { inherit iso; 373 - name = "rebuild-CD"; 373 + name = "rebuild-cd"; 374 374 nodes = { }; 375 375 testScript = 376 376 ''
+6 -6
nixos/tests/mumble.nix
··· 30 30 $client1->execute("mumble mumble://client1\@server/test &"); 31 31 $client2->execute("mumble mumble://client2\@server/test &"); 32 32 33 - $client1->waitForWindow(qr/Mumble/); 34 - $client2->waitForWindow(qr/Mumble/); 35 - $server->sleep(3); # Wait some more for the Mumble UI 36 - 37 33 # cancel client audio configuration 34 + $client1->waitForWindow(qr/Audio Tuning Wizard/); 35 + $client2->waitForWindow(qr/Audio Tuning Wizard/); 38 36 $client1->sendKeys("esc"); 39 37 $client2->sendKeys("esc"); 40 - $server->sleep(1); 41 38 42 39 # cancel client cert configuration 40 + $client1->waitForWindow(qr/Certificate Management/); 41 + $client2->waitForWindow(qr/Certificate Management/); 43 42 $client1->sendKeys("esc"); 44 43 $client2->sendKeys("esc"); 45 - $server->sleep(1); 46 44 47 45 # accept server certificate 46 + $client1->waitForWindow(qr/^Mumble$/); 47 + $client2->waitForWindow(qr/^Mumble$/); 48 48 $client1->sendChars("y"); 49 49 $client2->sendChars("y"); 50 50
+1 -1
nixos/tests/simple.nix
··· 1 1 import ./make-test.nix { 2 - name = "simple" 2 + name = "simple"; 3 3 4 4 machine = { config, pkgs, ... }: { }; 5 5
+2 -2
pkgs/applications/editors/emacs-modes/writegood/default.nix
··· 1 1 {stdenv, fetchurl, emacs}: 2 2 3 - let version = "1.3"; 3 + let version = "2.0"; 4 4 5 5 in stdenv.mkDerivation { 6 6 name = "writegood-mode-${version}"; 7 7 src = fetchurl { 8 8 url = "https://github.com/bnbeckwith/writegood-mode/archive/v${version}.tar.gz"; 9 - sha256 = "0p34rgawnqg94vk4lcw14x99rrvsd23dmbwkxz2vax5kq6l8y5yf"; 9 + sha256 = "0wf7bj9d00ggy3xigym885a3njfr98i3aqrrawf8x6lgbfc56dgp"; 10 10 }; 11 11 12 12 buildInputs = [ emacs ];
+64
pkgs/applications/inferno/default.nix
··· 1 + { fetchurl, fetchhg, stdenv, xlibs, gcc46, makeWrapper }: 2 + 3 + stdenv.mkDerivation rec { 4 + # Inferno is a rolling release from a mercurial repository. For the verison number 5 + # of the package I'm using the mercurial commit number. 6 + version = "645"; 7 + name = "inferno-${version}"; 8 + 9 + # The mercurial repository does not contain all the components needed for the 10 + # runtime system. The 'base' package contains these. For this package I download 11 + # the base, extract the elements required from that, and add them to the source 12 + # pulled from the mercurial repository. 13 + srcBase = fetchurl { 14 + url = "http://www.vitanuova.com/dist/4e/inferno-20100120.tgz"; 15 + sha256 = "0msvy3iwl4n5k0ry0xiyysjkq0qsawmwn3hvg67hbi5y8g7f7l88"; 16 + }; 17 + 18 + src = fetchhg { 19 + url = "https://inferno-os.googlecode.com/hg"; 20 + rev = "7ab390b860ca"; 21 + sha256 = "09y0iclb3yy10gw1p0182sddg64xh60q2fx4ai7lxyfb65i76qbh"; 22 + }; 23 + 24 + # Fails with gcc48 due to inferno triggering an optimisation issue with floating point. 25 + buildInputs = [ gcc46 xlibs.libX11 xlibs.libXpm xlibs.libXext xlibs.xextproto makeWrapper ]; 26 + 27 + infernoWrapper = ./inferno; 28 + 29 + configurePhase = '' 30 + tar --strip-components=1 -xvf $srcBase inferno/fonts inferno/Mkdirs inferno/empties 31 + sed -e 's@^ROOT=.*$@ROOT='"$out"'/share/inferno@g' -e 's@^OBJTYPE=.*$@OBJTYPE=386@g' -e 's@^SYSHOST=.*$@SYSHOST=Linux@g' -i mkconfig 32 + mkdir prof 33 + sh Mkdirs 34 + ''; 35 + 36 + buildPhase = '' 37 + export PATH=$PATH:$out/share/inferno/Linux/386/bin 38 + mkdir -p $out/share/inferno 39 + cp -r . $out/share/inferno 40 + ./makemk.sh 41 + mk nuke 42 + mk 43 + ''; 44 + 45 + installPhase = '' 46 + mk install 47 + mkdir -p $out/bin 48 + makeWrapper $out/share/inferno/Linux/386/bin/emu $out/bin/emu \ 49 + --suffix LD_LIBRARY_PATH ':' "${gcc46.gcc}/lib" \ 50 + --suffix PATH ':' "$out/share/inferno/Linux/386/bin" 51 + makeWrapper $infernoWrapper $out/bin/inferno \ 52 + --suffix LD_LIBRARY_PATH ':' "${gcc46.gcc}/lib" \ 53 + --suffix PATH ':' "$out/share/inferno/Linux/386/bin" \ 54 + --set INFERNO_ROOT "$out/share/inferno" 55 + ''; 56 + 57 + meta = { 58 + description = "A compact distributed operating system for building cross-platform distributed systems"; 59 + homepage = "http://inferno-os.org/"; 60 + license = stdenv.lib.licenses.gpl2; 61 + maintainer = [ "Chris Double <chris.double@double.co.nz>" ]; 62 + platforms = with stdenv.lib.platforms; linux; 63 + }; 64 + }
+31
pkgs/applications/inferno/inferno
··· 1 + #! /usr/bin/env bash 2 + 3 + 4 + export INFERNO_HOME="$HOME/.local/share/inferno" 5 + if [ -n "$XDG_DATA_HOME" ] 6 + then export INFERNO_HOME="$XDG_DATA_HOME/inferno" 7 + fi 8 + 9 + if [ ! -d $INFERNO_HOME ]; then 10 + mkdir -p $INFERNO_HOME 11 + fi 12 + 13 + if [ ! -d $INFERNO_HOME/tmp ]; then 14 + mkdir -p $INFERNO_HOME/tmp 15 + fi 16 + 17 + for d in $INFERNO_HOME/{acme,appl,dis,lib,man,module,usr/inferno}; do 18 + if [ ! -d $d ]; then 19 + mkdir -p $d 20 + cp --no-preserve=all -r $INFERNO_ROOT/${d#$INFERNO_HOME/}/* $d/ 21 + chmod -R +w $d 22 + fi 23 + done 24 + 25 + if [ ! -d $INFERNO_HOME/usr/$USER ]; then 26 + mkdir -p $INFERNO_HOME/usr/$USER 27 + cp -r $INFERNO_ROOT/usr/inferno/* $INFERNO_HOME/usr/$USER/ 28 + chmod -R +w $INFERNO_HOME/usr/$USER 29 + fi 30 + 31 + exec emu "$@" /dis/sh.dis -c "bind -b -c '#U*$INFERNO_HOME/' /; /dis/sh.dis"
+2 -2
pkgs/applications/misc/arbtt/default.nix
··· 6 6 7 7 cabal.mkDerivation (self: { 8 8 pname = "arbtt"; 9 - version = "0.8"; 10 - sha256 = "0anjcg8ikd3jxc5rb3k215wj7ar4kg2plv8sdr8hv64758xkc5q9"; 9 + version = "0.8.1"; 10 + sha256 = "1qzmqjm8pfj59h0hrm28pp6qhzz2am5xq81mirnnchsgg52wrfn0"; 11 11 isLibrary = false; 12 12 isExecutable = true; 13 13 buildDepends = [
+3 -3
pkgs/applications/misc/xmobar/default.nix
··· 6 6 7 7 cabal.mkDerivation (self: { 8 8 pname = "xmobar"; 9 - version = "0.20.1"; 10 - sha256 = "16jfgn6ciqxrwj6qjhbcpms7mzlbxfaxyxfxp64xvnw626xlpjvk"; 9 + version = "0.21"; 10 + sha256 = "1h0gsb808zm4j4kmw7fl4339wllc16ldy1ki96l8w3fvj30bcxpm"; 11 11 isLibrary = false; 12 12 isExecutable = true; 13 13 buildDepends = [ ··· 18 18 extraLibraries = [ libXrandr wirelesstools ]; 19 19 configureFlags = "-fall_extensions"; 20 20 meta = { 21 - homepage = "http://projects.haskell.org/xmobar/"; 21 + homepage = "http://xmobar.org"; 22 22 description = "A Minimalistic Text Based Status Bar"; 23 23 license = self.stdenv.lib.licenses.bsd3; 24 24 platforms = self.ghc.meta.platforms;
+3 -3
pkgs/applications/networking/browsers/dwb/default.nix
··· 2 2 m4, glib_networking, gsettings_desktop_schemas, dconf }: 3 3 4 4 stdenv.mkDerivation { 5 - name = "dwb-2014-06-17"; 5 + name = "dwb-2014-07-03"; 6 6 7 7 src = fetchgit { 8 8 url = "https://bitbucket.org/portix/dwb.git"; 9 - rev = "9f4bdb9a1f8d5e45071019da4626231dfebd4d8e"; 10 - sha256 = "1nj34w2hhw47jsmswsc1y6a09my8zdd01qxwai8dxdvisld3marm"; 9 + rev = "6224470489eb5ba92987e01396269f8b7cd78ada"; 10 + sha256 = "04p9frsnh1qz067cw36anvr41an789fba839svdjrdva0f2751g8"; 11 11 }; 12 12 13 13 buildInputs = [ pkgconfig makeWrapper gsettings_desktop_schemas libsoup webkit gtk3 gnutls json_c m4 ];
+3 -1
pkgs/applications/networking/instant-messengers/telepathy/gabble/default.nix
··· 9 9 sha256 = "137sslbgh0326lmwihcr2ybljgq9mzsx5wnciilpx884si22wpk8"; 10 10 }; 11 11 12 - nativeBuildInputs = [pkgconfig libxslt]; 12 + nativeBuildInputs = [ pkgconfig libxslt ]; 13 13 buildInputs = [ libxml2 dbus_glib sqlite libsoup libnice telepathy_glib gnutls ]; 14 14 15 15 configureFlags = "--with-ca-certificates=/etc/ssl/certs/ca-bundle.crt"; 16 16 17 17 meta = { 18 18 homepage = http://telepathy.freedesktop.org; 19 + description = "Jabber/XMPP connection manager for the Telepathy framework"; 20 + platforms = stdenv.lib.platforms.gnu; 19 21 }; 20 22 }
+12
pkgs/applications/networking/mailreaders/mutt/mailpath.patch
··· 1 + diff -r 8f62001989cc configure.ac 2 + --- a/configure.ac Sat Feb 08 10:24:22 2014 -0800 3 + +++ b/configure.ac Wed Jul 02 12:34:40 2014 +0200 4 + @@ -473,6 +473,8 @@ 5 + mutt_cv_mailpath=/usr/spool/mail 6 + elif test -d /usr/mail; then 7 + mutt_cv_mailpath=/usr/mail 8 + + elif test -d /tmp; then 9 + + mutt_cv_mailpath=/tmp 10 + fi]) 11 + ]) 12 + if test "$mutt_cv_mailpath" = no; then
+2 -2
pkgs/applications/networking/p2p/transmission/default.nix
··· 4 4 }: 5 5 6 6 let 7 - version = "2.83"; 7 + version = "2.84"; 8 8 in 9 9 10 10 with { inherit (stdenv.lib) optional optionals optionalString; }; ··· 14 14 15 15 src = fetchurl { 16 16 url = "http://download.transmissionbt.com/files/transmission-${version}.tar.xz"; 17 - sha256 = "0cqlgl6jmjw1caybz6nzh3l8z0jak1dxba01isv72zvy2r8b1qdh"; 17 + sha256 = "1sxr1magqb5s26yvr5yhs1f7bmir8gl09niafg64lhgfnhv1kz59"; 18 18 }; 19 19 20 20 buildInputs = [ pkgconfig intltool file openssl curl libevent inotifyTools ]
+5 -5
pkgs/applications/science/math/sloane/default.nix
··· 1 1 { cabal, ansiTerminal, filepath, HTTP, network, optparseApplicative 2 - , stringsearch, terminalSize, time, zlib 2 + , terminalSize, text, time, zlib 3 3 }: 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "sloane"; 7 - version = "1.8"; 8 - sha256 = "0c30slsswfqwzi39hk6jraxz1y1a2yn8g8nyjvlnggwajx2rlm6p"; 7 + version = "1.8.2"; 8 + sha256 = "0kdznrvyrax1gihqxxw36jfbmjri808ii827fa71v2ijlm416hk1"; 9 9 isLibrary = false; 10 10 isExecutable = true; 11 11 buildDepends = [ 12 - ansiTerminal filepath HTTP network optparseApplicative stringsearch 13 - terminalSize time zlib 12 + ansiTerminal filepath HTTP network optparseApplicative terminalSize 13 + text time zlib 14 14 ]; 15 15 postInstall = '' 16 16 mkdir -p $out/share/man/man1
+3 -3
pkgs/applications/science/misc/boinc/default.nix
··· 3 3 sqlite, gtk, patchelf, libXScrnSaver, libnotify, libX11, libxcb }: 4 4 5 5 stdenv.mkDerivation rec { 6 - name = "boinc-7.0.44"; 6 + name = "boinc-7.2.42"; 7 7 8 8 src = fetchgit { 9 9 url = "git://boinc.berkeley.edu/boinc-v2.git"; 10 - rev = "7c449b1fb8a681ceb27d6895751b62a2b3adf0f2"; 11 - sha256 = "0hdramyl9nip3gadp7xiaz8ngyld15i93d8ai1nsd04bmrvdfqia"; 10 + rev = "dd0d630882547c123ca0f8fda7a62e058d60f6a9"; 11 + sha256 = "1zifpi3mjgaj68fba6kammp3x7z8n2x164zz6fj91xfiapnan56j"; 12 12 }; 13 13 14 14 buildInputs = [ libtool automake autoconf m4 pkgconfig curl mesa libXmu libXi
+28
pkgs/applications/version-management/vcprompt/default.nix
··· 1 + { stdenv, fetchhg, autoconf, sqlite }: 2 + 3 + stdenv.mkDerivation { 4 + name = "vcprompt"; 5 + 6 + src = fetchhg { 7 + url = "http://hg.gerg.ca/vcprompt/"; 8 + rev = "1.2.1"; 9 + sha256 = "03xqvp6bfl98bpacrw4n82qv9cw6a4fxci802s3vrygas989v1kj"; 10 + }; 11 + 12 + buildInputs = [ sqlite autoconf ]; 13 + 14 + preConfigure = '' 15 + autoconf 16 + makeFlags="$makeFlags PREFIX=$out" 17 + ''; 18 + 19 + meta = with stdenv.lib; { 20 + description = '' 21 + A little C program that prints a short string with barebones information 22 + about the current working directory for various version control systems 23 + ''; 24 + homepage = http://hg.gerg.ca/vcprompt; 25 + maintainers = with maintainers; [ cstrahan ]; 26 + platforms = with platforms; linux ++ darwin; 27 + }; 28 + }
+18 -4
pkgs/build-support/build-pecl.nix
··· 1 - { stdenv, php, autoreconfHook }: 1 + { stdenv, php, autoreconfHook, fetchurl }: 2 2 3 - args: stdenv.mkDerivation (args // { 4 - buildInputs = [ php autoreconfHook ] ++ args.buildInputs or []; 3 + { name 4 + , buildInputs ? [] 5 + , makeFlags ? [] 6 + , src ? fetchurl { 7 + url = "http://pecl.php.net/get/${name}.tgz"; 8 + inherit (args) sha256; 9 + } 10 + , ... 11 + }@args: 5 12 6 - makeFlags = [ "EXTENSION_DIR=$(out)/lib/php/extensions" ] ++ args.makeFlags or []; 13 + stdenv.mkDerivation (args // { 14 + name = "php-${name}"; 15 + 16 + inherit src; 17 + 18 + buildInputs = [ php autoreconfHook ] ++ buildInputs; 19 + 20 + makeFlags = [ "EXTENSION_DIR=$(out)/lib/php/extensions" ] ++ makeFlags; 7 21 8 22 autoreconfPhase = "phpize"; 9 23 })
+5 -8
pkgs/data/fonts/anonymous-pro/default.nix
··· 10 10 buildInputs = map (n: builtins.getAttr n x) 11 11 (builtins.attrNames (builtins.removeAttrs x helperArgNames)); 12 12 sourceInfo = rec { 13 - version="1.002"; 13 + version = "1.002"; 14 14 name="anonymousPro"; 15 15 url="http://www.ms-studio.com/FontSales/AnonymousPro-${version}.zip"; 16 - hash="86665847a51cdfb58a1e1dfd8b1ba33f183485affe50b53e3304f63d3d3552ab"; 16 + sha256 = "1asj6lykvxh46czbal7ymy2k861zlcdqpz8x3s5bbpqwlm3mhrl6"; 17 17 }; 18 18 in 19 19 rec { 20 20 src = a.fetchurl { 21 21 url = sourceInfo.url; 22 - sha256 = sourceInfo.hash; 22 + sha256 = sourceInfo.sha256; 23 23 }; 24 24 25 25 name = "${sourceInfo.name}-${sourceInfo.version}"; ··· 43 43 license = with a.lib.licenses; ofl; 44 44 hydraPlatforms = []; 45 45 homepage = "http://www.marksimonson.com/fonts/view/anonymous-pro"; 46 - }; 47 - passthru = { 48 - updateInfo = { 49 - downloadPage = "http://www.ms-studio.com/FontSales/anonymouspro.html"; 50 - }; 46 + downloadPage = "http://www.ms-studio.com/FontSales/anonymouspro.html"; 47 + inherit (sourceInfo) version; 51 48 }; 52 49 }) x 53 50
+6
pkgs/data/fonts/anonymous-pro/default.upstream
··· 1 + attribute_name anonymousPro 2 + url http://www.ms-studio.com/FontSales/anonymouspro.html 3 + version_link '/AnonymousPro-.*[.]zip$' 4 + do_overwrite (){ 5 + do_overwrite_just_version 6 + }
+2 -2
pkgs/desktops/gnome-3/3.12/apps/gnome-music/default.nix
··· 16 16 buildInputs = [ pkgconfig gtk3 glib intltool itstool gnome3.libmediaart 17 17 gdk_pixbuf gnome3.gnome_icon_theme librsvg python3 18 18 gnome3.grilo libxml2 python3Packages.pygobject3 libnotify 19 - python3Packages.pycairo python3Packages.dbus 19 + python3Packages.pycairo python3Packages.dbus gnome3.totem-pl-parser 20 20 gst_all_1.gstreamer gst_all_1.gst-plugins-base 21 21 gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad 22 22 hicolor_icon_theme gnome3.gnome_icon_theme_symbolic ··· 28 28 let 29 29 libPath = stdenv.lib.makeLibraryPath 30 30 [ glib gtk3 libnotify tracker gnome3.grilo cairo 31 - gst_all_1.gstreamer gst_all_1.gst-plugins-base 31 + gst_all_1.gstreamer gst_all_1.gst-plugins-base gnome3.totem-pl-parser 32 32 gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad ]; 33 33 in 34 34 ''
+3 -4
pkgs/desktops/gnome-3/3.12/core/empathy/default.nix
··· 19 19 }; 20 20 21 21 propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard 22 - gnome3.gnome_icon_theme hicolor_icon_theme 23 - gnome_online_accounts shared_mime_info 24 - gnome3.gnome_icon_theme_symbolic ]; 22 + gnome_online_accounts shared_mime_info ]; 25 23 propagatedBuildInputs = [ folks telepathy_logger evolution_data_server 26 24 telepathy_mission_control ]; 27 25 buildInputs = [ pkgconfig gtk3 glib webkitgtk intltool itstool ··· 31 29 gcr libsecret pulseaudio gnome3.yelp_xsl gdk_pixbuf 32 30 libnotify clutter libsoup gnutls libgee p11_kit 33 31 libcanberra_gtk3 telepathy_farstream farstream 32 + gnome3.gnome_icon_theme hicolor_icon_theme gnome3.gnome_icon_theme_symbolic 34 33 gnome3.gsettings_desktop_schemas file libtool librsvg ]; 35 34 36 35 NIX_CFLAGS_COMPILE = [ "-I${dbus_glib}/include/dbus-1.0" ··· 41 40 for f in $out/bin/* $out/libexec/*; do 42 41 wrapProgram $f \ 43 42 --set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \ 44 - --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:${gnome3.gnome_themes_standard}/:${gnome3.gnome_themes_standard}/share:${hicolor_icon_theme}/share:$out/share:$GSETTINGS_SCHEMAS_PATH" 43 + --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:${gnome3.gnome_themes_standard}/share:$out/share:$GSETTINGS_SCHEMAS_PATH" 45 44 done 46 45 rm $out/share/icons/hicolor/icon-theme.cache 47 46 '';
+2 -2
pkgs/desktops/gnome-3/3.12/core/evolution-data-server/default.nix
··· 21 21 ++ stdenv.lib.optional valaSupport "--enable-vala-bindings"; 22 22 23 23 preFixup = '' 24 - for f in "$out/libexec/evolution-addressbook-factory" "$out/libexec/evolution-calendar-factory"; do 25 - wrapProgram $f --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" 24 + for f in "$out/libexec/"*; do 25 + wrapProgram "$f" --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" 26 26 done 27 27 ''; 28 28
+8
pkgs/desktops/gnome-3/3.12/core/gnome-shell/default.nix
··· 39 39 40 40 wrapProgram "$out/libexec/gnome-shell-calendar-server" \ 41 41 --prefix XDG_DATA_DIRS : "${evolution_data_server}/share:$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" 42 + 43 + echo "${unzip}/bin" > $out/${passthru.mozillaPlugin}/extra-bin-path 42 44 ''; 45 + 46 + enableParallelBuilding = true; 47 + 48 + passthru = { 49 + mozillaPlugin = "/lib/mozilla/plugins"; 50 + }; 43 51 44 52 meta = with stdenv.lib; { 45 53 platforms = platforms.linux;
+6 -3
pkgs/development/compilers/compcert/default.nix
··· 12 12 buildInputs = [ coq ocaml ocamlPackages.menhir ]; 13 13 14 14 enableParallelBuilding = true; 15 - configurePhase = "./configure -prefix $out -toolprefix ${gcc}/bin/ ia32-linux"; 15 + configurePhase = "./configure -prefix $out -toolprefix ${gcc}/bin/ " + 16 + (if stdenv.isDarwin then "ia32-macosx" else "ia32-linux"); 16 17 17 18 meta = { 18 19 description = "Formally verified C compiler"; 19 20 homepage = "http://compcert.inria.fr"; 20 21 license = stdenv.lib.licenses.inria; 21 - platforms = [ "i686-linux" ]; 22 - maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; 22 + platforms = stdenv.lib.platforms.linux ++ 23 + stdenv.lib.platforms.darwin; 24 + maintainers = [ stdenv.lib.maintainers.thoughtpolice 25 + stdenv.lib.maintainers.jwiegley ]; 23 26 }; 24 27 }
+19
pkgs/development/compilers/go/1_0-gcc-bug.patch
··· 1 + http://code.google.com/p/go/source/detail?r=8b13b2ec6b18 2 + --- a/src/cmd/cgo/gcc.go 2014-07-02 12:00:12.171796197 +0200 3 + +++ b/src/cmd/cgo/gcc.go 2014-07-02 12:01:57.844472754 +0200 4 + @@ -840,6 +840,15 @@ 5 + func (p *Package) gccErrors(stdin []byte) string { 6 + // TODO(rsc): require failure 7 + args := p.gccCmd() 8 + + 9 + + // GCC 4.8.0 has a bug: it sometimes does not apply 10 + + // -Wunused-value to values that are macros defined in system 11 + + // headers. See issue 5118. Adding -Wsystem-headers avoids 12 + + // that problem. This will produce additional errors, but it 13 + + // doesn't matter because we will ignore all errors that are 14 + + // not marked for the cgo-test file. 15 + + args = append(args, "-Wsystem-headers") 16 + + 17 + if *debugGcc { 18 + fmt.Fprintf(os.Stderr, "$ %s <<EOF\n", strings.Join(args, " ")) 19 + os.Stderr.Write(stdin)
+12
pkgs/development/compilers/go/1_0-opt-error.patch
··· 1 + https://code.google.com/p/go-wiki/wiki/OlderVersions 2 + --- a/src/cmd/cc/funct.c 2014-07-02 11:54:42.230663598 +0200 3 + +++ b/src/cmd/cc/funct.c 2014-07-02 11:55:01.653790128 +0200 4 + @@ -269,7 +269,7 @@ 5 + goto bad; 6 + 7 + f = alloc(sizeof(*f)); 8 + - for(o=0; o<sizeof(f->sym); o++) 9 + + for(o=0; o<nelem(f->sym); o++) 10 + f->sym[o] = S; 11 + 12 + t->funct = f;
+1 -1
pkgs/development/compilers/go/default.nix
··· 51 51 sed -i '/TestHostname/areturn' src/pkg/os/os_test.go 52 52 ''; 53 53 54 - patches = [ ./cacert.patch ]; 54 + patches = [ ./cacert.patch ./1_0-opt-error.patch ./1_0-gcc-bug.patch ]; 55 55 56 56 GOOS = "linux"; 57 57 GOARCH = if stdenv.system == "i686-linux" then "386"
+15 -17
pkgs/development/compilers/rust/default.nix
··· 16 16 17 17 with if stdenv.system == "i686-linux" then { 18 18 platform = "linux-i386"; 19 - snapshot = "3bef5684fd0582fbd4ddebd4514182d4f72924f7"; 20 - snapshot_sha = "1c72d65pcgm3z4sly7al09mjvpp8asxbbv7iyzzv5k8f66ny2agy"; 19 + snapshot = "84339ea0f796ae468ef86797ef4587274bec19ea"; 21 20 target = "i686-unknown-linux-gnu"; 22 21 } else if stdenv.system == "x86_64-linux" then { 23 22 platform = "linux-x86_64"; 24 - snapshot = "a7b2af1076d48e4a687a71a21478293e834349bd"; 25 - snapshot_sha = "1c72d65pcgm3z4sly7al09mjvpp8asxbbv7iyzzv5k8f66ny2agy"; 23 + snapshot = "bd8a6bc1f28845b7f4b768f6bfa06e7fbdcfcaae"; 26 24 target = "x86_64-unknown-linux-gnu"; 27 25 } else if stdenv.system == "x86_64-darwin" then { 28 26 platform = "macos-x86_64"; 29 - snapshot = "22b884a3876cb3e40ad942ad68a496b5f239fca5"; 30 - snapshot_sha = "0qabkvyryiwlqhzy1kscff27rx788bv7lh7d8m1hnsv38wqhwqqb"; 27 + snapshot = "4a8c2e1b7634d73406bac32a1a97893ec3ed818d"; 31 28 } else {}; 32 - let snapshotDate = "2014-03-28"; 33 - snapshotRev = "b8601a3"; 29 + let snapshotDate = "2014-06-21"; 30 + snapshotRev = "db9af1d"; 34 31 snapshotName = "rust-stage0-${snapshotDate}-${snapshotRev}-${platform}-${snapshot}.tar.bz2"; in 35 32 stdenv.mkDerivation { 36 - name = "rust-0.10"; 33 + name = "rust-0.11.0"; 37 34 38 35 src = fetchurl { 39 - url = http://static.rust-lang.org/dist/rust-0.10.tar.gz; 40 - sha256 = "c72cfbbf03016804a81d7b68e8258ffaf018f8f5a25550ad64571ce6c2642cf9"; 36 + url = http://static.rust-lang.org/dist/rust-0.11.0.tar.gz; 37 + sha256 = "1fhi8iiyyj5j48fpnp93sfv781z1dm0xy94h534vh4mz91jf7cyi"; 41 38 }; 42 39 43 40 # We need rust to build rust. If we don't provide it, configure will try to download it. ··· 45 42 name = "rust-stage0"; 46 43 src = fetchurl { 47 44 url = "http://static.rust-lang.org/stage0-snapshots/${snapshotName}"; 48 - sha256 = snapshot_sha; 45 + sha1 = snapshot; 49 46 }; 47 + dontStrip = true; 50 48 installPhase = '' 51 49 mkdir -p "$out" 52 50 cp -r bin "$out/bin" 53 51 '' + (if stdenv.isLinux then '' 54 - patchelf --interpreter ${stdenv.glibc}/lib/${stdenv.gcc.dynamicLinker} \ 55 - --set-rpath ${stdenv.gcc.gcc}/lib/:${stdenv.gcc.gcc}/lib64/ \ 56 - $out/bin/rustc 52 + patchelf --interpreter "${stdenv.glibc}/lib/${stdenv.gcc.dynamicLinker}" \ 53 + --set-rpath "${stdenv.gcc.gcc}/lib/:${stdenv.gcc.gcc}/lib64/" \ 54 + "$out/bin/rustc" 57 55 '' else ""); 58 56 }; 59 57 ··· 63 61 patches = [ ./hardcode_paths.patch ./local_stage0.patch ]; 64 62 postPatch = '' 65 63 substituteInPlace src/librustc/back/link.rs \ 66 - --subst-var-by "gccPath" ${stdenv.gcc}/bin/cc \ 67 - --subst-var-by "binutilsPath" ${stdenv.gcc.binutils}/bin/ar 64 + --subst-var-by "ccPath" "${stdenv.gcc}/bin/cc" \ 65 + --subst-var-by "arPath" "${stdenv.gcc.binutils}/bin/ar" 68 66 ''; 69 67 70 68 buildInputs = [ which file perl curl python27 makeWrapper ];
+23 -32
pkgs/development/compilers/rust/hardcode_paths.patch
··· 1 1 diff --git a/src/librustc/back/link.rs b/src/librustc/back/link.rs 2 - index f198a41..3a47e51 100644 2 + index 7a3e912..ced75fa 100644 3 3 --- a/src/librustc/back/link.rs 4 4 +++ b/src/librustc/back/link.rs 5 - @@ -730,7 +730,7 @@ pub fn get_cc_prog(sess: &Session) -> ~str { 6 - _ => {}, 7 - } 5 + @@ -766,24 +766,15 @@ pub fn output_lib_filename(id: &CrateId) -> String { 8 6 9 - - get_system_tool(sess, "cc") 10 - + ~"@gccPath@" 7 + pub fn get_cc_prog(sess: &Session) -> String { 8 + match sess.opts.cg.linker { 9 + - Some(ref linker) => return linker.to_string(), 10 + - None => {} 11 + + Some(ref linker) => linker.to_string(), 12 + + None => "@ccPath@".to_string() 13 + } 14 + - 15 + - // In the future, FreeBSD will use clang as default compiler. 16 + - // It would be flexible to use cc (system's default C compiler) 17 + - // instead of hard-coded gcc. 18 + - // For win32, there is no cc command, so we add a condition to make it use gcc. 19 + - match sess.targ_cfg.os { 20 + - abi::OsWin32 => "gcc", 21 + - _ => "cc", 22 + - }.to_string() 11 23 } 12 24 13 - pub fn get_ar_prog(sess: &Session) -> ~str { 14 - @@ -739,26 +739,7 @@ pub fn get_ar_prog(sess: &Session) -> ~str { 15 - None => {} 25 + pub fn get_ar_prog(sess: &Session) -> String { 26 + match sess.opts.cg.ar { 27 + Some(ref ar) => (*ar).clone(), 28 + - None => "ar".to_string() 29 + + None => "@arPath@".to_string() 16 30 } 17 - 18 - - get_system_tool(sess, "ar") 19 - -} 20 - - 21 - -fn get_system_tool(sess: &Session, tool: &str) -> ~str { 22 - - match sess.targ_cfg.os { 23 - - abi::OsAndroid => match sess.opts.cg.android_cross_path { 24 - - Some(ref path) => { 25 - - let tool_str = match tool { 26 - - "cc" => "gcc", 27 - - _ => tool 28 - - }; 29 - - format!("{}/bin/arm-linux-androideabi-{}", *path, tool_str) 30 - - } 31 - - None => { 32 - - sess.fatal(format!("need Android NDK path for the '{}' tool \ 33 - - (-C android-cross-path)", tool)) 34 - - } 35 - - }, 36 - - _ => tool.to_owned(), 37 - - } 38 - + ~"@binutilsPath@" 39 31 } 40 32 41 - fn remove(sess: &Session, path: &Path) {
+7 -9
pkgs/development/interpreters/angelscript/default.nix
··· 11 11 (builtins.attrNames (builtins.removeAttrs x helperArgNames)); 12 12 sourceInfo = rec { 13 13 baseName="angelscript"; 14 - version="2.22.1"; 14 + version = "2.29.0"; 15 15 name="${baseName}-${version}"; 16 16 url="http://www.angelcode.com/angelscript/sdk/files/angelscript_${version}.zip"; 17 - hash="0fmw0cb7ymgyq31r4cfvsn4k86r20hj650fbzs9i7zl0p3lb6hpm"; 17 + sha256 = "1g0bi8dx832s3911rr3jymnffaz3q7cnbzl53nmi6hwsr2kpc6mx"; 18 18 }; 19 19 in 20 20 rec { 21 21 src = a.fetchurl { 22 22 url = sourceInfo.url; 23 - sha256 = sourceInfo.hash; 23 + sha256 = sourceInfo.sha256; 24 24 }; 25 25 26 26 inherit (sourceInfo) name version; ··· 31 31 32 32 prepareBuild = a.fullDepEntry '' 33 33 cd angelscript/projects/gnuc 34 - sed -i makefile -e "s@LOCAL = .*@LOCAL = $out@" 34 + sed -i makefile -e "s@LOCAL [?]= .*@LOCAL = $out@" 35 35 mkdir -p "$out/lib" "$out/bin" "$out/share" "$out/include" 36 36 export SHARED=1 37 37 export VERSION="${version}" ··· 55 55 platforms = with a.lib.platforms; 56 56 linux; 57 57 license = a.lib.licenses.zlib; 58 - }; 59 - passthru = { 60 - updateInfo = { 61 - downloadPage = "http://www.angelcode.com/angelscript/downloads.asp"; 62 - }; 58 + homepage="http://www.angelcode.com/angelscript/"; 59 + downloadPage = "http://www.angelcode.com/angelscript/downloads.html"; 60 + inherit version; 63 61 }; 64 62 }) x 65 63
+4
pkgs/development/interpreters/angelscript/default.upstream
··· 1 + url http://www.angelcode.com/angelscript/downloads.html 2 + version_link '[.]zip$' 3 + version '.*_([0-9.]+)[.].*' '\1' 4 + do_overwrite () { do_overwrite_just_version ; }
+6 -3
pkgs/development/interpreters/lua-5/5.1.nix
··· 1 - { stdenv, fetchurl, readline }: 1 + { stdenv, fetchurl, readline, makeWrapper }: 2 2 3 3 let 4 4 dsoPatch = fetchurl { ··· 16 16 sha256 = "2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333"; 17 17 }; 18 18 19 - buildInputs = [ readline ]; 19 + buildInputs = [ readline makeWrapper ]; 20 20 21 21 patches = if stdenv.isDarwin then [ ./5.1.darwin.patch ] else [ dsoPatch ]; 22 22 23 - configurePhase = 23 + configurePhase = 24 24 if stdenv.isDarwin 25 25 then '' 26 26 makeFlagsArray=( INSTALL_TOP=$out INSTALL_MAN=$out/share/man/man1 PLAT=macosx CFLAGS="-DLUA_USE_LINUX -fno-common -O2" LDLAGS="" ) ··· 35 35 sed <"etc/lua.pc" >"$out/lib/pkgconfig/lua.pc" -e "s|^prefix=.*|prefix=$out|" 36 36 mv "doc/"*.{gif,png,css,html} "$out/share/doc/lua/" 37 37 rmdir $out/{share,lib}/lua/5.1 $out/{share,lib}/lua 38 + wrapProgram $out/bin/lua \ 39 + --set LUA_PATH '"$HOME/.nix-profile/lib/lua/5.1/?.lua;$HOME/.nix-profile/share/lua/5.1/?.lua"' \ 40 + --set LUA_CPATH '"$HOME/.nix-profile/lib/lua/5.1/?.so;$HOME/.nix-profile/share/lua/5.1/?.so"' 38 41 ''; 39 42 40 43 meta = {
+26
pkgs/development/interpreters/lua-5/filesystem.nix
··· 1 + { stdenv, fetchurl, lua5 }: 2 + 3 + stdenv.mkDerivation rec { 4 + version = "1.6.2"; 5 + name = "lua-filesystem-${version}"; 6 + isLibrary = true; 7 + src = fetchurl { 8 + url = "https://github.com/keplerproject/luafilesystem/archive/v1_6_2.tar.gz"; 9 + sha256 = "1n8qdwa20ypbrny99vhkmx8q04zd2jjycdb5196xdhgvqzk10abz"; 10 + }; 11 + 12 + buildInputs = [ lua5 ]; 13 + 14 + preBuild = '' 15 + makeFlagsArray=( 16 + PREFIX=$out 17 + LUA_LIBDIR="$out/lib/lua/${lua5.luaversion}" 18 + LUA_INC="-I${lua5}/include"); 19 + ''; 20 + 21 + meta = { 22 + homepage = "https://github.com/keplerproject/luafilesystem"; 23 + platforms = stdenv.lib.platforms.linux; 24 + maintainers = [ stdenv.lib.maintainers.flosse ]; 25 + }; 26 + }
+3 -2
pkgs/development/interpreters/python/2.7/default.nix
··· 8 8 let 9 9 10 10 majorVersion = "2.7"; 11 - version = "${majorVersion}.7"; 11 + version = "${majorVersion}.8"; 12 12 13 13 src = fetchurl { 14 14 url = "http://www.python.org/ftp/python/${version}/Python-${version}.tar.xz"; 15 - sha256 = "0y6s12rdi89k24p8zarhy9fqmyy459yg0d125c7cac4v136y70r9"; 15 + sha256 = "0nh7d3dp75f1aj0pamn4hla8s0l7nbaq4a38brry453xrfh11ppd"; 16 16 }; 17 17 18 18 patches = ··· 56 56 57 57 inherit majorVersion version src patches postPatch buildInputs; 58 58 59 + LDFLAGS = stdenv.lib.optionalString (!stdenv.isDarwin) "-lgcc_s"; 59 60 C_INCLUDE_PATH = concatStringsSep ":" (map (p: "${p}/include") buildInputs); 60 61 LIBRARY_PATH = concatStringsSep ":" (map (p: "${p}/lib") buildInputs); 61 62
+3 -3
pkgs/development/libraries/accountsservice/default.nix
··· 2 2 , libtool, gobjectIntrospection, polkit, systemd, coreutils }: 3 3 4 4 stdenv.mkDerivation rec { 5 - name = "accountsservice-0.6.35"; 5 + name = "accountsservice-0.6.37"; 6 6 7 7 src = fetchurl { 8 - url = http://www.freedesktop.org/software/accountsservice/accountsservice-0.6.35.tar.xz; 9 - sha256 = "0f1hzl6hw56xvwgmd4yvmdyj15xj1fafw45pzv3qarww7h0wg8b5"; 8 + url = http://www.freedesktop.org/software/accountsservice/accountsservice-0.6.37.tar.xz; 9 + sha256 = "1hd58lrl698ij7w1xk3fpj8zp7h6m2hpzvfmbw9sfx4xvhv13cmh"; 10 10 }; 11 11 12 12 buildInputs = [ pkgconfig glib intltool libtool makeWrapper
+6 -2
pkgs/development/libraries/afflib/default.nix
··· 1 1 { stdenv, fetchurl, zlib, curl, expat, fuse, openssl }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "afflib-3.6.12"; 4 + version = "3.7.4"; 5 + name = "afflib-${version}"; 5 6 6 7 src = fetchurl { 7 8 url = "http://digitalcorpora.org/downloads/afflib/${name}.tar.gz"; 8 - sha256 = "1l13nrqjlvad112543qbyvrzai5by43zl96d3miklrhn26q9rs07"; 9 + sha256 = "18j1gjb31qjcmz6lry4m2d933w2a80iagg9g5vrpw5ig80lv10f8"; 9 10 }; 10 11 11 12 buildInputs = [ zlib curl expat fuse openssl ]; ··· 16 17 platforms = stdenv.lib.platforms.linux; 17 18 license = stdenv.lib.licenses.bsdOriginal; 18 19 maintainers = [ stdenv.lib.maintainers.raskin ]; 20 + inherit version; 21 + downloadPage = "http://digitalcorpora.org/downloads/afflib/"; 22 + updateWalker = true; 19 23 }; 20 24 }
+57
pkgs/development/libraries/allegro/5-unstable.nix
··· 1 + 2 + x@{builderDefsPackage 3 + , texinfo, libXext, xextproto, libX11, xproto, libXpm, libXt, libXcursor 4 + , alsaLib, cmake, zlib, libpng, libvorbis, libXxf86dga, libXxf86misc 5 + , xf86dgaproto, xf86miscproto, xf86vidmodeproto, libXxf86vm, openal, mesa 6 + , kbproto, libjpeg, flac 7 + , ...}: 8 + builderDefsPackage 9 + (a : 10 + let 11 + helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ 12 + []; 13 + 14 + buildInputs = map (n: builtins.getAttr n x) 15 + (builtins.attrNames (builtins.removeAttrs x helperArgNames)); 16 + sourceInfo = rec { 17 + baseName="allegro"; 18 + version = "5.1.8"; 19 + name="${baseName}-${version}"; 20 + project="alleg"; 21 + url="mirror://sourceforge/project/${project}/${baseName}/${version}/${name}.tar.gz"; 22 + hash="18fdppaqaf3g3rcqwhyvsmkzk3y14clz4l8cvmg4hvjgyf011f3i"; 23 + }; 24 + in 25 + rec { 26 + src = a.fetchurl { 27 + url = sourceInfo.url; 28 + sha256 = "180mhlhgxqh3ynazf9bssnd3riw77fazjw65yr64w0av53y0h1lz"; 29 + }; 30 + 31 + inherit (sourceInfo) name version; 32 + inherit buildInputs; 33 + 34 + /* doConfigure should be removed if not needed */ 35 + phaseNames = ["doCmake" "doMakeInstall"]; 36 + 37 + doCmake = a.fullDepEntry ('' 38 + export NIX_LDFLAGS="$NIX_LDFLAGS -lXext -lX11 -lXpm -lXcursor -lXxf86vm" 39 + cmake -D CMAKE_INSTALL_PREFIX=$out -D CMAKE_SKIP_RPATH=ON . 40 + '') ["minInit" "doUnpack" "addInputs"]; 41 + 42 + makeFlags = [ 43 + ]; 44 + 45 + meta = { 46 + description = "A game programming library"; 47 + license = "free-noncopyleft"; # giftware 48 + maintainers = with a.lib.maintainers; 49 + [ 50 + raskin 51 + ]; 52 + platforms = with a.lib.platforms; 53 + linux; 54 + inherit version; 55 + }; 56 + }) x 57 +
+7
pkgs/development/libraries/allegro/5-unstable.upstream
··· 1 + attribute_name allegro5 2 + url http://alleg.sourceforge.net/download.html 3 + version_link '/allegro-unstable/.*[.]tar[.].*/download$' 4 + SF_redirect 5 + do_overwrite () { 6 + do_overwrite_just_version 7 + }
+5 -9
pkgs/development/libraries/allegro/5.nix
··· 6 6 , kbproto, libjpeg, flac 7 7 , ...}: 8 8 builderDefsPackage 9 - (a : 10 - let 11 - helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ 9 + (a : 10 + let 11 + helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ 12 12 []; 13 13 14 14 buildInputs = map (n: builtins.getAttr n x) ··· 38 38 export NIX_LDFLAGS="$NIX_LDFLAGS -lXext -lX11 -lXpm -lXcursor -lXxf86vm" 39 39 cmake -D CMAKE_INSTALL_PREFIX=$out -D CMAKE_SKIP_RPATH=ON . 40 40 '') ["minInit" "doUnpack" "addInputs"]; 41 - 41 + 42 42 makeFlags = [ 43 43 ]; 44 44 ··· 51 51 ]; 52 52 platforms = with a.lib.platforms; 53 53 linux; 54 - }; 55 - passthru = { 56 - updateInfo = { 57 - downloadPage = "http://sourceforge.net/projects/alleg/files/"; 58 - }; 54 + inherit version; 59 55 }; 60 56 }) x 61 57
+7
pkgs/development/libraries/allegro/5.upstream
··· 1 + attribute_name allegro5 2 + url http://alleg.sourceforge.net/download.html 3 + version_link '[.]tar[.].*/download$' 4 + SF_redirect 5 + do_overwrite () { 6 + do_overwrite_just_version 7 + }
+5 -4
pkgs/development/libraries/allegro/default.nix
··· 4 4 , xf86dgaproto, xf86miscproto, xf86vidmodeproto, libXxf86vm, openal, mesa 5 5 , ...}: 6 6 builderDefsPackage 7 - (a : 8 - let 9 - helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ 7 + (a : 8 + let 9 + helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ 10 10 []; 11 11 12 12 buildInputs = map (n: builtins.getAttr n x) ··· 36 36 export NIX_LDFLAGS="$NIX_LDFLAGS -lXext -lX11 -lXpm -lXcursor -lXxf86vm" 37 37 cmake -D CMAKE_INSTALL_PREFIX=$out -D CMAKE_SKIP_RPATH=ON . 38 38 '') ["minInit" "doUnpack" "addInputs"]; 39 - 39 + 40 40 makeFlags = [ 41 41 ]; 42 42 43 43 meta = { 44 + branch = "4"; 44 45 description = "A game programming library"; 45 46 license = "free-noncopyleft"; # giftware 46 47 maintainers = with a.lib.maintainers;
+2 -2
pkgs/development/libraries/asio/default.nix
··· 1 1 {stdenv, fetchurl, boost, openssl}: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "asio-1.10.1"; 4 + name = "asio-1.10.2"; 5 5 6 6 src = fetchurl { 7 7 url = "mirror://sourceforge/asio/${name}.tar.bz2"; 8 - sha256 = "16dxzkra0wmhm2vp2p9lb1h6qsdjk82sxfgj6zlz792n7jnms2l2"; 8 + sha256 = "1lqxm3gc8rzzjq0m843l59ggbw32bih7smm5spry1j5khfc86p41"; 9 9 }; 10 10 11 11 propagatedBuildInputs = [ boost ];
+1 -1
pkgs/development/libraries/botan/default.upstream
··· 1 1 url http://botan.randombit.net/download.html 2 2 version_link 'Botan-[0-9]+[.][0-9]*[02468]([.][0-9]+)?[.](tbz|tbz2|tar[.]bz2)$' 3 3 ensure_version 4 - ensure_hash 5 4 do_overwrite(){ 5 + ensure_hash 6 6 set_var_value hash $CURRENT_HASH 7 7 set_var_value baseVersion ${CURRENT_VERSION%.*} 8 8 set_var_value revision ${CURRENT_VERSION##*.}
+58
pkgs/development/libraries/botan/unstable.nix
··· 1 + x@{builderDefsPackage 2 + , python 3 + , bzip2, zlib, gmp, openssl 4 + , boost 5 + , ...}: 6 + builderDefsPackage 7 + (a : 8 + let 9 + helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ 10 + []; 11 + 12 + buildInputs = map (n: builtins.getAttr n x) 13 + (builtins.attrNames (builtins.removeAttrs x helperArgNames)); 14 + sourceInfo = rec { 15 + baseName="botan"; 16 + tarBaseName="Botan"; 17 + baseVersion = "1.11"; 18 + revision = "9"; 19 + version="${baseVersion}.${revision}"; 20 + name="${baseName}-${version}"; 21 + url="http://files.randombit.net/${baseName}/v${baseVersion}/${tarBaseName}-${version}.tbz"; 22 + hash = "0jgx5va042gmr6nc91p5dd59wnfxlz19mz2nnyv74pvwwmizs09m"; 23 + }; 24 + in 25 + rec { 26 + src = a.fetchurl { 27 + url = sourceInfo.url; 28 + sha256 = sourceInfo.hash; 29 + }; 30 + 31 + inherit (sourceInfo) name version; 32 + inherit buildInputs; 33 + 34 + /* doConfigure should be removed if not needed */ 35 + phaseNames = ["doConfigure" "doMakeInstall" "fixPkgConfig"]; 36 + configureCommand = "python configure.py --with-gnump --with-bzip2 --with-zlib --with-openssl"; 37 + 38 + fixPkgConfig = a.fullDepEntry '' 39 + cd "$out"/lib/pkgconfig 40 + ln -s botan-*.pc botan.pc || true 41 + '' ["minInit" "doMakeInstall"]; 42 + 43 + meta = { 44 + description = "Cryptographic algorithms library"; 45 + maintainers = with a.lib.maintainers; 46 + [ 47 + raskin 48 + ]; 49 + platforms = with a.lib.platforms; 50 + unix; 51 + inherit version; 52 + }; 53 + passthru = { 54 + updateInfo = { 55 + downloadPage = "http://files.randombit.net/botan/"; 56 + }; 57 + }; 58 + }) x
+9
pkgs/development/libraries/botan/unstable.upstream
··· 1 + url http://botan.randombit.net/download.html 2 + version_link 'Botan-[0-9]+[.][0-9]+([.][0-9]+)?[.](tbz|tbz2|tar[.]bz2)$' 3 + ensure_version 4 + do_overwrite(){ 5 + ensure_hash 6 + set_var_value hash $CURRENT_HASH 7 + set_var_value baseVersion ${CURRENT_VERSION%.*} 8 + set_var_value revision ${CURRENT_VERSION##*.} 9 + }
+9 -17
pkgs/development/libraries/box2d/default.nix
··· 1 1 x@{builderDefsPackage 2 2 , unzip, cmake, mesa, freeglut, libX11, xproto 3 - , inputproto, libXi 3 + , inputproto, libXi, fetchsvn, pkgconfig 4 4 , ...}: 5 5 builderDefsPackage 6 6 (a : ··· 10 10 11 11 buildInputs = map (n: builtins.getAttr n x) 12 12 (builtins.attrNames (builtins.removeAttrs x helperArgNames)); 13 - sourceInfo = rec { 14 - baseName="box2d"; 15 - version="2.1.2"; 16 - name="${baseName}-${version}"; 17 - url="http://box2d.googlecode.com/files/Box2D_v${version}.zip"; 18 - hash="0m5szd74ig8yqazwk2g3zl4z7wwp08k52awawk1pigy6a4z1qd9v"; 19 - }; 20 13 in 21 14 rec { 22 - src = a.fetchurl { 23 - url = sourceInfo.url; 24 - sha256 = sourceInfo.hash; 15 + version = "2.3.0"; 16 + name = "box2d-${version}"; 17 + srcDrv = a.fetchsvn { 18 + url = "http://box2d.googlecode.com/svn/trunk"; 19 + rev = "277"; 20 + sha256 = "1xp93yw2zcqhmh999v7cwqaqxq1glgyg5r8kfm4yabc1ypba3in4"; 25 21 }; 22 + src = srcDrv + "/"; 26 23 27 - inherit (sourceInfo) name version; 28 24 inherit buildInputs; 29 25 30 26 phaseNames = ["changeSettings" "doCmake" "doMakeInstall"]; ··· 49 45 platforms = with a.lib.platforms; 50 46 linux; 51 47 license = "bsd"; 52 - }; 53 - passthru = { 54 - updateInfo = { 55 - downloadPage = "http://code.google.com/p/box2d/downloads/list"; 56 - }; 48 + inherit version; 57 49 }; 58 50 }) x 59 51
+2 -1
pkgs/development/libraries/glib/default.nix
··· 5 5 , libxml2, tzdata, desktop_file_utils, shared_mime_info, doCheck ? false 6 6 }: 7 7 8 + with stdenv.lib; 9 + 8 10 # TODO: 9 11 # * Add gio-module-fam 10 12 # Problem: cyclic dependency on gamin ··· 38 40 ver_maj = "2.40"; 39 41 ver_min = "0"; 40 42 in 41 - with { inherit (stdenv.lib) optional optionals optionalString; }; 42 43 43 44 stdenv.mkDerivation rec { 44 45 name = "glib-${ver_maj}.${ver_min}";
+2 -2
pkgs/development/libraries/haskell/Chart-cairo/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "Chart-cairo"; 7 - version = "1.2.2"; 8 - sha256 = "1bbi5bvrh8wmgzv5am5ndgdr68gd68ipparkkk9ld4majwf4vm6w"; 7 + version = "1.2.3"; 8 + sha256 = "1lbl1qvgm4yxslahlms6kzfrhh8s2fcdiwmvk1bs319k1fylia1b"; 9 9 buildDepends = [ 10 10 cairo Chart colour dataDefaultClass lens mtl operational time 11 11 ];
+2 -2
pkgs/development/libraries/haskell/Chart-diagrams/default.nix
··· 5 5 6 6 cabal.mkDerivation (self: { 7 7 pname = "Chart-diagrams"; 8 - version = "1.2.2"; 9 - sha256 = "144dy9vp3x04s03jrkyfqczpwayb8k7dq702w9wm3d8q4ysva62q"; 8 + version = "1.2.3"; 9 + sha256 = "08ps30vn9ljiyhgakwdbixn4csy504bsw3h5z9w1dxhn27wij772"; 10 10 buildDepends = [ 11 11 blazeSvg Chart colour dataDefaultClass diagramsCore diagramsLib 12 12 diagramsPostscript diagramsSvg lens mtl operational SVGFonts text
+2 -2
pkgs/development/libraries/haskell/Chart-gtk/default.nix
··· 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "Chart-gtk"; 5 - version = "1.2.2"; 6 - sha256 = "1mg6nln0jwp6hals9vhhsfqiwix424fv1v1p4h99s0xwy5cna1z9"; 5 + version = "1.2.3"; 6 + sha256 = "0vl9nh48pa7sdrqh5a6smmfallf4mwzrvspc2v94cpnrcnickiyq"; 7 7 buildDepends = [ cairo Chart ChartCairo colour gtk mtl time ]; 8 8 jailbreak = true; 9 9 meta = {
+2 -2
pkgs/development/libraries/haskell/Chart/default.nix
··· 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "Chart"; 5 - version = "1.2.2"; 6 - sha256 = "0yd3xca500lbzvlvhdsbrkiy53laikq6hc290rc061agvd535a7p"; 5 + version = "1.2.3"; 6 + sha256 = "067bahxig5xyd6zasi74k86qb7bxvbs3shjn9fbslhyckxg50q1j"; 7 7 buildDepends = [ 8 8 colour dataDefaultClass lens mtl operational time 9 9 ];
+6 -4
pkgs/development/libraries/haskell/GLUtil/default.nix
··· 1 - { cabal, cpphs, JuicyPixels, linear, OpenGL, OpenGLRaw, vector }: 1 + { cabal, cpphs, JuicyPixels, linear, OpenGL, OpenGLRaw 2 + , transformers, vector 3 + }: 2 4 3 5 cabal.mkDerivation (self: { 4 6 pname = "GLUtil"; 5 - version = "0.7.4"; 6 - sha256 = "0l1w0k3q5g22y90w5frljqh1v4jb7gjzb3scg79zp42pc9v3h4l5"; 7 + version = "0.7.5"; 8 + sha256 = "1rbnq1nrs2b06ph60lh0yvygk82vvnm8c4d0anhjrqw9i58nd3iz"; 7 9 buildDepends = [ 8 - cpphs JuicyPixels linear OpenGL OpenGLRaw vector 10 + cpphs JuicyPixels linear OpenGL OpenGLRaw transformers vector 9 11 ]; 10 12 buildTools = [ cpphs ]; 11 13 meta = {
+3 -4
pkgs/development/libraries/haskell/HFuse/default.nix
··· 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "HFuse"; 5 - version = "0.2.4.1"; 6 - sha256 = "12k04dvh92kk2i68bcb70xnk378qxmh46f241k06di5rkcgwyg1k"; 5 + version = "0.2.4.2"; 6 + sha256 = "043f5x807h1dajd0bvmhln9pjkviszx1279m298w711mrszapqrq"; 7 7 extraLibraries = [ fuse ]; 8 8 preConfigure = '' 9 9 sed -i -e "s@ Extra-Lib-Dirs: /usr/local/lib@ Extra-Lib-Dirs: ${fuse}/lib@" HFuse.cabal 10 - sed -i -e "s@ Include-Dirs: /usr/include, /usr/local/include, .@ Include-Dirs: ${fuse}/include@" HFuse.cabal 11 10 sed -i -e "s/LANGUAGE FlexibleContexts/LANGUAGE FlexibleContexts, RankNTypes/" System/Fuse.hsc 12 11 sed -i -e "s/E(Exception/E(catch, Exception, IOException/" System/Fuse.hsc 13 12 sed -i -e "s/IO(catch,/IO(/" System/Fuse.hsc ··· 15 14 sed -i -e "s/const exitFailure/\\\\(_ :: IOException) -> exitFailure/" System/Fuse.hsc 16 15 ''; 17 16 meta = { 18 - homepage = "https://github.com/toothbrush/hfuse"; 17 + homepage = "https://github.com/m15k/hfuse"; 19 18 description = "HFuse is a binding for the Linux FUSE library"; 20 19 license = self.stdenv.lib.licenses.bsd3; 21 20 platforms = self.stdenv.lib.platforms.linux;
+7 -7
pkgs/development/libraries/haskell/HTF/default.nix
··· 1 - { cabal, aeson, cpphs, Diff, filepath, haskellSrcExts, HUnit 2 - , liftedBase, monadControl, mtl, QuickCheck, random, regexCompat 3 - , temporary, text, unorderedContainers, xmlgen 1 + { cabal, aeson, base64Bytestring, cpphs, Diff, filepath 2 + , haskellSrcExts, HUnit, liftedBase, monadControl, mtl, QuickCheck 3 + , random, regexCompat, temporary, text, unorderedContainers, xmlgen 4 4 }: 5 5 6 6 cabal.mkDerivation (self: { 7 7 pname = "HTF"; 8 - version = "0.11.3.4"; 9 - sha256 = "0db47fvp33k83dnhvpygprm06p3z397f5ci154vqk7krjpxb2ynx"; 8 + version = "0.11.4.0"; 9 + sha256 = "0bg84x6xk359zby04xw62yy227fk85mgs7x5nkdbsxcajm7j0bs9"; 10 10 isLibrary = true; 11 11 isExecutable = true; 12 12 buildDepends = [ 13 - aeson cpphs Diff haskellSrcExts HUnit liftedBase monadControl mtl 14 - QuickCheck random regexCompat text xmlgen 13 + aeson base64Bytestring cpphs Diff haskellSrcExts HUnit liftedBase 14 + monadControl mtl QuickCheck random regexCompat text xmlgen 15 15 ]; 16 16 testDepends = [ 17 17 aeson filepath mtl random regexCompat temporary text
+2 -3
pkgs/development/libraries/haskell/SHA2/default.nix
··· 1 - { cabal, aes, monadsTf, transformers }: 1 + { cabal, AES, monadsTf, transformers }: 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "SHA2"; 5 5 version = "0.2.5"; 6 6 sha256 = "1zs79a327x6myfam3p2vr8lmszcaqnkll2qz8n4sy835vz328j40"; 7 - buildDepends = [ aes monadsTf transformers ]; 7 + buildDepends = [ AES monadsTf transformers ]; 8 8 meta = { 9 9 description = "Fast, incremental SHA hashing for bytestrings"; 10 10 license = self.stdenv.lib.licenses.bsd3; 11 11 platforms = self.ghc.meta.platforms; 12 12 }; 13 13 }) 14 -
+14
pkgs/development/libraries/haskell/Thrift/default.nix
··· 1 + { cabal, binary, HTTP, network }: 2 + 3 + cabal.mkDerivation (self: { 4 + pname = "Thrift"; 5 + version = "0.6.0.1"; 6 + sha256 = "0yk496zql0jpyj83ybdzffc03sylf5pwn093k831m99j54l2r5yv"; 7 + buildDepends = [ binary HTTP network ]; 8 + meta = { 9 + homepage = "http://thrift.apache.org"; 10 + description = "Haskell bindings for the Apache Thrift RPC system"; 11 + license = "unknown"; 12 + platforms = self.ghc.meta.platforms; 13 + }; 14 + })
pkgs/development/libraries/haskell/aes/default.nix pkgs/development/libraries/haskell/AES/default.nix
+2 -2
pkgs/development/libraries/haskell/alsa-pcm/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "alsa-pcm"; 7 - version = "0.6.0.2"; 8 - sha256 = "0zckp83wdqb6nl2k63fapa5h4vf1xyvbaycd0ixwr9k7mw75q7b9"; 7 + version = "0.6.0.3"; 8 + sha256 = "0rq0i17xhd0x7dnlhdf3i1fdvmyxrsbm0w0k9lrx20xpy4gw2zfs"; 9 9 isLibrary = true; 10 10 isExecutable = true; 11 11 buildDepends = [
+2 -2
pkgs/development/libraries/haskell/binary-conduit/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "binary-conduit"; 7 - version = "1.2.1.1"; 8 - sha256 = "0f6ki793fbgxpsqadfj796b4rbv6zhn4v4rrd48r48zzw9hmxmzd"; 7 + version = "1.2.2"; 8 + sha256 = "12dgqydc4zj1ffrcfqpd1dg40dc9hpynj1j69611kzpcqbj275pf"; 9 9 buildDepends = [ binary conduit resourcet vector ]; 10 10 testDepends = [ 11 11 binary conduit hspec QuickCheck quickcheckAssertions resourcet
+2 -2
pkgs/development/libraries/haskell/boomerang/default.nix
··· 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "boomerang"; 5 - version = "1.4.2"; 6 - sha256 = "0vy70anwnh7649za6nzb65fx09vqkf50a961da6gzwvbaf526rd0"; 5 + version = "1.4.3"; 6 + sha256 = "1i72mrl8n2cbrdi05zn37y1339r13vzvmrcc1zbkcak4c7r004zw"; 7 7 buildDepends = [ mtl text ]; 8 8 meta = { 9 9 description = "Library for invertible parsing and printing";
+2 -2
pkgs/development/libraries/haskell/cipher-aes/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "cipher-aes"; 7 - version = "0.2.7"; 8 - sha256 = "1a5viy2frkdqhzzlipd2ik89a04gv95v4b98lgpsas2958r9c9yp"; 7 + version = "0.2.8"; 8 + sha256 = "13hg8gxhs7hmni72kp14hmhvfv1kj7fnl83i72bz3aq15vx3z61z"; 9 9 buildDepends = [ byteable cryptoCipherTypes securemem ]; 10 10 testDepends = [ 11 11 byteable cryptoCipherTests cryptoCipherTypes QuickCheck
+2 -2
pkgs/development/libraries/haskell/conduit-combinators/default.nix
··· 6 6 7 7 cabal.mkDerivation (self: { 8 8 pname = "conduit-combinators"; 9 - version = "0.2.5.2"; 10 - sha256 = "00zvai14cgh2g9wa436kfdgyfzm3pksnhzy365y1yn96dwbbh1ih"; 9 + version = "0.2.6.1"; 10 + sha256 = "01q585fwfl7qw5yr7ry1zfwm0lbmizyidifk9jzxdfxppbccfxfc"; 11 11 buildDepends = [ 12 12 base16Bytestring base64Bytestring chunkedData conduit conduitExtra 13 13 monadControl monoTraversable mwcRandom primitive resourcet
+2 -2
pkgs/development/libraries/haskell/conduit-extra/default.nix
··· 5 5 6 6 cabal.mkDerivation (self: { 7 7 pname = "conduit-extra"; 8 - version = "1.1.0.4"; 9 - sha256 = "0l1cv65p8nvvb9qgcj87a682wh9xim0rbk2xzhdkd0r123csb118"; 8 + version = "1.1.1"; 9 + sha256 = "1876kg7zb0gasl7ijmx48r5r2jv3c5xxa1xb6g6iqfysx0qsv6z2"; 10 10 buildDepends = [ 11 11 attoparsec blazeBuilder conduit filepath monadControl network 12 12 primitive resourcet streamingCommons text transformers
+7 -4
pkgs/development/libraries/haskell/configurator/default.nix
··· 1 - { cabal, attoparsec, hashable, text, unixCompat 2 - , unorderedContainers 1 + { cabal, attoparsec, filepath, hashable, HUnit, testFramework 2 + , testFrameworkHunit, text, unixCompat, unorderedContainers 3 3 }: 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "configurator"; 7 - version = "0.2.0.2"; 8 - sha256 = "011rgd48gv4idkh2dwg4mlyx3s6pgm1263xq5ixsa4sg3jqh9d8b"; 7 + version = "0.3.0.0"; 8 + sha256 = "1d1iq1knwiq6ia5g64rw5hqm6dakz912qj13r89737rfcxmrkfbf"; 9 9 buildDepends = [ 10 10 attoparsec hashable text unixCompat unorderedContainers 11 + ]; 12 + testDepends = [ 13 + filepath HUnit testFramework testFrameworkHunit text 11 14 ]; 12 15 meta = { 13 16 homepage = "http://github.com/bos/configurator";
+2 -2
pkgs/development/libraries/haskell/data-accessor/data-accessor-mtl.nix
··· 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "data-accessor-mtl"; 5 - version = "0.2.0.3"; 6 - sha256 = "1aksmm4ykb96khgq5y4vd40zbn4c73hgl21xvyc295cwxsyrbvbk"; 5 + version = "0.2.0.4"; 6 + sha256 = "1i8lk0vy04giixng5addgj740cbvwlc7g62qgrmhfip0w9k93kqh"; 7 7 buildDepends = [ dataAccessor mtl ]; 8 8 meta = { 9 9 homepage = "http://www.haskell.org/haskellwiki/Record_access";
+2 -2
pkgs/development/libraries/haskell/data-accessor/data-accessor-transformers.nix
··· 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "data-accessor-transformers"; 5 - version = "0.2.1.4"; 6 - sha256 = "1bf1j8g5q81zw51bri89hj3i9jnlmhdggw8rhw3n2v103399pf7d"; 5 + version = "0.2.1.6"; 6 + sha256 = "1iawhp1h68ynr2axj12jrn47nf08mss0ar8blagp59yi8j7170fa"; 7 7 buildDepends = [ dataAccessor transformers ]; 8 8 meta = { 9 9 homepage = "http://www.haskell.org/haskellwiki/Record_access";
+2 -2
pkgs/development/libraries/haskell/data-accessor/data-accessor.nix
··· 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "data-accessor"; 5 - version = "0.2.2.5"; 6 - sha256 = "0z63fv41cnpk3h404gprk2f5jl7rrpyv97xmsgac9zgdm5zkkhm6"; 5 + version = "0.2.2.6"; 6 + sha256 = "0668qgllmp2911ppsb0g9z95nq2x0h2cvzyyjlb6iwhnjzyyg7gf"; 7 7 buildDepends = [ transformers ]; 8 8 jailbreak = true; 9 9 meta = {
+2 -2
pkgs/development/libraries/haskell/dependent-sum/default.nix
··· 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "dependent-sum"; 5 - version = "0.2.0.2"; 6 - sha256 = "06amnc50j246f2za0ri49j6vyq6admx03w3xxjhhfnfx9lp6zmhm"; 5 + version = "0.2.1.0"; 6 + sha256 = "1h6wsrh206k6q3jcfdxvlsswbm47x30psp6x30l2z0j9jyf7jpl3"; 7 7 meta = { 8 8 homepage = "https://github.com/mokus0/dependent-sum"; 9 9 description = "Dependent sum type";
+2 -2
pkgs/development/libraries/haskell/dlist/default.nix
··· 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "dlist"; 5 - version = "0.7.0.1"; 6 - sha256 = "197k608ja69xc531r7h3gmy1mf6dsk27b3mkpgp4zdw46z6lcb5l"; 5 + version = "0.7.1"; 6 + sha256 = "13ka30bn742ldacfgj2lhxvhwf769d0ziy2358vmd5xaq6fn1xfr"; 7 7 buildDepends = [ deepseq ]; 8 8 testDepends = [ Cabal QuickCheck ]; 9 9 meta = {
+2 -2
pkgs/development/libraries/haskell/explicit-exception/default.nix
··· 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "explicit-exception"; 5 - version = "0.1.7.2"; 6 - sha256 = "0zncj57mpngszl7jz3khhd4dajzis7aag0ad62hc8rkrv2j8f5q4"; 5 + version = "0.1.7.3"; 6 + sha256 = "0f1p1llz6z4ag1wnf57mgm861cbw7va0g0m8klp6f6pnirdhlwz1"; 7 7 isLibrary = true; 8 8 isExecutable = true; 9 9 buildDepends = [ transformers ];
+3 -3
pkgs/development/libraries/haskell/fb/default.nix
··· 8 8 9 9 cabal.mkDerivation (self: { 10 10 pname = "fb"; 11 - version = "1.0.1"; 12 - sha256 = "0xhwv8fmhb1an15fnfjxzq0ijnhxxmfjwzd99dq1lsm0f7gd4hfi"; 11 + version = "1.0.2"; 12 + sha256 = "1xgldk690dpbmhzmjlngpbalmbs0xrc7265zc7frphpsbbw3cnqc"; 13 13 buildDepends = [ 14 14 aeson attoparsec base16Bytestring base64Bytestring cereal conduit 15 15 conduitExtra cryptoApi cryptohash cryptohashCryptoapi dataDefault ··· 23 23 jailbreak = true; 24 24 doCheck = false; 25 25 meta = { 26 - homepage = "https://github.com/meteficha/fb"; 26 + homepage = "https://github.com/prowdsponsor/fb"; 27 27 description = "Bindings to Facebook's API"; 28 28 license = self.stdenv.lib.licenses.bsd3; 29 29 platforms = self.ghc.meta.platforms;
+10 -18
pkgs/development/libraries/haskell/gitit/default.nix
··· 1 - { cabal, base64Bytestring, blazeHtml, cgi, ConfigFile, feed 2 - , filepath, filestore, ghcPaths, happstackServer, highlightingKate 3 - , hslogger, HStringTemplate, HTTP, json, mtl, network, pandoc 4 - , pandocTypes, parsec, random, recaptcha, safe, SHA, syb, tagsoup 5 - , text, time, url, utf8String, xhtml, xml, xssSanitize, zlib, fetchpatch 1 + { cabal, base64Bytestring, blazeHtml, ConfigFile, feed, filepath 2 + , filestore, ghcPaths, happstackServer, highlightingKate, hslogger 3 + , HStringTemplate, HTTP, json, mtl, network, pandoc, pandocTypes 4 + , parsec, random, recaptcha, safe, SHA, split, syb, tagsoup, text 5 + , time, uri, url, utf8String, xhtml, xml, xssSanitize, zlib 6 6 }: 7 7 8 8 cabal.mkDerivation (self: { 9 9 pname = "gitit"; 10 - version = "0.10.3.1"; 11 - sha256 = "1sm6rryfyqr0nd4flbc5d520xyw2ajnkylvqf4fi4dhl6fnbpam5"; 10 + version = "0.10.4"; 11 + sha256 = "1z06v1pamrpm70zisrw3z3kv0d19dsjkmm75pvj5yxkacxv7qk7n"; 12 12 isLibrary = true; 13 13 isExecutable = true; 14 14 buildDepends = [ 15 - base64Bytestring blazeHtml cgi ConfigFile feed filepath filestore 15 + base64Bytestring blazeHtml ConfigFile feed filepath filestore 16 16 ghcPaths happstackServer highlightingKate hslogger HStringTemplate 17 17 HTTP json mtl network pandoc pandocTypes parsec random recaptcha 18 - safe SHA syb tagsoup text time url utf8String xhtml xml xssSanitize 19 - zlib 18 + safe SHA split syb tagsoup text time uri url utf8String xhtml xml 19 + xssSanitize zlib 20 20 ]; 21 21 jailbreak = true; 22 - patches = [ (fetchpatch { 23 - url = "https://github.com/jgm/gitit/commit/48155008397bdaed4f97c5678d83c70d4bc3f0ff.patch"; 24 - sha256 = "16n372wrikwb3g4pb3zljxnp19in0828wp40diqgkplhlnwww6nw"; 25 - }) 26 - ]; 27 - preConfigure = '' 28 - sed -i -e 's|network .*< 2.5|network|' gitit.cabal 29 - ''; 30 22 meta = { 31 23 homepage = "http://gitit.net"; 32 24 description = "Wiki using happstack, git or darcs, and pandoc";
+29
pkgs/development/libraries/haskell/gitlib-libgit2/default.nix
··· 1 + { cabal, conduit, conduitCombinators, exceptions, fastLogger 2 + , filepath, gitlib, gitlibTest, hlibgit2, hspec, hspecExpectations 3 + , HUnit, liftedAsync, liftedBase, missingForeign, mmorph 4 + , monadControl, monadLogger, monadLoops, mtl, resourcet, stm 5 + , stmConduit, tagged, text, textIcu, time, transformers 6 + , transformersBase 7 + }: 8 + 9 + cabal.mkDerivation (self: { 10 + pname = "gitlib-libgit2"; 11 + version = "3.1.0"; 12 + sha256 = "1kjwc36fd14j2ipw53j8hdsy29gxir1qrm54wxgpp5n4q2kcs9pq"; 13 + buildDepends = [ 14 + conduit conduitCombinators exceptions fastLogger filepath gitlib 15 + hlibgit2 liftedAsync liftedBase missingForeign mmorph monadControl 16 + monadLogger monadLoops mtl resourcet stm stmConduit tagged text 17 + textIcu time transformers transformersBase 18 + ]; 19 + testDepends = [ 20 + exceptions gitlib gitlibTest hspec hspecExpectations HUnit 21 + monadLogger transformers 22 + ]; 23 + meta = { 24 + description = "Libgit2 backend for gitlib"; 25 + license = self.stdenv.lib.licenses.mit; 26 + platforms = self.ghc.meta.platforms; 27 + maintainers = [ self.stdenv.lib.maintainers.ianwookim ]; 28 + }; 29 + })
+20
pkgs/development/libraries/haskell/gitlib-test/default.nix
··· 1 + { cabal, conduit, conduitCombinators, exceptions, gitlib, hspec 2 + , hspecExpectations, HUnit, monadControl, tagged, text, time 3 + , transformers 4 + }: 5 + 6 + cabal.mkDerivation (self: { 7 + pname = "gitlib-test"; 8 + version = "3.1.0"; 9 + sha256 = "0hnwx5r9fdkxvx0zmqffpym921dvf1x2lky8w11y3rfhk9i1g7l4"; 10 + buildDepends = [ 11 + conduit conduitCombinators exceptions gitlib hspec 12 + hspecExpectations HUnit monadControl tagged text time transformers 13 + ]; 14 + meta = { 15 + description = "Test library for confirming gitlib backend compliance"; 16 + license = self.stdenv.lib.licenses.mit; 17 + platforms = self.ghc.meta.platforms; 18 + maintainers = [ self.stdenv.lib.maintainers.ianwookim ]; 19 + }; 20 + })
+23
pkgs/development/libraries/haskell/gitlib/default.nix
··· 1 + { cabal, base16Bytestring, conduit, conduitCombinators, exceptions 2 + , filepath, hashable, liftedAsync, liftedBase, monadControl 3 + , monadLogger, mtl, resourcet, semigroups, systemFilepath, tagged 4 + , text, time, transformers, unorderedContainers 5 + }: 6 + 7 + cabal.mkDerivation (self: { 8 + pname = "gitlib"; 9 + version = "3.1.0"; 10 + sha256 = "0zyym7m8bdhc4wi2jrhcmipmlq106qkd61c4y9iisgk73v2pg9f4"; 11 + buildDepends = [ 12 + base16Bytestring conduit conduitCombinators exceptions filepath 13 + hashable liftedAsync liftedBase monadControl monadLogger mtl 14 + resourcet semigroups systemFilepath tagged text time transformers 15 + unorderedContainers 16 + ]; 17 + meta = { 18 + description = "API library for working with Git repositories"; 19 + license = self.stdenv.lib.licenses.mit; 20 + platforms = self.ghc.meta.platforms; 21 + maintainers = [ self.stdenv.lib.maintainers.ianwookim ]; 22 + }; 23 + })
+5 -3
pkgs/development/libraries/haskell/gtkglext/default.nix
··· 1 - { pkgs, cabal, gtk, gtk2hsBuildtools, pangox_compat }: 1 + { cabal, glib, gtk, gtk2hsBuildtools, gtkglext, pango 2 + , pangox_compat 3 + }: 2 4 3 5 cabal.mkDerivation (self: { 4 6 pname = "gtkglext"; 5 7 version = "0.12.5.0"; 6 8 sha256 = "1xhalcb85cpswdpqxx64fxpmyqq7iakgaczjrbr25fp0h1glshhk"; 7 - buildDepends = [ gtk ]; 9 + buildDepends = [ glib gtk pango ]; 8 10 buildTools = [ gtk2hsBuildtools ]; 9 - pkgconfigDepends = [ pkgs.gnome2.gtkglext pangox_compat ]; 11 + pkgconfigDepends = [ gtkglext pangox_compat ]; 10 12 meta = { 11 13 homepage = "http://projects.haskell.org/gtk2hs/"; 12 14 description = "Binding to the GTK+ OpenGL Extension";
+2 -2
pkgs/development/libraries/haskell/happstack/happstack-lite.nix
··· 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "happstack-lite"; 5 - version = "7.3.3"; 6 - sha256 = "0iv60cch0fiy9kh21wcpk3s4nvd4j2p50pqr3y56bsqwxk53hhv8"; 5 + version = "7.3.4"; 6 + sha256 = "06ndqfd4x49yi17kgiz5xr05l1k6sj5g1f6kir10wgsqhmd0q811"; 7 7 buildDepends = [ happstackServer mtl text ]; 8 8 meta = { 9 9 homepage = "http://www.happstack.com/";
+2 -2
pkgs/development/libraries/haskell/happstack/happstack-server.nix
··· 7 7 8 8 cabal.mkDerivation (self: { 9 9 pname = "happstack-server"; 10 - version = "7.3.6"; 11 - sha256 = "0js1rzg1zpqg9mbi0kdzb5i8ggsrq4l8p0c05k85ppw6h5lwkayd"; 10 + version = "7.3.7"; 11 + sha256 = "1phw3hpnklcdav3wv10kwjsmrg8gshnsgd564p459pc4k2zffgh1"; 12 12 buildDepends = [ 13 13 base64Bytestring blazeHtml extensibleExceptions filepath hslogger 14 14 html monadControl mtl network parsec sendfile syb systemFilepath
+25
pkgs/development/libraries/haskell/haste-compiler/default.nix
··· 1 + { cabal, binary, blazeBuilder, bzlib, dataBinaryIeee754 2 + , dataDefault, executablePath, filepath, ghcPaths, HTTP, monadsTf 3 + , mtl, network, random, shellmate, systemFileio, tar, temporary 4 + , time, transformers, utf8String, websockets, zipArchive 5 + }: 6 + 7 + cabal.mkDerivation (self: { 8 + pname = "haste-compiler"; 9 + version = "0.3"; 10 + sha256 = "0a0hyra1h484c404d95d411l7gddaazy1ikwzlgkgzaqzd7j7dbd"; 11 + isLibrary = true; 12 + isExecutable = true; 13 + buildDepends = [ 14 + binary blazeBuilder bzlib dataBinaryIeee754 dataDefault 15 + executablePath filepath ghcPaths HTTP monadsTf mtl network random 16 + shellmate systemFileio tar temporary time transformers utf8String 17 + websockets zipArchive 18 + ]; 19 + meta = { 20 + homepage = "http://github.com/valderman/haste-compiler"; 21 + description = "Haskell To ECMAScript compiler"; 22 + license = self.stdenv.lib.licenses.bsd3; 23 + platforms = self.ghc.meta.platforms; 24 + }; 25 + })
+15
pkgs/development/libraries/haskell/haste-perch/default.nix
··· 1 + { cabal, hasteCompiler, mtl }: 2 + 3 + cabal.mkDerivation (self: { 4 + pname = "haste-perch"; 5 + version = "0.1.0.0"; 6 + sha256 = "0g2ijb0mzqs2iq4i47biaxbsg4v15w9ky6yyz6wmngwf06rg4iwj"; 7 + buildDepends = [ hasteCompiler mtl ]; 8 + jailbreak = true; 9 + meta = { 10 + homepage = "https://github.com/agocorona/haste-perch"; 11 + description = "Create dynamic HTML in the browser using blaze-html-style notation with Haste"; 12 + license = self.stdenv.lib.licenses.bsd3; 13 + platforms = self.ghc.meta.platforms; 14 + }; 15 + })
+16
pkgs/development/libraries/haskell/hlibgit2/default.nix
··· 1 + { cabal, bindingsDSL, git, openssl, zlib }: 2 + 3 + cabal.mkDerivation (self: { 4 + pname = "hlibgit2"; 5 + version = "0.18.0.13"; 6 + sha256 = "1bslg51kkhnwm48kxaad4izq3xmzv6dpqy10a5kh16vr5zy3w5hz"; 7 + buildDepends = [ bindingsDSL zlib ]; 8 + testDepends = [ git ]; 9 + extraLibraries = [ openssl ]; 10 + meta = { 11 + description = "Low-level bindings to libgit2"; 12 + license = self.stdenv.lib.licenses.mit; 13 + platforms = self.ghc.meta.platforms; 14 + maintainers = [ self.stdenv.lib.maintainers.ianwookim ]; 15 + }; 16 + })
+2 -2
pkgs/development/libraries/haskell/hoauth2/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "hoauth2"; 7 - version = "0.4.0"; 8 - sha256 = "1499rgcn3h4921x21s6l0spnjf3wvmsaa07pimgjgb4rjib3z2d5"; 7 + version = "0.4.1"; 8 + sha256 = "145lgy9bxx1xdljbkvi6s97n2z1k5fd0idp415r71ydw8h3i8ppx"; 9 9 isLibrary = true; 10 10 isExecutable = true; 11 11 buildDepends = [
+2 -2
pkgs/development/libraries/haskell/http-client/default.nix
··· 6 6 7 7 cabal.mkDerivation (self: { 8 8 pname = "http-client"; 9 - version = "0.3.3.2"; 10 - sha256 = "02q2zph6clff0k86wkyf19j5dhfglqi3zvbs52hw8lygpkycpkk7"; 9 + version = "0.3.4"; 10 + sha256 = "0y4va0xfriv3qv31hbh7kbzmf61rr3ffr4z4vlfdlzacfv8307y4"; 11 11 buildDepends = [ 12 12 base64Bytestring blazeBuilder caseInsensitive cookie 13 13 dataDefaultClass deepseq exceptions filepath httpTypes mimeTypes
+2 -2
pkgs/development/libraries/haskell/http-kit/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "http-kit"; 7 - version = "0.5.0"; 8 - sha256 = "0djg2gg12w9sd598hx959cgr5027ghza3m6aaym9ipb43w6mds5p"; 7 + version = "0.5.1"; 8 + sha256 = "1swnvsbaabk946pys9q9kr0bgdvalnznd59dw981sg7cywqdcz28"; 9 9 buildDepends = [ caseInsensitive httpTypes ]; 10 10 testDepends = [ hspec httpTypes QuickCheck quickcheckInstances ]; 11 11 meta = {
+2 -2
pkgs/development/libraries/haskell/http-streams/default.nix
··· 8 8 9 9 cabal.mkDerivation (self: { 10 10 pname = "http-streams"; 11 - version = "0.7.1.1"; 12 - sha256 = "0wh07gdb9w48mwsjvg07dq6gjvdm8ls654ki180r7p38v93rsmfx"; 11 + version = "0.7.2.0"; 12 + sha256 = "0h7fjnpday34skhafv2v0ybhfv0x915prfb4qa0ld4gm50scsinz"; 13 13 buildDepends = [ 14 14 aeson attoparsec base64Bytestring blazeBuilder caseInsensitive 15 15 HsOpenSSL httpCommon ioStreams mtl network opensslStreams text
+2 -2
pkgs/development/libraries/haskell/jack/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "jack"; 7 - version = "0.7.0.2"; 8 - sha256 = "06mf1sw1lp81b3d4hsgc199m30drdnxzzlmsxg4p1yvydjfdk4gj"; 7 + version = "0.7.0.3"; 8 + sha256 = "12ap7xcgzmp5zwmqkwsgxplh5li21m7xngijr4mhnn9y33xc1lrk"; 9 9 isLibrary = true; 10 10 isExecutable = true; 11 11 buildDepends = [
+2 -2
pkgs/development/libraries/haskell/lens-family-core/default.nix
··· 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "lens-family-core"; 5 - version = "1.0.0"; 6 - sha256 = "149wfxddw58h5q42r3nknmac8wsc9c8xzsw6vrlfb4yasg7bhw53"; 5 + version = "1.1.0"; 6 + sha256 = "0pvc7iv7y5s3496w7ic9qzdw3l76ldnrg0my0jxi1dyn0vm9xwm3"; 7 7 buildDepends = [ transformers ]; 8 8 meta = { 9 9 description = "Haskell 98 Lens Families";
+2 -2
pkgs/development/libraries/haskell/lifted-base/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "lifted-base"; 7 - version = "0.2.2.2"; 8 - sha256 = "02qjagh4a3zvad7xyvwjd6nkh44c41bqj32ddpn7ms1fv4sl0mam"; 7 + version = "0.2.3.0"; 8 + sha256 = "0wbh9l7hsbgvfplxyamvpb8nq6w147zsd2yskylfmpw7kyz6yp9n"; 9 9 buildDepends = [ monadControl transformersBase ]; 10 10 testDepends = [ 11 11 HUnit monadControl testFramework testFrameworkHunit transformers
+2 -2
pkgs/development/libraries/haskell/midi/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "midi"; 7 - version = "0.2.1.2"; 8 - sha256 = "077cxdazr97hjpq42l7hjn905pfhyshvaiwqjdfnzhjv6r48q4zk"; 7 + version = "0.2.1.3"; 8 + sha256 = "0mqf6q7686zdxljkz3bqa2zhkgirqz5c1fkbd3n4wyipzhjc773a"; 9 9 buildDepends = [ 10 10 binary eventList explicitException monoidTransformer nonNegative 11 11 QuickCheck random transformers utilityHt
+2 -2
pkgs/development/libraries/haskell/monad-loops/default.nix
··· 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "monad-loops"; 5 - version = "0.4.2"; 6 - sha256 = "08sz08p4z1p78dv7rmsqvin59h19i6i07sp7jg3zwxwjxa76fds8"; 5 + version = "0.4.2.1"; 6 + sha256 = "1dprwndc0bxzpmrkj1xb9kzjrg3i06zsg43yaabn5x5gcaj8is56"; 7 7 meta = { 8 8 homepage = "https://github.com/mokus0/monad-loops"; 9 9 description = "Monadic loops";
+21
pkgs/development/libraries/haskell/pipes-csv/default.nix
··· 1 + { cabal, blazeBuilder, cassava, HUnit, pipes, pipesBytestring 2 + , testFramework, testFrameworkHunit, unorderedContainers, vector 3 + }: 4 + 5 + cabal.mkDerivation (self: { 6 + pname = "pipes-csv"; 7 + version = "1.4.0"; 8 + sha256 = "1q1gnfnkvlkk8lwllhyar7323k3jynh9rl6x9yks7lc3nqr1n16j"; 9 + buildDepends = [ 10 + blazeBuilder cassava pipes unorderedContainers vector 11 + ]; 12 + testDepends = [ 13 + cassava HUnit pipes pipesBytestring testFramework 14 + testFrameworkHunit vector 15 + ]; 16 + meta = { 17 + description = "Fast, streaming csv parser"; 18 + license = self.stdenv.lib.licenses.mit; 19 + platforms = self.ghc.meta.platforms; 20 + }; 21 + })
+13
pkgs/development/libraries/haskell/pipes-http/default.nix
··· 1 + { cabal, httpClient, httpClientTls, pipes }: 2 + 3 + cabal.mkDerivation (self: { 4 + pname = "pipes-http"; 5 + version = "1.0.1"; 6 + sha256 = "15jmhf6lgqxv9zn08dky8biiv8cp4s3vf0xmp78pbllaqkvm4z9w"; 7 + buildDepends = [ httpClient httpClientTls pipes ]; 8 + meta = { 9 + description = "HTTP client with pipes interface"; 10 + license = self.stdenv.lib.licenses.bsd3; 11 + platforms = self.ghc.meta.platforms; 12 + }; 13 + })
+4 -4
pkgs/development/libraries/haskell/pipes-text/default.nix
··· 1 1 { cabal, pipes, pipesBytestring, pipesGroup, pipesParse, pipesSafe 2 - , profunctors, streamingCommons, text, transformers 2 + , streamingCommons, text, transformers 3 3 }: 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "pipes-text"; 7 - version = "0.0.0.11"; 8 - sha256 = "0c56gxm17bapdjgbp2f55z3f6vq8ryvsljqp3bcjjj18xv5pf1ls"; 7 + version = "0.0.0.12"; 8 + sha256 = "18xf0rhshbl03js50n98k96692w98j0j0dfyi67780i08c39dq6m"; 9 9 buildDepends = [ 10 - pipes pipesBytestring pipesGroup pipesParse pipesSafe profunctors 10 + pipes pipesBytestring pipesGroup pipesParse pipesSafe 11 11 streamingCommons text transformers 12 12 ]; 13 13 jailbreak = true;
+2 -2
pkgs/development/libraries/haskell/purescript/default.nix
··· 5 5 6 6 cabal.mkDerivation (self: { 7 7 pname = "purescript"; 8 - version = "0.5.2.4"; 9 - sha256 = "19k8kggmmy75qgg9xcvvd194s1vf5qx15ljx82zdscvks2j1r1sd"; 8 + version = "0.5.2.5"; 9 + sha256 = "17qbgdfhq9k4y7z3c879hkw22jcq86myd9xhs4saaa4xh3ix50x0"; 10 10 isLibrary = true; 11 11 isExecutable = true; 12 12 buildDepends = [
+2 -2
pkgs/development/libraries/haskell/random-fu/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "random-fu"; 7 - version = "0.2.5.0"; 8 - sha256 = "1yfq7mvplzdk64i7z5ip8vjynn48a65z28xrhcv91qi0yjxsxdm0"; 7 + version = "0.2.6.0"; 8 + sha256 = "1mi1hr3hxlnyjf01hgn7xinr1m0rax26759zbkhf5xn04ps0g01p"; 9 9 buildDepends = [ 10 10 erf mathFunctions monadLoops mtl randomShuffle randomSource rvar 11 11 syb transformers vector
+19
pkgs/development/libraries/haskell/resource-pool-catchio/default.nix
··· 1 + { cabal, hashable, MonadCatchIOTransformers, stm, time 2 + , transformers, transformersBase, vector 3 + }: 4 + 5 + cabal.mkDerivation (self: { 6 + pname = "resource-pool-catchio"; 7 + version = "0.2.1.0"; 8 + sha256 = "0g9r6hnn01n3p2ikcfkfc4afh83pzam29zal3k2ivajpl3kramsw"; 9 + buildDepends = [ 10 + hashable MonadCatchIOTransformers stm time transformers 11 + transformersBase vector 12 + ]; 13 + meta = { 14 + homepage = "http://github.com/norm2782/pool"; 15 + description = "Fork of resource-pool, with a MonadCatchIO constraint"; 16 + license = self.stdenv.lib.licenses.bsd3; 17 + platforms = self.ghc.meta.platforms; 18 + }; 19 + })
+3 -3
pkgs/development/libraries/haskell/safe/default.nix
··· 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "safe"; 5 - version = "0.3.4"; 6 - sha256 = "0mwdaj0sjvqkgg077x1d896xphx64yrjvwbdhv7khdk3rh0vfl64"; 5 + version = "0.3.5"; 6 + sha256 = "0xv409ps1h1b28v8rkg59a09z001nmpvqvwf3mdkzkyzmxfgq30j"; 7 7 meta = { 8 8 homepage = "http://community.haskell.org/~ndm/safe/"; 9 - description = "Library for safe (pattern match free) functions"; 9 + description = "Library of safe (exception free) functions"; 10 10 license = self.stdenv.lib.licenses.bsd3; 11 11 platforms = self.ghc.meta.platforms; 12 12 maintainers = [ self.stdenv.lib.maintainers.andres ];
+2 -2
pkgs/development/libraries/haskell/semigroups/default.nix
··· 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "semigroups"; 5 - version = "0.15"; 6 - sha256 = "1fkinmjyx7r39c8hf8f6n9zgn6m7c2y7l0san43s4g2cfg8pxn5s"; 5 + version = "0.15.1"; 6 + sha256 = "1vacnw598pl9acbcjjblrpdmjhmj3wz1ifrn9ki4q7yrsh4ml7mc"; 7 7 buildDepends = [ hashable nats text unorderedContainers ]; 8 8 meta = { 9 9 homepage = "http://github.com/ekmett/semigroups/";
+2 -2
pkgs/development/libraries/haskell/shakespeare/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "shakespeare"; 7 - version = "2.0.0.3"; 8 - sha256 = "12dmhcv404bh7kn04d175bj2b0fadz4sjypwsq151mlhakr13x85"; 7 + version = "2.0.1"; 8 + sha256 = "1h1b7p4czdzrxb77515vqnck3rj3yw35h2ds6gzxzp7pdxprds27"; 9 9 buildDepends = [ 10 10 aeson blazeHtml blazeMarkup exceptions parsec systemFileio 11 11 systemFilepath text time transformers
+14
pkgs/development/libraries/haskell/snap-web-routes/default.nix
··· 1 + { cabal, heist, mtl, snap, snapCore, text, webRoutes, xmlhtml }: 2 + 3 + cabal.mkDerivation (self: { 4 + pname = "snap-web-routes"; 5 + version = "0.5.0.0"; 6 + sha256 = "1ml0b759k2n9bd2x4akz4dfyk8ywnpgrdlcymng4vhjxbzngnniv"; 7 + buildDepends = [ heist mtl snap snapCore text webRoutes xmlhtml ]; 8 + meta = { 9 + homepage = "https://github.com/lukerandall/snap-web-routes"; 10 + description = "Type safe URLs for Snap"; 11 + license = self.stdenv.lib.licenses.bsd3; 12 + platforms = self.ghc.meta.platforms; 13 + }; 14 + })
+22
pkgs/development/libraries/haskell/snaplet-postgresql-simple/default.nix
··· 1 + { cabal, clientsession, configurator, errors 2 + , MonadCatchIOTransformers, mtl, postgresqlSimple 3 + , resourcePoolCatchio, snap, text, transformers 4 + , unorderedContainers 5 + }: 6 + 7 + cabal.mkDerivation (self: { 8 + pname = "snaplet-postgresql-simple"; 9 + version = "0.5"; 10 + sha256 = "0pzn0lg1slrllrrx1n9s1kp1pmq2ahrkjypcwnnld8zxzvz4g5jm"; 11 + buildDepends = [ 12 + clientsession configurator errors MonadCatchIOTransformers mtl 13 + postgresqlSimple resourcePoolCatchio snap text transformers 14 + unorderedContainers 15 + ]; 16 + meta = { 17 + homepage = "https://github.com/mightybyte/snaplet-postgresql-simple"; 18 + description = "postgresql-simple snaplet for the Snap Framework"; 19 + license = self.stdenv.lib.licenses.bsd3; 20 + platforms = self.ghc.meta.platforms; 21 + }; 22 + })
+2 -2
pkgs/development/libraries/haskell/storable-record/default.nix
··· 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "storable-record"; 5 - version = "0.0.2.5"; 6 - sha256 = "078vwwcr47d3dmzkhxr7ggjkq9d5rnxv4z8p049kdnmzfbcmisn3"; 5 + version = "0.0.3"; 6 + sha256 = "1mv2s4r7dqkl2fy0wjnywyr2zi2g53nkn0z72mgr8drkzdszzxx1"; 7 7 isLibrary = true; 8 8 isExecutable = true; 9 9 buildDepends = [ transformers utilityHt ];
+8 -9
pkgs/development/libraries/haskell/syntactic/default.nix
··· 1 - { cabal, constraints, dataHash, mtl, QuickCheck, tasty, tastyGolden 2 - , tastyQuickcheck, tastyTh, transformers, treeView, tuple 1 + { cabal, constraints, dataHash, mtl, QuickCheck, safe, tagged 2 + , tasty, tastyGolden, tastyQuickcheck, tastyTh, treeView 3 3 , utf8String 4 4 }: 5 5 6 6 cabal.mkDerivation (self: { 7 7 pname = "syntactic"; 8 - version = "1.13"; 9 - sha256 = "1d5mb7ss6xr7rj93mwrdvkxkx1dlmywxx9sxsmqy7l6gaxs6gq8l"; 10 - buildDepends = [ 11 - constraints dataHash mtl transformers treeView tuple 12 - ]; 8 + version = "2.0"; 9 + sha256 = "0b90afdfymsbgllk8np3xfkgrn2b5ry3n2wbpkn660rknsayw94x"; 10 + buildDepends = [ constraints dataHash mtl safe tagged treeView ]; 13 11 testDepends = [ 14 - mtl QuickCheck tasty tastyGolden tastyQuickcheck tastyTh utf8String 12 + QuickCheck tagged tasty tastyGolden tastyQuickcheck tastyTh 13 + utf8String 15 14 ]; 16 15 meta = { 17 16 homepage = "https://github.com/emilaxelsson/syntactic"; 18 - description = "Generic abstract syntax, and utilities for embedded languages"; 17 + description = "Generic representation and manipulation of abstract syntax"; 19 18 license = self.stdenv.lib.licenses.bsd3; 20 19 platforms = self.ghc.meta.platforms; 21 20 };
+4 -3
pkgs/development/libraries/haskell/tasty-golden/default.nix
··· 1 1 { cabal, deepseq, filepath, mtl, optparseApplicative, tagged, tasty 2 - , temporaryRc 2 + , tastyHunit, temporaryRc 3 3 }: 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "tasty-golden"; 7 - version = "2.2.1.2"; 8 - sha256 = "107c6i1abw6dsd3cx1bgiyk8dnih7i9x4bl4kw6dfnva2kjkp4d1"; 7 + version = "2.2.2.3"; 8 + sha256 = "0vphim4qbx0g53xvh8x90k0l5r6afivbb4y31nvbq2avmrm1i82w"; 9 9 buildDepends = [ 10 10 deepseq filepath mtl optparseApplicative tagged tasty temporaryRc 11 11 ]; 12 + testDepends = [ filepath tasty tastyHunit temporaryRc ]; 12 13 meta = { 13 14 homepage = "https://github.com/feuerbach/tasty-golden"; 14 15 description = "Golden tests support for tasty";
+2 -2
pkgs/development/libraries/haskell/tasty-th/default.nix
··· 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "tasty-th"; 5 - version = "0.1.1"; 6 - sha256 = "0ndwfz2gq0did6dfjilhdaxzya2qw9gckjkj090cp2rbkahywsga"; 5 + version = "0.1.2"; 6 + sha256 = "1x3kixv0hnb7icigz2kfq959pivdc4jaaalvdgn8dlyqzkvfjzx4"; 7 7 buildDepends = [ languageHaskellExtract tasty ]; 8 8 meta = { 9 9 homepage = "http://github.com/bennofs/tasty-th";
+2 -2
pkgs/development/libraries/haskell/tasty/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "tasty"; 7 - version = "0.8.1.1"; 8 - sha256 = "04vzq5gwyd5zb6lsf8nbr5dypgf07b4aq70i1jghkg12v8h529dr"; 7 + version = "0.8.1.2"; 8 + sha256 = "07pxnm9cx28vlfypa4psnnxcfx1i4qwimkf0nkfzqkhzqb85a58s"; 9 9 buildDepends = [ 10 10 ansiTerminal async deepseq mtl optparseApplicative regexTdfa stm 11 11 tagged unboundedDelays
+2 -2
pkgs/development/libraries/haskell/th-desugar/default.nix
··· 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "th-desugar"; 5 - version = "1.4.0"; 6 - sha256 = "0jadwqhk9dqnicg3p958a6cyfvl70amjc1hl7bhlygpxpdfffwad"; 5 + version = "1.4.1"; 6 + sha256 = "1pjv301bshdmn3s5nrmmcx5d1b80c410lml73sai68dhx7v64vw2"; 7 7 buildDepends = [ mtl syb ]; 8 8 testDepends = [ hspec HUnit mtl syb ]; 9 9 meta = {
+2 -2
pkgs/development/libraries/haskell/twitter-conduit/default.nix
··· 7 7 8 8 cabal.mkDerivation (self: { 9 9 pname = "twitter-conduit"; 10 - version = "0.0.4"; 11 - sha256 = "0fv2m3sy1gklch4v3sarvq4xk9p7pdz1s3ssl52riy3mg076ab09"; 10 + version = "0.0.5.1"; 11 + sha256 = "0wmr5124s6n0xdilzh2cd693ar2i0mwkgsik9ns1d34ibnvfibgv"; 12 12 isLibrary = true; 13 13 isExecutable = true; 14 14 buildDepends = [
+2 -2
pkgs/development/libraries/haskell/vty-ui/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "vty-ui"; 7 - version = "1.7"; 8 - sha256 = "1wd7ada3x7d5rhl4z3h29m9h42513vbz6dp49xhn4j806mi164nd"; 7 + version = "1.7.1"; 8 + sha256 = "1xgv2psbqcqpzgj1f1pis6hr7yvny8y9ajimllam7zsk6kbhngzz"; 9 9 isLibrary = true; 10 10 isExecutable = true; 11 11 buildDepends = [
+2 -2
pkgs/development/libraries/haskell/web-routes/default.nix
··· 5 5 6 6 cabal.mkDerivation (self: { 7 7 pname = "web-routes"; 8 - version = "0.27.5"; 9 - sha256 = "1jx5wwmlylwrf45wy3w29ck1p7509mgy8m02vipd8apibx6ghp22"; 8 + version = "0.27.6"; 9 + sha256 = "16jmiwnwmq9bkifk14dfs88a2kyy7rqybyq68ybrjq1x84x6pkkp"; 10 10 buildDepends = [ 11 11 blazeBuilder httpTypes mtl parsec split text utf8String 12 12 ];
+2 -2
pkgs/development/libraries/haskell/webdriver/default.nix
··· 7 7 8 8 cabal.mkDerivation (self: { 9 9 pname = "webdriver"; 10 - version = "0.5.4"; 11 - sha256 = "0839vw7drjn5iray4ma17f0pfgwx44q10ad8m564jvjgcml4yhvq"; 10 + version = "0.5.5"; 11 + sha256 = "1k656ghkaqlnp4a9dd99s3l2vm21zsqpqxwfg2lq5rx2yw402nga"; 12 12 buildDepends = [ 13 13 aeson attoparsec base64Bytestring cond dataDefault directoryTree 14 14 exceptions filepath HTTP liftedBase monadControl mtl network
+2 -2
pkgs/development/libraries/haskell/websockets/default.nix
··· 6 6 7 7 cabal.mkDerivation (self: { 8 8 pname = "websockets"; 9 - version = "0.8.2.4"; 10 - sha256 = "09mq04vhi53isj8z5930ibyai7bv634lnmhl4xl2d3fzz2afvff0"; 9 + version = "0.8.2.5"; 10 + sha256 = "1d8r9mrkwvac05gblxrnxdnnyqqidjcfv5j3njbb9dgzdj56gb1y"; 11 11 buildDepends = [ 12 12 attoparsec base64Bytestring binary blazeBuilder caseInsensitive 13 13 entropy ioStreams mtl network random SHA text
+32
pkgs/development/libraries/libmm-qt/default.nix
··· 1 + { stdenv, fetchurl, cmake, pkgconfig, qt4, doxygen, modemmanager }: 2 + 3 + let 4 + pname = "libmm-qt"; 5 + version = "1.0.1"; 6 + name = "${pname}-${version}"; 7 + in 8 + stdenv.mkDerivation { 9 + inherit name; 10 + 11 + buildInputs = [ 12 + cmake 13 + pkgconfig 14 + qt4 15 + doxygen 16 + ]; 17 + 18 + propagatedBuildInputs = [ modemmanager ]; 19 + 20 + src = fetchurl { 21 + url = "mirror://kde/unstable/modemmanager-qt/${version}/src/${name}-1.tar.xz"; 22 + sha256 = "0ad57815a904ddb2660a7327c0bda5da47a2a60ce57b2b12f4aaff99b174f74a"; 23 + }; 24 + 25 + meta = with stdenv.lib; { 26 + homepage = "https://projects.kde.org/projects/extragear/libs/libmm-qt"; 27 + description = "Qt wrapper for ModemManager DBus API"; 28 + license = licenses.lgpl21; 29 + platforms = platforms.linux; 30 + maintainers = [ maintainers.jgeerds ]; 31 + }; 32 + }
+32
pkgs/development/libraries/libnm-qt/default.nix
··· 1 + { stdenv, fetchurl, cmake, pkgconfig, qt4, networkmanager, libmm-qt }: 2 + 3 + let 4 + pname = "libnm-qt"; 5 + version = "0.9.8.1"; 6 + name = "${pname}-${version}"; 7 + in 8 + stdenv.mkDerivation { 9 + inherit name; 10 + 11 + buildInputs = [ 12 + cmake 13 + pkgconfig 14 + qt4 15 + networkmanager 16 + ]; 17 + 18 + propagatedBuildInputs = [ libmm-qt ]; 19 + 20 + src = fetchurl { 21 + url = "mirror://kde/unstable/networkmanager-qt/${version}/src/${name}.tar.xz"; 22 + sha256 = "cde8bed2beb57015cb5f6772c1fe0843aab299b9529578c5406ba7fe614af23d"; 23 + }; 24 + 25 + meta = with stdenv.lib; { 26 + homepage = "https://projects.kde.org/projects/extragear/libs/libnm-qt"; 27 + description = "Qt wrapper for NetworkManager DBus API"; 28 + license = licenses.lgpl21; 29 + platforms = platforms.linux; 30 + maintainer = [ maintainers.jgeerds ]; 31 + }; 32 + }
+7 -4
pkgs/development/libraries/lightning/default.nix
··· 1 - { fetchurl, stdenv }: 1 + { fetchurl, stdenv, binutils }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "lightning-1.2c"; 4 + name = "lightning-2.0.4"; 5 5 6 6 src = fetchurl { 7 7 url = "ftp://alpha.gnu.org/gnu/lightning/${name}.tar.gz"; 8 - sha256 = "00ss2b75msj4skkda9fs5df3bfpi8bwbckci8g0pwd3syppb3qdl"; 8 + sha256 = "1lrckrx51d5hrv66bc99fd4b7g2wwn4vr304hwq3glfzhb8jqcdy"; 9 9 }; 10 + 11 + # Needs libopcodes.so from binutils for 'make check' 12 + buildInputs = [ binutils ]; 10 13 11 14 doCheck = true; 12 15 ··· 24 27 25 28 license = "LGPLv3+"; 26 29 }; 27 - } 30 + }
-26
pkgs/development/libraries/php-apc/default.nix
··· 1 - {stdenv, fetchurl, php, autoconf, automake, libtool }: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "php-apc-3.1.7"; 5 - 6 - src = fetchurl { 7 - url = http://pecl.php.net/get/APC-3.1.7.tgz; 8 - sha256 = "0xlvhw5398sl5zzkjm4rkk1m3fcra30zkq0k4i6fij0ylpd6nlls"; 9 - }; 10 - 11 - preConfigure = '' 12 - phpize 13 - 14 - sed -i 's,^EXTENSION_DIR.*,'EXTENSION_DIR=$out/lib/php/extensions, configure 15 - ''; 16 - 17 - configureFlags = [ "--enable-apc" "--enable-apc-mmap" ]; 18 - 19 - buildInputs = [ php autoconf automake libtool ]; 20 - 21 - meta = { 22 - description = "Alternative PHP Cache"; 23 - homepage = "http://pecl.php.net/package/APC"; 24 - license = "PHP+"; 25 - }; 26 - }
-33
pkgs/development/libraries/php-xcache/default.nix
··· 1 - {stdenv, fetchurl, php, autoconf, automake, libtool, m4 }: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "php-xcache-3.0.1"; 5 - 6 - src = fetchurl { 7 - url = http://xcache.lighttpd.net/pub/Releases/3.0.1/xcache-3.0.1.tar.bz2; 8 - md5 = "45086010bc4f82f506c08be1c556941b"; 9 - }; 10 - 11 - preConfigure = '' 12 - phpize 13 - 14 - sed -i 's,^EXTENSION_DIR.*,'EXTENSION_DIR=$out/lib/php/extensions, configure 15 - ''; 16 - 17 - configureFlags = [ 18 - "--enable-xcache" 19 - "--enable-xcache-coverager" 20 - "--enable-xcache-optimizer" 21 - "--enable-xcache-assembler" 22 - "--enable-xcache-encoder" 23 - "--enable-xcache-decoder" 24 - ]; 25 - 26 - buildInputs = [ php autoconf automake libtool m4 ]; 27 - 28 - meta = { 29 - description = "Fast, stable PHP opcode cacher"; 30 - homepage = http://xcache.lighttpd.net/; 31 - license = "BSD"; 32 - }; 33 - }
+25
pkgs/development/libraries/sqlcipher/default.nix
··· 1 + { stdenv, fetchurl, openssl, tcl, readline ? null, ncurses ? null }: 2 + 3 + assert readline != null -> ncurses != null; 4 + 5 + stdenv.mkDerivation { 6 + name = "sqlcipher-3.1.0"; 7 + 8 + src = fetchurl { 9 + url = "https://github.com/sqlcipher/sqlcipher/archive/v3.1.0.tar.gz"; 10 + sha256 = "1h54hsl7g6ra955aaqid5wxm93fklx2pxz8abcdwf9md3bpfcn18"; 11 + }; 12 + 13 + buildInputs = [ readline ncurses openssl tcl ]; 14 + 15 + configureFlags = "--enable-threadsafe --disable-tcl"; 16 + 17 + CFLAGS = "-DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -DSQLITE_HAS_CODEC"; 18 + LDFLAGS = if readline != null then "-lncurses" else ""; 19 + 20 + meta = { 21 + homepage = http://sqlcipher.net/; 22 + description = "Full Database Encryption for SQLite"; 23 + platforms = stdenv.lib.platforms.unix; 24 + }; 25 + }
+13 -5
pkgs/development/libraries/szip/default.nix
··· 1 1 { stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation { 4 - name = "szip-2.1"; 5 - src = fetchurl { 6 - url = ftp://ftp.hdfgroup.org/lib-external/szip/2.1/src/szip-2.1.tar.gz; 7 - sha256 = "1vym7r4by02m0yqj10023xyps5b21ryymnxb4nb2gs32arfxj5m8"; 8 - }; 4 + name = "szip-2.1"; 5 + src = fetchurl { 6 + url = ftp://ftp.hdfgroup.org/lib-external/szip/2.1/src/szip-2.1.tar.gz; 7 + sha256 = "1vym7r4by02m0yqj10023xyps5b21ryymnxb4nb2gs32arfxj5m8"; 8 + }; 9 + 10 + meta = { 11 + description = " 12 + Szip is a compression library that can be used with the hdf5 library. 13 + "; 14 + homepage = http://www.hdfgroup.org/doc_resource/SZIP/; 15 + license = stdenv.lib.licenses.unfree; 16 + }; 9 17 }
+32
pkgs/development/ocaml-modules/biniou/default.nix
··· 1 + {stdenv, fetchurl, ocaml, findlib, easy-format}: 2 + let 3 + pname = "biniou"; 4 + version = "1.0.9"; 5 + webpage = "http://mjambon.com/${pname}.html"; 6 + in 7 + stdenv.mkDerivation rec { 8 + 9 + name = "${pname}-${version}"; 10 + 11 + src = fetchurl { 12 + url = "http://mjambon.com/releases/${pname}/${name}.tar.gz"; 13 + sha256 = "14j3hrhbjqxbizr1pr8fcig9dmfzhbjjwzwyc99fcsdic67w8izb"; 14 + }; 15 + 16 + buildInputs = [ ocaml findlib easy-format ]; 17 + 18 + createFindlibDestdir = true; 19 + 20 + makeFlags = "PREFIX=$(out)"; 21 + 22 + preBuild = '' 23 + mkdir $out/bin 24 + ''; 25 + 26 + meta = { 27 + description = "A binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve"; 28 + homepage = "${webpage}"; 29 + license = stdenv.lib.licenses.bsd3; 30 + platforms = ocaml.meta.platforms; 31 + }; 32 + }
+27
pkgs/development/ocaml-modules/easy-format/default.nix
··· 1 + {stdenv, fetchurl, ocaml, findlib}: 2 + let 3 + pname = "easy-format"; 4 + version = "1.0.2"; 5 + webpage = "http://mjambon.com/${pname}.html"; 6 + in 7 + stdenv.mkDerivation rec { 8 + 9 + name = "${pname}-${version}"; 10 + 11 + src = fetchurl { 12 + url = "http://mjambon.com/releases/${pname}/${name}.tar.gz"; 13 + sha256 = "07wlgprqvk92z0p2xzbnvh312ca6gvhy3xc6hxlqfawnnnin7rzi"; 14 + }; 15 + 16 + buildInputs = [ ocaml findlib ]; 17 + 18 + createFindlibDestdir = true; 19 + 20 + meta = { 21 + description = "A high-level and functional interface to the Format module of the OCaml standard library"; 22 + homepage = "${webpage}"; 23 + license = "bsd"; 24 + }; 25 + } 26 + 27 +
+32
pkgs/development/ocaml-modules/yojson/default.nix
··· 1 + {stdenv, fetchurl, ocaml, findlib, cppo, easy-format, biniou}: 2 + let 3 + pname = "yojson"; 4 + version = "1.1.8"; 5 + webpage = "http://mjambon.com/${pname}.html"; 6 + in 7 + stdenv.mkDerivation rec { 8 + 9 + name = "${pname}-${version}"; 10 + 11 + src = fetchurl { 12 + url = "http://mjambon.com/releases/${pname}/${name}.tar.gz"; 13 + sha256 = "0ayx17dimnpavdfyq6dk9xv2x1fx69by85vc6vl3nqxjkcv5d2rv"; 14 + }; 15 + 16 + buildInputs = [ ocaml findlib cppo easy-format biniou ]; 17 + 18 + createFindlibDestdir = true; 19 + 20 + makeFlags = "PREFIX=$(out)"; 21 + 22 + preBuild = '' 23 + mkdir $out/bin 24 + ''; 25 + 26 + meta = { 27 + description = "An optimized parsing and printing library for the JSON format"; 28 + homepage = "${webpage}"; 29 + license = stdenv.lib.licenses.bsd3; 30 + platforms = ocaml.meta.platforms; 31 + }; 32 + }
+1
pkgs/development/python-modules/tables/default.nix
··· 52 52 meta = { 53 53 description = "Hierarchical datasets for Python"; 54 54 homepage = "http://www.pytables.org/"; 55 + license = stdenv.lib.licenses.bsd2; 55 56 }; 56 57 }
+2 -2
pkgs/development/tools/haskell/hlint/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "hlint"; 7 - version = "1.8.61"; 8 - sha256 = "08y8ny6dv14gxnzzr5f1hvs22m7y62yffyq2pzvw2aja8fbj5d2z"; 7 + version = "1.9"; 8 + sha256 = "1c8qpfrivsxx6raqnrz40li73hng4z0ygc1hl70qixbmsmv2a830"; 9 9 isLibrary = true; 10 10 isExecutable = true; 11 11 buildDepends = [
+2 -2
pkgs/development/tools/misc/cpphs/default.nix
··· 2 2 3 3 cabal.mkDerivation (self: { 4 4 pname = "cpphs"; 5 - version = "1.18.4"; 6 - sha256 = "0rmcq66wn7lsc5g1wk6bbsr7jiw8h6bz5cbvdywnv7vmwsx8gh51"; 5 + version = "1.18.5"; 6 + sha256 = "0bqfz0wkfnxvv711fgmhmh6rbwffgna1pfqbj7whb6crqji9w7g7"; 7 7 isLibrary = true; 8 8 isExecutable = true; 9 9 buildDepends = [ polyparse ];
+7 -5
pkgs/development/tools/misc/d-feet/default.nix
··· 1 1 { stdenv, pkgconfig, fetchurl, itstool, intltool, libxml2, glib, gtk3 2 - , pango, gdk_pixbuf, atk, pep8, python, makeWrapper 3 - , pygobject3, gobjectIntrospection, libwnck3 4 - , gnome_icon_theme }: 2 + , pango, gdk_pixbuf, atk, pep8, python, makeWrapper, gnome3 3 + , pygobject3, gobjectIntrospection, libwnck3 }: 5 4 6 5 let 7 6 version = "${major}.8"; ··· 18 17 19 18 buildInputs = [ 20 19 pkgconfig libxml2 itstool intltool glib gtk3 pep8 python 20 + gnome3.gnome_icon_theme gnome3.gnome_icon_theme_symbolic 21 21 makeWrapper pygobject3 libwnck3 22 22 ]; 23 23 24 - postInstall = 24 + preFixup = 25 25 '' 26 26 wrapProgram $out/bin/d-feet \ 27 27 --prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${pygobject3})" \ 28 28 --prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \ 29 29 --prefix LD_LIBRARY_PATH : "${gtk3}/lib:${atk}/lib:${libwnck3}/lib" \ 30 - --prefix XDG_DATA_DIRS : "${gnome_icon_theme}/share:$out/share" 30 + --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$out/share" 31 + 32 + rm $out/share/icons/hicolor/icon-theme.cache 31 33 ''; 32 34 33 35 meta = {
+1 -1
pkgs/development/tools/misc/openocd/default.nix
··· 30 30 31 31 postInstall = '' 32 32 mkdir -p "$out/etc/udev/rules.d" 33 - ln -s "$out/share/openocd/contrib/99-openocd.udev" "$out/etc/udev/rules.d/99-openocd.rules" 33 + ln -s "$out/share/openocd/contrib/99-openocd.rules" "$out/etc/udev/rules.d/99-openocd.rules" 34 34 ''; 35 35 36 36 meta = with stdenv.lib; {
+35
pkgs/development/tools/watchman/default.nix
··· 1 + { stdenv, lib, config, fetchFromGitHub, autoconf, automake, pcre 2 + , confFile ? config.watchman.confFile or null 3 + }: 4 + 5 + stdenv.mkDerivation rec { 6 + name = "watchman-${version}"; 7 + 8 + version = "2.9.8"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "facebook"; 12 + repo = "watchman"; 13 + rev = "v${version}"; 14 + sha256 = "196d71ci7ki4p6xx49w55cqd0bqrx19nf79na3a91mrfa6f22sp6"; 15 + }; 16 + 17 + buildInputs = [ autoconf automake pcre ]; 18 + 19 + configureFlags = [ 20 + "--enable-conffile=${if confFile == null then "no" else confFile}" 21 + "--with-pcre=yes" 22 + ]; 23 + 24 + preConfigure = '' 25 + ./autogen.sh 26 + ''; 27 + 28 + meta = with lib; { 29 + description = "Watches files and takes action when they change"; 30 + homepage = https://facebook.github.io/watchman; 31 + maintainers = with maintainers; [ cstrahan ]; 32 + platforms = with platforms; linux ++ darwin; 33 + license = licenses.asl20; 34 + }; 35 + }
+6 -8
pkgs/games/atanks/default.nix
··· 11 11 (builtins.attrNames (builtins.removeAttrs x helperArgNames)); 12 12 sourceInfo = rec { 13 13 baseName="atanks"; 14 - version="4.9"; 14 + version = "6.0"; 15 15 name="${baseName}-${version}"; 16 16 project="${baseName}"; 17 17 url="mirror://sourceforge/project/${project}/${baseName}/${name}/${name}.tar.gz"; 18 - hash="015nwh8jk4k24ci6ilihii8idkyf6g266r4vl50csvykc82slrvd"; 18 + sha256 = "0460zwzd800vcgsmd1dzb7j5wcy3lf9hsdw152f6p2mbd0nq5pds"; 19 19 }; 20 20 in 21 21 rec { 22 22 src = a.fetchurl { 23 23 url = sourceInfo.url; 24 - sha256 = sourceInfo.hash; 24 + sha256 = sourceInfo.sha256; 25 25 }; 26 26 27 27 inherit (sourceInfo) name version; ··· 35 35 fixInstall = a.fullDepEntry ('' 36 36 sed -e "s@INSTALL=.*bin/install @INSTALL=install @" -i Makefile 37 37 sed -e "s@-g 0 -m ... -o 0@@" -i Makefile 38 + sed -e 's@/usr/@'"$out"'@g' -i Makefile 38 39 '') ["doUnpack" "minInit"]; 39 40 40 41 meta = { ··· 45 46 ]; 46 47 platforms = with a.lib.platforms; 47 48 linux; 48 - }; 49 - passthru = { 50 - updateInfo = { 51 - downloadPage = "http://sourceforge.net/projects/atanks/files/atanks/"; 52 - }; 49 + downloadPage = "http://sourceforge.net/projects/atanks/files/atanks/"; 50 + inherit version; 53 51 }; 54 52 }) x 55 53
+5
pkgs/games/atanks/default.upstream
··· 1 + url http://sourceforge.net/projects/atanks/files/atanks/ 2 + version_link 'atanks[-][0-9.]+/$' 3 + version_link '[.]tar[.][a-z0-9]+/download' 4 + SF_redirect 5 + do_overwrite () { do_overwrite_just_version; }
+3 -3
pkgs/misc/maven/default.nix
··· 3 3 assert jdk != null; 4 4 5 5 stdenv.mkDerivation { 6 - name = "apache-maven-3.0.4"; 6 + name = "apache-maven-3.1.1"; 7 7 8 8 builder = ./builder.sh; 9 9 10 10 src = fetchurl { 11 - url = mirror://apache/maven/binaries/apache-maven-3.0.4-bin.tar.gz; 12 - sha256 = "0bxa7x8ifm8590nxifhsh3sxzm6aicbczyx21vibg3606ih8fnnk"; 11 + url = mirror://apache/maven/binaries/apache-maven-3.1.1-bin.tar.gz; 12 + sha256 = "06ymc5y8bp5crcz74z2m9pf58aid5q11v2klnjmxb4ar8mkd8zh7"; 13 13 }; 14 14 15 15 buildInputs = [ makeWrapper ];
+1
pkgs/misc/my-env/loadenv.sh
··· 6 6 7 7 PATH="$PATH:$OLDPATH" 8 8 export PS1="\n@name@:[\u@\h:\w]\$ " 9 + export NIX_MYENV_NAME="@name@" 9 10 export buildInputs 10 11 export NIX_STRIP_DEBUG=0 11 12 export TZ="$OLDTZ"
+2 -2
pkgs/os-specific/linux/acpi-call/default.nix
··· 5 5 6 6 src = fetchgit { 7 7 url = "git://github.com/mkottman/acpi_call.git"; 8 - rev = "46dd97e115ddc7219c88b0818c4d5b235162fe6e"; 9 - sha256 = "1bi0azd7xxhrivjhnmxllj2sfj12br56mxii20mnqdpqwyz0rhni"; 8 + rev = "ac67445bc75ec4fcf46ceb195fb84d74ad350d51"; 9 + sha256 = "0jl19irz9x9pxab2qp4z8c3jijv2m30zhmnzi6ygbrisqqlg4c75"; 10 10 }; 11 11 12 12 preBuild = ''
+3
pkgs/os-specific/linux/atop/default.nix
··· 35 35 longDescription = '' 36 36 Atop is an ASCII full-screen performance monitor that is capable of reporting the activity of all processes (even if processes have finished during the interval), daily logging of system and process activity for long-term analysis, highlighting overloaded system resources by using colors, etc. At regular intervals, it shows system-level activity related to the CPU, memory, swap, disks and network layers, and for every active process it shows the CPU utilization, memory growth, disk utilization, priority, username, state, and exit code. 37 37 ''; 38 + inherit version; 39 + downloadPage = http://atoptool.nl/downloadatop.php; 40 + updateWalker = true; 38 41 }; 39 42 }
+2 -2
pkgs/os-specific/linux/kernel/linux-3.14.nix
··· 1 1 { stdenv, fetchurl, ... } @ args: 2 2 3 3 import ./generic.nix (args // rec { 4 - version = "3.14.9"; 4 + version = "3.14.10"; 5 5 extraMeta.branch = "3.14"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 9 - sha256 = "0rm68hzkxzzh6a1nw6fsxbg43d4b88957ail7b9ga589cagf3p94"; 9 + sha256 = "10gf1r3xnix4v2az7i9dxnddmi377hhlbyblgm0nz9sxddgmk36z"; 10 10 }; 11 11 12 12 features.iwlwifi = true;
+2 -2
pkgs/os-specific/linux/kernel/linux-3.15.nix
··· 1 1 { stdenv, fetchurl, ... } @ args: 2 2 3 3 import ./generic.nix (args // rec { 4 - version = "3.15.2"; 4 + version = "3.15.3"; 5 5 extraMeta.branch = "3.15"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 9 - sha256 = "09nq8q84xn6lwzdnn36pzfiqhn1lapi60yxn4hifb7v9ymhc5sv6"; 9 + sha256 = "0i8dmx1yiaraxb7gsjm7wpy0rv8038nbrwl2slzq749pgm4bd5bf"; 10 10 }; 11 11 12 12 features.iwlwifi = true;
+6 -6
pkgs/os-specific/linux/kernel/patches.nix
··· 60 60 }; 61 61 62 62 grsecurity_stable = grsecPatch 63 - { kversion = "3.14.9"; 64 - revision = "201406262057"; 63 + { kversion = "3.14.10"; 64 + revision = "201407012152"; 65 65 branch = "stable"; 66 - sha256 = "0rrcmlaz69028fwl45xnif1dc9wnl7lnrry1280mdg764wrc6g0n"; 66 + sha256 = "1119044lzkr9wpr1gpl1g0bz67c2xpdd9bkddllij7ja24jv8sx1"; 67 67 }; 68 68 69 69 grsecurity_unstable = grsecPatch 70 - { kversion = "3.15.2"; 71 - revision = "201406262058"; 70 + { kversion = "3.15.3"; 71 + revision = "201407012153"; 72 72 branch = "test"; 73 - sha256 = "02r9xasg1hiw3bynwh50r9cqjzwffmhsyg4gmiyzs58izivl1hvd"; 73 + sha256 = "0bccayakprc77530crxfr9v2hbs6hlcf290pj1ywlh1p861ljgbm"; 74 74 }; 75 75 76 76 grsec_fix_path =
+8 -8
pkgs/os-specific/linux/zfs/default.nix
··· 27 27 substituteInPlace ./cmd/ztest/ztest.c --replace "/usr/sbin/zdb" "$out/sbin/zdb" 28 28 ''; 29 29 30 - configureFlags = '' 31 - --disable-systemd 32 - --with-linux=${kernel.dev}/lib/modules/${kernel.modDirVersion}/source 33 - --with-linux-obj=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build 34 - --with-spl=${spl}/libexec/spl 35 - --with-dracutdir=$$out/lib/dracut 36 - --with-udevdir=$$out/lib/udev 37 - ''; 30 + configureFlags = [ 31 + "--disable-systemd" 32 + "--with-linux=${kernel.dev}/lib/modules/${kernel.modDirVersion}/source" 33 + "--with-linux-obj=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" 34 + "--with-spl=${spl}/libexec/spl" 35 + "--with-dracutdir=$(out)/lib/dracut" 36 + "--with-udevdir=$(out)/lib/udev" 37 + ]; 38 38 39 39 enableParallelBuilding = true; 40 40
+8 -8
pkgs/os-specific/linux/zfs/git.nix
··· 28 28 substituteInPlace ./cmd/ztest/ztest.c --replace "/usr/sbin/zdb" "$out/sbin/zdb" 29 29 ''; 30 30 31 - configureFlags = '' 32 - --disable-systemd 33 - --with-linux=${kernel.dev}/lib/modules/${kernel.modDirVersion}/source 34 - --with-linux-obj=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build 35 - --with-spl=${spl_git}/libexec/spl 36 - --with-dracutdir=$$out/lib/dracut 37 - --with-udevdir=$$out/lib/udev 38 - ''; 31 + configureFlags = [ 32 + "--disable-systemd" 33 + "--with-linux=${kernel.dev}/lib/modules/${kernel.modDirVersion}/source" 34 + "--with-linux-obj=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" 35 + "--with-spl=${spl_git}/libexec/spl" 36 + "--with-dracutdir=$(out)/lib/dracut" 37 + "--with-udevdir=$(out)/lib/udev" 38 + ]; 39 39 40 40 enableParallelBuilding = true; 41 41
+2 -2
pkgs/servers/http/couchdb/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "couchdb-${version}"; 6 - version = "1.5.1"; 6 + version = "1.6.0"; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://apache/couchdb/source/${version}/apache-${name}.tar.gz"; 10 - sha256 = "0isddp29zh72idgwjaswqy887c1fwx5g1lwlbzscwcv6q70xrmfr"; 10 + sha256 = "0m4k7i3gibzzcabssysv42rmdr89myppc6765xr0jggwkwdxgxmx"; 11 11 }; 12 12 13 13 buildInputs = [ erlang icu openssl spidermonkey curl help2man sphinx which
+7 -7
pkgs/tools/X11/autocutsel/default.nix
··· 1 1 {stdenv, fetchurl, libX11, libXaw}: 2 2 3 - let 4 - name = "autocutsel-0.9.0"; 5 - in 6 - stdenv.mkDerivation { 7 - inherit name; 3 + stdenv.mkDerivation rec { 4 + version = "0.10.0"; 5 + name = "autocutsel-${version}"; 8 6 9 7 src = fetchurl { 10 - url = "mirror://savannah/autocutsel/${name}.tar.gz"; 11 - sha256 = "0hp335qq57l0kp58pfwb0bk930zx5497frq8y0lzr4icvk1fpw5y"; 8 + url = "https://github.com/sigmike/autocutsel/releases/download/${version}/${name}.tar.gz"; 9 + sha256 = "0gsys2dzh4az51ndcsabhlbbrjn2nm75lnjr45kg6r8sm8q66dx2"; 12 10 }; 13 11 14 12 buildInputs = [ libX11 libXaw ]; ··· 18 16 ''; 19 17 20 18 meta = { 19 + inherit version; 21 20 homepage = "http://www.nongnu.org/autocutsel/"; 22 21 description = "Tracks changes in the server's cutbuffer and CLIPBOARD selection"; 23 22 license = "GPLv2+"; 24 23 platforms = with stdenv.lib.platforms; all; 24 + updateWalker = true; 25 25 }; 26 26 }
+3 -5
pkgs/tools/networking/altermime/default.nix
··· 42 42 ]; 43 43 platforms = with a.lib.platforms; 44 44 linux; 45 - }; 46 - passthru = { 47 - updateInfo = { 48 - downloadPage = "http://www.pldaniels.com/altermime/"; 49 - }; 45 + downloadPage = "http://www.pldaniels.com/altermime/"; 46 + inherit version; 47 + updateWalker = true; 50 48 }; 51 49 }) x 52 50
-21
pkgs/tools/networking/aria/default.nix
··· 1 - 2 - args : with args; 3 - let version="1.18.3"; in 4 - rec { 5 - src = /* Here a fetchurl expression goes */ 6 - fetchurl { 7 - url = "mirror://sourceforge/aria2/stable/aria2-${version}.tar.bz2"; 8 - sha256 = "0y5wv7llq5sdwrsxqkc67wzk8gpb1kl4l1c0zl6l7kr0bkidna9r"; 9 - }; 10 - 11 - buildInputs = []; 12 - configureFlags = []; 13 - 14 - /* doConfigure should be specified separately */ 15 - phaseNames = ["doConfigure" "doMakeInstall"]; 16 - 17 - name = "aria-" + version; 18 - meta = { 19 - description = "Multiprotocol download manager"; 20 - }; 21 - }
+2 -2
pkgs/tools/networking/aria2/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, openssl, libxml2, sqlite, zlib }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "aria2-1.18.1"; 4 + name = "aria2-1.18.5"; 5 5 6 6 src = fetchurl { 7 7 url = "mirror://sourceforge/aria2/stable/${name}/${name}.tar.bz2"; 8 - sha256 = "0fwm5d0i4nr9yzckmd8yc80yj4h1acrv6jca3h1vjji0rbgk49zy"; 8 + sha256 = "0gyfp4zw7rlaxcxhb402azazf1fi83kk3qg4w0j8d2i7pfa1zqi5"; 9 9 }; 10 10 11 11 buildInputs = [ pkgconfig openssl libxml2 sqlite zlib ];
+2 -2
pkgs/tools/networking/babeld/default.nix
··· 1 1 { stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "babeld-1.4.3"; 4 + name = "babeld-1.5.0"; 5 5 6 6 src = fetchurl { 7 7 url = "http://www.pps.univ-paris-diderot.fr/~jch/software/files/${name}.tar.gz"; 8 - sha256 = "18qb0g7pxxgl9j0jwpyzhxk2h8bf26sk5bwmnqxv34a5f6lhzf6h"; 8 + sha256 = "0lpm1zras74b71y01fxndrcvfjzb1ny2hh62pjw6idaqpyrp797s"; 9 9 }; 10 10 11 11 preBuild = ''
+34 -14
pkgs/tools/networking/dhcpcd/check-interface.patch
··· 1 - Index: dhcpcd.c 2 - ================================================================== 3 - --- a/dhcpcd.c 4 - +++ b/dhcpcd.c 5 - @@ -747,14 +747,14 @@ 6 - if (ifp->hwlen != 0) 7 - memcpy(ifl->hwaddr, ifp->hwaddr, ifl->hwlen); 1 + Fix a segfault in handle_interface: if we're adding an interface that 2 + we already knew about (in particular due to a udev event), then 3 + calling init_state/start_interface on ifp is bad because we later free 4 + ifp. This leads to messages like: 5 + 6 + dhcpcd[1342]: eth0: IAID conflicts with one assigned to eth0 7 + 8 + and then a crash: 9 + 10 + Invalid read of size 8 11 + at 0x41CD07: dhcp_handlepacket (dhcp.c:2555) 12 + by 0x408A74: eloop_start (eloop.c:399) 13 + by 0x4073B6: main (dhcpcd.c:1537) 14 + 15 + Address 0x54573d8 is 200 bytes inside a block of size 232 free'd 16 + at 0x4C27507: free (in /nix/store/jafbjc2y6izmh3sk78fl65n55jll4mj8-valgrind-3.9.0/lib/valgrind/vgpreload_memcheck-amd64-linux.so) 17 + by 0x40F0A8: free_interface (net.c:153) 18 + by 0x405443: handle_interface (dhcpcd.c:764) by 0x57E0F06: ??? (udev.c:97) 19 + by 0x42EB62: dev_handle_data (dev.c:153) 20 + by 0x408A74: eloop_start (eloop.c:399) 21 + by 0x4073B6: main (dhcpcd.c:1537) 22 + 23 + So ignore interfaces that we already know about. 24 + 25 + diff -ru -x '*~' dhcpcd-6.4.0-orig/dhcpcd.c dhcpcd-6.4.0/dhcpcd.c 26 + --- dhcpcd-6.4.0-orig/dhcpcd.c 2014-06-14 22:13:12.000000000 +0200 27 + +++ dhcpcd-6.4.0/dhcpcd.c 2014-07-03 11:13:39.133186533 +0200 28 + @@ -774,11 +774,11 @@ 8 29 } else { 9 30 TAILQ_REMOVE(ifs, ifp, next); 10 31 TAILQ_INSERT_TAIL(ctx->ifaces, ifp, next); 11 32 - } 12 - - if (action == 1) { 33 + - if (action > 0) { 13 34 - init_state(ifp, ctx->argc, ctx->argv); 14 - - start_interface(ifp); 15 - + if (action == 1) { 35 + - run_preinit(ifp); 36 + - dhcpcd_startinterface(ifp); 37 + + if (action > 0) { 16 38 + init_state(ifp, ctx->argc, ctx->argv); 17 - + start_interface(ifp); 39 + + run_preinit(ifp); 40 + + dhcpcd_startinterface(ifp); 18 41 + } 19 42 } 20 43 } 21 44 22 - /* Free our discovered list */ 23 - while ((ifp = TAILQ_FIRST(ifs))) { 24 -
+3 -3
pkgs/tools/networking/dhcpcd/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, udev }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "dhcpcd-6.3.2"; 4 + name = "dhcpcd-6.4.0"; 5 5 6 6 src = fetchurl { 7 7 url = "http://roy.marples.name/downloads/dhcpcd/${name}.tar.bz2"; 8 - sha256 = "1v2m5wdr6x5cz6i0n1y63am9dhj5j7ylrk717scjgwwjdbq1x75n"; 8 + sha256 = "04whlqg1lik1c690kpgmw5hh6qzim64bw0l4fpr4vb8cj74aj4q4"; 9 9 }; 10 10 11 - patches = [ ./lxc_ro_promote_secondaries.patch ./reload.patch ./check-interface.patch ]; 11 + patches = [ /* ./lxc_ro_promote_secondaries.patch */ ./reload.patch ./check-interface.patch ]; 12 12 13 13 buildInputs = [ pkgconfig udev ]; 14 14
+4
pkgs/tools/networking/dhcpcd/reload.patch
··· 1 + Fix segfault when reloading the configuration: free_globals() left the 2 + ifac/ifdc variables at -1 instead of 0, causing a crash later in 3 + splitv(). 4 + 1 5 --- a/dhcpcd.c 2 6 +++ b/dhcpcd.c 3 7 @@ -143,16 +143,18 @@
+11 -5
pkgs/tools/networking/mu/default.nix
··· 1 - { fetchurl, stdenv, sqlite, pkgconfig, xapian, glib, gmime, texinfo, emacs, guile 1 + { fetchurl, stdenv, sqlite, pkgconfig, autoconf, automake 2 + , xapian, glib, gmime, texinfo , emacs, guile 2 3 , gtk3, webkit, libsoup, icu, withMug ? false /* doesn't build with current gtk3 */ }: 3 4 4 5 stdenv.mkDerivation rec { 5 - version = "0.9.9.5"; 6 + version = "0.9.9.6"; 6 7 name = "mu-${version}"; 7 8 8 9 src = fetchurl { 9 - url = "https://mu0.googlecode.com/files/mu-${version}.tar.gz"; 10 - sha256 = "1hwkliyb8fjrz5sw9fcisssig0jkdxzhccw0ld0l9a10q1l9mqhp"; 10 + url = "https://github.com/djcb/mu/archive/v${version}.tar.gz"; 11 + sha256 = "1jr9ss29yi6d62hd4ap07p2abgf12hwqfhasv3gwdkrx8dzwmr2a"; 11 12 }; 12 13 13 14 buildInputs = 14 - [ sqlite pkgconfig xapian glib gmime texinfo emacs guile libsoup icu ] 15 + [ sqlite pkgconfig autoconf automake xapian 16 + glib gmime texinfo emacs guile libsoup icu ] 15 17 ++ stdenv.lib.optional withMug [ gtk3 webkit ]; 18 + 19 + preConfigure = '' 20 + autoreconf -i 21 + ''; 16 22 17 23 preBuild = '' 18 24 # Fix mu4e-builddir (set it to $out)
+2 -2
pkgs/tools/networking/openresolv/default.nix
··· 1 1 { stdenv, fetchurl, makeWrapper, coreutils }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "openresolv-3.5.6"; 4 + name = "openresolv-3.5.7"; 5 5 6 6 src = fetchurl { 7 7 url = "http://roy.marples.name/downloads/openresolv/${name}.tar.bz2"; 8 - sha256 = "1n3cw1vbm7mh5d95ykhzdn2mrrf3pm65sp61p8iwydz1gqkp2inv"; 8 + sha256 = "14n51wqnh49zdvx11l79s3fh1jhg7kg9cfny5vk7zsix78spmyx7"; 9 9 }; 10 10 11 11 buildInputs = [ makeWrapper ];
+32
pkgs/tools/networking/plasma-nm/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, cmake, gettext, kdelibs, networkmanager, libnm-qt }: 2 + 3 + let 4 + pname = "plasma-nm"; 5 + version = "0.9.3.3"; 6 + name = "${pname}-${version}"; 7 + in 8 + stdenv.mkDerivation { 9 + inherit name; 10 + 11 + src = fetchurl { 12 + url = "mirror://kde/unstable/${pname}/${name}.tar.xz"; 13 + sha256 = "099cbe86eb989c4fda8cdcc0f8721dc3350cc6735c3f50bcdd94661e5930e326"; 14 + }; 15 + 16 + buildInputs = [ 17 + cmake 18 + pkgconfig 19 + gettext 20 + kdelibs 21 + networkmanager 22 + libnm-qt 23 + ]; 24 + 25 + meta = with stdenv.lib; { 26 + homepage = "https://projects.kde.org/projects/kde/workspace/plasma-nm"; 27 + description = "Plasma applet written in QML for managing network connections"; 28 + license = licenses.lgpl21; 29 + inherit (kdelibs.meta) platforms; 30 + maintainers = [ maintainers.jgeerds ]; 31 + }; 32 + }
+34 -11
pkgs/top-level/all-packages.nix
··· 539 539 540 540 inherit (androidenv) androidsdk_4_1; 541 541 542 - aria = builderDefsPackage (import ../tools/networking/aria) { }; 543 - 544 542 aria2 = callPackage ../tools/networking/aria2 { }; 543 + aria = aria2; 545 544 546 545 at = callPackage ../tools/system/at { }; 547 546 ··· 2246 2245 2247 2246 wal_e = callPackage ../tools/backup/wal-e { }; 2248 2247 2248 + watchman = callPackage ../development/tools/watchman { }; 2249 + 2249 2250 wbox = callPackage ../tools/networking/wbox {}; 2250 2251 2251 2252 welkin = callPackage ../tools/graphics/welkin {}; ··· 2559 2560 2560 2561 cmucl_binary = callPackage ../development/compilers/cmucl/binary.nix { }; 2561 2562 2562 - compcert = callPackage_i686 ../development/compilers/compcert {}; 2563 + compcert = callPackage ../development/compilers/compcert {}; 2563 2564 2564 2565 cryptol1 = lowPrio (callPackage ../development/compilers/cryptol/1.8.x.nix {}); 2565 2566 cryptol2 = haskellPackages.cryptol; ··· 3177 3178 giflib = giflib_4_1; 3178 3179 }; 3179 3180 3181 + biniou = callPackage ../development/ocaml-modules/biniou { }; 3182 + 3180 3183 ocaml_cairo = callPackage ../development/ocaml-modules/ocaml-cairo { }; 3181 3184 3182 3185 cppo = callPackage ../development/tools/ocaml/cppo { }; ··· 3184 3187 cryptokit = callPackage ../development/ocaml-modules/cryptokit { }; 3185 3188 3186 3189 deriving = callPackage ../development/tools/ocaml/deriving { }; 3190 + 3191 + easy-format = callPackage ../development/ocaml-modules/easy-format { }; 3187 3192 3188 3193 findlib = callPackage ../development/tools/ocaml/findlib { }; 3189 3194 ··· 3266 3271 opam_1_0_0 = callPackage ../development/tools/ocaml/opam/1.0.0.nix { }; 3267 3272 opam_1_1 = callPackage ../development/tools/ocaml/opam/1.1.nix { }; 3268 3273 opam = opam_1_1; 3274 + 3275 + yojson = callPackage ../development/ocaml-modules/yojson { }; 3269 3276 3270 3277 zarith = callPackage ../development/ocaml-modules/zarith { }; 3271 3278 }; ··· 3453 3460 compat = true; 3454 3461 }; 3455 3462 lua5 = lua5_1; 3463 + lua = lua5; 3456 3464 3457 3465 lua5_sockets = callPackage ../development/interpreters/lua-5/sockets.nix {}; 3458 3466 lua5_expat = callPackage ../development/interpreters/lua-5/expat.nix {}; 3467 + lua5_filesystem = callPackage ../development/interpreters/lua-5/filesystem.nix {}; 3459 3468 3460 3469 luarocks = callPackage ../development/tools/misc/luarocks { 3461 3470 lua = lua5; ··· 3510 3519 3511 3520 php = php54; 3512 3521 3513 - phpPackages = import ./php-packages.nix { 3522 + phpPackages = recurseIntoAttrs (import ./php-packages.nix { 3514 3523 inherit php pkgs; 3515 - }; 3524 + }); 3516 3525 3517 3526 php53 = callPackage ../development/interpreters/php/5.3.nix { }; 3518 3527 ··· 3526 3535 }; 3527 3536 3528 3537 php54 = callPackage ../development/interpreters/php/5.4.nix { }; 3529 - 3530 - php_apc = callPackage ../development/libraries/php-apc { }; 3531 - 3532 - php_xcache = callPackage ../development/libraries/php-xcache { }; 3533 3538 3534 3539 picolisp = callPackage ../development/interpreters/picolisp {}; 3535 3540 ··· 3857 3862 3858 3863 dfeet = callPackage ../development/tools/misc/d-feet { 3859 3864 inherit (pythonPackages) pep8; 3860 - inherit (gnome3) gnome_icon_theme; 3861 3865 }; 3862 3866 3863 3867 dfu-programmer = callPackage ../development/tools/misc/dfu-programmer { }; ··· 4195 4199 4196 4200 allegro = callPackage ../development/libraries/allegro {}; 4197 4201 allegro5 = callPackage ../development/libraries/allegro/5.nix {}; 4202 + allegro5unstable = callPackage 4203 + ../development/libraries/allegro/5-unstable.nix {}; 4198 4204 4199 4205 amrnb = callPackage ../development/libraries/amrnb { }; 4200 4206 ··· 4254 4260 boostHeaders = callPackage ../development/libraries/boost/header-only-wrapper.nix { }; 4255 4261 4256 4262 botan = callPackage ../development/libraries/botan { }; 4263 + botanUnstable = callPackage ../development/libraries/botan/unstable.nix { }; 4257 4264 4258 4265 box2d = callPackage ../development/libraries/box2d { }; 4259 4266 box2d_2_0_1 = callPackage ../development/libraries/box2d/2.0.1.nix { }; ··· 6122 6129 inherit readline ncurses; 6123 6130 }); 6124 6131 6132 + sqlcipher = lowPrio (callPackage ../development/libraries/sqlcipher { 6133 + readline = null; 6134 + ncurses = null; 6135 + }); 6136 + 6125 6137 stfl = callPackage ../development/libraries/stfl { 6126 6138 stdenv = if stdenv.isDarwin 6127 6139 then overrideGCC stdenv gccApple ··· 7417 7429 7418 7430 # The current default kernel / kernel modules. 7419 7431 linux = linuxPackages.kernel; 7420 - linuxPackages = linuxPackages_3_12; 7432 + linuxPackages = linuxPackages_3_14; 7421 7433 7422 7434 # Update this when adding the newest kernel major version! 7423 7435 linux_latest = pkgs.linux_3_15; ··· 8887 8899 inherit (pythonPackages) pyopengl; 8888 8900 }; 8889 8901 8902 + inferno = callPackage_i686 ../applications/inferno { }; 8903 + 8890 8904 inkscape = callPackage ../applications/graphics/inkscape { 8891 8905 inherit (pythonPackages) lxml; 8892 8906 lcms = lcms2; ··· 9726 9740 9727 9741 vbindiff = callPackage ../applications/editors/vbindiff { }; 9728 9742 9743 + vcprompt = callPackage ../applications/version-management/vcprompt { }; 9744 + 9729 9745 vdpauinfo = callPackage ../tools/X11/vdpauinfo { }; 9730 9746 9731 9747 veracity = callPackage ../applications/version-management/veracity {}; ··· 9887 9903 ++ lib.optional (supportsJDK && cfg.jre or false && jrePlugin ? mozillaPlugin) jrePlugin 9888 9904 ++ lib.optional (cfg.enableGoogleTalkPlugin or false) google_talk_plugin 9889 9905 ++ lib.optional (cfg.enableFriBIDPlugin or false) fribid 9906 + ++ lib.optional (cfg.enableGnomeExtensions or false) gnome3.gnome_shell 9890 9907 ); 9891 9908 libs = [ gstreamer gst_plugins_base ] ++ lib.optionals (cfg.enableQuakeLive or false) 9892 9909 (with xlibs; [ stdenv.gcc libX11 libXxf86dga libXxf86vm libXext libXt alsaLib zlib ]); ··· 10528 10545 10529 10546 liblikeback = callPackage ../development/libraries/liblikeback { }; 10530 10547 10548 + libmm-qt = callPackage ../development/libraries/libmm-qt { }; 10549 + 10550 + libnm-qt = callPackage ../development/libraries/libnm-qt { }; 10551 + 10531 10552 networkmanagement = callPackage ../tools/networking/networkmanagement { }; 10532 10553 10533 10554 partitionManager = callPackage ../tools/misc/partition-manager { }; 10555 + 10556 + plasma-nm = callPackage ../tools/networking/plasma-nm { }; 10534 10557 10535 10558 polkit_kde_agent = callPackage ../tools/security/polkit-kde-agent { }; 10536 10559
+26 -3
pkgs/top-level/haskell-packages.nix
··· 137 137 138 138 adjunctions = callPackage ../development/libraries/haskell/adjunctions {}; 139 139 140 - aes = callPackage ../development/libraries/haskell/aes {}; 140 + AES = callPackage ../development/libraries/haskell/AES {}; 141 141 142 142 aeson_0_7_0_4 = callPackage ../development/libraries/haskell/aeson/0.7.0.4.nix { blazeBuilder = null; }; 143 143 aeson_0_7_0_6 = callPackage ../development/libraries/haskell/aeson/0.7.0.6.nix { blazeBuilder = null; }; ··· 873 873 874 874 gitit = callPackage ../development/libraries/haskell/gitit {}; 875 875 876 + gitlib = callPackage ../development/libraries/haskell/gitlib {}; 877 + 878 + gitlibLibgit2 = callPackage ../development/libraries/haskell/gitlib-libgit2 {}; 879 + 880 + gitlibTest = callPackage ../development/libraries/haskell/gitlib-test {}; 881 + 876 882 glade = callPackage ../development/libraries/haskell/glade { 877 883 inherit (pkgs.gnome) libglade; 878 884 gtkC = pkgs.gtk; ··· 940 946 libc = pkgs.stdenv.gcc.libc; 941 947 }; 942 948 943 - gtkglext = callPackage ../development/libraries/haskell/gtkglext {}; 949 + gtkglext = callPackage ../development/libraries/haskell/gtkglext { gtkglext = pkgs.gnome2.gtkglext; }; 944 950 945 951 gtk2hsBuildtools = callPackage ../development/libraries/haskell/gtk2hs-buildtools {}; 946 - gtk2hsC2hs = self.gtk2hsBuildtools; 947 952 948 953 gtksourceview2 = callPackage ../development/libraries/haskell/gtksourceview2 { 949 954 inherit (pkgs.gnome) gtksourceview; ··· 1015 1020 haskore = callPackage ../development/libraries/haskell/haskore {}; 1016 1021 1017 1022 hastache = callPackage ../development/libraries/haskell/hastache {}; 1023 + 1024 + hasteCompiler = callPackage ../development/libraries/haskell/haste-compiler {}; 1025 + 1026 + hastePerch = callPackage ../development/libraries/haskell/haste-perch {}; 1018 1027 1019 1028 hcltest = callPackage ../development/libraries/haskell/hcltest {}; 1020 1029 ··· 1108 1117 hledgerIrr = callPackage ../applications/office/hledger-irr {}; 1109 1118 hledgerWeb = callPackage ../development/libraries/haskell/hledger-web {}; 1110 1119 1120 + hlibgit2 = callPackage ../development/libraries/haskell/hlibgit2 {}; 1121 + 1111 1122 HList = callPackage ../development/libraries/haskell/HList {}; 1112 1123 1113 1124 hmatrix = callPackage ../development/libraries/haskell/hmatrix {}; ··· 1723 1734 1724 1735 pipesConcurrency = callPackage ../development/libraries/haskell/pipes-concurrency {}; 1725 1736 1737 + pipesCsv = callPackage ../development/libraries/haskell/pipes-csv {}; 1738 + 1739 + pipesHttp = callPackage ../development/libraries/haskell/pipes-http {}; 1740 + 1726 1741 pipesNetwork = callPackage ../development/libraries/haskell/pipes-network {}; 1727 1742 1728 1743 pipesGroup = callPackage ../development/libraries/haskell/pipes-group {}; ··· 1921 1936 repr = callPackage ../development/libraries/haskell/repr {}; 1922 1937 1923 1938 resourcePool = callPackage ../development/libraries/haskell/resource-pool {}; 1939 + 1940 + resourcePoolCatchio = callPackage ../development/libraries/haskell/resource-pool-catchio {}; 1924 1941 1925 1942 resourcet = callPackage ../development/libraries/haskell/resourcet {}; 1926 1943 ··· 2002 2019 2003 2020 snapletAcidState = callPackage ../development/libraries/haskell/snaplet-acid-state {}; 2004 2021 2022 + snapletPostgresqlSimple = callPackage ../development/libraries/haskell/snaplet-postgresql-simple {}; 2023 + 2005 2024 snapletRedis = callPackage ../development/libraries/haskell/snaplet-redis {}; 2006 2025 2007 2026 snapletStripe = callPackage ../development/libraries/haskell/snaplet-stripe {}; ··· 2017 2036 snapLoaderStatic = callPackage ../development/libraries/haskell/snap/loader-static.nix {}; 2018 2037 2019 2038 snapServer = callPackage ../development/libraries/haskell/snap/server.nix {}; 2039 + 2040 + snapWebRoutes = callPackage ../development/libraries/haskell/snap-web-routes {}; 2020 2041 2021 2042 snowball = callPackage ../development/libraries/haskell/snowball {}; 2022 2043 ··· 2283 2304 threadmanager = callPackage ../development/libraries/haskell/threadmanager {}; 2284 2305 2285 2306 threads = callPackage ../development/libraries/haskell/threads {}; 2307 + 2308 + Thrift = callPackage ../development/libraries/haskell/Thrift {}; 2286 2309 2287 2310 thyme = callPackage ../development/libraries/haskell/thyme {}; 2288 2311
+34 -24
pkgs/top-level/php-packages.nix
··· 3 3 let self = with self; { 4 4 buildPecl = import ../build-support/build-pecl.nix { 5 5 inherit php; 6 - inherit (pkgs) stdenv autoreconfHook; 6 + inherit (pkgs) stdenv autoreconfHook fetchurl; 7 7 }; 8 8 9 9 memcache = buildPecl { 10 10 name = "memcache-3.0.8"; 11 11 12 - src = pkgs.fetchurl { 13 - url = http://pecl.php.net/get/memcache-3.0.8.tgz; 14 - sha256 = "04c35rj0cvq5ygn2jgmyvqcb0k8d03v4k642b6i37zgv7x15pbic"; 15 - }; 12 + sha256 = "04c35rj0cvq5ygn2jgmyvqcb0k8d03v4k642b6i37zgv7x15pbic"; 16 13 17 14 configureFlags = "--with-zlib-dir=${pkgs.zlib}"; 18 15 }; ··· 20 17 memcached = buildPecl { 21 18 name = "memcached-2.1.0"; 22 19 23 - src = pkgs.fetchurl { 24 - url = http://pecl.php.net/get/memcached-2.1.0.tgz; 25 - sha256 = "1by4zhkq4mbk9ja6s0vlavv5ng8aw5apn3a1in84fkz7bc0l0jdw"; 26 - }; 20 + sha256 = "1by4zhkq4mbk9ja6s0vlavv5ng8aw5apn3a1in84fkz7bc0l0jdw"; 27 21 28 22 configureFlags = [ 29 23 "--with-zlib-dir=${pkgs.zlib}" ··· 33 27 buildInputs = [ pkgs.cyrus_sasl ]; 34 28 }; 35 29 36 - xdebug = buildPecl rec { 30 + xdebug = buildPecl { 37 31 name = "xdebug-2.2.5"; 38 - src = pkgs.fetchurl { 39 - url = "http://pecl.php.net/get/${name}.tgz"; 40 - sha256 = "0vss35da615709kdvqji8pblckfvmabmj2njjjz6h8zzvj9gximd"; 41 - }; 32 + 33 + sha256 = "0vss35da615709kdvqji8pblckfvmabmj2njjjz6h8zzvj9gximd"; 42 34 }; 43 35 44 - apc = buildPecl rec { 36 + apc = buildPecl { 45 37 name = "apc-3.1.13"; 46 - src = pkgs.fetchurl { 47 - url = "http://pecl.php.net/get/${name}.tgz"; 48 - sha256 = "1gcsh9iar5qa1yzpjki9bb5rivcb6yjp45lmjmp98wlyf83vmy2y"; 49 - }; 38 + 39 + sha256 = "1gcsh9iar5qa1yzpjki9bb5rivcb6yjp45lmjmp98wlyf83vmy2y"; 50 40 }; 51 41 52 - zmq = buildPecl rec { 42 + zmq = buildPecl { 53 43 name = "zmq-1.1.2"; 44 + 45 + sha256 = "0ccz73p8pkda3y9p9qbr3m19m0yrf7k2bvqgbaly3ibgh9bazc69"; 46 + 47 + configureFlags = [ 48 + "--with-zmq=${pkgs.zeromq2}" 49 + ]; 50 + 51 + buildInputs = [ pkgs.pkgconfig ]; 52 + }; 53 + 54 + xcache = buildPecl rec { 55 + name = "xcache-${version}"; 56 + 57 + version = "3.1.0"; 58 + 54 59 src = pkgs.fetchurl { 55 - url = "http://pecl.php.net/get/${name}.tgz"; 56 - sha256 = "0ccz73p8pkda3y9p9qbr3m19m0yrf7k2bvqgbaly3ibgh9bazc69"; 60 + url = "http://xcache.lighttpd.net/pub/Releases/${version}/${name}.tar.bz2"; 61 + md5 = "e5816d47d52be200b959bf69a673ff74"; 57 62 }; 58 63 59 64 configureFlags = [ 60 - "--with-zmq=${pkgs.zeromq2}" 65 + "--enable-xcache" 66 + "--enable-xcache-coverager" 67 + "--enable-xcache-optimizer" 68 + "--enable-xcache-assembler" 69 + "--enable-xcache-encoder" 70 + "--enable-xcache-decoder" 61 71 ]; 62 72 63 - buildInputs = [ pkgs.pkgconfig ]; 73 + buildInputs = [ pkgs.m4 ]; 64 74 }; 65 75 }; in self
+20 -5
pkgs/top-level/python-packages.nix
··· 1052 1052 }); 1053 1053 1054 1054 1055 + click = buildPythonPackage { 1056 + name = "click-2.1"; 1057 + src = fetchurl { 1058 + url = https://pypi.python.org/packages/source/c/click/click-2.1.tar.gz; 1059 + md5 = "0ba97ba09af82c56e2d35f3412d0aa6e"; 1060 + }; 1061 + meta = { 1062 + homepage = "http://click.pocoo.org/"; 1063 + description = "Click is a Python package for creating beautiful command line interfaces in a composable way with as little code as necessary."; 1064 + license = "bsd, 3-clause"; 1065 + }; 1066 + }; 1067 + 1068 + 1055 1069 clepy = buildPythonPackage rec { 1056 1070 name = "clepy-0.3.20"; 1057 1071 ··· 4718 4732 meta = { 4719 4733 description = "Fast numerical array expression evaluator for NumPy"; 4720 4734 homepage = "https://github.com/pydata/numexpr"; 4735 + license = licenses.mit; 4721 4736 }; 4722 4737 }; 4723 4738 ··· 5132 5147 }; 5133 5148 5134 5149 pip = buildPythonPackage rec { 5135 - version = "1.5"; 5150 + version = "1.5.6"; 5136 5151 name = "pip-${version}"; 5137 5152 src = fetchurl { 5138 5153 url = "http://pypi.python.org/packages/source/p/pip/pip-${version}.tar.gz"; 5139 - sha256 = "0j700f70mj0brdlvs2cz4a7h4jwmzgymgp8qk1qb3lsm1qd1vy15"; 5154 + md5 = "01026f87978932060cc86c1dc527903e"; 5140 5155 }; 5141 5156 buildInputs = [ mock scripttest virtualenv pytest ]; 5142 5157 }; ··· 5195 5210 }; 5196 5211 5197 5212 plumbum = buildPythonPackage rec { 5198 - name = "plumbum-1.2.0"; 5213 + name = "plumbum-1.4.2"; 5199 5214 5200 5215 buildInputs = [ pythonPackages.six ]; 5201 5216 5202 5217 src = fetchurl { 5203 - url = "https://pypi.python.org/packages/source/p/plumbum/plumbum-1.2.0.tar.gz"; 5204 - md5 = "18b7f888dfaf62a48df937abffe07897"; 5218 + url = "https://pypi.python.org/packages/source/p/plumbum/${name}.tar.gz"; 5219 + md5 = "38b526af9012a5282ae91dfe372cefd3"; 5205 5220 }; 5206 5221 }; 5207 5222