lol

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

+1830 -664
+3 -3
doc/Makefile
··· 21 22 NEWS.html: release-notes.xml 23 $(XSLTPROC) --nonet --xinclude --output $@ $(NEWS_OPTS) \ 24 - $(docbookxsl)/html/docbook.xsl release-notes.xml 25 26 NEWS.txt: release-notes.xml 27 $(XSLTPROC) --nonet --xinclude quote-literals.xsl release-notes.xml | \ 28 $(XSLTPROC) --nonet --output $@.tmp.html $(NEWS_OPTS) \ 29 - $(docbookxsl)/html/docbook.xsl - 30 LANG=en_US w3m -dump $@.tmp.html > $@ 31 rm $@.tmp.html 32 33 manual.html: *.xml 34 $(XSLTPROC) --nonet --xinclude --output manual.html \ 35 - $(docbookxsl)/html/docbook.xsl manual.xml 36 37 manual.pdf: *.xml 38 $(dblatex) \
··· 21 22 NEWS.html: release-notes.xml 23 $(XSLTPROC) --nonet --xinclude --output $@ $(NEWS_OPTS) \ 24 + $(docbookxsl)/xhtml/docbook.xsl release-notes.xml 25 26 NEWS.txt: release-notes.xml 27 $(XSLTPROC) --nonet --xinclude quote-literals.xsl release-notes.xml | \ 28 $(XSLTPROC) --nonet --output $@.tmp.html $(NEWS_OPTS) \ 29 + $(docbookxsl)/xhtml/docbook.xsl - 30 LANG=en_US w3m -dump $@.tmp.html > $@ 31 rm $@.tmp.html 32 33 manual.html: *.xml 34 $(XSLTPROC) --nonet --xinclude --output manual.html \ 35 + $(docbookxsl)/xhtml/docbook.xsl manual.xml 36 37 manual.pdf: *.xml 38 $(dblatex) \
+1
lib/maintainers.nix
··· 48 iElectric = "Domen Kozar <domen@dev.si>"; 49 iyzsong = "Song Wenwu <iyzsong@gmail.com>"; 50 jcumming = "Jack Cummings <jack@mudshark.org>"; 51 joamaki = "Jussi Maki <joamaki@gmail.com>"; 52 joelteon = "Joel Taylor <me@joelt.io>"; 53 jwiegley = "John Wiegley <johnw@newartisans.com>";
··· 48 iElectric = "Domen Kozar <domen@dev.si>"; 49 iyzsong = "Song Wenwu <iyzsong@gmail.com>"; 50 jcumming = "Jack Cummings <jack@mudshark.org>"; 51 + jgeerds = "Jascha Geerds <jg@ekby.de>"; 52 joamaki = "Jussi Maki <joamaki@gmail.com>"; 53 joelteon = "Joel Taylor <me@joelt.io>"; 54 jwiegley = "John Wiegley <johnw@newartisans.com>";
+1 -1
nixos/modules/config/ldap.nix
··· 1 { config, lib, pkgs, ... }: 2 3 - with lib; 4 with pkgs; 5 6 let 7
··· 1 { config, lib, pkgs, ... }: 2 3 with pkgs; 4 + with lib; 5 6 let 7
+2 -2
nixos/modules/config/networking.nix
··· 14 15 options = { 16 17 - networking.extraHosts = pkgs.lib.mkOption { 18 type = types.lines; 19 default = ""; 20 example = "192.168.0.1 lanlocalhost"; ··· 23 ''; 24 }; 25 26 - networking.dnsSingleRequest = pkgs.lib.mkOption { 27 type = types.bool; 28 default = false; 29 description = ''
··· 14 15 options = { 16 17 + networking.extraHosts = lib.mkOption { 18 type = types.lines; 19 default = ""; 20 example = "192.168.0.1 lanlocalhost"; ··· 23 ''; 24 }; 25 26 + networking.dnsSingleRequest = lib.mkOption { 27 type = types.bool; 28 default = false; 29 description = ''
+1 -1
nixos/modules/config/pulseaudio.nix
··· 1 { config, lib, pkgs, ... }: 2 3 - with lib; 4 with pkgs; 5 6 let 7
··· 1 { config, lib, pkgs, ... }: 2 3 with pkgs; 4 + with lib; 5 6 let 7
+1 -1
nixos/modules/config/swap.nix
··· 1 { config, lib, pkgs, utils, ... }: 2 3 - with lib; 4 with utils; 5 6 { 7
··· 1 { config, lib, pkgs, utils, ... }: 2 3 with utils; 4 + with lib; 5 6 { 7
+1 -1
nixos/modules/config/unix-odbc-drivers.nix
··· 27 28 environment.etc."odbcinst.ini".text = 29 let inis = config.environment.unixODBCDrivers; 30 - in pkgs.lib.concatStringsSep "\n" inis; 31 32 }; 33
··· 27 28 environment.etc."odbcinst.ini".text = 29 let inis = config.environment.unixODBCDrivers; 30 + in lib.concatStringsSep "\n" inis; 31 32 }; 33
+4 -4
nixos/modules/hardware/network/intel-2100bg.nix
··· 1 - { config, pkgs, ... }: 2 3 { 4 ··· 6 7 options = { 8 9 - networking.enableIntel2100BGFirmware = pkgs.lib.mkOption { 10 default = false; 11 - type = pkgs.lib.types.bool; 12 description = '' 13 Turn on this option if you want firmware for the Intel 14 PRO/Wireless 2100BG to be loaded automatically. This is ··· 21 22 ###### implementation 23 24 - config = pkgs.lib.mkIf config.networking.enableIntel2100BGFirmware { 25 26 hardware.enableAllFirmware = true; 27
··· 1 + { config, pkgs, lib, ... }: 2 3 { 4 ··· 6 7 options = { 8 9 + networking.enableIntel2100BGFirmware = lib.mkOption { 10 default = false; 11 + type = lib.types.bool; 12 description = '' 13 Turn on this option if you want firmware for the Intel 14 PRO/Wireless 2100BG to be loaded automatically. This is ··· 21 22 ###### implementation 23 24 + config = lib.mkIf config.networking.enableIntel2100BGFirmware { 25 26 hardware.enableAllFirmware = true; 27
+4 -4
nixos/modules/hardware/network/intel-2200bg.nix
··· 1 - { config, pkgs, ... }: 2 3 { 4 ··· 6 7 options = { 8 9 - networking.enableIntel2200BGFirmware = pkgs.lib.mkOption { 10 default = false; 11 - type = pkgs.lib.types.bool; 12 description = '' 13 Turn on this option if you want firmware for the Intel 14 PRO/Wireless 2200BG to be loaded automatically. This is ··· 21 22 ###### implementation 23 24 - config = pkgs.lib.mkIf config.networking.enableIntel2200BGFirmware { 25 26 hardware.enableAllFirmware = true; 27
··· 1 + { config, pkgs, lib, ... }: 2 3 { 4 ··· 6 7 options = { 8 9 + networking.enableIntel2200BGFirmware = lib.mkOption { 10 default = false; 11 + type = lib.types.bool; 12 description = '' 13 Turn on this option if you want firmware for the Intel 14 PRO/Wireless 2200BG to be loaded automatically. This is ··· 21 22 ###### implementation 23 24 + config = lib.mkIf config.networking.enableIntel2200BGFirmware { 25 26 hardware.enableAllFirmware = true; 27
+4 -4
nixos/modules/hardware/network/intel-3945abg.nix
··· 1 - { config, pkgs, ... }: 2 3 { 4 ··· 6 7 options = { 8 9 - networking.enableIntel3945ABGFirmware = pkgs.lib.mkOption { 10 default = false; 11 - type = pkgs.lib.types.bool; 12 description = '' 13 This option enables automatic loading of the firmware for the Intel 14 PRO/Wireless 3945ABG. ··· 20 21 ###### implementation 22 23 - config = pkgs.lib.mkIf config.networking.enableIntel3945ABGFirmware { 24 25 hardware.enableAllFirmware = true; 26
··· 1 + { config, pkgs, lib, ... }: 2 3 { 4 ··· 6 7 options = { 8 9 + networking.enableIntel3945ABGFirmware = lib.mkOption { 10 default = false; 11 + type = lib.types.bool; 12 description = '' 13 This option enables automatic loading of the firmware for the Intel 14 PRO/Wireless 3945ABG. ··· 20 21 ###### implementation 22 23 + config = lib.mkIf config.networking.enableIntel3945ABGFirmware { 24 25 hardware.enableAllFirmware = true; 26
+4 -4
nixos/modules/hardware/network/ralink.nix
··· 1 - {pkgs, config, ...}: 2 3 { 4 ··· 6 7 options = { 8 9 - networking.enableRalinkFirmware = pkgs.lib.mkOption { 10 default = false; 11 - type = pkgs.lib.types.bool; 12 description = '' 13 Turn on this option if you want firmware for the RT73 NIC. 14 ''; ··· 19 20 ###### implementation 21 22 - config = pkgs.lib.mkIf config.networking.enableRalinkFirmware { 23 hardware.enableAllFirmware = true; 24 }; 25
··· 1 + {pkgs, config, lib, ...}: 2 3 { 4 ··· 6 7 options = { 8 9 + networking.enableRalinkFirmware = lib.mkOption { 10 default = false; 11 + type = lib.types.bool; 12 description = '' 13 Turn on this option if you want firmware for the RT73 NIC. 14 ''; ··· 19 20 ###### implementation 21 22 + config = lib.mkIf config.networking.enableRalinkFirmware { 23 hardware.enableAllFirmware = true; 24 }; 25
+4 -4
nixos/modules/hardware/network/rtl8192c.nix
··· 1 - {pkgs, config, ...}: 2 3 { 4 ··· 6 7 options = { 8 9 - networking.enableRTL8192cFirmware = pkgs.lib.mkOption { 10 default = false; 11 - type = pkgs.lib.types.bool; 12 description = '' 13 Turn on this option if you want firmware for the RTL8192c (and related) NICs. 14 ''; ··· 19 20 ###### implementation 21 22 - config = pkgs.lib.mkIf config.networking.enableRTL8192cFirmware { 23 hardware.enableAllFirmware = true; 24 }; 25
··· 1 + {pkgs, config, lib, ...}: 2 3 { 4 ··· 6 7 options = { 8 9 + networking.enableRTL8192cFirmware = lib.mkOption { 10 default = false; 11 + type = lib.types.bool; 12 description = '' 13 Turn on this option if you want firmware for the RTL8192c (and related) NICs. 14 ''; ··· 19 20 ###### implementation 21 22 + config = lib.mkIf config.networking.enableRTL8192cFirmware { 23 hardware.enableAllFirmware = true; 24 }; 25
+2 -2
nixos/modules/hardware/network/smc-2632w/default.nix
··· 1 - {pkgs, config, ...}: 2 3 { 4 hardware = { 5 pcmcia = { 6 - firmware = [ (pkgs.lib.cleanSource ./firmware) ]; 7 }; 8 }; 9 }
··· 1 + {lib, config, ...}: 2 3 { 4 hardware = { 5 pcmcia = { 6 + firmware = [ (lib.cleanSource ./firmware) ]; 7 }; 8 }; 9 }
+1 -1
nixos/modules/hardware/opengl.nix
··· 84 85 config = mkIf cfg.enable { 86 87 - assertions = pkgs.lib.singleton { 88 assertion = cfg.driSupport32Bit -> pkgs.stdenv.isx86_64; 89 message = "Option driSupport32Bit only makes sense on a 64-bit system."; 90 };
··· 84 85 config = mkIf cfg.enable { 86 87 + assertions = lib.singleton { 88 assertion = cfg.driSupport32Bit -> pkgs.stdenv.isx86_64; 89 message = "Option driSupport32Bit only makes sense on a 64-bit system."; 90 };
+1 -1
nixos/modules/installer/cd-dvd/system-tarball-fuloong2f.nix
··· 152 # default root password is empty. 153 services.openssh.enable = true; 154 155 - jobs.openssh.startOn = pkgs.lib.mkOverride 50 ""; 156 157 boot.loader.grub.enable = false; 158 boot.loader.generationsDir.enable = false;
··· 152 # default root password is empty. 153 services.openssh.enable = true; 154 155 + jobs.openssh.startOn = lib.mkOverride 50 ""; 156 157 boot.loader.grub.enable = false; 158 boot.loader.generationsDir.enable = false;
+1 -1
nixos/modules/installer/cd-dvd/system-tarball-pc.nix
··· 109 # not be started by default on the installation CD because the 110 # default root password is empty. 111 services.openssh.enable = true; 112 - jobs.openssh.startOn = pkgs.lib.mkOverride 50 ""; 113 114 # To be able to use the systemTarball to catch troubles. 115 boot.crashDump = {
··· 109 # not be started by default on the installation CD because the 110 # default root password is empty. 111 services.openssh.enable = true; 112 + jobs.openssh.startOn = lib.mkOverride 50 ""; 113 114 # To be able to use the systemTarball to catch troubles. 115 boot.crashDump = {
+1 -1
nixos/modules/installer/cd-dvd/system-tarball-sheevaplug.nix
··· 165 # not be started by default on the installation CD because the 166 # default root password is empty. 167 services.openssh.enable = true; 168 - jobs.openssh.startOn = pkgs.lib.mkOverride 50 ""; 169 170 # cpufrequtils fails to build on non-pc 171 powerManagement.enable = false;
··· 165 # not be started by default on the installation CD because the 166 # default root password is empty. 167 services.openssh.enable = true; 168 + jobs.openssh.startOn = lib.mkOverride 50 ""; 169 170 # cpufrequtils fails to build on non-pc 171 powerManagement.enable = false;
+2 -2
nixos/modules/installer/tools/tools.nix
··· 1 # This module generates nixos-install, nixos-rebuild, 2 # nixos-generate-config, etc. 3 4 - { config, pkgs, modulesPath, ... }: 5 6 let 7 ··· 65 test -e "$out/chrome/content/jquery-1.5.2.js" || 66 cp -f "$jquery" "$out/chrome/content/jquery-1.5.2.js" 67 ''; 68 - gui = pkgs.lib.cleanSource "${modulesPath}/../gui"; 69 jquery = pkgs.fetchurl { 70 url = http://code.jquery.com/jquery-1.5.2.min.js; 71 sha256 = "8f0a19ee8c606b35a10904951e0a27da1896eafe33c6e88cb7bcbe455f05a24a";
··· 1 # This module generates nixos-install, nixos-rebuild, 2 # nixos-generate-config, etc. 3 4 + { config, pkgs, modulesPath, lib, ... }: 5 6 let 7 ··· 65 test -e "$out/chrome/content/jquery-1.5.2.js" || 66 cp -f "$jquery" "$out/chrome/content/jquery-1.5.2.js" 67 ''; 68 + gui = lib.cleanSource "${modulesPath}/../gui"; 69 jquery = pkgs.fetchurl { 70 url = http://code.jquery.com/jquery-1.5.2.min.js; 71 sha256 = "8f0a19ee8c606b35a10904951e0a27da1896eafe33c6e88cb7bcbe455f05a24a";
+5 -3
nixos/modules/misc/ids.nix
··· 1 # This module defines the global list of uids and gids. We keep a 2 # central list to prevent id collisions. 3 4 - { config, pkgs, ... }: 5 6 { 7 options = { 8 9 - ids.uids = pkgs.lib.mkOption { 10 internal = true; 11 description = '' 12 The user IDs used in NixOS. 13 ''; 14 }; 15 16 - ids.gids = pkgs.lib.mkOption { 17 internal = true; 18 description = '' 19 The group IDs used in NixOS. ··· 135 influxdb = 125; 136 nsd = 126; 137 gitolite = 127; 138 139 # When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399! 140 ··· 243 teamspeak = 124; 244 influxdb = 125; 245 nsd = 126; 246 247 # When adding a gid, make sure it doesn't match an existing uid. And don't use gids above 399! 248
··· 1 # This module defines the global list of uids and gids. We keep a 2 # central list to prevent id collisions. 3 4 + { config, pkgs, lib, ... }: 5 6 { 7 options = { 8 9 + ids.uids = lib.mkOption { 10 internal = true; 11 description = '' 12 The user IDs used in NixOS. 13 ''; 14 }; 15 16 + ids.gids = lib.mkOption { 17 internal = true; 18 description = '' 19 The group IDs used in NixOS. ··· 135 influxdb = 125; 136 nsd = 126; 137 gitolite = 127; 138 + znc = 128; 139 140 # When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399! 141 ··· 244 teamspeak = 124; 245 influxdb = 125; 246 nsd = 126; 247 + znc = 128; 248 249 # When adding a gid, make sure it doesn't match an existing uid. And don't use gids above 399! 250
+3 -3
nixos/modules/misc/lib.nix
··· 1 - { config, pkgs, ... }: 2 3 { 4 options = { 5 - lib = pkgs.lib.mkOption { 6 default = {}; 7 8 - type = pkgs.lib.types.attrsOf pkgs.lib.types.attrs; 9 10 description = '' 11 This option allows modules to define helper functions, constants, etc.
··· 1 + { config, lib, ... }: 2 3 { 4 options = { 5 + lib = lib.mkOption { 6 default = {}; 7 8 + type = lib.types.attrsOf lib.types.attrs; 9 10 description = '' 11 This option allows modules to define helper functions, constants, etc.
+2 -2
nixos/modules/misc/passthru.nix
··· 1 # This module allows you to export something from configuration 2 # Use case: export kernel source expression for ease of configuring 3 4 - { config, pkgs, ... }: 5 6 { 7 options = { 8 - passthru = pkgs.lib.mkOption { 9 visible = false; 10 description = '' 11 This attribute set will be exported as a system attribute.
··· 1 # This module allows you to export something from configuration 2 # Use case: export kernel source expression for ease of configuring 3 4 + { config, lib, ... }: 5 6 { 7 options = { 8 + passthru = lib.mkOption { 9 visible = false; 10 description = '' 11 This attribute set will be exported as a system attribute.
+1
nixos/modules/module-list.nix
··· 237 ./services/networking/wicd.nix 238 ./services/networking/wpa_supplicant.nix 239 ./services/networking/xinetd.nix 240 ./services/printing/cupsd.nix 241 ./services/scheduling/atd.nix 242 ./services/scheduling/cron.nix
··· 237 ./services/networking/wicd.nix 238 ./services/networking/wpa_supplicant.nix 239 ./services/networking/xinetd.nix 240 + ./services/networking/znc.nix 241 ./services/printing/cupsd.nix 242 ./services/scheduling/atd.nix 243 ./services/scheduling/cron.nix
+2 -2
nixos/modules/programs/blcr.nix
··· 1 - { config, pkgs, ... }: 2 3 let 4 - inherit (pkgs.lib) mkOption mkIf; 5 cfg = config.environment.blcr; 6 blcrPkg = config.boot.kernelPackages.blcr; 7 in
··· 1 + { config, lib, ... }: 2 3 let 4 + inherit (lib) mkOption mkIf; 5 cfg = config.environment.blcr; 6 blcrPkg = config.boot.kernelPackages.blcr; 7 in
+2 -2
nixos/modules/programs/screen.nix
··· 1 - { config, pkgs, ... }: 2 3 let 4 - inherit (pkgs.lib) mkOption mkIf types; 5 cfg = config.programs.screen; 6 in 7
··· 1 + { config, lib, ... }: 2 3 let 4 + inherit (lib) mkOption mkIf types; 5 cfg = config.programs.screen; 6 in 7
+2 -2
nixos/modules/programs/shadow.nix
··· 40 41 options = { 42 43 - users.defaultUserShell = pkgs.lib.mkOption { 44 description = '' 45 This option defines the default shell assigned to user 46 accounts. This must not be a store path, since the path is ··· 60 config = { 61 62 environment.systemPackages = 63 - pkgs.lib.optional config.users.mutableUsers pkgs.shadow; 64 65 environment.etc = 66 [ { # /etc/login.defs: global configuration for pwdutils. You
··· 40 41 options = { 42 43 + users.defaultUserShell = lib.mkOption { 44 description = '' 45 This option defines the default shell assigned to user 46 accounts. This must not be a store path, since the path is ··· 60 config = { 61 62 environment.systemPackages = 63 + lib.optional config.users.mutableUsers pkgs.shadow; 64 65 environment.etc = 66 [ { # /etc/login.defs: global configuration for pwdutils. You
+1
nixos/modules/programs/virtualbox.nix
··· 14 services.udev.extraRules = 15 '' 16 KERNEL=="vboxdrv", OWNER="root", GROUP="vboxusers", MODE="0660", TAG+="systemd" 17 KERNEL=="vboxnetctl", OWNER="root", GROUP="root", MODE="0600", TAG+="systemd" 18 SUBSYSTEM=="usb_device", ACTION=="add", RUN+="${virtualbox}/libexec/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}" 19 SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="${virtualbox}/libexec/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
··· 14 services.udev.extraRules = 15 '' 16 KERNEL=="vboxdrv", OWNER="root", GROUP="vboxusers", MODE="0660", TAG+="systemd" 17 + KERNEL=="vboxdrvu", OWNER="root", GROUP="root", MODE="0666", TAG+="systemd" 18 KERNEL=="vboxnetctl", OWNER="root", GROUP="root", MODE="0600", TAG+="systemd" 19 SUBSYSTEM=="usb_device", ACTION=="add", RUN+="${virtualbox}/libexec/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}" 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 { config, lib, pkgs, ... }: 2 3 - with lib; 4 with pkgs; 5 6 let 7
··· 1 { config, lib, pkgs, ... }: 2 3 with pkgs; 4 + with lib; 5 6 let 7
+1 -1
nixos/modules/services/backup/sitecopy-backup.nix
··· 73 touch ${stateDir}/sitecopy.secrets 74 chown root ${stateDir}/sitecopy.secrets 75 76 - ${pkgs.lib.concatStrings (map ( b: '' 77 unset secrets 78 unset secret 79 secrets=`grep '^${b.server}' ${stateDir}/sitecopy.secrets | head -1`
··· 73 touch ${stateDir}/sitecopy.secrets 74 chown root ${stateDir}/sitecopy.secrets 75 76 + ${lib.concatStrings (map ( b: '' 77 unset secrets 78 unset secret 79 secrets=`grep '^${b.server}' ${stateDir}/sitecopy.secrets | head -1`
+1 -1
nixos/modules/services/databases/postgresql.nix
··· 85 Defines how users authenticate themselves to the server. By 86 default, "trust" access to local users will always be granted 87 along with any other custom options. If you do not want this, 88 - set this option using "pkgs.lib.mkForce" to override this 89 behaviour. 90 ''; 91 };
··· 85 Defines how users authenticate themselves to the server. By 86 default, "trust" access to local users will always be granted 87 along with any other custom options. If you do not want this, 88 + set this option using "lib.mkForce" to override this 89 behaviour. 90 ''; 91 };
+2 -2
nixos/modules/services/desktops/gnome3/gnome-documents.nix
··· 1 # GNOME Documents daemon. 2 3 - { config, pkgs, ... }: 4 5 - with pkgs.lib; 6 7 let 8 gnome3 = config.environment.gnome3.packageSet;
··· 1 # GNOME Documents daemon. 2 3 + { config, pkgs, lib, ... }: 4 5 + with lib; 6 7 let 8 gnome3 = config.environment.gnome3.packageSet;
+2 -2
nixos/modules/services/desktops/gnome3/gnome-keyring.nix
··· 1 # GNOME Keyring daemon. 2 3 - { config, pkgs, ... }: 4 5 - with pkgs.lib; 6 7 let 8 gnome3 = config.environment.gnome3.packageSet;
··· 1 # GNOME Keyring daemon. 2 3 + { config, pkgs, lib, ... }: 4 5 + with lib; 6 7 let 8 gnome3 = config.environment.gnome3.packageSet;
+2 -2
nixos/modules/services/desktops/gnome3/gnome-online-accounts.nix
··· 1 # GNOME Online Accounts daemon. 2 3 - { config, pkgs, ... }: 4 5 - with pkgs.lib; 6 7 let 8 gnome3 = config.environment.gnome3.packageSet;
··· 1 # GNOME Online Accounts daemon. 2 3 + { config, pkgs, lib, ... }: 4 5 + with lib; 6 7 let 8 gnome3 = config.environment.gnome3.packageSet;
+2 -2
nixos/modules/services/desktops/gnome3/gnome-online-miners.nix
··· 1 # GNOME Online Miners daemon. 2 3 - { config, pkgs, ... }: 4 5 - with pkgs.lib; 6 7 let 8 gnome3 = config.environment.gnome3.packageSet;
··· 1 # GNOME Online Miners daemon. 2 3 + { config, pkgs, lib, ... }: 4 5 + with lib; 6 7 let 8 gnome3 = config.environment.gnome3.packageSet;
+2 -2
nixos/modules/services/desktops/gnome3/gnome-user-share.nix
··· 1 # GNOME User Share daemon. 2 3 - { config, pkgs, ... }: 4 5 - with pkgs.lib; 6 7 let 8 gnome3 = config.environment.gnome3.packageSet;
··· 1 # GNOME User Share daemon. 2 3 + { config, pkgs, lib, ... }: 4 5 + with lib; 6 7 let 8 gnome3 = config.environment.gnome3.packageSet;
+2 -2
nixos/modules/services/desktops/gnome3/gvfs.nix
··· 1 # gvfs backends 2 3 - { config, pkgs, ... }: 4 5 - with pkgs.lib; 6 7 let 8 gnome3 = config.environment.gnome3.packageSet;
··· 1 # gvfs backends 2 3 + { config, lib, ... }: 4 5 + with lib; 6 7 let 8 gnome3 = config.environment.gnome3.packageSet;
+2 -2
nixos/modules/services/desktops/gnome3/seahorse.nix
··· 1 # Seahorse daemon. 2 3 - { config, pkgs, ... }: 4 5 - with pkgs.lib; 6 7 let 8 gnome3 = config.environment.gnome3.packageSet;
··· 1 # Seahorse daemon. 2 3 + { config, pkgs, lib, ... }: 4 5 + with lib; 6 7 let 8 gnome3 = config.environment.gnome3.packageSet;
+2 -2
nixos/modules/services/desktops/gnome3/tracker.nix
··· 1 # Tracker daemon. 2 3 - { config, pkgs, ... }: 4 5 - with pkgs.lib; 6 7 let 8 gnome3 = config.environment.gnome3.packageSet;
··· 1 # Tracker daemon. 2 3 + { config, pkgs, lib, ... }: 4 5 + with lib; 6 7 let 8 gnome3 = config.environment.gnome3.packageSet;
+1 -1
nixos/modules/services/hardware/acpid.nix
··· 16 echo "event=${event.event}" > $fn 17 echo "action=${pkgs.writeScript "${event.name}.sh" event.action}" >> $fn 18 ''; 19 - in pkgs.lib.concatMapStrings f events 20 } 21 ''; 22
··· 16 echo "event=${event.event}" > $fn 17 echo "action=${pkgs.writeScript "${event.name}.sh" event.action}" >> $fn 18 ''; 19 + in lib.concatMapStrings f events 20 } 21 ''; 22
+4 -4
nixos/modules/services/hardware/amd-hybrid-graphics.nix
··· 1 - { config, pkgs, ... }: 2 3 { 4 ··· 6 7 options = { 8 9 - hardware.amdHybridGraphics.disable = pkgs.lib.mkOption { 10 default = false; 11 - type = pkgs.lib.types.bool; 12 description = '' 13 Completely disable the AMD graphics card and use the 14 integrated graphics processor instead. ··· 20 21 ###### implementation 22 23 - config = pkgs.lib.mkIf config.hardware.amdHybridGraphics.disable { 24 systemd.services."amd-hybrid-graphics" = { 25 path = [ pkgs.bash ]; 26 description = "Disable AMD Card";
··· 1 + { config, pkgs, lib, ... }: 2 3 { 4 ··· 6 7 options = { 8 9 + hardware.amdHybridGraphics.disable = lib.mkOption { 10 default = false; 11 + type = lib.types.bool; 12 description = '' 13 Completely disable the AMD graphics card and use the 14 integrated graphics processor instead. ··· 20 21 ###### implementation 22 23 + config = lib.mkIf config.hardware.amdHybridGraphics.disable { 24 systemd.services."amd-hybrid-graphics" = { 25 path = [ pkgs.bash ]; 26 description = "Disable AMD Card";
+4 -4
nixos/modules/services/hardware/nvidia-optimus.nix
··· 1 - { config, pkgs, ... }: 2 3 let kernel = config.boot.kernelPackages; in 4 ··· 8 9 options = { 10 11 - hardware.nvidiaOptimus.disable = pkgs.lib.mkOption { 12 default = false; 13 - type = pkgs.lib.types.bool; 14 description = '' 15 Completely disable the NVIDIA graphics card and use the 16 integrated graphics processor instead. ··· 22 23 ###### implementation 24 25 - config = pkgs.lib.mkIf config.hardware.nvidiaOptimus.disable { 26 boot.blacklistedKernelModules = ["nouveau" "nvidia" "nvidiafb"]; 27 boot.kernelModules = [ "bbswitch" ]; 28 boot.extraModulePackages = [ kernel.bbswitch ];
··· 1 + { config, pkgs, lib, ... }: 2 3 let kernel = config.boot.kernelPackages; in 4 ··· 8 9 options = { 10 11 + hardware.nvidiaOptimus.disable = lib.mkOption { 12 default = false; 13 + type = lib.types.bool; 14 description = '' 15 Completely disable the NVIDIA graphics card and use the 16 integrated graphics processor instead. ··· 22 23 ###### implementation 24 25 + config = lib.mkIf config.hardware.nvidiaOptimus.disable { 26 boot.blacklistedKernelModules = ["nouveau" "nvidia" "nvidiafb"]; 27 boot.kernelModules = [ "bbswitch" ]; 28 boot.extraModulePackages = [ kernel.bbswitch ];
+2 -2
nixos/modules/services/monitoring/monit.nix
··· 1 # Monit system watcher 2 # http://mmonit.org/monit/ 3 4 - {config, pkgs, ...}: 5 6 - let inherit (pkgs.lib) mkOption mkIf; 7 in 8 9 {
··· 1 # Monit system watcher 2 # http://mmonit.org/monit/ 3 4 + {config, pkgs, lib, ...}: 5 6 + let inherit (lib) mkOption mkIf; 7 in 8 9 {
+2 -2
nixos/modules/services/monitoring/uptime.nix
··· 1 - { config, pkgs, ... }: 2 let 3 - inherit (pkgs.lib) mkOption mkEnableOption mkIf mkMerge types optionalAttrs optional; 4 5 cfg = config.services.uptime; 6
··· 1 + { config, pkgs, lib, ... }: 2 let 3 + inherit (lib) mkOption mkEnableOption mkIf mkMerge types optionalAttrs optional; 4 5 cfg = config.services.uptime; 6
+2 -2
nixos/modules/services/network-filesystems/openafs-client/default.nix
··· 1 - { config, pkgs, ... }: 2 3 let 4 - inherit (pkgs.lib) mkOption mkIf; 5 6 cfg = config.services.openafsClient; 7
··· 1 + { config, pkgs, lib, ... }: 2 3 let 4 + inherit (lib) mkOption mkIf; 5 6 cfg = config.services.openafsClient; 7
+3 -3
nixos/modules/services/network-filesystems/rsyncd.nix
··· 1 - { config, pkgs, ... }: 2 3 - with pkgs.lib; 4 5 let 6 ··· 136 137 networking.firewall.allowedTCPPorts = [ cfg.port ]; 138 }; 139 - }
··· 1 + { config, pkgs, lib, ... }: 2 3 + with lib; 4 5 let 6 ··· 136 137 networking.firewall.allowedTCPPorts = [ cfg.port ]; 138 }; 139 + }
+1 -1
nixos/modules/services/networking/connman.nix
··· 1 { config, lib, pkgs, ... }: 2 3 - with lib; 4 with pkgs; 5 6 let 7 cfg = config.networking.connman;
··· 1 { config, lib, pkgs, ... }: 2 3 with pkgs; 4 + with lib; 5 6 let 7 cfg = config.networking.connman;
+2 -2
nixos/modules/services/networking/ddclient.nix
··· 1 - { config, pkgs, ... }: 2 3 let 4 5 - inherit (pkgs.lib) mkOption mkIf singleton; 6 7 inherit (pkgs) ddclient; 8
··· 1 + { config, pkgs, lib, ... }: 2 3 let 4 5 + inherit (lib) mkOption mkIf singleton; 6 7 inherit (pkgs) ddclient; 8
+1 -1
nixos/modules/services/networking/dhcpd.nix
··· 18 19 ${cfg.extraConfig} 20 21 - ${pkgs.lib.concatMapStrings 22 (machine: '' 23 host ${machine.hostName} { 24 hardware ethernet ${machine.ethernetAddress};
··· 18 19 ${cfg.extraConfig} 20 21 + ${lib.concatMapStrings 22 (machine: '' 23 host ${machine.hostName} { 24 hardware ethernet ${machine.ethernetAddress};
+2 -2
nixos/modules/services/networking/gvpe.nix
··· 1 # GNU Virtual Private Ethernet 2 3 - {config, pkgs, ...}: 4 5 let 6 - inherit (pkgs.lib) mkOption mkIf; 7 8 cfg = config.services.gvpe; 9
··· 1 # GNU Virtual Private Ethernet 2 3 + {config, pkgs, lib, ...}: 4 5 let 6 + inherit (lib) mkOption mkIf; 7 8 cfg = config.services.gvpe; 9
+2 -2
nixos/modules/services/networking/networkmanager.nix
··· 1 { config, lib, pkgs, ... }: 2 3 - with lib; 4 with pkgs; 5 6 let 7 cfg = config.networking.networkmanager; ··· 151 { source = "${networkmanager_pptp}/etc/NetworkManager/VPN/nm-pptp-service.name"; 152 target = "NetworkManager/VPN/nm-pptp-service.name"; 153 } 154 - ] ++ pkgs.lib.optional (cfg.appendNameservers == [] || cfg.insertNameservers == []) 155 { source = overrideNameserversScript; 156 target = "NetworkManager/dispatcher.d/02overridedns"; 157 };
··· 1 { config, lib, pkgs, ... }: 2 3 with pkgs; 4 + with lib; 5 6 let 7 cfg = config.networking.networkmanager; ··· 151 { source = "${networkmanager_pptp}/etc/NetworkManager/VPN/nm-pptp-service.name"; 152 target = "NetworkManager/VPN/nm-pptp-service.name"; 153 } 154 + ] ++ optional (cfg.appendNameservers == [] || cfg.insertNameservers == []) 155 { source = overrideNameserversScript; 156 target = "NetworkManager/dispatcher.d/02overridedns"; 157 };
+1 -1
nixos/modules/services/networking/notbit.nix
··· 1 { config, lib, pkgs, ... }: 2 3 - with pkgs.lib; 4 let 5 cfg = config.services.notbit; 6 varDir = "/var/lib/notbit";
··· 1 { config, lib, pkgs, ... }: 2 3 + with lib; 4 let 5 cfg = config.services.notbit; 6 varDir = "/var/lib/notbit";
+2 -2
nixos/modules/services/networking/nsd.nix
··· 1 - { config, pkgs, ... }: 2 3 - with pkgs.lib; 4 5 let 6 cfg = config.services.nsd;
··· 1 + { config, pkgs, lib, ... }: 2 3 + with lib; 4 5 let 6 cfg = config.services.nsd;
+2 -2
nixos/modules/services/networking/teamspeak3.nix
··· 1 - { config, pkgs, ... }: 2 3 - with pkgs.lib; 4 5 let 6 ts3 = pkgs.teamspeak_server;
··· 1 + { config, lib, pkgs, ... }: 2 3 + with lib; 4 5 let 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 MAILTO="${config.services.cron.mailto}" 16 ''} 17 NIX_CONF_DIR=/etc/nix 18 - ${pkgs.lib.concatStrings (map (job: job + "\n") config.services.cron.systemCronJobs)} 19 ''; 20 21 # Vixie cron requires build-time configuration for the sendmail path.
··· 15 MAILTO="${config.services.cron.mailto}" 16 ''} 17 NIX_CONF_DIR=/etc/nix 18 + ${lib.concatStrings (map (job: job + "\n") config.services.cron.systemCronJobs)} 19 ''; 20 21 # Vixie cron requires build-time configuration for the sendmail path.
+1 -1
nixos/modules/services/scheduling/fcron.nix
··· 17 MAILTO="${config.services.cron.mailto}" 18 ''} 19 NIX_CONF_DIR=/etc/nix 20 - ${pkgs.lib.concatStrings (map (job: job + "\n") config.services.cron.systemCronJobs)} 21 ''; 22 23 allowdeny = target: users:
··· 17 MAILTO="${config.services.cron.mailto}" 18 ''} 19 NIX_CONF_DIR=/etc/nix 20 + ${lib.concatStrings (map (job: job + "\n") config.services.cron.systemCronJobs)} 21 ''; 22 23 allowdeny = target: users:
+4 -4
nixos/modules/services/security/frandom.nix
··· 1 - {pkgs, config, ...}: 2 3 let kernel = config.boot.kernelPackages; 4 in ··· 9 10 options = { 11 12 - services.frandom.enable = pkgs.lib.mkOption { 13 default = false; 14 - type = pkgs.lib.types.bool; 15 description = '' 16 enable the /dev/frandom device (a very fast random number generator) 17 ''; ··· 22 23 ###### implementation 24 25 - config = pkgs.lib.mkIf config.services.frandom.enable { 26 boot.kernelModules = [ "frandom" ]; 27 boot.extraModulePackages = [ kernel.frandom ]; 28 services.udev.packages = [ kernel.frandom ];
··· 1 + {lib, config, ...}: 2 3 let kernel = config.boot.kernelPackages; 4 in ··· 9 10 options = { 11 12 + services.frandom.enable = lib.mkOption { 13 default = false; 14 + type = lib.types.bool; 15 description = '' 16 enable the /dev/frandom device (a very fast random number generator) 17 ''; ··· 22 23 ###### implementation 24 25 + config = lib.mkIf config.services.frandom.enable { 26 boot.kernelModules = [ "frandom" ]; 27 boot.extraModulePackages = [ kernel.frandom ]; 28 services.udev.packages = [ kernel.frandom ];
+3 -3
nixos/modules/services/system/kerberos.nix
··· 1 - {pkgs, config, ...}: 2 3 let 4 5 - inherit (pkgs.lib) mkOption mkIf singleton; 6 7 inherit (pkgs) heimdal; 8 ··· 36 environment.systemPackages = [ heimdal ]; 37 38 services.xinetd.enable = true; 39 - services.xinetd.services = pkgs.lib.singleton 40 { name = "kerberos-adm"; 41 flags = "REUSE NAMEINARGS"; 42 protocol = "tcp";
··· 1 + {pkgs, config, lib, ...}: 2 3 let 4 5 + inherit (lib) mkOption mkIf singleton; 6 7 inherit (pkgs) heimdal; 8 ··· 36 environment.systemPackages = [ heimdal ]; 37 38 services.xinetd.enable = true; 39 + services.xinetd.services = lib.singleton 40 { name = "kerberos-adm"; 41 flags = "REUSE NAMEINARGS"; 42 protocol = "tcp";
+1 -1
nixos/modules/services/system/nscd.nix
··· 7 nssModulesPath = config.system.nssModules.path; 8 cfg = config.services.nscd; 9 10 - inherit (pkgs.lib) singleton; 11 12 cfgFile = pkgs.writeText "nscd.conf" cfg.config; 13
··· 7 nssModulesPath = config.system.nssModules.path; 8 cfg = config.services.nscd; 9 10 + inherit (lib) singleton; 11 12 cfgFile = pkgs.writeText "nscd.conf" cfg.config; 13
+2 -2
nixos/modules/services/system/uptimed.nix
··· 1 - {pkgs, config, ...}: 2 3 let 4 5 - inherit (pkgs.lib) mkOption mkIf singleton; 6 7 inherit (pkgs) uptimed; 8
··· 1 + {pkgs, config, lib, ...}: 2 3 let 4 5 + inherit (lib) mkOption mkIf singleton; 6 7 inherit (pkgs) uptimed; 8
+2 -2
nixos/modules/services/ttys/kmscon.nix
··· 1 - { config, pkgs, ... }: 2 let 3 - inherit (pkgs.lib) mkOption types mkIf optionalString; 4 5 cfg = config.services.kmscon; 6
··· 1 + { config, pkgs, lib, ... }: 2 let 3 + inherit (lib) mkOption types mkIf optionalString; 4 5 cfg = config.services.kmscon; 6
+7 -6
nixos/modules/services/web-servers/apache-httpd/mediawiki.nix
··· 72 73 # Unpack Mediawiki and put the config file in its root directory. 74 mediawikiRoot = pkgs.stdenv.mkDerivation rec { 75 - name= "mediawiki-1.20.8"; 76 77 src = pkgs.fetchurl { 78 - url = "http://download.wikimedia.org/mediawiki/1.20/${name}.tar.gz"; 79 - sha256 = "0yfmh5vnfbgpvicfqh7nh4hwdk4qbc6gfniv02vchkg5al0nn7ag"; 80 }; 81 82 skins = config.skins; ··· 93 mkdir -p $out 94 cp -r * $out 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 \ 99 $out/includes/GlobalFunctions.php 100 ''; 101 };
··· 72 73 # Unpack Mediawiki and put the config file in its root directory. 74 mediawikiRoot = pkgs.stdenv.mkDerivation rec { 75 + name= "mediawiki-1.23.1"; 76 77 src = pkgs.fetchurl { 78 + url = "http://download.wikimedia.org/mediawiki/1.23/${name}.tar.gz"; 79 + sha256 = "07z5j8d988cdg4ml4n0vs9fwmj0p594ibbqdid16faxwqm52dkhl"; 80 }; 81 82 skins = config.skins; ··· 93 mkdir -p $out 94 cp -r * $out 95 cp ${mediawikiConfig} $out/LocalSettings.php 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 \ 100 $out/includes/GlobalFunctions.php 101 ''; 102 };
+2 -2
nixos/modules/services/web-servers/apache-httpd/mercurial.nix
··· 1 - { config, pkgs, serverInfo, ... }: 2 3 let 4 inherit (pkgs) mercurial; 5 - inherit (pkgs.lib) mkOption; 6 7 urlPrefix = config.urlPrefix; 8
··· 1 + { config, pkgs, serverInfo, lib, ... }: 2 3 let 4 inherit (pkgs) mercurial; 5 + inherit (lib) mkOption; 6 7 urlPrefix = config.urlPrefix; 8
+2 -2
nixos/modules/services/web-servers/apache-httpd/tomcat-connector.nix
··· 1 - { config, pkgs, serverInfo, ... }: 2 3 let 4 - extraWorkersProperties = pkgs.lib.optionalString (config ? extraWorkersProperties) config.extraWorkersProperties; 5 6 workersProperties = pkgs.writeText "workers.properties" '' 7 # Define list of workers that will be used
··· 1 + { config, pkgs, serverInfo, lib, ... }: 2 3 let 4 + extraWorkersProperties = lib.optionalString (config ? extraWorkersProperties) config.extraWorkersProperties; 5 6 workersProperties = pkgs.writeText "workers.properties" '' 7 # Define list of workers that will be used
+2 -2
nixos/modules/services/x11/window-managers/openbox.nix
··· 1 - {pkgs, config, ...}: 2 3 let 4 - inherit (pkgs.lib) mkOption mkIf; 5 cfg = config.services.xserver.windowManager.openbox; 6 in 7
··· 1 + {lib, pkgs, config, ...}: 2 3 let 4 + inherit (lib) mkOption mkIf; 5 cfg = config.services.xserver.windowManager.openbox; 6 in 7
+3 -3
nixos/modules/services/x11/window-managers/xmonad.nix
··· 1 - {pkgs, config, ...}: 2 3 let 4 - inherit (pkgs.lib) mkOption mkIf optionals literalExample; 5 cfg = config.services.xserver.windowManager.xmonad; 6 xmonadEnv = cfg.haskellPackages.ghcWithPackages(self: [ 7 self.xmonad ··· 48 enableContribAndExtras = mkOption { 49 default = false; 50 example = true; 51 - type = pkgs.lib.types.bool; 52 description = "Enable xmonad-{contrib,extras} in Xmonad."; 53 }; 54 };
··· 1 + {pkgs, lib, config, ...}: 2 3 let 4 + inherit (lib) mkOption mkIf optionals literalExample; 5 cfg = config.services.xserver.windowManager.xmonad; 6 xmonadEnv = cfg.haskellPackages.ghcWithPackages(self: [ 7 self.xmonad ··· 48 enableContribAndExtras = mkOption { 49 default = false; 50 example = true; 51 + type = lib.types.bool; 52 description = "Enable xmonad-{contrib,extras} in Xmonad."; 53 }; 54 };
+2 -2
nixos/modules/tasks/encrypted-devices.nix
··· 1 - { config, pkgs, modulesPath, ... }: 2 3 - with pkgs.lib; 4 5 let 6 fileSystems = attrValues config.fileSystems ++ config.swapDevices;
··· 1 + { config, lib, ... }: 2 3 + with lib; 4 5 let 6 fileSystems = attrValues config.fileSystems ++ config.swapDevices;
+2 -2
nixos/modules/tasks/filesystems/f2fs.nix
··· 1 - { config, pkgs, ... }: 2 3 - with pkgs.lib; 4 5 let 6 inInitrd = any (fs: fs == "f2fs") config.boot.initrd.supportedFilesystems;
··· 1 + { config, pkgs, lib, ... }: 2 3 + with lib; 4 5 let 6 inInitrd = any (fs: fs == "f2fs") config.boot.initrd.supportedFilesystems;
+4 -4
nixos/modules/tasks/filesystems/unionfs-fuse.nix
··· 1 - { config, pkgs, ... }: 2 3 { 4 - config = pkgs.lib.mkMerge [ 5 - (pkgs.lib.mkIf (pkgs.lib.any (fs: fs == "unionfs-fuse") config.boot.initrd.supportedFilesystems) { 6 boot.initrd.kernelModules = [ "fuse" ]; 7 8 boot.initrd.extraUtilsCommands = '' ··· 17 ln -s $(which umount) /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-${pkgs.utillinux.name}/bin 18 ''; 19 }) 20 - (pkgs.lib.mkIf (pkgs.lib.any (fs: fs == "unionfs-fuse") config.boot.supportedFilesystems) { 21 system.fsPackages = [ pkgs.unionfs-fuse ]; 22 }) 23 ];
··· 1 + { config, pkgs, lib, ... }: 2 3 { 4 + config = lib.mkMerge [ 5 + (lib.mkIf (lib.any (fs: fs == "unionfs-fuse") config.boot.initrd.supportedFilesystems) { 6 boot.initrd.kernelModules = [ "fuse" ]; 7 8 boot.initrd.extraUtilsCommands = '' ··· 17 ln -s $(which umount) /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-${pkgs.utillinux.name}/bin 18 ''; 19 }) 20 + (lib.mkIf (lib.any (fs: fs == "unionfs-fuse") config.boot.supportedFilesystems) { 21 system.fsPackages = [ pkgs.unionfs-fuse ]; 22 }) 23 ];
+2 -2
nixos/modules/testing/minimal-kernel.nix
··· 1 - { config, pkgs, ... }: 2 3 let 4 - configfile = builtins.storePath (builtins.toFile "config" (pkgs.lib.concatStringsSep "\n" 5 (map (builtins.getAttr "configLine") config.system.requiredKernelConfig)) 6 ); 7
··· 1 + { config, pkgs, lib, ... }: 2 3 let 4 + configfile = builtins.storePath (builtins.toFile "config" (lib.concatStringsSep "\n" 5 (map (builtins.getAttr "configLine") config.system.requiredKernelConfig)) 6 ); 7
+4 -1
nixos/modules/virtualisation/virtualbox-guest.nix
··· 11 12 in 13 14 - optionalAttrs (pkgs.stdenv.isi686 || pkgs.stdenv.isx86_64) # ugly... 15 { 16 17 ###### interface ··· 33 ###### implementation 34 35 config = mkIf cfg.enable { 36 37 environment.systemPackages = [ kernel.virtualboxGuestAdditions ]; 38
··· 11 12 in 13 14 { 15 16 ###### interface ··· 32 ###### implementation 33 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 + } ]; 39 40 environment.systemPackages = [ kernel.virtualboxGuestAdditions ]; 41
+1 -1
nixos/tests/installer.nix
··· 370 # Rebuild the CD configuration with a little modification. 371 rebuildCD = makeTest 372 { inherit iso; 373 - name = "rebuild-CD"; 374 nodes = { }; 375 testScript = 376 ''
··· 370 # Rebuild the CD configuration with a little modification. 371 rebuildCD = makeTest 372 { inherit iso; 373 + name = "rebuild-cd"; 374 nodes = { }; 375 testScript = 376 ''
+6 -6
nixos/tests/mumble.nix
··· 30 $client1->execute("mumble mumble://client1\@server/test &"); 31 $client2->execute("mumble mumble://client2\@server/test &"); 32 33 - $client1->waitForWindow(qr/Mumble/); 34 - $client2->waitForWindow(qr/Mumble/); 35 - $server->sleep(3); # Wait some more for the Mumble UI 36 - 37 # cancel client audio configuration 38 $client1->sendKeys("esc"); 39 $client2->sendKeys("esc"); 40 - $server->sleep(1); 41 42 # cancel client cert configuration 43 $client1->sendKeys("esc"); 44 $client2->sendKeys("esc"); 45 - $server->sleep(1); 46 47 # accept server certificate 48 $client1->sendChars("y"); 49 $client2->sendChars("y"); 50
··· 30 $client1->execute("mumble mumble://client1\@server/test &"); 31 $client2->execute("mumble mumble://client2\@server/test &"); 32 33 # cancel client audio configuration 34 + $client1->waitForWindow(qr/Audio Tuning Wizard/); 35 + $client2->waitForWindow(qr/Audio Tuning Wizard/); 36 $client1->sendKeys("esc"); 37 $client2->sendKeys("esc"); 38 39 # cancel client cert configuration 40 + $client1->waitForWindow(qr/Certificate Management/); 41 + $client2->waitForWindow(qr/Certificate Management/); 42 $client1->sendKeys("esc"); 43 $client2->sendKeys("esc"); 44 45 # accept server certificate 46 + $client1->waitForWindow(qr/^Mumble$/); 47 + $client2->waitForWindow(qr/^Mumble$/); 48 $client1->sendChars("y"); 49 $client2->sendChars("y"); 50
+1 -1
nixos/tests/simple.nix
··· 1 import ./make-test.nix { 2 - name = "simple" 3 4 machine = { config, pkgs, ... }: { }; 5
··· 1 import ./make-test.nix { 2 + name = "simple"; 3 4 machine = { config, pkgs, ... }: { }; 5
+2 -2
pkgs/applications/editors/emacs-modes/writegood/default.nix
··· 1 {stdenv, fetchurl, emacs}: 2 3 - let version = "1.3"; 4 5 in stdenv.mkDerivation { 6 name = "writegood-mode-${version}"; 7 src = fetchurl { 8 url = "https://github.com/bnbeckwith/writegood-mode/archive/v${version}.tar.gz"; 9 - sha256 = "0p34rgawnqg94vk4lcw14x99rrvsd23dmbwkxz2vax5kq6l8y5yf"; 10 }; 11 12 buildInputs = [ emacs ];
··· 1 {stdenv, fetchurl, emacs}: 2 3 + let version = "2.0"; 4 5 in stdenv.mkDerivation { 6 name = "writegood-mode-${version}"; 7 src = fetchurl { 8 url = "https://github.com/bnbeckwith/writegood-mode/archive/v${version}.tar.gz"; 9 + sha256 = "0wf7bj9d00ggy3xigym885a3njfr98i3aqrrawf8x6lgbfc56dgp"; 10 }; 11 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 7 cabal.mkDerivation (self: { 8 pname = "arbtt"; 9 - version = "0.8"; 10 - sha256 = "0anjcg8ikd3jxc5rb3k215wj7ar4kg2plv8sdr8hv64758xkc5q9"; 11 isLibrary = false; 12 isExecutable = true; 13 buildDepends = [
··· 6 7 cabal.mkDerivation (self: { 8 pname = "arbtt"; 9 + version = "0.8.1"; 10 + sha256 = "1qzmqjm8pfj59h0hrm28pp6qhzz2am5xq81mirnnchsgg52wrfn0"; 11 isLibrary = false; 12 isExecutable = true; 13 buildDepends = [
+3 -3
pkgs/applications/misc/xmobar/default.nix
··· 6 7 cabal.mkDerivation (self: { 8 pname = "xmobar"; 9 - version = "0.20.1"; 10 - sha256 = "16jfgn6ciqxrwj6qjhbcpms7mzlbxfaxyxfxp64xvnw626xlpjvk"; 11 isLibrary = false; 12 isExecutable = true; 13 buildDepends = [ ··· 18 extraLibraries = [ libXrandr wirelesstools ]; 19 configureFlags = "-fall_extensions"; 20 meta = { 21 - homepage = "http://projects.haskell.org/xmobar/"; 22 description = "A Minimalistic Text Based Status Bar"; 23 license = self.stdenv.lib.licenses.bsd3; 24 platforms = self.ghc.meta.platforms;
··· 6 7 cabal.mkDerivation (self: { 8 pname = "xmobar"; 9 + version = "0.21"; 10 + sha256 = "1h0gsb808zm4j4kmw7fl4339wllc16ldy1ki96l8w3fvj30bcxpm"; 11 isLibrary = false; 12 isExecutable = true; 13 buildDepends = [ ··· 18 extraLibraries = [ libXrandr wirelesstools ]; 19 configureFlags = "-fall_extensions"; 20 meta = { 21 + homepage = "http://xmobar.org"; 22 description = "A Minimalistic Text Based Status Bar"; 23 license = self.stdenv.lib.licenses.bsd3; 24 platforms = self.ghc.meta.platforms;
+3 -3
pkgs/applications/networking/browsers/dwb/default.nix
··· 2 m4, glib_networking, gsettings_desktop_schemas, dconf }: 3 4 stdenv.mkDerivation { 5 - name = "dwb-2014-06-17"; 6 7 src = fetchgit { 8 url = "https://bitbucket.org/portix/dwb.git"; 9 - rev = "9f4bdb9a1f8d5e45071019da4626231dfebd4d8e"; 10 - sha256 = "1nj34w2hhw47jsmswsc1y6a09my8zdd01qxwai8dxdvisld3marm"; 11 }; 12 13 buildInputs = [ pkgconfig makeWrapper gsettings_desktop_schemas libsoup webkit gtk3 gnutls json_c m4 ];
··· 2 m4, glib_networking, gsettings_desktop_schemas, dconf }: 3 4 stdenv.mkDerivation { 5 + name = "dwb-2014-07-03"; 6 7 src = fetchgit { 8 url = "https://bitbucket.org/portix/dwb.git"; 9 + rev = "6224470489eb5ba92987e01396269f8b7cd78ada"; 10 + sha256 = "04p9frsnh1qz067cw36anvr41an789fba839svdjrdva0f2751g8"; 11 }; 12 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 sha256 = "137sslbgh0326lmwihcr2ybljgq9mzsx5wnciilpx884si22wpk8"; 10 }; 11 12 - nativeBuildInputs = [pkgconfig libxslt]; 13 buildInputs = [ libxml2 dbus_glib sqlite libsoup libnice telepathy_glib gnutls ]; 14 15 configureFlags = "--with-ca-certificates=/etc/ssl/certs/ca-bundle.crt"; 16 17 meta = { 18 homepage = http://telepathy.freedesktop.org; 19 }; 20 }
··· 9 sha256 = "137sslbgh0326lmwihcr2ybljgq9mzsx5wnciilpx884si22wpk8"; 10 }; 11 12 + nativeBuildInputs = [ pkgconfig libxslt ]; 13 buildInputs = [ libxml2 dbus_glib sqlite libsoup libnice telepathy_glib gnutls ]; 14 15 configureFlags = "--with-ca-certificates=/etc/ssl/certs/ca-bundle.crt"; 16 17 meta = { 18 homepage = http://telepathy.freedesktop.org; 19 + description = "Jabber/XMPP connection manager for the Telepathy framework"; 20 + platforms = stdenv.lib.platforms.gnu; 21 }; 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 }: 5 6 let 7 - version = "2.83"; 8 in 9 10 with { inherit (stdenv.lib) optional optionals optionalString; }; ··· 14 15 src = fetchurl { 16 url = "http://download.transmissionbt.com/files/transmission-${version}.tar.xz"; 17 - sha256 = "0cqlgl6jmjw1caybz6nzh3l8z0jak1dxba01isv72zvy2r8b1qdh"; 18 }; 19 20 buildInputs = [ pkgconfig intltool file openssl curl libevent inotifyTools ]
··· 4 }: 5 6 let 7 + version = "2.84"; 8 in 9 10 with { inherit (stdenv.lib) optional optionals optionalString; }; ··· 14 15 src = fetchurl { 16 url = "http://download.transmissionbt.com/files/transmission-${version}.tar.xz"; 17 + sha256 = "1sxr1magqb5s26yvr5yhs1f7bmir8gl09niafg64lhgfnhv1kz59"; 18 }; 19 20 buildInputs = [ pkgconfig intltool file openssl curl libevent inotifyTools ]
+5 -5
pkgs/applications/science/math/sloane/default.nix
··· 1 { cabal, ansiTerminal, filepath, HTTP, network, optparseApplicative 2 - , stringsearch, terminalSize, time, zlib 3 }: 4 5 cabal.mkDerivation (self: { 6 pname = "sloane"; 7 - version = "1.8"; 8 - sha256 = "0c30slsswfqwzi39hk6jraxz1y1a2yn8g8nyjvlnggwajx2rlm6p"; 9 isLibrary = false; 10 isExecutable = true; 11 buildDepends = [ 12 - ansiTerminal filepath HTTP network optparseApplicative stringsearch 13 - terminalSize time zlib 14 ]; 15 postInstall = '' 16 mkdir -p $out/share/man/man1
··· 1 { cabal, ansiTerminal, filepath, HTTP, network, optparseApplicative 2 + , terminalSize, text, time, zlib 3 }: 4 5 cabal.mkDerivation (self: { 6 pname = "sloane"; 7 + version = "1.8.2"; 8 + sha256 = "0kdznrvyrax1gihqxxw36jfbmjri808ii827fa71v2ijlm416hk1"; 9 isLibrary = false; 10 isExecutable = true; 11 buildDepends = [ 12 + ansiTerminal filepath HTTP network optparseApplicative terminalSize 13 + text time zlib 14 ]; 15 postInstall = '' 16 mkdir -p $out/share/man/man1
+3 -3
pkgs/applications/science/misc/boinc/default.nix
··· 3 sqlite, gtk, patchelf, libXScrnSaver, libnotify, libX11, libxcb }: 4 5 stdenv.mkDerivation rec { 6 - name = "boinc-7.0.44"; 7 8 src = fetchgit { 9 url = "git://boinc.berkeley.edu/boinc-v2.git"; 10 - rev = "7c449b1fb8a681ceb27d6895751b62a2b3adf0f2"; 11 - sha256 = "0hdramyl9nip3gadp7xiaz8ngyld15i93d8ai1nsd04bmrvdfqia"; 12 }; 13 14 buildInputs = [ libtool automake autoconf m4 pkgconfig curl mesa libXmu libXi
··· 3 sqlite, gtk, patchelf, libXScrnSaver, libnotify, libX11, libxcb }: 4 5 stdenv.mkDerivation rec { 6 + name = "boinc-7.2.42"; 7 8 src = fetchgit { 9 url = "git://boinc.berkeley.edu/boinc-v2.git"; 10 + rev = "dd0d630882547c123ca0f8fda7a62e058d60f6a9"; 11 + sha256 = "1zifpi3mjgaj68fba6kammp3x7z8n2x164zz6fj91xfiapnan56j"; 12 }; 13 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 }: 2 3 - args: stdenv.mkDerivation (args // { 4 - buildInputs = [ php autoreconfHook ] ++ args.buildInputs or []; 5 6 - makeFlags = [ "EXTENSION_DIR=$(out)/lib/php/extensions" ] ++ args.makeFlags or []; 7 8 autoreconfPhase = "phpize"; 9 })
··· 1 + { stdenv, php, autoreconfHook, fetchurl }: 2 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: 12 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; 21 22 autoreconfPhase = "phpize"; 23 })
+5 -8
pkgs/data/fonts/anonymous-pro/default.nix
··· 10 buildInputs = map (n: builtins.getAttr n x) 11 (builtins.attrNames (builtins.removeAttrs x helperArgNames)); 12 sourceInfo = rec { 13 - version="1.002"; 14 name="anonymousPro"; 15 url="http://www.ms-studio.com/FontSales/AnonymousPro-${version}.zip"; 16 - hash="86665847a51cdfb58a1e1dfd8b1ba33f183485affe50b53e3304f63d3d3552ab"; 17 }; 18 in 19 rec { 20 src = a.fetchurl { 21 url = sourceInfo.url; 22 - sha256 = sourceInfo.hash; 23 }; 24 25 name = "${sourceInfo.name}-${sourceInfo.version}"; ··· 43 license = with a.lib.licenses; ofl; 44 hydraPlatforms = []; 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 - }; 51 }; 52 }) x 53
··· 10 buildInputs = map (n: builtins.getAttr n x) 11 (builtins.attrNames (builtins.removeAttrs x helperArgNames)); 12 sourceInfo = rec { 13 + version = "1.002"; 14 name="anonymousPro"; 15 url="http://www.ms-studio.com/FontSales/AnonymousPro-${version}.zip"; 16 + sha256 = "1asj6lykvxh46czbal7ymy2k861zlcdqpz8x3s5bbpqwlm3mhrl6"; 17 }; 18 in 19 rec { 20 src = a.fetchurl { 21 url = sourceInfo.url; 22 + sha256 = sourceInfo.sha256; 23 }; 24 25 name = "${sourceInfo.name}-${sourceInfo.version}"; ··· 43 license = with a.lib.licenses; ofl; 44 hydraPlatforms = []; 45 homepage = "http://www.marksimonson.com/fonts/view/anonymous-pro"; 46 + downloadPage = "http://www.ms-studio.com/FontSales/anonymouspro.html"; 47 + inherit (sourceInfo) version; 48 }; 49 }) x 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 buildInputs = [ pkgconfig gtk3 glib intltool itstool gnome3.libmediaart 17 gdk_pixbuf gnome3.gnome_icon_theme librsvg python3 18 gnome3.grilo libxml2 python3Packages.pygobject3 libnotify 19 - python3Packages.pycairo python3Packages.dbus 20 gst_all_1.gstreamer gst_all_1.gst-plugins-base 21 gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad 22 hicolor_icon_theme gnome3.gnome_icon_theme_symbolic ··· 28 let 29 libPath = stdenv.lib.makeLibraryPath 30 [ glib gtk3 libnotify tracker gnome3.grilo cairo 31 - gst_all_1.gstreamer gst_all_1.gst-plugins-base 32 gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad ]; 33 in 34 ''
··· 16 buildInputs = [ pkgconfig gtk3 glib intltool itstool gnome3.libmediaart 17 gdk_pixbuf gnome3.gnome_icon_theme librsvg python3 18 gnome3.grilo libxml2 python3Packages.pygobject3 libnotify 19 + python3Packages.pycairo python3Packages.dbus gnome3.totem-pl-parser 20 gst_all_1.gstreamer gst_all_1.gst-plugins-base 21 gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad 22 hicolor_icon_theme gnome3.gnome_icon_theme_symbolic ··· 28 let 29 libPath = stdenv.lib.makeLibraryPath 30 [ glib gtk3 libnotify tracker gnome3.grilo cairo 31 + gst_all_1.gstreamer gst_all_1.gst-plugins-base gnome3.totem-pl-parser 32 gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad ]; 33 in 34 ''
+3 -4
pkgs/desktops/gnome-3/3.12/core/empathy/default.nix
··· 19 }; 20 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 ]; 25 propagatedBuildInputs = [ folks telepathy_logger evolution_data_server 26 telepathy_mission_control ]; 27 buildInputs = [ pkgconfig gtk3 glib webkitgtk intltool itstool ··· 31 gcr libsecret pulseaudio gnome3.yelp_xsl gdk_pixbuf 32 libnotify clutter libsoup gnutls libgee p11_kit 33 libcanberra_gtk3 telepathy_farstream farstream 34 gnome3.gsettings_desktop_schemas file libtool librsvg ]; 35 36 NIX_CFLAGS_COMPILE = [ "-I${dbus_glib}/include/dbus-1.0" ··· 41 for f in $out/bin/* $out/libexec/*; do 42 wrapProgram $f \ 43 --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" 45 done 46 rm $out/share/icons/hicolor/icon-theme.cache 47 '';
··· 19 }; 20 21 propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard 22 + gnome_online_accounts shared_mime_info ]; 23 propagatedBuildInputs = [ folks telepathy_logger evolution_data_server 24 telepathy_mission_control ]; 25 buildInputs = [ pkgconfig gtk3 glib webkitgtk intltool itstool ··· 29 gcr libsecret pulseaudio gnome3.yelp_xsl gdk_pixbuf 30 libnotify clutter libsoup gnutls libgee p11_kit 31 libcanberra_gtk3 telepathy_farstream farstream 32 + gnome3.gnome_icon_theme hicolor_icon_theme gnome3.gnome_icon_theme_symbolic 33 gnome3.gsettings_desktop_schemas file libtool librsvg ]; 34 35 NIX_CFLAGS_COMPILE = [ "-I${dbus_glib}/include/dbus-1.0" ··· 40 for f in $out/bin/* $out/libexec/*; do 41 wrapProgram $f \ 42 --set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \ 43 + --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:${gnome3.gnome_themes_standard}/share:$out/share:$GSETTINGS_SCHEMAS_PATH" 44 done 45 rm $out/share/icons/hicolor/icon-theme.cache 46 '';
+2 -2
pkgs/desktops/gnome-3/3.12/core/evolution-data-server/default.nix
··· 21 ++ stdenv.lib.optional valaSupport "--enable-vala-bindings"; 22 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" 26 done 27 ''; 28
··· 21 ++ stdenv.lib.optional valaSupport "--enable-vala-bindings"; 22 23 preFixup = '' 24 + for f in "$out/libexec/"*; do 25 + wrapProgram "$f" --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" 26 done 27 ''; 28
+8
pkgs/desktops/gnome-3/3.12/core/gnome-shell/default.nix
··· 39 40 wrapProgram "$out/libexec/gnome-shell-calendar-server" \ 41 --prefix XDG_DATA_DIRS : "${evolution_data_server}/share:$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" 42 ''; 43 44 meta = with stdenv.lib; { 45 platforms = platforms.linux;
··· 39 40 wrapProgram "$out/libexec/gnome-shell-calendar-server" \ 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 44 ''; 45 + 46 + enableParallelBuilding = true; 47 + 48 + passthru = { 49 + mozillaPlugin = "/lib/mozilla/plugins"; 50 + }; 51 52 meta = with stdenv.lib; { 53 platforms = platforms.linux;
+6 -3
pkgs/development/compilers/compcert/default.nix
··· 12 buildInputs = [ coq ocaml ocamlPackages.menhir ]; 13 14 enableParallelBuilding = true; 15 - configurePhase = "./configure -prefix $out -toolprefix ${gcc}/bin/ ia32-linux"; 16 17 meta = { 18 description = "Formally verified C compiler"; 19 homepage = "http://compcert.inria.fr"; 20 license = stdenv.lib.licenses.inria; 21 - platforms = [ "i686-linux" ]; 22 - maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; 23 }; 24 }
··· 12 buildInputs = [ coq ocaml ocamlPackages.menhir ]; 13 14 enableParallelBuilding = true; 15 + configurePhase = "./configure -prefix $out -toolprefix ${gcc}/bin/ " + 16 + (if stdenv.isDarwin then "ia32-macosx" else "ia32-linux"); 17 18 meta = { 19 description = "Formally verified C compiler"; 20 homepage = "http://compcert.inria.fr"; 21 license = stdenv.lib.licenses.inria; 22 + platforms = stdenv.lib.platforms.linux ++ 23 + stdenv.lib.platforms.darwin; 24 + maintainers = [ stdenv.lib.maintainers.thoughtpolice 25 + stdenv.lib.maintainers.jwiegley ]; 26 }; 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 sed -i '/TestHostname/areturn' src/pkg/os/os_test.go 52 ''; 53 54 - patches = [ ./cacert.patch ]; 55 56 GOOS = "linux"; 57 GOARCH = if stdenv.system == "i686-linux" then "386"
··· 51 sed -i '/TestHostname/areturn' src/pkg/os/os_test.go 52 ''; 53 54 + patches = [ ./cacert.patch ./1_0-opt-error.patch ./1_0-gcc-bug.patch ]; 55 56 GOOS = "linux"; 57 GOARCH = if stdenv.system == "i686-linux" then "386"
+15 -17
pkgs/development/compilers/rust/default.nix
··· 16 17 with if stdenv.system == "i686-linux" then { 18 platform = "linux-i386"; 19 - snapshot = "3bef5684fd0582fbd4ddebd4514182d4f72924f7"; 20 - snapshot_sha = "1c72d65pcgm3z4sly7al09mjvpp8asxbbv7iyzzv5k8f66ny2agy"; 21 target = "i686-unknown-linux-gnu"; 22 } else if stdenv.system == "x86_64-linux" then { 23 platform = "linux-x86_64"; 24 - snapshot = "a7b2af1076d48e4a687a71a21478293e834349bd"; 25 - snapshot_sha = "1c72d65pcgm3z4sly7al09mjvpp8asxbbv7iyzzv5k8f66ny2agy"; 26 target = "x86_64-unknown-linux-gnu"; 27 } else if stdenv.system == "x86_64-darwin" then { 28 platform = "macos-x86_64"; 29 - snapshot = "22b884a3876cb3e40ad942ad68a496b5f239fca5"; 30 - snapshot_sha = "0qabkvyryiwlqhzy1kscff27rx788bv7lh7d8m1hnsv38wqhwqqb"; 31 } else {}; 32 - let snapshotDate = "2014-03-28"; 33 - snapshotRev = "b8601a3"; 34 snapshotName = "rust-stage0-${snapshotDate}-${snapshotRev}-${platform}-${snapshot}.tar.bz2"; in 35 stdenv.mkDerivation { 36 - name = "rust-0.10"; 37 38 src = fetchurl { 39 - url = http://static.rust-lang.org/dist/rust-0.10.tar.gz; 40 - sha256 = "c72cfbbf03016804a81d7b68e8258ffaf018f8f5a25550ad64571ce6c2642cf9"; 41 }; 42 43 # We need rust to build rust. If we don't provide it, configure will try to download it. ··· 45 name = "rust-stage0"; 46 src = fetchurl { 47 url = "http://static.rust-lang.org/stage0-snapshots/${snapshotName}"; 48 - sha256 = snapshot_sha; 49 }; 50 installPhase = '' 51 mkdir -p "$out" 52 cp -r bin "$out/bin" 53 '' + (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 57 '' else ""); 58 }; 59 ··· 63 patches = [ ./hardcode_paths.patch ./local_stage0.patch ]; 64 postPatch = '' 65 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 68 ''; 69 70 buildInputs = [ which file perl curl python27 makeWrapper ];
··· 16 17 with if stdenv.system == "i686-linux" then { 18 platform = "linux-i386"; 19 + snapshot = "84339ea0f796ae468ef86797ef4587274bec19ea"; 20 target = "i686-unknown-linux-gnu"; 21 } else if stdenv.system == "x86_64-linux" then { 22 platform = "linux-x86_64"; 23 + snapshot = "bd8a6bc1f28845b7f4b768f6bfa06e7fbdcfcaae"; 24 target = "x86_64-unknown-linux-gnu"; 25 } else if stdenv.system == "x86_64-darwin" then { 26 platform = "macos-x86_64"; 27 + snapshot = "4a8c2e1b7634d73406bac32a1a97893ec3ed818d"; 28 } else {}; 29 + let snapshotDate = "2014-06-21"; 30 + snapshotRev = "db9af1d"; 31 snapshotName = "rust-stage0-${snapshotDate}-${snapshotRev}-${platform}-${snapshot}.tar.bz2"; in 32 stdenv.mkDerivation { 33 + name = "rust-0.11.0"; 34 35 src = fetchurl { 36 + url = http://static.rust-lang.org/dist/rust-0.11.0.tar.gz; 37 + sha256 = "1fhi8iiyyj5j48fpnp93sfv781z1dm0xy94h534vh4mz91jf7cyi"; 38 }; 39 40 # We need rust to build rust. If we don't provide it, configure will try to download it. ··· 42 name = "rust-stage0"; 43 src = fetchurl { 44 url = "http://static.rust-lang.org/stage0-snapshots/${snapshotName}"; 45 + sha1 = snapshot; 46 }; 47 + dontStrip = true; 48 installPhase = '' 49 mkdir -p "$out" 50 cp -r bin "$out/bin" 51 '' + (if stdenv.isLinux then '' 52 + patchelf --interpreter "${stdenv.glibc}/lib/${stdenv.gcc.dynamicLinker}" \ 53 + --set-rpath "${stdenv.gcc.gcc}/lib/:${stdenv.gcc.gcc}/lib64/" \ 54 + "$out/bin/rustc" 55 '' else ""); 56 }; 57 ··· 61 patches = [ ./hardcode_paths.patch ./local_stage0.patch ]; 62 postPatch = '' 63 substituteInPlace src/librustc/back/link.rs \ 64 + --subst-var-by "ccPath" "${stdenv.gcc}/bin/cc" \ 65 + --subst-var-by "arPath" "${stdenv.gcc.binutils}/bin/ar" 66 ''; 67 68 buildInputs = [ which file perl curl python27 makeWrapper ];
+23 -32
pkgs/development/compilers/rust/hardcode_paths.patch
··· 1 diff --git a/src/librustc/back/link.rs b/src/librustc/back/link.rs 2 - index f198a41..3a47e51 100644 3 --- a/src/librustc/back/link.rs 4 +++ b/src/librustc/back/link.rs 5 - @@ -730,7 +730,7 @@ pub fn get_cc_prog(sess: &Session) -> ~str { 6 - _ => {}, 7 - } 8 9 - - get_system_tool(sess, "cc") 10 - + ~"@gccPath@" 11 } 12 13 - pub fn get_ar_prog(sess: &Session) -> ~str { 14 - @@ -739,26 +739,7 @@ pub fn get_ar_prog(sess: &Session) -> ~str { 15 - None => {} 16 } 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 } 40 41 - fn remove(sess: &Session, path: &Path) {
··· 1 diff --git a/src/librustc/back/link.rs b/src/librustc/back/link.rs 2 + index 7a3e912..ced75fa 100644 3 --- a/src/librustc/back/link.rs 4 +++ b/src/librustc/back/link.rs 5 + @@ -766,24 +766,15 @@ pub fn output_lib_filename(id: &CrateId) -> String { 6 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() 23 } 24 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() 30 } 31 } 32
+7 -9
pkgs/development/interpreters/angelscript/default.nix
··· 11 (builtins.attrNames (builtins.removeAttrs x helperArgNames)); 12 sourceInfo = rec { 13 baseName="angelscript"; 14 - version="2.22.1"; 15 name="${baseName}-${version}"; 16 url="http://www.angelcode.com/angelscript/sdk/files/angelscript_${version}.zip"; 17 - hash="0fmw0cb7ymgyq31r4cfvsn4k86r20hj650fbzs9i7zl0p3lb6hpm"; 18 }; 19 in 20 rec { 21 src = a.fetchurl { 22 url = sourceInfo.url; 23 - sha256 = sourceInfo.hash; 24 }; 25 26 inherit (sourceInfo) name version; ··· 31 32 prepareBuild = a.fullDepEntry '' 33 cd angelscript/projects/gnuc 34 - sed -i makefile -e "s@LOCAL = .*@LOCAL = $out@" 35 mkdir -p "$out/lib" "$out/bin" "$out/share" "$out/include" 36 export SHARED=1 37 export VERSION="${version}" ··· 55 platforms = with a.lib.platforms; 56 linux; 57 license = a.lib.licenses.zlib; 58 - }; 59 - passthru = { 60 - updateInfo = { 61 - downloadPage = "http://www.angelcode.com/angelscript/downloads.asp"; 62 - }; 63 }; 64 }) x 65
··· 11 (builtins.attrNames (builtins.removeAttrs x helperArgNames)); 12 sourceInfo = rec { 13 baseName="angelscript"; 14 + version = "2.29.0"; 15 name="${baseName}-${version}"; 16 url="http://www.angelcode.com/angelscript/sdk/files/angelscript_${version}.zip"; 17 + sha256 = "1g0bi8dx832s3911rr3jymnffaz3q7cnbzl53nmi6hwsr2kpc6mx"; 18 }; 19 in 20 rec { 21 src = a.fetchurl { 22 url = sourceInfo.url; 23 + sha256 = sourceInfo.sha256; 24 }; 25 26 inherit (sourceInfo) name version; ··· 31 32 prepareBuild = a.fullDepEntry '' 33 cd angelscript/projects/gnuc 34 + sed -i makefile -e "s@LOCAL [?]= .*@LOCAL = $out@" 35 mkdir -p "$out/lib" "$out/bin" "$out/share" "$out/include" 36 export SHARED=1 37 export VERSION="${version}" ··· 55 platforms = with a.lib.platforms; 56 linux; 57 license = a.lib.licenses.zlib; 58 + homepage="http://www.angelcode.com/angelscript/"; 59 + downloadPage = "http://www.angelcode.com/angelscript/downloads.html"; 60 + inherit version; 61 }; 62 }) x 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 }: 2 3 let 4 dsoPatch = fetchurl { ··· 16 sha256 = "2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333"; 17 }; 18 19 - buildInputs = [ readline ]; 20 21 patches = if stdenv.isDarwin then [ ./5.1.darwin.patch ] else [ dsoPatch ]; 22 23 - configurePhase = 24 if stdenv.isDarwin 25 then '' 26 makeFlagsArray=( INSTALL_TOP=$out INSTALL_MAN=$out/share/man/man1 PLAT=macosx CFLAGS="-DLUA_USE_LINUX -fno-common -O2" LDLAGS="" ) ··· 35 sed <"etc/lua.pc" >"$out/lib/pkgconfig/lua.pc" -e "s|^prefix=.*|prefix=$out|" 36 mv "doc/"*.{gif,png,css,html} "$out/share/doc/lua/" 37 rmdir $out/{share,lib}/lua/5.1 $out/{share,lib}/lua 38 ''; 39 40 meta = {
··· 1 + { stdenv, fetchurl, readline, makeWrapper }: 2 3 let 4 dsoPatch = fetchurl { ··· 16 sha256 = "2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333"; 17 }; 18 19 + buildInputs = [ readline makeWrapper ]; 20 21 patches = if stdenv.isDarwin then [ ./5.1.darwin.patch ] else [ dsoPatch ]; 22 23 + configurePhase = 24 if stdenv.isDarwin 25 then '' 26 makeFlagsArray=( INSTALL_TOP=$out INSTALL_MAN=$out/share/man/man1 PLAT=macosx CFLAGS="-DLUA_USE_LINUX -fno-common -O2" LDLAGS="" ) ··· 35 sed <"etc/lua.pc" >"$out/lib/pkgconfig/lua.pc" -e "s|^prefix=.*|prefix=$out|" 36 mv "doc/"*.{gif,png,css,html} "$out/share/doc/lua/" 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"' 41 ''; 42 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 let 9 10 majorVersion = "2.7"; 11 - version = "${majorVersion}.7"; 12 13 src = fetchurl { 14 url = "http://www.python.org/ftp/python/${version}/Python-${version}.tar.xz"; 15 - sha256 = "0y6s12rdi89k24p8zarhy9fqmyy459yg0d125c7cac4v136y70r9"; 16 }; 17 18 patches = ··· 56 57 inherit majorVersion version src patches postPatch buildInputs; 58 59 C_INCLUDE_PATH = concatStringsSep ":" (map (p: "${p}/include") buildInputs); 60 LIBRARY_PATH = concatStringsSep ":" (map (p: "${p}/lib") buildInputs); 61
··· 8 let 9 10 majorVersion = "2.7"; 11 + version = "${majorVersion}.8"; 12 13 src = fetchurl { 14 url = "http://www.python.org/ftp/python/${version}/Python-${version}.tar.xz"; 15 + sha256 = "0nh7d3dp75f1aj0pamn4hla8s0l7nbaq4a38brry453xrfh11ppd"; 16 }; 17 18 patches = ··· 56 57 inherit majorVersion version src patches postPatch buildInputs; 58 59 + LDFLAGS = stdenv.lib.optionalString (!stdenv.isDarwin) "-lgcc_s"; 60 C_INCLUDE_PATH = concatStringsSep ":" (map (p: "${p}/include") buildInputs); 61 LIBRARY_PATH = concatStringsSep ":" (map (p: "${p}/lib") buildInputs); 62
+3 -3
pkgs/development/libraries/accountsservice/default.nix
··· 2 , libtool, gobjectIntrospection, polkit, systemd, coreutils }: 3 4 stdenv.mkDerivation rec { 5 - name = "accountsservice-0.6.35"; 6 7 src = fetchurl { 8 - url = http://www.freedesktop.org/software/accountsservice/accountsservice-0.6.35.tar.xz; 9 - sha256 = "0f1hzl6hw56xvwgmd4yvmdyj15xj1fafw45pzv3qarww7h0wg8b5"; 10 }; 11 12 buildInputs = [ pkgconfig glib intltool libtool makeWrapper
··· 2 , libtool, gobjectIntrospection, polkit, systemd, coreutils }: 3 4 stdenv.mkDerivation rec { 5 + name = "accountsservice-0.6.37"; 6 7 src = fetchurl { 8 + url = http://www.freedesktop.org/software/accountsservice/accountsservice-0.6.37.tar.xz; 9 + sha256 = "1hd58lrl698ij7w1xk3fpj8zp7h6m2hpzvfmbw9sfx4xvhv13cmh"; 10 }; 11 12 buildInputs = [ pkgconfig glib intltool libtool makeWrapper
+6 -2
pkgs/development/libraries/afflib/default.nix
··· 1 { stdenv, fetchurl, zlib, curl, expat, fuse, openssl }: 2 3 stdenv.mkDerivation rec { 4 - name = "afflib-3.6.12"; 5 6 src = fetchurl { 7 url = "http://digitalcorpora.org/downloads/afflib/${name}.tar.gz"; 8 - sha256 = "1l13nrqjlvad112543qbyvrzai5by43zl96d3miklrhn26q9rs07"; 9 }; 10 11 buildInputs = [ zlib curl expat fuse openssl ]; ··· 16 platforms = stdenv.lib.platforms.linux; 17 license = stdenv.lib.licenses.bsdOriginal; 18 maintainers = [ stdenv.lib.maintainers.raskin ]; 19 }; 20 }
··· 1 { stdenv, fetchurl, zlib, curl, expat, fuse, openssl }: 2 3 stdenv.mkDerivation rec { 4 + version = "3.7.4"; 5 + name = "afflib-${version}"; 6 7 src = fetchurl { 8 url = "http://digitalcorpora.org/downloads/afflib/${name}.tar.gz"; 9 + sha256 = "18j1gjb31qjcmz6lry4m2d933w2a80iagg9g5vrpw5ig80lv10f8"; 10 }; 11 12 buildInputs = [ zlib curl expat fuse openssl ]; ··· 17 platforms = stdenv.lib.platforms.linux; 18 license = stdenv.lib.licenses.bsdOriginal; 19 maintainers = [ stdenv.lib.maintainers.raskin ]; 20 + inherit version; 21 + downloadPage = "http://digitalcorpora.org/downloads/afflib/"; 22 + updateWalker = true; 23 }; 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 , 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) ··· 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 ··· 51 ]; 52 platforms = with a.lib.platforms; 53 linux; 54 - }; 55 - passthru = { 56 - updateInfo = { 57 - downloadPage = "http://sourceforge.net/projects/alleg/files/"; 58 - }; 59 }; 60 }) x 61
··· 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) ··· 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 ··· 51 ]; 52 platforms = with a.lib.platforms; 53 linux; 54 + inherit version; 55 }; 56 }) x 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 , xf86dgaproto, xf86miscproto, xf86vidmodeproto, libXxf86vm, openal, mesa 5 , ...}: 6 builderDefsPackage 7 - (a : 8 - let 9 - helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ 10 []; 11 12 buildInputs = map (n: builtins.getAttr n x) ··· 36 export NIX_LDFLAGS="$NIX_LDFLAGS -lXext -lX11 -lXpm -lXcursor -lXxf86vm" 37 cmake -D CMAKE_INSTALL_PREFIX=$out -D CMAKE_SKIP_RPATH=ON . 38 '') ["minInit" "doUnpack" "addInputs"]; 39 - 40 makeFlags = [ 41 ]; 42 43 meta = { 44 description = "A game programming library"; 45 license = "free-noncopyleft"; # giftware 46 maintainers = with a.lib.maintainers;
··· 4 , xf86dgaproto, xf86miscproto, xf86vidmodeproto, libXxf86vm, openal, mesa 5 , ...}: 6 builderDefsPackage 7 + (a : 8 + let 9 + helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ 10 []; 11 12 buildInputs = map (n: builtins.getAttr n x) ··· 36 export NIX_LDFLAGS="$NIX_LDFLAGS -lXext -lX11 -lXpm -lXcursor -lXxf86vm" 37 cmake -D CMAKE_INSTALL_PREFIX=$out -D CMAKE_SKIP_RPATH=ON . 38 '') ["minInit" "doUnpack" "addInputs"]; 39 + 40 makeFlags = [ 41 ]; 42 43 meta = { 44 + branch = "4"; 45 description = "A game programming library"; 46 license = "free-noncopyleft"; # giftware 47 maintainers = with a.lib.maintainers;
+2 -2
pkgs/development/libraries/asio/default.nix
··· 1 {stdenv, fetchurl, boost, openssl}: 2 3 stdenv.mkDerivation rec { 4 - name = "asio-1.10.1"; 5 6 src = fetchurl { 7 url = "mirror://sourceforge/asio/${name}.tar.bz2"; 8 - sha256 = "16dxzkra0wmhm2vp2p9lb1h6qsdjk82sxfgj6zlz792n7jnms2l2"; 9 }; 10 11 propagatedBuildInputs = [ boost ];
··· 1 {stdenv, fetchurl, boost, openssl}: 2 3 stdenv.mkDerivation rec { 4 + name = "asio-1.10.2"; 5 6 src = fetchurl { 7 url = "mirror://sourceforge/asio/${name}.tar.bz2"; 8 + sha256 = "1lqxm3gc8rzzjq0m843l59ggbw32bih7smm5spry1j5khfc86p41"; 9 }; 10 11 propagatedBuildInputs = [ boost ];
+1 -1
pkgs/development/libraries/botan/default.upstream
··· 1 url http://botan.randombit.net/download.html 2 version_link 'Botan-[0-9]+[.][0-9]*[02468]([.][0-9]+)?[.](tbz|tbz2|tar[.]bz2)$' 3 ensure_version 4 - ensure_hash 5 do_overwrite(){ 6 set_var_value hash $CURRENT_HASH 7 set_var_value baseVersion ${CURRENT_VERSION%.*} 8 set_var_value revision ${CURRENT_VERSION##*.}
··· 1 url http://botan.randombit.net/download.html 2 version_link 'Botan-[0-9]+[.][0-9]*[02468]([.][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##*.}
+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 x@{builderDefsPackage 2 , unzip, cmake, mesa, freeglut, libX11, xproto 3 - , inputproto, libXi 4 , ...}: 5 builderDefsPackage 6 (a : ··· 10 11 buildInputs = map (n: builtins.getAttr n x) 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 in 21 rec { 22 - src = a.fetchurl { 23 - url = sourceInfo.url; 24 - sha256 = sourceInfo.hash; 25 }; 26 27 - inherit (sourceInfo) name version; 28 inherit buildInputs; 29 30 phaseNames = ["changeSettings" "doCmake" "doMakeInstall"]; ··· 49 platforms = with a.lib.platforms; 50 linux; 51 license = "bsd"; 52 - }; 53 - passthru = { 54 - updateInfo = { 55 - downloadPage = "http://code.google.com/p/box2d/downloads/list"; 56 - }; 57 }; 58 }) x 59
··· 1 x@{builderDefsPackage 2 , unzip, cmake, mesa, freeglut, libX11, xproto 3 + , inputproto, libXi, fetchsvn, pkgconfig 4 , ...}: 5 builderDefsPackage 6 (a : ··· 10 11 buildInputs = map (n: builtins.getAttr n x) 12 (builtins.attrNames (builtins.removeAttrs x helperArgNames)); 13 in 14 rec { 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"; 21 }; 22 + src = srcDrv + "/"; 23 24 inherit buildInputs; 25 26 phaseNames = ["changeSettings" "doCmake" "doMakeInstall"]; ··· 45 platforms = with a.lib.platforms; 46 linux; 47 license = "bsd"; 48 + inherit version; 49 }; 50 }) x 51
+2 -1
pkgs/development/libraries/glib/default.nix
··· 5 , libxml2, tzdata, desktop_file_utils, shared_mime_info, doCheck ? false 6 }: 7 8 # TODO: 9 # * Add gio-module-fam 10 # Problem: cyclic dependency on gamin ··· 38 ver_maj = "2.40"; 39 ver_min = "0"; 40 in 41 - with { inherit (stdenv.lib) optional optionals optionalString; }; 42 43 stdenv.mkDerivation rec { 44 name = "glib-${ver_maj}.${ver_min}";
··· 5 , libxml2, tzdata, desktop_file_utils, shared_mime_info, doCheck ? false 6 }: 7 8 + with stdenv.lib; 9 + 10 # TODO: 11 # * Add gio-module-fam 12 # Problem: cyclic dependency on gamin ··· 40 ver_maj = "2.40"; 41 ver_min = "0"; 42 in 43 44 stdenv.mkDerivation rec { 45 name = "glib-${ver_maj}.${ver_min}";
+2 -2
pkgs/development/libraries/haskell/Chart-cairo/default.nix
··· 4 5 cabal.mkDerivation (self: { 6 pname = "Chart-cairo"; 7 - version = "1.2.2"; 8 - sha256 = "1bbi5bvrh8wmgzv5am5ndgdr68gd68ipparkkk9ld4majwf4vm6w"; 9 buildDepends = [ 10 cairo Chart colour dataDefaultClass lens mtl operational time 11 ];
··· 4 5 cabal.mkDerivation (self: { 6 pname = "Chart-cairo"; 7 + version = "1.2.3"; 8 + sha256 = "1lbl1qvgm4yxslahlms6kzfrhh8s2fcdiwmvk1bs319k1fylia1b"; 9 buildDepends = [ 10 cairo Chart colour dataDefaultClass lens mtl operational time 11 ];
+2 -2
pkgs/development/libraries/haskell/Chart-diagrams/default.nix
··· 5 6 cabal.mkDerivation (self: { 7 pname = "Chart-diagrams"; 8 - version = "1.2.2"; 9 - sha256 = "144dy9vp3x04s03jrkyfqczpwayb8k7dq702w9wm3d8q4ysva62q"; 10 buildDepends = [ 11 blazeSvg Chart colour dataDefaultClass diagramsCore diagramsLib 12 diagramsPostscript diagramsSvg lens mtl operational SVGFonts text
··· 5 6 cabal.mkDerivation (self: { 7 pname = "Chart-diagrams"; 8 + version = "1.2.3"; 9 + sha256 = "08ps30vn9ljiyhgakwdbixn4csy504bsw3h5z9w1dxhn27wij772"; 10 buildDepends = [ 11 blazeSvg Chart colour dataDefaultClass diagramsCore diagramsLib 12 diagramsPostscript diagramsSvg lens mtl operational SVGFonts text
+2 -2
pkgs/development/libraries/haskell/Chart-gtk/default.nix
··· 2 3 cabal.mkDerivation (self: { 4 pname = "Chart-gtk"; 5 - version = "1.2.2"; 6 - sha256 = "1mg6nln0jwp6hals9vhhsfqiwix424fv1v1p4h99s0xwy5cna1z9"; 7 buildDepends = [ cairo Chart ChartCairo colour gtk mtl time ]; 8 jailbreak = true; 9 meta = {
··· 2 3 cabal.mkDerivation (self: { 4 pname = "Chart-gtk"; 5 + version = "1.2.3"; 6 + sha256 = "0vl9nh48pa7sdrqh5a6smmfallf4mwzrvspc2v94cpnrcnickiyq"; 7 buildDepends = [ cairo Chart ChartCairo colour gtk mtl time ]; 8 jailbreak = true; 9 meta = {
+2 -2
pkgs/development/libraries/haskell/Chart/default.nix
··· 2 3 cabal.mkDerivation (self: { 4 pname = "Chart"; 5 - version = "1.2.2"; 6 - sha256 = "0yd3xca500lbzvlvhdsbrkiy53laikq6hc290rc061agvd535a7p"; 7 buildDepends = [ 8 colour dataDefaultClass lens mtl operational time 9 ];
··· 2 3 cabal.mkDerivation (self: { 4 pname = "Chart"; 5 + version = "1.2.3"; 6 + sha256 = "067bahxig5xyd6zasi74k86qb7bxvbs3shjn9fbslhyckxg50q1j"; 7 buildDepends = [ 8 colour dataDefaultClass lens mtl operational time 9 ];
+6 -4
pkgs/development/libraries/haskell/GLUtil/default.nix
··· 1 - { cabal, cpphs, JuicyPixels, linear, OpenGL, OpenGLRaw, vector }: 2 3 cabal.mkDerivation (self: { 4 pname = "GLUtil"; 5 - version = "0.7.4"; 6 - sha256 = "0l1w0k3q5g22y90w5frljqh1v4jb7gjzb3scg79zp42pc9v3h4l5"; 7 buildDepends = [ 8 - cpphs JuicyPixels linear OpenGL OpenGLRaw vector 9 ]; 10 buildTools = [ cpphs ]; 11 meta = {
··· 1 + { cabal, cpphs, JuicyPixels, linear, OpenGL, OpenGLRaw 2 + , transformers, vector 3 + }: 4 5 cabal.mkDerivation (self: { 6 pname = "GLUtil"; 7 + version = "0.7.5"; 8 + sha256 = "1rbnq1nrs2b06ph60lh0yvygk82vvnm8c4d0anhjrqw9i58nd3iz"; 9 buildDepends = [ 10 + cpphs JuicyPixels linear OpenGL OpenGLRaw transformers vector 11 ]; 12 buildTools = [ cpphs ]; 13 meta = {
+3 -4
pkgs/development/libraries/haskell/HFuse/default.nix
··· 2 3 cabal.mkDerivation (self: { 4 pname = "HFuse"; 5 - version = "0.2.4.1"; 6 - sha256 = "12k04dvh92kk2i68bcb70xnk378qxmh46f241k06di5rkcgwyg1k"; 7 extraLibraries = [ fuse ]; 8 preConfigure = '' 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 sed -i -e "s/LANGUAGE FlexibleContexts/LANGUAGE FlexibleContexts, RankNTypes/" System/Fuse.hsc 12 sed -i -e "s/E(Exception/E(catch, Exception, IOException/" System/Fuse.hsc 13 sed -i -e "s/IO(catch,/IO(/" System/Fuse.hsc ··· 15 sed -i -e "s/const exitFailure/\\\\(_ :: IOException) -> exitFailure/" System/Fuse.hsc 16 ''; 17 meta = { 18 - homepage = "https://github.com/toothbrush/hfuse"; 19 description = "HFuse is a binding for the Linux FUSE library"; 20 license = self.stdenv.lib.licenses.bsd3; 21 platforms = self.stdenv.lib.platforms.linux;
··· 2 3 cabal.mkDerivation (self: { 4 pname = "HFuse"; 5 + version = "0.2.4.2"; 6 + sha256 = "043f5x807h1dajd0bvmhln9pjkviszx1279m298w711mrszapqrq"; 7 extraLibraries = [ fuse ]; 8 preConfigure = '' 9 sed -i -e "s@ Extra-Lib-Dirs: /usr/local/lib@ Extra-Lib-Dirs: ${fuse}/lib@" HFuse.cabal 10 sed -i -e "s/LANGUAGE FlexibleContexts/LANGUAGE FlexibleContexts, RankNTypes/" System/Fuse.hsc 11 sed -i -e "s/E(Exception/E(catch, Exception, IOException/" System/Fuse.hsc 12 sed -i -e "s/IO(catch,/IO(/" System/Fuse.hsc ··· 14 sed -i -e "s/const exitFailure/\\\\(_ :: IOException) -> exitFailure/" System/Fuse.hsc 15 ''; 16 meta = { 17 + homepage = "https://github.com/m15k/hfuse"; 18 description = "HFuse is a binding for the Linux FUSE library"; 19 license = self.stdenv.lib.licenses.bsd3; 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 4 }: 5 6 cabal.mkDerivation (self: { 7 pname = "HTF"; 8 - version = "0.11.3.4"; 9 - sha256 = "0db47fvp33k83dnhvpygprm06p3z397f5ci154vqk7krjpxb2ynx"; 10 isLibrary = true; 11 isExecutable = true; 12 buildDepends = [ 13 - aeson cpphs Diff haskellSrcExts HUnit liftedBase monadControl mtl 14 - QuickCheck random regexCompat text xmlgen 15 ]; 16 testDepends = [ 17 aeson filepath mtl random regexCompat temporary text
··· 1 + { cabal, aeson, base64Bytestring, cpphs, Diff, filepath 2 + , haskellSrcExts, HUnit, liftedBase, monadControl, mtl, QuickCheck 3 + , random, regexCompat, temporary, text, unorderedContainers, xmlgen 4 }: 5 6 cabal.mkDerivation (self: { 7 pname = "HTF"; 8 + version = "0.11.4.0"; 9 + sha256 = "0bg84x6xk359zby04xw62yy227fk85mgs7x5nkdbsxcajm7j0bs9"; 10 isLibrary = true; 11 isExecutable = true; 12 buildDepends = [ 13 + aeson base64Bytestring cpphs Diff haskellSrcExts HUnit liftedBase 14 + monadControl mtl QuickCheck random regexCompat text xmlgen 15 ]; 16 testDepends = [ 17 aeson filepath mtl random regexCompat temporary text
+2 -3
pkgs/development/libraries/haskell/SHA2/default.nix
··· 1 - { cabal, aes, monadsTf, transformers }: 2 3 cabal.mkDerivation (self: { 4 pname = "SHA2"; 5 version = "0.2.5"; 6 sha256 = "1zs79a327x6myfam3p2vr8lmszcaqnkll2qz8n4sy835vz328j40"; 7 - buildDepends = [ aes monadsTf transformers ]; 8 meta = { 9 description = "Fast, incremental SHA hashing for bytestrings"; 10 license = self.stdenv.lib.licenses.bsd3; 11 platforms = self.ghc.meta.platforms; 12 }; 13 }) 14 -
··· 1 + { cabal, AES, monadsTf, transformers }: 2 3 cabal.mkDerivation (self: { 4 pname = "SHA2"; 5 version = "0.2.5"; 6 sha256 = "1zs79a327x6myfam3p2vr8lmszcaqnkll2qz8n4sy835vz328j40"; 7 + buildDepends = [ AES monadsTf transformers ]; 8 meta = { 9 description = "Fast, incremental SHA hashing for bytestrings"; 10 license = self.stdenv.lib.licenses.bsd3; 11 platforms = self.ghc.meta.platforms; 12 }; 13 })
+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 5 cabal.mkDerivation (self: { 6 pname = "alsa-pcm"; 7 - version = "0.6.0.2"; 8 - sha256 = "0zckp83wdqb6nl2k63fapa5h4vf1xyvbaycd0ixwr9k7mw75q7b9"; 9 isLibrary = true; 10 isExecutable = true; 11 buildDepends = [
··· 4 5 cabal.mkDerivation (self: { 6 pname = "alsa-pcm"; 7 + version = "0.6.0.3"; 8 + sha256 = "0rq0i17xhd0x7dnlhdf3i1fdvmyxrsbm0w0k9lrx20xpy4gw2zfs"; 9 isLibrary = true; 10 isExecutable = true; 11 buildDepends = [
+2 -2
pkgs/development/libraries/haskell/binary-conduit/default.nix
··· 4 5 cabal.mkDerivation (self: { 6 pname = "binary-conduit"; 7 - version = "1.2.1.1"; 8 - sha256 = "0f6ki793fbgxpsqadfj796b4rbv6zhn4v4rrd48r48zzw9hmxmzd"; 9 buildDepends = [ binary conduit resourcet vector ]; 10 testDepends = [ 11 binary conduit hspec QuickCheck quickcheckAssertions resourcet
··· 4 5 cabal.mkDerivation (self: { 6 pname = "binary-conduit"; 7 + version = "1.2.2"; 8 + sha256 = "12dgqydc4zj1ffrcfqpd1dg40dc9hpynj1j69611kzpcqbj275pf"; 9 buildDepends = [ binary conduit resourcet vector ]; 10 testDepends = [ 11 binary conduit hspec QuickCheck quickcheckAssertions resourcet
+2 -2
pkgs/development/libraries/haskell/boomerang/default.nix
··· 2 3 cabal.mkDerivation (self: { 4 pname = "boomerang"; 5 - version = "1.4.2"; 6 - sha256 = "0vy70anwnh7649za6nzb65fx09vqkf50a961da6gzwvbaf526rd0"; 7 buildDepends = [ mtl text ]; 8 meta = { 9 description = "Library for invertible parsing and printing";
··· 2 3 cabal.mkDerivation (self: { 4 pname = "boomerang"; 5 + version = "1.4.3"; 6 + sha256 = "1i72mrl8n2cbrdi05zn37y1339r13vzvmrcc1zbkcak4c7r004zw"; 7 buildDepends = [ mtl text ]; 8 meta = { 9 description = "Library for invertible parsing and printing";
+2 -2
pkgs/development/libraries/haskell/cipher-aes/default.nix
··· 4 5 cabal.mkDerivation (self: { 6 pname = "cipher-aes"; 7 - version = "0.2.7"; 8 - sha256 = "1a5viy2frkdqhzzlipd2ik89a04gv95v4b98lgpsas2958r9c9yp"; 9 buildDepends = [ byteable cryptoCipherTypes securemem ]; 10 testDepends = [ 11 byteable cryptoCipherTests cryptoCipherTypes QuickCheck
··· 4 5 cabal.mkDerivation (self: { 6 pname = "cipher-aes"; 7 + version = "0.2.8"; 8 + sha256 = "13hg8gxhs7hmni72kp14hmhvfv1kj7fnl83i72bz3aq15vx3z61z"; 9 buildDepends = [ byteable cryptoCipherTypes securemem ]; 10 testDepends = [ 11 byteable cryptoCipherTests cryptoCipherTypes QuickCheck
+2 -2
pkgs/development/libraries/haskell/conduit-combinators/default.nix
··· 6 7 cabal.mkDerivation (self: { 8 pname = "conduit-combinators"; 9 - version = "0.2.5.2"; 10 - sha256 = "00zvai14cgh2g9wa436kfdgyfzm3pksnhzy365y1yn96dwbbh1ih"; 11 buildDepends = [ 12 base16Bytestring base64Bytestring chunkedData conduit conduitExtra 13 monadControl monoTraversable mwcRandom primitive resourcet
··· 6 7 cabal.mkDerivation (self: { 8 pname = "conduit-combinators"; 9 + version = "0.2.6.1"; 10 + sha256 = "01q585fwfl7qw5yr7ry1zfwm0lbmizyidifk9jzxdfxppbccfxfc"; 11 buildDepends = [ 12 base16Bytestring base64Bytestring chunkedData conduit conduitExtra 13 monadControl monoTraversable mwcRandom primitive resourcet
+2 -2
pkgs/development/libraries/haskell/conduit-extra/default.nix
··· 5 6 cabal.mkDerivation (self: { 7 pname = "conduit-extra"; 8 - version = "1.1.0.4"; 9 - sha256 = "0l1cv65p8nvvb9qgcj87a682wh9xim0rbk2xzhdkd0r123csb118"; 10 buildDepends = [ 11 attoparsec blazeBuilder conduit filepath monadControl network 12 primitive resourcet streamingCommons text transformers
··· 5 6 cabal.mkDerivation (self: { 7 pname = "conduit-extra"; 8 + version = "1.1.1"; 9 + sha256 = "1876kg7zb0gasl7ijmx48r5r2jv3c5xxa1xb6g6iqfysx0qsv6z2"; 10 buildDepends = [ 11 attoparsec blazeBuilder conduit filepath monadControl network 12 primitive resourcet streamingCommons text transformers
+7 -4
pkgs/development/libraries/haskell/configurator/default.nix
··· 1 - { cabal, attoparsec, hashable, text, unixCompat 2 - , unorderedContainers 3 }: 4 5 cabal.mkDerivation (self: { 6 pname = "configurator"; 7 - version = "0.2.0.2"; 8 - sha256 = "011rgd48gv4idkh2dwg4mlyx3s6pgm1263xq5ixsa4sg3jqh9d8b"; 9 buildDepends = [ 10 attoparsec hashable text unixCompat unorderedContainers 11 ]; 12 meta = { 13 homepage = "http://github.com/bos/configurator";
··· 1 + { cabal, attoparsec, filepath, hashable, HUnit, testFramework 2 + , testFrameworkHunit, text, unixCompat, unorderedContainers 3 }: 4 5 cabal.mkDerivation (self: { 6 pname = "configurator"; 7 + version = "0.3.0.0"; 8 + sha256 = "1d1iq1knwiq6ia5g64rw5hqm6dakz912qj13r89737rfcxmrkfbf"; 9 buildDepends = [ 10 attoparsec hashable text unixCompat unorderedContainers 11 + ]; 12 + testDepends = [ 13 + filepath HUnit testFramework testFrameworkHunit text 14 ]; 15 meta = { 16 homepage = "http://github.com/bos/configurator";
+2 -2
pkgs/development/libraries/haskell/data-accessor/data-accessor-mtl.nix
··· 2 3 cabal.mkDerivation (self: { 4 pname = "data-accessor-mtl"; 5 - version = "0.2.0.3"; 6 - sha256 = "1aksmm4ykb96khgq5y4vd40zbn4c73hgl21xvyc295cwxsyrbvbk"; 7 buildDepends = [ dataAccessor mtl ]; 8 meta = { 9 homepage = "http://www.haskell.org/haskellwiki/Record_access";
··· 2 3 cabal.mkDerivation (self: { 4 pname = "data-accessor-mtl"; 5 + version = "0.2.0.4"; 6 + sha256 = "1i8lk0vy04giixng5addgj740cbvwlc7g62qgrmhfip0w9k93kqh"; 7 buildDepends = [ dataAccessor mtl ]; 8 meta = { 9 homepage = "http://www.haskell.org/haskellwiki/Record_access";
+2 -2
pkgs/development/libraries/haskell/data-accessor/data-accessor-transformers.nix
··· 2 3 cabal.mkDerivation (self: { 4 pname = "data-accessor-transformers"; 5 - version = "0.2.1.4"; 6 - sha256 = "1bf1j8g5q81zw51bri89hj3i9jnlmhdggw8rhw3n2v103399pf7d"; 7 buildDepends = [ dataAccessor transformers ]; 8 meta = { 9 homepage = "http://www.haskell.org/haskellwiki/Record_access";
··· 2 3 cabal.mkDerivation (self: { 4 pname = "data-accessor-transformers"; 5 + version = "0.2.1.6"; 6 + sha256 = "1iawhp1h68ynr2axj12jrn47nf08mss0ar8blagp59yi8j7170fa"; 7 buildDepends = [ dataAccessor transformers ]; 8 meta = { 9 homepage = "http://www.haskell.org/haskellwiki/Record_access";
+2 -2
pkgs/development/libraries/haskell/data-accessor/data-accessor.nix
··· 2 3 cabal.mkDerivation (self: { 4 pname = "data-accessor"; 5 - version = "0.2.2.5"; 6 - sha256 = "0z63fv41cnpk3h404gprk2f5jl7rrpyv97xmsgac9zgdm5zkkhm6"; 7 buildDepends = [ transformers ]; 8 jailbreak = true; 9 meta = {
··· 2 3 cabal.mkDerivation (self: { 4 pname = "data-accessor"; 5 + version = "0.2.2.6"; 6 + sha256 = "0668qgllmp2911ppsb0g9z95nq2x0h2cvzyyjlb6iwhnjzyyg7gf"; 7 buildDepends = [ transformers ]; 8 jailbreak = true; 9 meta = {
+2 -2
pkgs/development/libraries/haskell/dependent-sum/default.nix
··· 2 3 cabal.mkDerivation (self: { 4 pname = "dependent-sum"; 5 - version = "0.2.0.2"; 6 - sha256 = "06amnc50j246f2za0ri49j6vyq6admx03w3xxjhhfnfx9lp6zmhm"; 7 meta = { 8 homepage = "https://github.com/mokus0/dependent-sum"; 9 description = "Dependent sum type";
··· 2 3 cabal.mkDerivation (self: { 4 pname = "dependent-sum"; 5 + version = "0.2.1.0"; 6 + sha256 = "1h6wsrh206k6q3jcfdxvlsswbm47x30psp6x30l2z0j9jyf7jpl3"; 7 meta = { 8 homepage = "https://github.com/mokus0/dependent-sum"; 9 description = "Dependent sum type";
+2 -2
pkgs/development/libraries/haskell/dlist/default.nix
··· 2 3 cabal.mkDerivation (self: { 4 pname = "dlist"; 5 - version = "0.7.0.1"; 6 - sha256 = "197k608ja69xc531r7h3gmy1mf6dsk27b3mkpgp4zdw46z6lcb5l"; 7 buildDepends = [ deepseq ]; 8 testDepends = [ Cabal QuickCheck ]; 9 meta = {
··· 2 3 cabal.mkDerivation (self: { 4 pname = "dlist"; 5 + version = "0.7.1"; 6 + sha256 = "13ka30bn742ldacfgj2lhxvhwf769d0ziy2358vmd5xaq6fn1xfr"; 7 buildDepends = [ deepseq ]; 8 testDepends = [ Cabal QuickCheck ]; 9 meta = {
+2 -2
pkgs/development/libraries/haskell/explicit-exception/default.nix
··· 2 3 cabal.mkDerivation (self: { 4 pname = "explicit-exception"; 5 - version = "0.1.7.2"; 6 - sha256 = "0zncj57mpngszl7jz3khhd4dajzis7aag0ad62hc8rkrv2j8f5q4"; 7 isLibrary = true; 8 isExecutable = true; 9 buildDepends = [ transformers ];
··· 2 3 cabal.mkDerivation (self: { 4 pname = "explicit-exception"; 5 + version = "0.1.7.3"; 6 + sha256 = "0f1p1llz6z4ag1wnf57mgm861cbw7va0g0m8klp6f6pnirdhlwz1"; 7 isLibrary = true; 8 isExecutable = true; 9 buildDepends = [ transformers ];
+3 -3
pkgs/development/libraries/haskell/fb/default.nix
··· 8 9 cabal.mkDerivation (self: { 10 pname = "fb"; 11 - version = "1.0.1"; 12 - sha256 = "0xhwv8fmhb1an15fnfjxzq0ijnhxxmfjwzd99dq1lsm0f7gd4hfi"; 13 buildDepends = [ 14 aeson attoparsec base16Bytestring base64Bytestring cereal conduit 15 conduitExtra cryptoApi cryptohash cryptohashCryptoapi dataDefault ··· 23 jailbreak = true; 24 doCheck = false; 25 meta = { 26 - homepage = "https://github.com/meteficha/fb"; 27 description = "Bindings to Facebook's API"; 28 license = self.stdenv.lib.licenses.bsd3; 29 platforms = self.ghc.meta.platforms;
··· 8 9 cabal.mkDerivation (self: { 10 pname = "fb"; 11 + version = "1.0.2"; 12 + sha256 = "1xgldk690dpbmhzmjlngpbalmbs0xrc7265zc7frphpsbbw3cnqc"; 13 buildDepends = [ 14 aeson attoparsec base16Bytestring base64Bytestring cereal conduit 15 conduitExtra cryptoApi cryptohash cryptohashCryptoapi dataDefault ··· 23 jailbreak = true; 24 doCheck = false; 25 meta = { 26 + homepage = "https://github.com/prowdsponsor/fb"; 27 description = "Bindings to Facebook's API"; 28 license = self.stdenv.lib.licenses.bsd3; 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 6 }: 7 8 cabal.mkDerivation (self: { 9 pname = "gitit"; 10 - version = "0.10.3.1"; 11 - sha256 = "1sm6rryfyqr0nd4flbc5d520xyw2ajnkylvqf4fi4dhl6fnbpam5"; 12 isLibrary = true; 13 isExecutable = true; 14 buildDepends = [ 15 - base64Bytestring blazeHtml cgi ConfigFile feed filepath filestore 16 ghcPaths happstackServer highlightingKate hslogger HStringTemplate 17 HTTP json mtl network pandoc pandocTypes parsec random recaptcha 18 - safe SHA syb tagsoup text time url utf8String xhtml xml xssSanitize 19 - zlib 20 ]; 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 meta = { 31 homepage = "http://gitit.net"; 32 description = "Wiki using happstack, git or darcs, and pandoc";
··· 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 }: 7 8 cabal.mkDerivation (self: { 9 pname = "gitit"; 10 + version = "0.10.4"; 11 + sha256 = "1z06v1pamrpm70zisrw3z3kv0d19dsjkmm75pvj5yxkacxv7qk7n"; 12 isLibrary = true; 13 isExecutable = true; 14 buildDepends = [ 15 + base64Bytestring blazeHtml ConfigFile feed filepath filestore 16 ghcPaths happstackServer highlightingKate hslogger HStringTemplate 17 HTTP json mtl network pandoc pandocTypes parsec random recaptcha 18 + safe SHA split syb tagsoup text time uri url utf8String xhtml xml 19 + xssSanitize zlib 20 ]; 21 jailbreak = true; 22 meta = { 23 homepage = "http://gitit.net"; 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 }: 2 3 cabal.mkDerivation (self: { 4 pname = "gtkglext"; 5 version = "0.12.5.0"; 6 sha256 = "1xhalcb85cpswdpqxx64fxpmyqq7iakgaczjrbr25fp0h1glshhk"; 7 - buildDepends = [ gtk ]; 8 buildTools = [ gtk2hsBuildtools ]; 9 - pkgconfigDepends = [ pkgs.gnome2.gtkglext pangox_compat ]; 10 meta = { 11 homepage = "http://projects.haskell.org/gtk2hs/"; 12 description = "Binding to the GTK+ OpenGL Extension";
··· 1 + { cabal, glib, gtk, gtk2hsBuildtools, gtkglext, pango 2 + , pangox_compat 3 + }: 4 5 cabal.mkDerivation (self: { 6 pname = "gtkglext"; 7 version = "0.12.5.0"; 8 sha256 = "1xhalcb85cpswdpqxx64fxpmyqq7iakgaczjrbr25fp0h1glshhk"; 9 + buildDepends = [ glib gtk pango ]; 10 buildTools = [ gtk2hsBuildtools ]; 11 + pkgconfigDepends = [ gtkglext pangox_compat ]; 12 meta = { 13 homepage = "http://projects.haskell.org/gtk2hs/"; 14 description = "Binding to the GTK+ OpenGL Extension";
+2 -2
pkgs/development/libraries/haskell/happstack/happstack-lite.nix
··· 2 3 cabal.mkDerivation (self: { 4 pname = "happstack-lite"; 5 - version = "7.3.3"; 6 - sha256 = "0iv60cch0fiy9kh21wcpk3s4nvd4j2p50pqr3y56bsqwxk53hhv8"; 7 buildDepends = [ happstackServer mtl text ]; 8 meta = { 9 homepage = "http://www.happstack.com/";
··· 2 3 cabal.mkDerivation (self: { 4 pname = "happstack-lite"; 5 + version = "7.3.4"; 6 + sha256 = "06ndqfd4x49yi17kgiz5xr05l1k6sj5g1f6kir10wgsqhmd0q811"; 7 buildDepends = [ happstackServer mtl text ]; 8 meta = { 9 homepage = "http://www.happstack.com/";
+2 -2
pkgs/development/libraries/haskell/happstack/happstack-server.nix
··· 7 8 cabal.mkDerivation (self: { 9 pname = "happstack-server"; 10 - version = "7.3.6"; 11 - sha256 = "0js1rzg1zpqg9mbi0kdzb5i8ggsrq4l8p0c05k85ppw6h5lwkayd"; 12 buildDepends = [ 13 base64Bytestring blazeHtml extensibleExceptions filepath hslogger 14 html monadControl mtl network parsec sendfile syb systemFilepath
··· 7 8 cabal.mkDerivation (self: { 9 pname = "happstack-server"; 10 + version = "7.3.7"; 11 + sha256 = "1phw3hpnklcdav3wv10kwjsmrg8gshnsgd564p459pc4k2zffgh1"; 12 buildDepends = [ 13 base64Bytestring blazeHtml extensibleExceptions filepath hslogger 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 5 cabal.mkDerivation (self: { 6 pname = "hoauth2"; 7 - version = "0.4.0"; 8 - sha256 = "1499rgcn3h4921x21s6l0spnjf3wvmsaa07pimgjgb4rjib3z2d5"; 9 isLibrary = true; 10 isExecutable = true; 11 buildDepends = [
··· 4 5 cabal.mkDerivation (self: { 6 pname = "hoauth2"; 7 + version = "0.4.1"; 8 + sha256 = "145lgy9bxx1xdljbkvi6s97n2z1k5fd0idp415r71ydw8h3i8ppx"; 9 isLibrary = true; 10 isExecutable = true; 11 buildDepends = [
+2 -2
pkgs/development/libraries/haskell/http-client/default.nix
··· 6 7 cabal.mkDerivation (self: { 8 pname = "http-client"; 9 - version = "0.3.3.2"; 10 - sha256 = "02q2zph6clff0k86wkyf19j5dhfglqi3zvbs52hw8lygpkycpkk7"; 11 buildDepends = [ 12 base64Bytestring blazeBuilder caseInsensitive cookie 13 dataDefaultClass deepseq exceptions filepath httpTypes mimeTypes
··· 6 7 cabal.mkDerivation (self: { 8 pname = "http-client"; 9 + version = "0.3.4"; 10 + sha256 = "0y4va0xfriv3qv31hbh7kbzmf61rr3ffr4z4vlfdlzacfv8307y4"; 11 buildDepends = [ 12 base64Bytestring blazeBuilder caseInsensitive cookie 13 dataDefaultClass deepseq exceptions filepath httpTypes mimeTypes
+2 -2
pkgs/development/libraries/haskell/http-kit/default.nix
··· 4 5 cabal.mkDerivation (self: { 6 pname = "http-kit"; 7 - version = "0.5.0"; 8 - sha256 = "0djg2gg12w9sd598hx959cgr5027ghza3m6aaym9ipb43w6mds5p"; 9 buildDepends = [ caseInsensitive httpTypes ]; 10 testDepends = [ hspec httpTypes QuickCheck quickcheckInstances ]; 11 meta = {
··· 4 5 cabal.mkDerivation (self: { 6 pname = "http-kit"; 7 + version = "0.5.1"; 8 + sha256 = "1swnvsbaabk946pys9q9kr0bgdvalnznd59dw981sg7cywqdcz28"; 9 buildDepends = [ caseInsensitive httpTypes ]; 10 testDepends = [ hspec httpTypes QuickCheck quickcheckInstances ]; 11 meta = {
+2 -2
pkgs/development/libraries/haskell/http-streams/default.nix
··· 8 9 cabal.mkDerivation (self: { 10 pname = "http-streams"; 11 - version = "0.7.1.1"; 12 - sha256 = "0wh07gdb9w48mwsjvg07dq6gjvdm8ls654ki180r7p38v93rsmfx"; 13 buildDepends = [ 14 aeson attoparsec base64Bytestring blazeBuilder caseInsensitive 15 HsOpenSSL httpCommon ioStreams mtl network opensslStreams text
··· 8 9 cabal.mkDerivation (self: { 10 pname = "http-streams"; 11 + version = "0.7.2.0"; 12 + sha256 = "0h7fjnpday34skhafv2v0ybhfv0x915prfb4qa0ld4gm50scsinz"; 13 buildDepends = [ 14 aeson attoparsec base64Bytestring blazeBuilder caseInsensitive 15 HsOpenSSL httpCommon ioStreams mtl network opensslStreams text
+2 -2
pkgs/development/libraries/haskell/jack/default.nix
··· 4 5 cabal.mkDerivation (self: { 6 pname = "jack"; 7 - version = "0.7.0.2"; 8 - sha256 = "06mf1sw1lp81b3d4hsgc199m30drdnxzzlmsxg4p1yvydjfdk4gj"; 9 isLibrary = true; 10 isExecutable = true; 11 buildDepends = [
··· 4 5 cabal.mkDerivation (self: { 6 pname = "jack"; 7 + version = "0.7.0.3"; 8 + sha256 = "12ap7xcgzmp5zwmqkwsgxplh5li21m7xngijr4mhnn9y33xc1lrk"; 9 isLibrary = true; 10 isExecutable = true; 11 buildDepends = [
+2 -2
pkgs/development/libraries/haskell/lens-family-core/default.nix
··· 2 3 cabal.mkDerivation (self: { 4 pname = "lens-family-core"; 5 - version = "1.0.0"; 6 - sha256 = "149wfxddw58h5q42r3nknmac8wsc9c8xzsw6vrlfb4yasg7bhw53"; 7 buildDepends = [ transformers ]; 8 meta = { 9 description = "Haskell 98 Lens Families";
··· 2 3 cabal.mkDerivation (self: { 4 pname = "lens-family-core"; 5 + version = "1.1.0"; 6 + sha256 = "0pvc7iv7y5s3496w7ic9qzdw3l76ldnrg0my0jxi1dyn0vm9xwm3"; 7 buildDepends = [ transformers ]; 8 meta = { 9 description = "Haskell 98 Lens Families";
+2 -2
pkgs/development/libraries/haskell/lifted-base/default.nix
··· 4 5 cabal.mkDerivation (self: { 6 pname = "lifted-base"; 7 - version = "0.2.2.2"; 8 - sha256 = "02qjagh4a3zvad7xyvwjd6nkh44c41bqj32ddpn7ms1fv4sl0mam"; 9 buildDepends = [ monadControl transformersBase ]; 10 testDepends = [ 11 HUnit monadControl testFramework testFrameworkHunit transformers
··· 4 5 cabal.mkDerivation (self: { 6 pname = "lifted-base"; 7 + version = "0.2.3.0"; 8 + sha256 = "0wbh9l7hsbgvfplxyamvpb8nq6w147zsd2yskylfmpw7kyz6yp9n"; 9 buildDepends = [ monadControl transformersBase ]; 10 testDepends = [ 11 HUnit monadControl testFramework testFrameworkHunit transformers
+2 -2
pkgs/development/libraries/haskell/midi/default.nix
··· 4 5 cabal.mkDerivation (self: { 6 pname = "midi"; 7 - version = "0.2.1.2"; 8 - sha256 = "077cxdazr97hjpq42l7hjn905pfhyshvaiwqjdfnzhjv6r48q4zk"; 9 buildDepends = [ 10 binary eventList explicitException monoidTransformer nonNegative 11 QuickCheck random transformers utilityHt
··· 4 5 cabal.mkDerivation (self: { 6 pname = "midi"; 7 + version = "0.2.1.3"; 8 + sha256 = "0mqf6q7686zdxljkz3bqa2zhkgirqz5c1fkbd3n4wyipzhjc773a"; 9 buildDepends = [ 10 binary eventList explicitException monoidTransformer nonNegative 11 QuickCheck random transformers utilityHt
+2 -2
pkgs/development/libraries/haskell/monad-loops/default.nix
··· 2 3 cabal.mkDerivation (self: { 4 pname = "monad-loops"; 5 - version = "0.4.2"; 6 - sha256 = "08sz08p4z1p78dv7rmsqvin59h19i6i07sp7jg3zwxwjxa76fds8"; 7 meta = { 8 homepage = "https://github.com/mokus0/monad-loops"; 9 description = "Monadic loops";
··· 2 3 cabal.mkDerivation (self: { 4 pname = "monad-loops"; 5 + version = "0.4.2.1"; 6 + sha256 = "1dprwndc0bxzpmrkj1xb9kzjrg3i06zsg43yaabn5x5gcaj8is56"; 7 meta = { 8 homepage = "https://github.com/mokus0/monad-loops"; 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 { cabal, pipes, pipesBytestring, pipesGroup, pipesParse, pipesSafe 2 - , profunctors, streamingCommons, text, transformers 3 }: 4 5 cabal.mkDerivation (self: { 6 pname = "pipes-text"; 7 - version = "0.0.0.11"; 8 - sha256 = "0c56gxm17bapdjgbp2f55z3f6vq8ryvsljqp3bcjjj18xv5pf1ls"; 9 buildDepends = [ 10 - pipes pipesBytestring pipesGroup pipesParse pipesSafe profunctors 11 streamingCommons text transformers 12 ]; 13 jailbreak = true;
··· 1 { cabal, pipes, pipesBytestring, pipesGroup, pipesParse, pipesSafe 2 + , streamingCommons, text, transformers 3 }: 4 5 cabal.mkDerivation (self: { 6 pname = "pipes-text"; 7 + version = "0.0.0.12"; 8 + sha256 = "18xf0rhshbl03js50n98k96692w98j0j0dfyi67780i08c39dq6m"; 9 buildDepends = [ 10 + pipes pipesBytestring pipesGroup pipesParse pipesSafe 11 streamingCommons text transformers 12 ]; 13 jailbreak = true;
+2 -2
pkgs/development/libraries/haskell/purescript/default.nix
··· 5 6 cabal.mkDerivation (self: { 7 pname = "purescript"; 8 - version = "0.5.2.4"; 9 - sha256 = "19k8kggmmy75qgg9xcvvd194s1vf5qx15ljx82zdscvks2j1r1sd"; 10 isLibrary = true; 11 isExecutable = true; 12 buildDepends = [
··· 5 6 cabal.mkDerivation (self: { 7 pname = "purescript"; 8 + version = "0.5.2.5"; 9 + sha256 = "17qbgdfhq9k4y7z3c879hkw22jcq86myd9xhs4saaa4xh3ix50x0"; 10 isLibrary = true; 11 isExecutable = true; 12 buildDepends = [
+2 -2
pkgs/development/libraries/haskell/random-fu/default.nix
··· 4 5 cabal.mkDerivation (self: { 6 pname = "random-fu"; 7 - version = "0.2.5.0"; 8 - sha256 = "1yfq7mvplzdk64i7z5ip8vjynn48a65z28xrhcv91qi0yjxsxdm0"; 9 buildDepends = [ 10 erf mathFunctions monadLoops mtl randomShuffle randomSource rvar 11 syb transformers vector
··· 4 5 cabal.mkDerivation (self: { 6 pname = "random-fu"; 7 + version = "0.2.6.0"; 8 + sha256 = "1mi1hr3hxlnyjf01hgn7xinr1m0rax26759zbkhf5xn04ps0g01p"; 9 buildDepends = [ 10 erf mathFunctions monadLoops mtl randomShuffle randomSource rvar 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 3 cabal.mkDerivation (self: { 4 pname = "safe"; 5 - version = "0.3.4"; 6 - sha256 = "0mwdaj0sjvqkgg077x1d896xphx64yrjvwbdhv7khdk3rh0vfl64"; 7 meta = { 8 homepage = "http://community.haskell.org/~ndm/safe/"; 9 - description = "Library for safe (pattern match free) functions"; 10 license = self.stdenv.lib.licenses.bsd3; 11 platforms = self.ghc.meta.platforms; 12 maintainers = [ self.stdenv.lib.maintainers.andres ];
··· 2 3 cabal.mkDerivation (self: { 4 pname = "safe"; 5 + version = "0.3.5"; 6 + sha256 = "0xv409ps1h1b28v8rkg59a09z001nmpvqvwf3mdkzkyzmxfgq30j"; 7 meta = { 8 homepage = "http://community.haskell.org/~ndm/safe/"; 9 + description = "Library of safe (exception free) functions"; 10 license = self.stdenv.lib.licenses.bsd3; 11 platforms = self.ghc.meta.platforms; 12 maintainers = [ self.stdenv.lib.maintainers.andres ];
+2 -2
pkgs/development/libraries/haskell/semigroups/default.nix
··· 2 3 cabal.mkDerivation (self: { 4 pname = "semigroups"; 5 - version = "0.15"; 6 - sha256 = "1fkinmjyx7r39c8hf8f6n9zgn6m7c2y7l0san43s4g2cfg8pxn5s"; 7 buildDepends = [ hashable nats text unorderedContainers ]; 8 meta = { 9 homepage = "http://github.com/ekmett/semigroups/";
··· 2 3 cabal.mkDerivation (self: { 4 pname = "semigroups"; 5 + version = "0.15.1"; 6 + sha256 = "1vacnw598pl9acbcjjblrpdmjhmj3wz1ifrn9ki4q7yrsh4ml7mc"; 7 buildDepends = [ hashable nats text unorderedContainers ]; 8 meta = { 9 homepage = "http://github.com/ekmett/semigroups/";
+2 -2
pkgs/development/libraries/haskell/shakespeare/default.nix
··· 4 5 cabal.mkDerivation (self: { 6 pname = "shakespeare"; 7 - version = "2.0.0.3"; 8 - sha256 = "12dmhcv404bh7kn04d175bj2b0fadz4sjypwsq151mlhakr13x85"; 9 buildDepends = [ 10 aeson blazeHtml blazeMarkup exceptions parsec systemFileio 11 systemFilepath text time transformers
··· 4 5 cabal.mkDerivation (self: { 6 pname = "shakespeare"; 7 + version = "2.0.1"; 8 + sha256 = "1h1b7p4czdzrxb77515vqnck3rj3yw35h2ds6gzxzp7pdxprds27"; 9 buildDepends = [ 10 aeson blazeHtml blazeMarkup exceptions parsec systemFileio 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 3 cabal.mkDerivation (self: { 4 pname = "storable-record"; 5 - version = "0.0.2.5"; 6 - sha256 = "078vwwcr47d3dmzkhxr7ggjkq9d5rnxv4z8p049kdnmzfbcmisn3"; 7 isLibrary = true; 8 isExecutable = true; 9 buildDepends = [ transformers utilityHt ];
··· 2 3 cabal.mkDerivation (self: { 4 pname = "storable-record"; 5 + version = "0.0.3"; 6 + sha256 = "1mv2s4r7dqkl2fy0wjnywyr2zi2g53nkn0z72mgr8drkzdszzxx1"; 7 isLibrary = true; 8 isExecutable = true; 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 3 , utf8String 4 }: 5 6 cabal.mkDerivation (self: { 7 pname = "syntactic"; 8 - version = "1.13"; 9 - sha256 = "1d5mb7ss6xr7rj93mwrdvkxkx1dlmywxx9sxsmqy7l6gaxs6gq8l"; 10 - buildDepends = [ 11 - constraints dataHash mtl transformers treeView tuple 12 - ]; 13 testDepends = [ 14 - mtl QuickCheck tasty tastyGolden tastyQuickcheck tastyTh utf8String 15 ]; 16 meta = { 17 homepage = "https://github.com/emilaxelsson/syntactic"; 18 - description = "Generic abstract syntax, and utilities for embedded languages"; 19 license = self.stdenv.lib.licenses.bsd3; 20 platforms = self.ghc.meta.platforms; 21 };
··· 1 + { cabal, constraints, dataHash, mtl, QuickCheck, safe, tagged 2 + , tasty, tastyGolden, tastyQuickcheck, tastyTh, treeView 3 , utf8String 4 }: 5 6 cabal.mkDerivation (self: { 7 pname = "syntactic"; 8 + version = "2.0"; 9 + sha256 = "0b90afdfymsbgllk8np3xfkgrn2b5ry3n2wbpkn660rknsayw94x"; 10 + buildDepends = [ constraints dataHash mtl safe tagged treeView ]; 11 testDepends = [ 12 + QuickCheck tagged tasty tastyGolden tastyQuickcheck tastyTh 13 + utf8String 14 ]; 15 meta = { 16 homepage = "https://github.com/emilaxelsson/syntactic"; 17 + description = "Generic representation and manipulation of abstract syntax"; 18 license = self.stdenv.lib.licenses.bsd3; 19 platforms = self.ghc.meta.platforms; 20 };
+4 -3
pkgs/development/libraries/haskell/tasty-golden/default.nix
··· 1 { cabal, deepseq, filepath, mtl, optparseApplicative, tagged, tasty 2 - , temporaryRc 3 }: 4 5 cabal.mkDerivation (self: { 6 pname = "tasty-golden"; 7 - version = "2.2.1.2"; 8 - sha256 = "107c6i1abw6dsd3cx1bgiyk8dnih7i9x4bl4kw6dfnva2kjkp4d1"; 9 buildDepends = [ 10 deepseq filepath mtl optparseApplicative tagged tasty temporaryRc 11 ]; 12 meta = { 13 homepage = "https://github.com/feuerbach/tasty-golden"; 14 description = "Golden tests support for tasty";
··· 1 { cabal, deepseq, filepath, mtl, optparseApplicative, tagged, tasty 2 + , tastyHunit, temporaryRc 3 }: 4 5 cabal.mkDerivation (self: { 6 pname = "tasty-golden"; 7 + version = "2.2.2.3"; 8 + sha256 = "0vphim4qbx0g53xvh8x90k0l5r6afivbb4y31nvbq2avmrm1i82w"; 9 buildDepends = [ 10 deepseq filepath mtl optparseApplicative tagged tasty temporaryRc 11 ]; 12 + testDepends = [ filepath tasty tastyHunit temporaryRc ]; 13 meta = { 14 homepage = "https://github.com/feuerbach/tasty-golden"; 15 description = "Golden tests support for tasty";
+2 -2
pkgs/development/libraries/haskell/tasty-th/default.nix
··· 2 3 cabal.mkDerivation (self: { 4 pname = "tasty-th"; 5 - version = "0.1.1"; 6 - sha256 = "0ndwfz2gq0did6dfjilhdaxzya2qw9gckjkj090cp2rbkahywsga"; 7 buildDepends = [ languageHaskellExtract tasty ]; 8 meta = { 9 homepage = "http://github.com/bennofs/tasty-th";
··· 2 3 cabal.mkDerivation (self: { 4 pname = "tasty-th"; 5 + version = "0.1.2"; 6 + sha256 = "1x3kixv0hnb7icigz2kfq959pivdc4jaaalvdgn8dlyqzkvfjzx4"; 7 buildDepends = [ languageHaskellExtract tasty ]; 8 meta = { 9 homepage = "http://github.com/bennofs/tasty-th";
+2 -2
pkgs/development/libraries/haskell/tasty/default.nix
··· 4 5 cabal.mkDerivation (self: { 6 pname = "tasty"; 7 - version = "0.8.1.1"; 8 - sha256 = "04vzq5gwyd5zb6lsf8nbr5dypgf07b4aq70i1jghkg12v8h529dr"; 9 buildDepends = [ 10 ansiTerminal async deepseq mtl optparseApplicative regexTdfa stm 11 tagged unboundedDelays
··· 4 5 cabal.mkDerivation (self: { 6 pname = "tasty"; 7 + version = "0.8.1.2"; 8 + sha256 = "07pxnm9cx28vlfypa4psnnxcfx1i4qwimkf0nkfzqkhzqb85a58s"; 9 buildDepends = [ 10 ansiTerminal async deepseq mtl optparseApplicative regexTdfa stm 11 tagged unboundedDelays
+2 -2
pkgs/development/libraries/haskell/th-desugar/default.nix
··· 2 3 cabal.mkDerivation (self: { 4 pname = "th-desugar"; 5 - version = "1.4.0"; 6 - sha256 = "0jadwqhk9dqnicg3p958a6cyfvl70amjc1hl7bhlygpxpdfffwad"; 7 buildDepends = [ mtl syb ]; 8 testDepends = [ hspec HUnit mtl syb ]; 9 meta = {
··· 2 3 cabal.mkDerivation (self: { 4 pname = "th-desugar"; 5 + version = "1.4.1"; 6 + sha256 = "1pjv301bshdmn3s5nrmmcx5d1b80c410lml73sai68dhx7v64vw2"; 7 buildDepends = [ mtl syb ]; 8 testDepends = [ hspec HUnit mtl syb ]; 9 meta = {
+2 -2
pkgs/development/libraries/haskell/twitter-conduit/default.nix
··· 7 8 cabal.mkDerivation (self: { 9 pname = "twitter-conduit"; 10 - version = "0.0.4"; 11 - sha256 = "0fv2m3sy1gklch4v3sarvq4xk9p7pdz1s3ssl52riy3mg076ab09"; 12 isLibrary = true; 13 isExecutable = true; 14 buildDepends = [
··· 7 8 cabal.mkDerivation (self: { 9 pname = "twitter-conduit"; 10 + version = "0.0.5.1"; 11 + sha256 = "0wmr5124s6n0xdilzh2cd693ar2i0mwkgsik9ns1d34ibnvfibgv"; 12 isLibrary = true; 13 isExecutable = true; 14 buildDepends = [
+2 -2
pkgs/development/libraries/haskell/vty-ui/default.nix
··· 4 5 cabal.mkDerivation (self: { 6 pname = "vty-ui"; 7 - version = "1.7"; 8 - sha256 = "1wd7ada3x7d5rhl4z3h29m9h42513vbz6dp49xhn4j806mi164nd"; 9 isLibrary = true; 10 isExecutable = true; 11 buildDepends = [
··· 4 5 cabal.mkDerivation (self: { 6 pname = "vty-ui"; 7 + version = "1.7.1"; 8 + sha256 = "1xgv2psbqcqpzgj1f1pis6hr7yvny8y9ajimllam7zsk6kbhngzz"; 9 isLibrary = true; 10 isExecutable = true; 11 buildDepends = [
+2 -2
pkgs/development/libraries/haskell/web-routes/default.nix
··· 5 6 cabal.mkDerivation (self: { 7 pname = "web-routes"; 8 - version = "0.27.5"; 9 - sha256 = "1jx5wwmlylwrf45wy3w29ck1p7509mgy8m02vipd8apibx6ghp22"; 10 buildDepends = [ 11 blazeBuilder httpTypes mtl parsec split text utf8String 12 ];
··· 5 6 cabal.mkDerivation (self: { 7 pname = "web-routes"; 8 + version = "0.27.6"; 9 + sha256 = "16jmiwnwmq9bkifk14dfs88a2kyy7rqybyq68ybrjq1x84x6pkkp"; 10 buildDepends = [ 11 blazeBuilder httpTypes mtl parsec split text utf8String 12 ];
+2 -2
pkgs/development/libraries/haskell/webdriver/default.nix
··· 7 8 cabal.mkDerivation (self: { 9 pname = "webdriver"; 10 - version = "0.5.4"; 11 - sha256 = "0839vw7drjn5iray4ma17f0pfgwx44q10ad8m564jvjgcml4yhvq"; 12 buildDepends = [ 13 aeson attoparsec base64Bytestring cond dataDefault directoryTree 14 exceptions filepath HTTP liftedBase monadControl mtl network
··· 7 8 cabal.mkDerivation (self: { 9 pname = "webdriver"; 10 + version = "0.5.5"; 11 + sha256 = "1k656ghkaqlnp4a9dd99s3l2vm21zsqpqxwfg2lq5rx2yw402nga"; 12 buildDepends = [ 13 aeson attoparsec base64Bytestring cond dataDefault directoryTree 14 exceptions filepath HTTP liftedBase monadControl mtl network
+2 -2
pkgs/development/libraries/haskell/websockets/default.nix
··· 6 7 cabal.mkDerivation (self: { 8 pname = "websockets"; 9 - version = "0.8.2.4"; 10 - sha256 = "09mq04vhi53isj8z5930ibyai7bv634lnmhl4xl2d3fzz2afvff0"; 11 buildDepends = [ 12 attoparsec base64Bytestring binary blazeBuilder caseInsensitive 13 entropy ioStreams mtl network random SHA text
··· 6 7 cabal.mkDerivation (self: { 8 pname = "websockets"; 9 + version = "0.8.2.5"; 10 + sha256 = "1d8r9mrkwvac05gblxrnxdnnyqqidjcfv5j3njbb9dgzdj56gb1y"; 11 buildDepends = [ 12 attoparsec base64Bytestring binary blazeBuilder caseInsensitive 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 }: 2 3 stdenv.mkDerivation rec { 4 - name = "lightning-1.2c"; 5 6 src = fetchurl { 7 url = "ftp://alpha.gnu.org/gnu/lightning/${name}.tar.gz"; 8 - sha256 = "00ss2b75msj4skkda9fs5df3bfpi8bwbckci8g0pwd3syppb3qdl"; 9 }; 10 11 doCheck = true; 12 ··· 24 25 license = "LGPLv3+"; 26 }; 27 - }
··· 1 + { fetchurl, stdenv, binutils }: 2 3 stdenv.mkDerivation rec { 4 + name = "lightning-2.0.4"; 5 6 src = fetchurl { 7 url = "ftp://alpha.gnu.org/gnu/lightning/${name}.tar.gz"; 8 + sha256 = "1lrckrx51d5hrv66bc99fd4b7g2wwn4vr304hwq3glfzhb8jqcdy"; 9 }; 10 + 11 + # Needs libopcodes.so from binutils for 'make check' 12 + buildInputs = [ binutils ]; 13 14 doCheck = true; 15 ··· 27 28 license = "LGPLv3+"; 29 }; 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 { stdenv, fetchurl }: 2 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 - }; 9 }
··· 1 { stdenv, fetchurl }: 2 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 + }; 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 + }; 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 meta = { 53 description = "Hierarchical datasets for Python"; 54 homepage = "http://www.pytables.org/"; 55 }; 56 }
··· 52 meta = { 53 description = "Hierarchical datasets for Python"; 54 homepage = "http://www.pytables.org/"; 55 + license = stdenv.lib.licenses.bsd2; 56 }; 57 }
+2 -2
pkgs/development/tools/haskell/hlint/default.nix
··· 4 5 cabal.mkDerivation (self: { 6 pname = "hlint"; 7 - version = "1.8.61"; 8 - sha256 = "08y8ny6dv14gxnzzr5f1hvs22m7y62yffyq2pzvw2aja8fbj5d2z"; 9 isLibrary = true; 10 isExecutable = true; 11 buildDepends = [
··· 4 5 cabal.mkDerivation (self: { 6 pname = "hlint"; 7 + version = "1.9"; 8 + sha256 = "1c8qpfrivsxx6raqnrz40li73hng4z0ygc1hl70qixbmsmv2a830"; 9 isLibrary = true; 10 isExecutable = true; 11 buildDepends = [
+2 -2
pkgs/development/tools/misc/cpphs/default.nix
··· 2 3 cabal.mkDerivation (self: { 4 pname = "cpphs"; 5 - version = "1.18.4"; 6 - sha256 = "0rmcq66wn7lsc5g1wk6bbsr7jiw8h6bz5cbvdywnv7vmwsx8gh51"; 7 isLibrary = true; 8 isExecutable = true; 9 buildDepends = [ polyparse ];
··· 2 3 cabal.mkDerivation (self: { 4 pname = "cpphs"; 5 + version = "1.18.5"; 6 + sha256 = "0bqfz0wkfnxvv711fgmhmh6rbwffgna1pfqbj7whb6crqji9w7g7"; 7 isLibrary = true; 8 isExecutable = true; 9 buildDepends = [ polyparse ];
+7 -5
pkgs/development/tools/misc/d-feet/default.nix
··· 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 }: 5 6 let 7 version = "${major}.8"; ··· 18 19 buildInputs = [ 20 pkgconfig libxml2 itstool intltool glib gtk3 pep8 python 21 makeWrapper pygobject3 libwnck3 22 ]; 23 24 - postInstall = 25 '' 26 wrapProgram $out/bin/d-feet \ 27 --prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${pygobject3})" \ 28 --prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \ 29 --prefix LD_LIBRARY_PATH : "${gtk3}/lib:${atk}/lib:${libwnck3}/lib" \ 30 - --prefix XDG_DATA_DIRS : "${gnome_icon_theme}/share:$out/share" 31 ''; 32 33 meta = {
··· 1 { stdenv, pkgconfig, fetchurl, itstool, intltool, libxml2, glib, gtk3 2 + , pango, gdk_pixbuf, atk, pep8, python, makeWrapper, gnome3 3 + , pygobject3, gobjectIntrospection, libwnck3 }: 4 5 let 6 version = "${major}.8"; ··· 17 18 buildInputs = [ 19 pkgconfig libxml2 itstool intltool glib gtk3 pep8 python 20 + gnome3.gnome_icon_theme gnome3.gnome_icon_theme_symbolic 21 makeWrapper pygobject3 libwnck3 22 ]; 23 24 + preFixup = 25 '' 26 wrapProgram $out/bin/d-feet \ 27 --prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${pygobject3})" \ 28 --prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \ 29 --prefix LD_LIBRARY_PATH : "${gtk3}/lib:${atk}/lib:${libwnck3}/lib" \ 30 + --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$out/share" 31 + 32 + rm $out/share/icons/hicolor/icon-theme.cache 33 ''; 34 35 meta = {
+1 -1
pkgs/development/tools/misc/openocd/default.nix
··· 30 31 postInstall = '' 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" 34 ''; 35 36 meta = with stdenv.lib; {
··· 30 31 postInstall = '' 32 mkdir -p "$out/etc/udev/rules.d" 33 + ln -s "$out/share/openocd/contrib/99-openocd.rules" "$out/etc/udev/rules.d/99-openocd.rules" 34 ''; 35 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 (builtins.attrNames (builtins.removeAttrs x helperArgNames)); 12 sourceInfo = rec { 13 baseName="atanks"; 14 - version="4.9"; 15 name="${baseName}-${version}"; 16 project="${baseName}"; 17 url="mirror://sourceforge/project/${project}/${baseName}/${name}/${name}.tar.gz"; 18 - hash="015nwh8jk4k24ci6ilihii8idkyf6g266r4vl50csvykc82slrvd"; 19 }; 20 in 21 rec { 22 src = a.fetchurl { 23 url = sourceInfo.url; 24 - sha256 = sourceInfo.hash; 25 }; 26 27 inherit (sourceInfo) name version; ··· 35 fixInstall = a.fullDepEntry ('' 36 sed -e "s@INSTALL=.*bin/install @INSTALL=install @" -i Makefile 37 sed -e "s@-g 0 -m ... -o 0@@" -i Makefile 38 '') ["doUnpack" "minInit"]; 39 40 meta = { ··· 45 ]; 46 platforms = with a.lib.platforms; 47 linux; 48 - }; 49 - passthru = { 50 - updateInfo = { 51 - downloadPage = "http://sourceforge.net/projects/atanks/files/atanks/"; 52 - }; 53 }; 54 }) x 55
··· 11 (builtins.attrNames (builtins.removeAttrs x helperArgNames)); 12 sourceInfo = rec { 13 baseName="atanks"; 14 + version = "6.0"; 15 name="${baseName}-${version}"; 16 project="${baseName}"; 17 url="mirror://sourceforge/project/${project}/${baseName}/${name}/${name}.tar.gz"; 18 + sha256 = "0460zwzd800vcgsmd1dzb7j5wcy3lf9hsdw152f6p2mbd0nq5pds"; 19 }; 20 in 21 rec { 22 src = a.fetchurl { 23 url = sourceInfo.url; 24 + sha256 = sourceInfo.sha256; 25 }; 26 27 inherit (sourceInfo) name version; ··· 35 fixInstall = a.fullDepEntry ('' 36 sed -e "s@INSTALL=.*bin/install @INSTALL=install @" -i Makefile 37 sed -e "s@-g 0 -m ... -o 0@@" -i Makefile 38 + sed -e 's@/usr/@'"$out"'@g' -i Makefile 39 '') ["doUnpack" "minInit"]; 40 41 meta = { ··· 46 ]; 47 platforms = with a.lib.platforms; 48 linux; 49 + downloadPage = "http://sourceforge.net/projects/atanks/files/atanks/"; 50 + inherit version; 51 }; 52 }) x 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 assert jdk != null; 4 5 stdenv.mkDerivation { 6 - name = "apache-maven-3.0.4"; 7 8 builder = ./builder.sh; 9 10 src = fetchurl { 11 - url = mirror://apache/maven/binaries/apache-maven-3.0.4-bin.tar.gz; 12 - sha256 = "0bxa7x8ifm8590nxifhsh3sxzm6aicbczyx21vibg3606ih8fnnk"; 13 }; 14 15 buildInputs = [ makeWrapper ];
··· 3 assert jdk != null; 4 5 stdenv.mkDerivation { 6 + name = "apache-maven-3.1.1"; 7 8 builder = ./builder.sh; 9 10 src = fetchurl { 11 + url = mirror://apache/maven/binaries/apache-maven-3.1.1-bin.tar.gz; 12 + sha256 = "06ymc5y8bp5crcz74z2m9pf58aid5q11v2klnjmxb4ar8mkd8zh7"; 13 }; 14 15 buildInputs = [ makeWrapper ];
+1
pkgs/misc/my-env/loadenv.sh
··· 6 7 PATH="$PATH:$OLDPATH" 8 export PS1="\n@name@:[\u@\h:\w]\$ " 9 export buildInputs 10 export NIX_STRIP_DEBUG=0 11 export TZ="$OLDTZ"
··· 6 7 PATH="$PATH:$OLDPATH" 8 export PS1="\n@name@:[\u@\h:\w]\$ " 9 + export NIX_MYENV_NAME="@name@" 10 export buildInputs 11 export NIX_STRIP_DEBUG=0 12 export TZ="$OLDTZ"
+2 -2
pkgs/os-specific/linux/acpi-call/default.nix
··· 5 6 src = fetchgit { 7 url = "git://github.com/mkottman/acpi_call.git"; 8 - rev = "46dd97e115ddc7219c88b0818c4d5b235162fe6e"; 9 - sha256 = "1bi0azd7xxhrivjhnmxllj2sfj12br56mxii20mnqdpqwyz0rhni"; 10 }; 11 12 preBuild = ''
··· 5 6 src = fetchgit { 7 url = "git://github.com/mkottman/acpi_call.git"; 8 + rev = "ac67445bc75ec4fcf46ceb195fb84d74ad350d51"; 9 + sha256 = "0jl19irz9x9pxab2qp4z8c3jijv2m30zhmnzi6ygbrisqqlg4c75"; 10 }; 11 12 preBuild = ''
+3
pkgs/os-specific/linux/atop/default.nix
··· 35 longDescription = '' 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 ''; 38 }; 39 }
··· 35 longDescription = '' 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 ''; 38 + inherit version; 39 + downloadPage = http://atoptool.nl/downloadatop.php; 40 + updateWalker = true; 41 }; 42 }
+2 -2
pkgs/os-specific/linux/kernel/linux-3.14.nix
··· 1 { stdenv, fetchurl, ... } @ args: 2 3 import ./generic.nix (args // rec { 4 - version = "3.14.9"; 5 extraMeta.branch = "3.14"; 6 7 src = fetchurl { 8 url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 9 - sha256 = "0rm68hzkxzzh6a1nw6fsxbg43d4b88957ail7b9ga589cagf3p94"; 10 }; 11 12 features.iwlwifi = true;
··· 1 { stdenv, fetchurl, ... } @ args: 2 3 import ./generic.nix (args // rec { 4 + version = "3.14.10"; 5 extraMeta.branch = "3.14"; 6 7 src = fetchurl { 8 url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 9 + sha256 = "10gf1r3xnix4v2az7i9dxnddmi377hhlbyblgm0nz9sxddgmk36z"; 10 }; 11 12 features.iwlwifi = true;
+2 -2
pkgs/os-specific/linux/kernel/linux-3.15.nix
··· 1 { stdenv, fetchurl, ... } @ args: 2 3 import ./generic.nix (args // rec { 4 - version = "3.15.2"; 5 extraMeta.branch = "3.15"; 6 7 src = fetchurl { 8 url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 9 - sha256 = "09nq8q84xn6lwzdnn36pzfiqhn1lapi60yxn4hifb7v9ymhc5sv6"; 10 }; 11 12 features.iwlwifi = true;
··· 1 { stdenv, fetchurl, ... } @ args: 2 3 import ./generic.nix (args // rec { 4 + version = "3.15.3"; 5 extraMeta.branch = "3.15"; 6 7 src = fetchurl { 8 url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 9 + sha256 = "0i8dmx1yiaraxb7gsjm7wpy0rv8038nbrwl2slzq749pgm4bd5bf"; 10 }; 11 12 features.iwlwifi = true;
+6 -6
pkgs/os-specific/linux/kernel/patches.nix
··· 60 }; 61 62 grsecurity_stable = grsecPatch 63 - { kversion = "3.14.9"; 64 - revision = "201406262057"; 65 branch = "stable"; 66 - sha256 = "0rrcmlaz69028fwl45xnif1dc9wnl7lnrry1280mdg764wrc6g0n"; 67 }; 68 69 grsecurity_unstable = grsecPatch 70 - { kversion = "3.15.2"; 71 - revision = "201406262058"; 72 branch = "test"; 73 - sha256 = "02r9xasg1hiw3bynwh50r9cqjzwffmhsyg4gmiyzs58izivl1hvd"; 74 }; 75 76 grsec_fix_path =
··· 60 }; 61 62 grsecurity_stable = grsecPatch 63 + { kversion = "3.14.10"; 64 + revision = "201407012152"; 65 branch = "stable"; 66 + sha256 = "1119044lzkr9wpr1gpl1g0bz67c2xpdd9bkddllij7ja24jv8sx1"; 67 }; 68 69 grsecurity_unstable = grsecPatch 70 + { kversion = "3.15.3"; 71 + revision = "201407012153"; 72 branch = "test"; 73 + sha256 = "0bccayakprc77530crxfr9v2hbs6hlcf290pj1ywlh1p861ljgbm"; 74 }; 75 76 grsec_fix_path =
+8 -8
pkgs/os-specific/linux/zfs/default.nix
··· 27 substituteInPlace ./cmd/ztest/ztest.c --replace "/usr/sbin/zdb" "$out/sbin/zdb" 28 ''; 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 - ''; 38 39 enableParallelBuilding = true; 40
··· 27 substituteInPlace ./cmd/ztest/ztest.c --replace "/usr/sbin/zdb" "$out/sbin/zdb" 28 ''; 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 + ]; 38 39 enableParallelBuilding = true; 40
+8 -8
pkgs/os-specific/linux/zfs/git.nix
··· 28 substituteInPlace ./cmd/ztest/ztest.c --replace "/usr/sbin/zdb" "$out/sbin/zdb" 29 ''; 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 - ''; 39 40 enableParallelBuilding = true; 41
··· 28 substituteInPlace ./cmd/ztest/ztest.c --replace "/usr/sbin/zdb" "$out/sbin/zdb" 29 ''; 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 + ]; 39 40 enableParallelBuilding = true; 41
+2 -2
pkgs/servers/http/couchdb/default.nix
··· 3 4 stdenv.mkDerivation rec { 5 name = "couchdb-${version}"; 6 - version = "1.5.1"; 7 8 src = fetchurl { 9 url = "mirror://apache/couchdb/source/${version}/apache-${name}.tar.gz"; 10 - sha256 = "0isddp29zh72idgwjaswqy887c1fwx5g1lwlbzscwcv6q70xrmfr"; 11 }; 12 13 buildInputs = [ erlang icu openssl spidermonkey curl help2man sphinx which
··· 3 4 stdenv.mkDerivation rec { 5 name = "couchdb-${version}"; 6 + version = "1.6.0"; 7 8 src = fetchurl { 9 url = "mirror://apache/couchdb/source/${version}/apache-${name}.tar.gz"; 10 + sha256 = "0m4k7i3gibzzcabssysv42rmdr89myppc6765xr0jggwkwdxgxmx"; 11 }; 12 13 buildInputs = [ erlang icu openssl spidermonkey curl help2man sphinx which
+7 -7
pkgs/tools/X11/autocutsel/default.nix
··· 1 {stdenv, fetchurl, libX11, libXaw}: 2 3 - let 4 - name = "autocutsel-0.9.0"; 5 - in 6 - stdenv.mkDerivation { 7 - inherit name; 8 9 src = fetchurl { 10 - url = "mirror://savannah/autocutsel/${name}.tar.gz"; 11 - sha256 = "0hp335qq57l0kp58pfwb0bk930zx5497frq8y0lzr4icvk1fpw5y"; 12 }; 13 14 buildInputs = [ libX11 libXaw ]; ··· 18 ''; 19 20 meta = { 21 homepage = "http://www.nongnu.org/autocutsel/"; 22 description = "Tracks changes in the server's cutbuffer and CLIPBOARD selection"; 23 license = "GPLv2+"; 24 platforms = with stdenv.lib.platforms; all; 25 }; 26 }
··· 1 {stdenv, fetchurl, libX11, libXaw}: 2 3 + stdenv.mkDerivation rec { 4 + version = "0.10.0"; 5 + name = "autocutsel-${version}"; 6 7 src = fetchurl { 8 + url = "https://github.com/sigmike/autocutsel/releases/download/${version}/${name}.tar.gz"; 9 + sha256 = "0gsys2dzh4az51ndcsabhlbbrjn2nm75lnjr45kg6r8sm8q66dx2"; 10 }; 11 12 buildInputs = [ libX11 libXaw ]; ··· 16 ''; 17 18 meta = { 19 + inherit version; 20 homepage = "http://www.nongnu.org/autocutsel/"; 21 description = "Tracks changes in the server's cutbuffer and CLIPBOARD selection"; 22 license = "GPLv2+"; 23 platforms = with stdenv.lib.platforms; all; 24 + updateWalker = true; 25 }; 26 }
+3 -5
pkgs/tools/networking/altermime/default.nix
··· 42 ]; 43 platforms = with a.lib.platforms; 44 linux; 45 - }; 46 - passthru = { 47 - updateInfo = { 48 - downloadPage = "http://www.pldaniels.com/altermime/"; 49 - }; 50 }; 51 }) x 52
··· 42 ]; 43 platforms = with a.lib.platforms; 44 linux; 45 + downloadPage = "http://www.pldaniels.com/altermime/"; 46 + inherit version; 47 + updateWalker = true; 48 }; 49 }) x 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 { stdenv, fetchurl, pkgconfig, openssl, libxml2, sqlite, zlib }: 2 3 stdenv.mkDerivation rec { 4 - name = "aria2-1.18.1"; 5 6 src = fetchurl { 7 url = "mirror://sourceforge/aria2/stable/${name}/${name}.tar.bz2"; 8 - sha256 = "0fwm5d0i4nr9yzckmd8yc80yj4h1acrv6jca3h1vjji0rbgk49zy"; 9 }; 10 11 buildInputs = [ pkgconfig openssl libxml2 sqlite zlib ];
··· 1 { stdenv, fetchurl, pkgconfig, openssl, libxml2, sqlite, zlib }: 2 3 stdenv.mkDerivation rec { 4 + name = "aria2-1.18.5"; 5 6 src = fetchurl { 7 url = "mirror://sourceforge/aria2/stable/${name}/${name}.tar.bz2"; 8 + sha256 = "0gyfp4zw7rlaxcxhb402azazf1fi83kk3qg4w0j8d2i7pfa1zqi5"; 9 }; 10 11 buildInputs = [ pkgconfig openssl libxml2 sqlite zlib ];
+2 -2
pkgs/tools/networking/babeld/default.nix
··· 1 { stdenv, fetchurl }: 2 3 stdenv.mkDerivation rec { 4 - name = "babeld-1.4.3"; 5 6 src = fetchurl { 7 url = "http://www.pps.univ-paris-diderot.fr/~jch/software/files/${name}.tar.gz"; 8 - sha256 = "18qb0g7pxxgl9j0jwpyzhxk2h8bf26sk5bwmnqxv34a5f6lhzf6h"; 9 }; 10 11 preBuild = ''
··· 1 { stdenv, fetchurl }: 2 3 stdenv.mkDerivation rec { 4 + name = "babeld-1.5.0"; 5 6 src = fetchurl { 7 url = "http://www.pps.univ-paris-diderot.fr/~jch/software/files/${name}.tar.gz"; 8 + sha256 = "0lpm1zras74b71y01fxndrcvfjzb1ny2hh62pjw6idaqpyrp797s"; 9 }; 10 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); 8 } else { 9 TAILQ_REMOVE(ifs, ifp, next); 10 TAILQ_INSERT_TAIL(ctx->ifaces, ifp, next); 11 - } 12 - - if (action == 1) { 13 - init_state(ifp, ctx->argc, ctx->argv); 14 - - start_interface(ifp); 15 - + if (action == 1) { 16 + init_state(ifp, ctx->argc, ctx->argv); 17 - + start_interface(ifp); 18 + } 19 } 20 } 21 22 - /* Free our discovered list */ 23 - while ((ifp = TAILQ_FIRST(ifs))) { 24 -
··· 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 @@ 29 } else { 30 TAILQ_REMOVE(ifs, ifp, next); 31 TAILQ_INSERT_TAIL(ctx->ifaces, ifp, next); 32 - } 33 + - if (action > 0) { 34 - init_state(ifp, ctx->argc, ctx->argv); 35 + - run_preinit(ifp); 36 + - dhcpcd_startinterface(ifp); 37 + + if (action > 0) { 38 + init_state(ifp, ctx->argc, ctx->argv); 39 + + run_preinit(ifp); 40 + + dhcpcd_startinterface(ifp); 41 + } 42 } 43 } 44
+3 -3
pkgs/tools/networking/dhcpcd/default.nix
··· 1 { stdenv, fetchurl, pkgconfig, udev }: 2 3 stdenv.mkDerivation rec { 4 - name = "dhcpcd-6.3.2"; 5 6 src = fetchurl { 7 url = "http://roy.marples.name/downloads/dhcpcd/${name}.tar.bz2"; 8 - sha256 = "1v2m5wdr6x5cz6i0n1y63am9dhj5j7ylrk717scjgwwjdbq1x75n"; 9 }; 10 11 - patches = [ ./lxc_ro_promote_secondaries.patch ./reload.patch ./check-interface.patch ]; 12 13 buildInputs = [ pkgconfig udev ]; 14
··· 1 { stdenv, fetchurl, pkgconfig, udev }: 2 3 stdenv.mkDerivation rec { 4 + name = "dhcpcd-6.4.0"; 5 6 src = fetchurl { 7 url = "http://roy.marples.name/downloads/dhcpcd/${name}.tar.bz2"; 8 + sha256 = "04whlqg1lik1c690kpgmw5hh6qzim64bw0l4fpr4vb8cj74aj4q4"; 9 }; 10 11 + patches = [ /* ./lxc_ro_promote_secondaries.patch */ ./reload.patch ./check-interface.patch ]; 12 13 buildInputs = [ pkgconfig udev ]; 14
+4
pkgs/tools/networking/dhcpcd/reload.patch
··· 1 --- a/dhcpcd.c 2 +++ b/dhcpcd.c 3 @@ -143,16 +143,18 @@
··· 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 + 5 --- a/dhcpcd.c 6 +++ b/dhcpcd.c 7 @@ -143,16 +143,18 @@
+11 -5
pkgs/tools/networking/mu/default.nix
··· 1 - { fetchurl, stdenv, sqlite, pkgconfig, xapian, glib, gmime, texinfo, emacs, guile 2 , gtk3, webkit, libsoup, icu, withMug ? false /* doesn't build with current gtk3 */ }: 3 4 stdenv.mkDerivation rec { 5 - version = "0.9.9.5"; 6 name = "mu-${version}"; 7 8 src = fetchurl { 9 - url = "https://mu0.googlecode.com/files/mu-${version}.tar.gz"; 10 - sha256 = "1hwkliyb8fjrz5sw9fcisssig0jkdxzhccw0ld0l9a10q1l9mqhp"; 11 }; 12 13 buildInputs = 14 - [ sqlite pkgconfig xapian glib gmime texinfo emacs guile libsoup icu ] 15 ++ stdenv.lib.optional withMug [ gtk3 webkit ]; 16 17 preBuild = '' 18 # Fix mu4e-builddir (set it to $out)
··· 1 + { fetchurl, stdenv, sqlite, pkgconfig, autoconf, automake 2 + , xapian, glib, gmime, texinfo , emacs, guile 3 , gtk3, webkit, libsoup, icu, withMug ? false /* doesn't build with current gtk3 */ }: 4 5 stdenv.mkDerivation rec { 6 + version = "0.9.9.6"; 7 name = "mu-${version}"; 8 9 src = fetchurl { 10 + url = "https://github.com/djcb/mu/archive/v${version}.tar.gz"; 11 + sha256 = "1jr9ss29yi6d62hd4ap07p2abgf12hwqfhasv3gwdkrx8dzwmr2a"; 12 }; 13 14 buildInputs = 15 + [ sqlite pkgconfig autoconf automake xapian 16 + glib gmime texinfo emacs guile libsoup icu ] 17 ++ stdenv.lib.optional withMug [ gtk3 webkit ]; 18 + 19 + preConfigure = '' 20 + autoreconf -i 21 + ''; 22 23 preBuild = '' 24 # Fix mu4e-builddir (set it to $out)
+2 -2
pkgs/tools/networking/openresolv/default.nix
··· 1 { stdenv, fetchurl, makeWrapper, coreutils }: 2 3 stdenv.mkDerivation rec { 4 - name = "openresolv-3.5.6"; 5 6 src = fetchurl { 7 url = "http://roy.marples.name/downloads/openresolv/${name}.tar.bz2"; 8 - sha256 = "1n3cw1vbm7mh5d95ykhzdn2mrrf3pm65sp61p8iwydz1gqkp2inv"; 9 }; 10 11 buildInputs = [ makeWrapper ];
··· 1 { stdenv, fetchurl, makeWrapper, coreutils }: 2 3 stdenv.mkDerivation rec { 4 + name = "openresolv-3.5.7"; 5 6 src = fetchurl { 7 url = "http://roy.marples.name/downloads/openresolv/${name}.tar.bz2"; 8 + sha256 = "14n51wqnh49zdvx11l79s3fh1jhg7kg9cfny5vk7zsix78spmyx7"; 9 }; 10 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 540 inherit (androidenv) androidsdk_4_1; 541 542 - aria = builderDefsPackage (import ../tools/networking/aria) { }; 543 - 544 aria2 = callPackage ../tools/networking/aria2 { }; 545 546 at = callPackage ../tools/system/at { }; 547 ··· 2246 2247 wal_e = callPackage ../tools/backup/wal-e { }; 2248 2249 wbox = callPackage ../tools/networking/wbox {}; 2250 2251 welkin = callPackage ../tools/graphics/welkin {}; ··· 2559 2560 cmucl_binary = callPackage ../development/compilers/cmucl/binary.nix { }; 2561 2562 - compcert = callPackage_i686 ../development/compilers/compcert {}; 2563 2564 cryptol1 = lowPrio (callPackage ../development/compilers/cryptol/1.8.x.nix {}); 2565 cryptol2 = haskellPackages.cryptol; ··· 3177 giflib = giflib_4_1; 3178 }; 3179 3180 ocaml_cairo = callPackage ../development/ocaml-modules/ocaml-cairo { }; 3181 3182 cppo = callPackage ../development/tools/ocaml/cppo { }; ··· 3184 cryptokit = callPackage ../development/ocaml-modules/cryptokit { }; 3185 3186 deriving = callPackage ../development/tools/ocaml/deriving { }; 3187 3188 findlib = callPackage ../development/tools/ocaml/findlib { }; 3189 ··· 3266 opam_1_0_0 = callPackage ../development/tools/ocaml/opam/1.0.0.nix { }; 3267 opam_1_1 = callPackage ../development/tools/ocaml/opam/1.1.nix { }; 3268 opam = opam_1_1; 3269 3270 zarith = callPackage ../development/ocaml-modules/zarith { }; 3271 }; ··· 3453 compat = true; 3454 }; 3455 lua5 = lua5_1; 3456 3457 lua5_sockets = callPackage ../development/interpreters/lua-5/sockets.nix {}; 3458 lua5_expat = callPackage ../development/interpreters/lua-5/expat.nix {}; 3459 3460 luarocks = callPackage ../development/tools/misc/luarocks { 3461 lua = lua5; ··· 3510 3511 php = php54; 3512 3513 - phpPackages = import ./php-packages.nix { 3514 inherit php pkgs; 3515 - }; 3516 3517 php53 = callPackage ../development/interpreters/php/5.3.nix { }; 3518 ··· 3526 }; 3527 3528 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 3534 picolisp = callPackage ../development/interpreters/picolisp {}; 3535 ··· 3857 3858 dfeet = callPackage ../development/tools/misc/d-feet { 3859 inherit (pythonPackages) pep8; 3860 - inherit (gnome3) gnome_icon_theme; 3861 }; 3862 3863 dfu-programmer = callPackage ../development/tools/misc/dfu-programmer { }; ··· 4195 4196 allegro = callPackage ../development/libraries/allegro {}; 4197 allegro5 = callPackage ../development/libraries/allegro/5.nix {}; 4198 4199 amrnb = callPackage ../development/libraries/amrnb { }; 4200 ··· 4254 boostHeaders = callPackage ../development/libraries/boost/header-only-wrapper.nix { }; 4255 4256 botan = callPackage ../development/libraries/botan { }; 4257 4258 box2d = callPackage ../development/libraries/box2d { }; 4259 box2d_2_0_1 = callPackage ../development/libraries/box2d/2.0.1.nix { }; ··· 6122 inherit readline ncurses; 6123 }); 6124 6125 stfl = callPackage ../development/libraries/stfl { 6126 stdenv = if stdenv.isDarwin 6127 then overrideGCC stdenv gccApple ··· 7417 7418 # The current default kernel / kernel modules. 7419 linux = linuxPackages.kernel; 7420 - linuxPackages = linuxPackages_3_12; 7421 7422 # Update this when adding the newest kernel major version! 7423 linux_latest = pkgs.linux_3_15; ··· 8887 inherit (pythonPackages) pyopengl; 8888 }; 8889 8890 inkscape = callPackage ../applications/graphics/inkscape { 8891 inherit (pythonPackages) lxml; 8892 lcms = lcms2; ··· 9726 9727 vbindiff = callPackage ../applications/editors/vbindiff { }; 9728 9729 vdpauinfo = callPackage ../tools/X11/vdpauinfo { }; 9730 9731 veracity = callPackage ../applications/version-management/veracity {}; ··· 9887 ++ lib.optional (supportsJDK && cfg.jre or false && jrePlugin ? mozillaPlugin) jrePlugin 9888 ++ lib.optional (cfg.enableGoogleTalkPlugin or false) google_talk_plugin 9889 ++ lib.optional (cfg.enableFriBIDPlugin or false) fribid 9890 ); 9891 libs = [ gstreamer gst_plugins_base ] ++ lib.optionals (cfg.enableQuakeLive or false) 9892 (with xlibs; [ stdenv.gcc libX11 libXxf86dga libXxf86vm libXext libXt alsaLib zlib ]); ··· 10528 10529 liblikeback = callPackage ../development/libraries/liblikeback { }; 10530 10531 networkmanagement = callPackage ../tools/networking/networkmanagement { }; 10532 10533 partitionManager = callPackage ../tools/misc/partition-manager { }; 10534 10535 polkit_kde_agent = callPackage ../tools/security/polkit-kde-agent { }; 10536
··· 539 540 inherit (androidenv) androidsdk_4_1; 541 542 aria2 = callPackage ../tools/networking/aria2 { }; 543 + aria = aria2; 544 545 at = callPackage ../tools/system/at { }; 546 ··· 2245 2246 wal_e = callPackage ../tools/backup/wal-e { }; 2247 2248 + watchman = callPackage ../development/tools/watchman { }; 2249 + 2250 wbox = callPackage ../tools/networking/wbox {}; 2251 2252 welkin = callPackage ../tools/graphics/welkin {}; ··· 2560 2561 cmucl_binary = callPackage ../development/compilers/cmucl/binary.nix { }; 2562 2563 + compcert = callPackage ../development/compilers/compcert {}; 2564 2565 cryptol1 = lowPrio (callPackage ../development/compilers/cryptol/1.8.x.nix {}); 2566 cryptol2 = haskellPackages.cryptol; ··· 3178 giflib = giflib_4_1; 3179 }; 3180 3181 + biniou = callPackage ../development/ocaml-modules/biniou { }; 3182 + 3183 ocaml_cairo = callPackage ../development/ocaml-modules/ocaml-cairo { }; 3184 3185 cppo = callPackage ../development/tools/ocaml/cppo { }; ··· 3187 cryptokit = callPackage ../development/ocaml-modules/cryptokit { }; 3188 3189 deriving = callPackage ../development/tools/ocaml/deriving { }; 3190 + 3191 + easy-format = callPackage ../development/ocaml-modules/easy-format { }; 3192 3193 findlib = callPackage ../development/tools/ocaml/findlib { }; 3194 ··· 3271 opam_1_0_0 = callPackage ../development/tools/ocaml/opam/1.0.0.nix { }; 3272 opam_1_1 = callPackage ../development/tools/ocaml/opam/1.1.nix { }; 3273 opam = opam_1_1; 3274 + 3275 + yojson = callPackage ../development/ocaml-modules/yojson { }; 3276 3277 zarith = callPackage ../development/ocaml-modules/zarith { }; 3278 }; ··· 3460 compat = true; 3461 }; 3462 lua5 = lua5_1; 3463 + lua = lua5; 3464 3465 lua5_sockets = callPackage ../development/interpreters/lua-5/sockets.nix {}; 3466 lua5_expat = callPackage ../development/interpreters/lua-5/expat.nix {}; 3467 + lua5_filesystem = callPackage ../development/interpreters/lua-5/filesystem.nix {}; 3468 3469 luarocks = callPackage ../development/tools/misc/luarocks { 3470 lua = lua5; ··· 3519 3520 php = php54; 3521 3522 + phpPackages = recurseIntoAttrs (import ./php-packages.nix { 3523 inherit php pkgs; 3524 + }); 3525 3526 php53 = callPackage ../development/interpreters/php/5.3.nix { }; 3527 ··· 3535 }; 3536 3537 php54 = callPackage ../development/interpreters/php/5.4.nix { }; 3538 3539 picolisp = callPackage ../development/interpreters/picolisp {}; 3540 ··· 3862 3863 dfeet = callPackage ../development/tools/misc/d-feet { 3864 inherit (pythonPackages) pep8; 3865 }; 3866 3867 dfu-programmer = callPackage ../development/tools/misc/dfu-programmer { }; ··· 4199 4200 allegro = callPackage ../development/libraries/allegro {}; 4201 allegro5 = callPackage ../development/libraries/allegro/5.nix {}; 4202 + allegro5unstable = callPackage 4203 + ../development/libraries/allegro/5-unstable.nix {}; 4204 4205 amrnb = callPackage ../development/libraries/amrnb { }; 4206 ··· 4260 boostHeaders = callPackage ../development/libraries/boost/header-only-wrapper.nix { }; 4261 4262 botan = callPackage ../development/libraries/botan { }; 4263 + botanUnstable = callPackage ../development/libraries/botan/unstable.nix { }; 4264 4265 box2d = callPackage ../development/libraries/box2d { }; 4266 box2d_2_0_1 = callPackage ../development/libraries/box2d/2.0.1.nix { }; ··· 6129 inherit readline ncurses; 6130 }); 6131 6132 + sqlcipher = lowPrio (callPackage ../development/libraries/sqlcipher { 6133 + readline = null; 6134 + ncurses = null; 6135 + }); 6136 + 6137 stfl = callPackage ../development/libraries/stfl { 6138 stdenv = if stdenv.isDarwin 6139 then overrideGCC stdenv gccApple ··· 7429 7430 # The current default kernel / kernel modules. 7431 linux = linuxPackages.kernel; 7432 + linuxPackages = linuxPackages_3_14; 7433 7434 # Update this when adding the newest kernel major version! 7435 linux_latest = pkgs.linux_3_15; ··· 8899 inherit (pythonPackages) pyopengl; 8900 }; 8901 8902 + inferno = callPackage_i686 ../applications/inferno { }; 8903 + 8904 inkscape = callPackage ../applications/graphics/inkscape { 8905 inherit (pythonPackages) lxml; 8906 lcms = lcms2; ··· 9740 9741 vbindiff = callPackage ../applications/editors/vbindiff { }; 9742 9743 + vcprompt = callPackage ../applications/version-management/vcprompt { }; 9744 + 9745 vdpauinfo = callPackage ../tools/X11/vdpauinfo { }; 9746 9747 veracity = callPackage ../applications/version-management/veracity {}; ··· 9903 ++ lib.optional (supportsJDK && cfg.jre or false && jrePlugin ? mozillaPlugin) jrePlugin 9904 ++ lib.optional (cfg.enableGoogleTalkPlugin or false) google_talk_plugin 9905 ++ lib.optional (cfg.enableFriBIDPlugin or false) fribid 9906 + ++ lib.optional (cfg.enableGnomeExtensions or false) gnome3.gnome_shell 9907 ); 9908 libs = [ gstreamer gst_plugins_base ] ++ lib.optionals (cfg.enableQuakeLive or false) 9909 (with xlibs; [ stdenv.gcc libX11 libXxf86dga libXxf86vm libXext libXt alsaLib zlib ]); ··· 10545 10546 liblikeback = callPackage ../development/libraries/liblikeback { }; 10547 10548 + libmm-qt = callPackage ../development/libraries/libmm-qt { }; 10549 + 10550 + libnm-qt = callPackage ../development/libraries/libnm-qt { }; 10551 + 10552 networkmanagement = callPackage ../tools/networking/networkmanagement { }; 10553 10554 partitionManager = callPackage ../tools/misc/partition-manager { }; 10555 + 10556 + plasma-nm = callPackage ../tools/networking/plasma-nm { }; 10557 10558 polkit_kde_agent = callPackage ../tools/security/polkit-kde-agent { }; 10559
+26 -3
pkgs/top-level/haskell-packages.nix
··· 137 138 adjunctions = callPackage ../development/libraries/haskell/adjunctions {}; 139 140 - aes = callPackage ../development/libraries/haskell/aes {}; 141 142 aeson_0_7_0_4 = callPackage ../development/libraries/haskell/aeson/0.7.0.4.nix { blazeBuilder = null; }; 143 aeson_0_7_0_6 = callPackage ../development/libraries/haskell/aeson/0.7.0.6.nix { blazeBuilder = null; }; ··· 873 874 gitit = callPackage ../development/libraries/haskell/gitit {}; 875 876 glade = callPackage ../development/libraries/haskell/glade { 877 inherit (pkgs.gnome) libglade; 878 gtkC = pkgs.gtk; ··· 940 libc = pkgs.stdenv.gcc.libc; 941 }; 942 943 - gtkglext = callPackage ../development/libraries/haskell/gtkglext {}; 944 945 gtk2hsBuildtools = callPackage ../development/libraries/haskell/gtk2hs-buildtools {}; 946 - gtk2hsC2hs = self.gtk2hsBuildtools; 947 948 gtksourceview2 = callPackage ../development/libraries/haskell/gtksourceview2 { 949 inherit (pkgs.gnome) gtksourceview; ··· 1015 haskore = callPackage ../development/libraries/haskell/haskore {}; 1016 1017 hastache = callPackage ../development/libraries/haskell/hastache {}; 1018 1019 hcltest = callPackage ../development/libraries/haskell/hcltest {}; 1020 ··· 1108 hledgerIrr = callPackage ../applications/office/hledger-irr {}; 1109 hledgerWeb = callPackage ../development/libraries/haskell/hledger-web {}; 1110 1111 HList = callPackage ../development/libraries/haskell/HList {}; 1112 1113 hmatrix = callPackage ../development/libraries/haskell/hmatrix {}; ··· 1723 1724 pipesConcurrency = callPackage ../development/libraries/haskell/pipes-concurrency {}; 1725 1726 pipesNetwork = callPackage ../development/libraries/haskell/pipes-network {}; 1727 1728 pipesGroup = callPackage ../development/libraries/haskell/pipes-group {}; ··· 1921 repr = callPackage ../development/libraries/haskell/repr {}; 1922 1923 resourcePool = callPackage ../development/libraries/haskell/resource-pool {}; 1924 1925 resourcet = callPackage ../development/libraries/haskell/resourcet {}; 1926 ··· 2002 2003 snapletAcidState = callPackage ../development/libraries/haskell/snaplet-acid-state {}; 2004 2005 snapletRedis = callPackage ../development/libraries/haskell/snaplet-redis {}; 2006 2007 snapletStripe = callPackage ../development/libraries/haskell/snaplet-stripe {}; ··· 2017 snapLoaderStatic = callPackage ../development/libraries/haskell/snap/loader-static.nix {}; 2018 2019 snapServer = callPackage ../development/libraries/haskell/snap/server.nix {}; 2020 2021 snowball = callPackage ../development/libraries/haskell/snowball {}; 2022 ··· 2283 threadmanager = callPackage ../development/libraries/haskell/threadmanager {}; 2284 2285 threads = callPackage ../development/libraries/haskell/threads {}; 2286 2287 thyme = callPackage ../development/libraries/haskell/thyme {}; 2288
··· 137 138 adjunctions = callPackage ../development/libraries/haskell/adjunctions {}; 139 140 + AES = callPackage ../development/libraries/haskell/AES {}; 141 142 aeson_0_7_0_4 = callPackage ../development/libraries/haskell/aeson/0.7.0.4.nix { blazeBuilder = null; }; 143 aeson_0_7_0_6 = callPackage ../development/libraries/haskell/aeson/0.7.0.6.nix { blazeBuilder = null; }; ··· 873 874 gitit = callPackage ../development/libraries/haskell/gitit {}; 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 + 882 glade = callPackage ../development/libraries/haskell/glade { 883 inherit (pkgs.gnome) libglade; 884 gtkC = pkgs.gtk; ··· 946 libc = pkgs.stdenv.gcc.libc; 947 }; 948 949 + gtkglext = callPackage ../development/libraries/haskell/gtkglext { gtkglext = pkgs.gnome2.gtkglext; }; 950 951 gtk2hsBuildtools = callPackage ../development/libraries/haskell/gtk2hs-buildtools {}; 952 953 gtksourceview2 = callPackage ../development/libraries/haskell/gtksourceview2 { 954 inherit (pkgs.gnome) gtksourceview; ··· 1020 haskore = callPackage ../development/libraries/haskell/haskore {}; 1021 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 {}; 1027 1028 hcltest = callPackage ../development/libraries/haskell/hcltest {}; 1029 ··· 1117 hledgerIrr = callPackage ../applications/office/hledger-irr {}; 1118 hledgerWeb = callPackage ../development/libraries/haskell/hledger-web {}; 1119 1120 + hlibgit2 = callPackage ../development/libraries/haskell/hlibgit2 {}; 1121 + 1122 HList = callPackage ../development/libraries/haskell/HList {}; 1123 1124 hmatrix = callPackage ../development/libraries/haskell/hmatrix {}; ··· 1734 1735 pipesConcurrency = callPackage ../development/libraries/haskell/pipes-concurrency {}; 1736 1737 + pipesCsv = callPackage ../development/libraries/haskell/pipes-csv {}; 1738 + 1739 + pipesHttp = callPackage ../development/libraries/haskell/pipes-http {}; 1740 + 1741 pipesNetwork = callPackage ../development/libraries/haskell/pipes-network {}; 1742 1743 pipesGroup = callPackage ../development/libraries/haskell/pipes-group {}; ··· 1936 repr = callPackage ../development/libraries/haskell/repr {}; 1937 1938 resourcePool = callPackage ../development/libraries/haskell/resource-pool {}; 1939 + 1940 + resourcePoolCatchio = callPackage ../development/libraries/haskell/resource-pool-catchio {}; 1941 1942 resourcet = callPackage ../development/libraries/haskell/resourcet {}; 1943 ··· 2019 2020 snapletAcidState = callPackage ../development/libraries/haskell/snaplet-acid-state {}; 2021 2022 + snapletPostgresqlSimple = callPackage ../development/libraries/haskell/snaplet-postgresql-simple {}; 2023 + 2024 snapletRedis = callPackage ../development/libraries/haskell/snaplet-redis {}; 2025 2026 snapletStripe = callPackage ../development/libraries/haskell/snaplet-stripe {}; ··· 2036 snapLoaderStatic = callPackage ../development/libraries/haskell/snap/loader-static.nix {}; 2037 2038 snapServer = callPackage ../development/libraries/haskell/snap/server.nix {}; 2039 + 2040 + snapWebRoutes = callPackage ../development/libraries/haskell/snap-web-routes {}; 2041 2042 snowball = callPackage ../development/libraries/haskell/snowball {}; 2043 ··· 2304 threadmanager = callPackage ../development/libraries/haskell/threadmanager {}; 2305 2306 threads = callPackage ../development/libraries/haskell/threads {}; 2307 + 2308 + Thrift = callPackage ../development/libraries/haskell/Thrift {}; 2309 2310 thyme = callPackage ../development/libraries/haskell/thyme {}; 2311
+34 -24
pkgs/top-level/php-packages.nix
··· 3 let self = with self; { 4 buildPecl = import ../build-support/build-pecl.nix { 5 inherit php; 6 - inherit (pkgs) stdenv autoreconfHook; 7 }; 8 9 memcache = buildPecl { 10 name = "memcache-3.0.8"; 11 12 - src = pkgs.fetchurl { 13 - url = http://pecl.php.net/get/memcache-3.0.8.tgz; 14 - sha256 = "04c35rj0cvq5ygn2jgmyvqcb0k8d03v4k642b6i37zgv7x15pbic"; 15 - }; 16 17 configureFlags = "--with-zlib-dir=${pkgs.zlib}"; 18 }; ··· 20 memcached = buildPecl { 21 name = "memcached-2.1.0"; 22 23 - src = pkgs.fetchurl { 24 - url = http://pecl.php.net/get/memcached-2.1.0.tgz; 25 - sha256 = "1by4zhkq4mbk9ja6s0vlavv5ng8aw5apn3a1in84fkz7bc0l0jdw"; 26 - }; 27 28 configureFlags = [ 29 "--with-zlib-dir=${pkgs.zlib}" ··· 33 buildInputs = [ pkgs.cyrus_sasl ]; 34 }; 35 36 - xdebug = buildPecl rec { 37 name = "xdebug-2.2.5"; 38 - src = pkgs.fetchurl { 39 - url = "http://pecl.php.net/get/${name}.tgz"; 40 - sha256 = "0vss35da615709kdvqji8pblckfvmabmj2njjjz6h8zzvj9gximd"; 41 - }; 42 }; 43 44 - apc = buildPecl rec { 45 name = "apc-3.1.13"; 46 - src = pkgs.fetchurl { 47 - url = "http://pecl.php.net/get/${name}.tgz"; 48 - sha256 = "1gcsh9iar5qa1yzpjki9bb5rivcb6yjp45lmjmp98wlyf83vmy2y"; 49 - }; 50 }; 51 52 - zmq = buildPecl rec { 53 name = "zmq-1.1.2"; 54 src = pkgs.fetchurl { 55 - url = "http://pecl.php.net/get/${name}.tgz"; 56 - sha256 = "0ccz73p8pkda3y9p9qbr3m19m0yrf7k2bvqgbaly3ibgh9bazc69"; 57 }; 58 59 configureFlags = [ 60 - "--with-zmq=${pkgs.zeromq2}" 61 ]; 62 63 - buildInputs = [ pkgs.pkgconfig ]; 64 }; 65 }; in self
··· 3 let self = with self; { 4 buildPecl = import ../build-support/build-pecl.nix { 5 inherit php; 6 + inherit (pkgs) stdenv autoreconfHook fetchurl; 7 }; 8 9 memcache = buildPecl { 10 name = "memcache-3.0.8"; 11 12 + sha256 = "04c35rj0cvq5ygn2jgmyvqcb0k8d03v4k642b6i37zgv7x15pbic"; 13 14 configureFlags = "--with-zlib-dir=${pkgs.zlib}"; 15 }; ··· 17 memcached = buildPecl { 18 name = "memcached-2.1.0"; 19 20 + sha256 = "1by4zhkq4mbk9ja6s0vlavv5ng8aw5apn3a1in84fkz7bc0l0jdw"; 21 22 configureFlags = [ 23 "--with-zlib-dir=${pkgs.zlib}" ··· 27 buildInputs = [ pkgs.cyrus_sasl ]; 28 }; 29 30 + xdebug = buildPecl { 31 name = "xdebug-2.2.5"; 32 + 33 + sha256 = "0vss35da615709kdvqji8pblckfvmabmj2njjjz6h8zzvj9gximd"; 34 }; 35 36 + apc = buildPecl { 37 name = "apc-3.1.13"; 38 + 39 + sha256 = "1gcsh9iar5qa1yzpjki9bb5rivcb6yjp45lmjmp98wlyf83vmy2y"; 40 }; 41 42 + zmq = buildPecl { 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 + 59 src = pkgs.fetchurl { 60 + url = "http://xcache.lighttpd.net/pub/Releases/${version}/${name}.tar.bz2"; 61 + md5 = "e5816d47d52be200b959bf69a673ff74"; 62 }; 63 64 configureFlags = [ 65 + "--enable-xcache" 66 + "--enable-xcache-coverager" 67 + "--enable-xcache-optimizer" 68 + "--enable-xcache-assembler" 69 + "--enable-xcache-encoder" 70 + "--enable-xcache-decoder" 71 ]; 72 73 + buildInputs = [ pkgs.m4 ]; 74 }; 75 }; in self
+20 -5
pkgs/top-level/python-packages.nix
··· 1052 }); 1053 1054 1055 clepy = buildPythonPackage rec { 1056 name = "clepy-0.3.20"; 1057 ··· 4718 meta = { 4719 description = "Fast numerical array expression evaluator for NumPy"; 4720 homepage = "https://github.com/pydata/numexpr"; 4721 }; 4722 }; 4723 ··· 5132 }; 5133 5134 pip = buildPythonPackage rec { 5135 - version = "1.5"; 5136 name = "pip-${version}"; 5137 src = fetchurl { 5138 url = "http://pypi.python.org/packages/source/p/pip/pip-${version}.tar.gz"; 5139 - sha256 = "0j700f70mj0brdlvs2cz4a7h4jwmzgymgp8qk1qb3lsm1qd1vy15"; 5140 }; 5141 buildInputs = [ mock scripttest virtualenv pytest ]; 5142 }; ··· 5195 }; 5196 5197 plumbum = buildPythonPackage rec { 5198 - name = "plumbum-1.2.0"; 5199 5200 buildInputs = [ pythonPackages.six ]; 5201 5202 src = fetchurl { 5203 - url = "https://pypi.python.org/packages/source/p/plumbum/plumbum-1.2.0.tar.gz"; 5204 - md5 = "18b7f888dfaf62a48df937abffe07897"; 5205 }; 5206 }; 5207
··· 1052 }); 1053 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 + 1069 clepy = buildPythonPackage rec { 1070 name = "clepy-0.3.20"; 1071 ··· 4732 meta = { 4733 description = "Fast numerical array expression evaluator for NumPy"; 4734 homepage = "https://github.com/pydata/numexpr"; 4735 + license = licenses.mit; 4736 }; 4737 }; 4738 ··· 5147 }; 5148 5149 pip = buildPythonPackage rec { 5150 + version = "1.5.6"; 5151 name = "pip-${version}"; 5152 src = fetchurl { 5153 url = "http://pypi.python.org/packages/source/p/pip/pip-${version}.tar.gz"; 5154 + md5 = "01026f87978932060cc86c1dc527903e"; 5155 }; 5156 buildInputs = [ mock scripttest virtualenv pytest ]; 5157 }; ··· 5210 }; 5211 5212 plumbum = buildPythonPackage rec { 5213 + name = "plumbum-1.4.2"; 5214 5215 buildInputs = [ pythonPackages.six ]; 5216 5217 src = fetchurl { 5218 + url = "https://pypi.python.org/packages/source/p/plumbum/${name}.tar.gz"; 5219 + md5 = "38b526af9012a5282ae91dfe372cefd3"; 5220 }; 5221 }; 5222