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

Conflicts:
pkgs/applications/audio/espeak/edit.nix
pkgs/applications/audio/lmms/default.nix
pkgs/desktops/e18/enlightenment.nix
pkgs/games/exult/default.nix
pkgs/os-specific/linux/alsa-plugins/default.nix

+2106 -2940
+21
doc/contributing.xml
··· 1 + <chapter xmlns="http://docbook.org/ns/docbook" 2 + xmlns:xlink="http://www.w3.org/1999/xlink" 3 + xml:id="chap-contributing"> 4 + 5 + <title>Contributing</title> 6 + 7 + <para>If you make modifications to the manual, it's important to build the manual before contributing:</para> 8 + 9 + <orderedlist> 10 + 11 + <listitem><para><command>$ git clone git://github.com/NixOS/nixpkgs.git</command></para></listitem> 12 + 13 + <listitem><para><command>$ cd nixpkgs/pkgs/top-level</command></para></listitem> 14 + 15 + <listitem><para><command>$ nix-build -A tarball release.nix</command></para></listitem> 16 + 17 + <listitem><para>Inside the built derivation you shall see <literal>manual/index.html</literal> file.</para></listitem> 18 + 19 + </orderedlist> 20 + 21 + </chapter>
+1
doc/manual.xml
··· 32 32 <xi:include href="language-support.xml" /> 33 33 <xi:include href="package-notes.xml" /> 34 34 <xi:include href="coding-conventions.xml" /> 35 + <xi:include href="contributing.xml" /> 35 36 36 37 37 38 </book>
+59 -96
doc/meta.xml
··· 17 17 It is fully customizable. 18 18 ''; 19 19 homepage = http://www.gnu.org/software/hello/manual/; 20 - license = "GPLv3+"; 20 + license = stdenv.lib.licenses.gpl3Plus; 21 + maintainers = [ stdenv.lib.maintainers.eelco ]; 22 + platforms = stdenv.lib.platforms.all; 21 23 }; 22 24 </programlisting> 23 25 ··· 31 33 command-line using <command>nix-env</command>: 32 34 33 35 <screen> 34 - $ nix-env -qa hello --meta --xml 35 - &lt;?xml version='1.0' encoding='utf-8'?> 36 - &lt;items> 37 - &lt;item attrPath="hello" name="hello-2.3" system="i686-linux"> 38 - &lt;meta name="description" value="A program that produces a familiar, friendly greeting" /> 39 - &lt;meta name="homepage" value="http://www.gnu.org/software/hello/manual/" /> 40 - &lt;meta name="license" value="GPLv3+" /> 41 - &lt;meta name="longDescription" value="GNU Hello is a program that prints &amp;quot;Hello, world!&amp;quot; when you run it.&amp;#xA;It is fully customizable.&amp;#xA;" /> 42 - &lt;/item> 43 - &lt;/items> 36 + $ nix-env -qa hello --meta --json 37 + { 38 + "hello": { 39 + "meta": { 40 + "description": "A program that produces a familiar, friendly greeting", 41 + "homepage": "http://www.gnu.org/software/hello/manual/", 42 + "license": { 43 + "fullName": "GNU General Public License version 3 or later", 44 + "shortName": "GPLv3+", 45 + "url": "http://www.fsf.org/licensing/licenses/gpl.html" 46 + }, 47 + "longDescription": "GNU Hello is a program that prints \"Hello, world!\" when you run it.\nIt is fully customizable.\n", 48 + "maintainers": [ 49 + "Ludovic Court\u00e8s &lt;ludo@gnu.org>" 50 + ], 51 + "platforms": [ 52 + "i686-linux", 53 + "x86_64-linux", 54 + "armv5tel-linux", 55 + "armv7l-linux", 56 + "mips64el-linux", 57 + "x86_64-darwin", 58 + "i686-cygwin", 59 + "i686-freebsd", 60 + "x86_64-freebsd", 61 + "i686-openbsd", 62 + "x86_64-openbsd" 63 + ], 64 + "position": "/home/user/dev/nixpkgs/pkgs/applications/misc/hello/ex-2/default.nix:14" 65 + }, 66 + "name": "hello-2.9", 67 + "system": "x86_64-linux" 68 + } 69 + } 70 + 71 + 44 72 </screen> 45 73 46 74 <command>nix-env</command> knows about the ··· 92 120 93 121 <varlistentry> 94 122 <term><varname>license</varname></term> 95 - <listitem><para>The license for the package. See below for the 96 - allowed values.</para></listitem> 123 + <listitem><para>The license for the package. One from attribute set defined in 124 + <link xlink:href="https://github.com/NixOS/nixpkgs/blob/master/pkgs/lib/licenses.nix"> 125 + <filename>nixpkgs/lib/licenses.nix</filename></link>. 126 + Example: 127 + <literal>stdenv.lib.licenses.gpl3</literal>.</para></listitem> 97 128 </varlistentry> 98 129 99 130 <varlistentry> 100 131 <term><varname>maintainers</varname></term> 101 132 <listitem><para>A list of names and e-mail addresses of the 102 - maintainers of this Nix expression, e.g. <literal>["Alice 103 - &lt;alice@example.org>" "Bob &lt;bob@example.com>"]</literal>. If 104 - you are the maintainer of multiple packages, you may want to add 133 + maintainers of this Nix expression. If 134 + you would like to be a maintainer of a package, you may want to add 105 135 yourself to <link 106 - xlink:href="https://github.com/NixOS/nixpkgs/blob/master/pkgs/lib/maintainers.nix"><filename>pkgs/lib/maintainers.nix</filename></link> 107 - and write something like <literal>[stdenv.lib.maintainers.alice 108 - stdenv.lib.maintainers.bob]</literal>.</para></listitem> 136 + xlink:href="https://github.com/NixOS/nixpkgs/blob/master/pkgs/lib/maintainers.nix"><filename>nixpkgs/lib/maintainers.nix</filename></link> 137 + and write something like <literal>[ stdenv.lib.maintainers.alice 138 + stdenv.lib.maintainers.bob ]</literal>.</para></listitem> 109 139 </varlistentry> 110 140 111 141 <varlistentry> ··· 121 151 <varlistentry> 122 152 <term><varname>platforms</varname></term> 123 153 <listitem><para>The list of Nix platform types on which the 124 - package is supported. If this attribute is set, the package will 125 - refuse to build, and won’t show up in <literal>nix-env 126 - -qa</literal> output, on any platform not listed 127 - here. An example is: 154 + package is supported. Hydra builds packages according to the 155 + platform specified. If no platform is specified, the package does 156 + not have prebuilt binaries. An example is: 128 157 129 158 <programlisting> 130 - meta.platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ]; 159 + meta.platforms = stdenv.lib.platforms.linux; 131 160 </programlisting> 132 161 133 - The set <varname>lib.platforms</varname> defines various common 134 - lists of platforms types, so it’s more typical to write: 135 - 136 - <programlisting> 137 - meta.platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin; 138 - </programlisting> 139 - 162 + Attribute Set <varname>stdenv.lib.platforms</varname> in 163 + <link xlink:href="https://github.com/NixOS/nixpkgs/blob/master/pkgs/lib/platforms.nix"> 164 + <filename>nixpkgs/lib/platforms.nix</filename></link> defines various common 165 + lists of platforms types. 140 166 </para></listitem> 141 167 </varlistentry> 142 168 143 169 <varlistentry> 144 170 <term><varname>hydraPlatforms</varname></term> 145 171 <listitem><para>The list of Nix platform types for which the Hydra 146 - instance at <literal>hydra.nixos.org</literal> should build the 172 + instance at <literal>hydra.nixos.org</literal> will build the 147 173 package. (Hydra is the Nix-based continuous build system.) It 148 174 defaults to the value of <varname>meta.platforms</varname>. Thus, 149 175 the only reason to set <varname>meta.hydraPlatforms</varname> is ··· 176 202 177 203 <section xml:id="sec-meta-license"><title>Licenses</title> 178 204 179 - <note><para>This is just a first attempt at standardising the license 180 - attribute.</para></note> 181 - 182 - <para>The <varname>meta.license</varname> attribute must be one of the 205 + <para>The <varname>meta.license</varname> attribute could be one of the 183 206 following: 184 207 185 208 <variablelist> 186 209 187 210 <varlistentry> 188 - <term><varname>GPL</varname></term> 189 - <listitem><para>GNU General Public License; version not 190 - specified.</para></listitem> 191 - </varlistentry> 192 - 193 - <varlistentry> 194 - <term><varname>GPLv2</varname></term> 195 - <listitem><para>GNU General Public License, version 196 - 2.</para></listitem> 197 - </varlistentry> 198 - 199 - <varlistentry> 200 - <term><varname>GPLv2+</varname></term> 201 - <listitem><para>GNU General Public License, version 202 - 2 or higher.</para></listitem> 203 - </varlistentry> 204 - 205 - <varlistentry> 206 - <term><varname>GPLv3</varname></term> 207 - <listitem><para>GNU General Public License, version 208 - 3.</para></listitem> 209 - </varlistentry> 210 - 211 - <varlistentry> 212 - <term><varname>GPLv3+</varname></term> 213 - <listitem><para>GNU General Public License, version 214 - 3 or higher.</para></listitem> 215 - </varlistentry> 216 - 217 - <varlistentry> 218 - <term><varname>bsd</varname></term> 219 - <listitem><para>Catch-all for licenses that are essentially 220 - similar to <link 221 - xlink:href="http://www.gnu.org/licenses/license-list.html#ModifiedBSD">the 222 - original BSD license with the advertising clause removed</link>, 223 - i.e. permissive non-copyleft free software licenses. This 224 - includes the <link 225 - xlink:href="http://www.gnu.org/licenses/license-list.html#X11License">X11 226 - (“MIT”) License</link>.</para></listitem> 227 - </varlistentry> 228 - 229 - <varlistentry> 230 - <term><varname>perl5</varname></term> 231 - <listitem><para>The Perl 5 license (Artistic License, version 1 232 - and GPL, version 1 or later).</para></listitem> 233 - </varlistentry> 234 - 235 - <varlistentry> 236 211 <term><varname>free</varname></term> 237 212 <listitem><para>Catch-all for free software licenses not listed 238 213 above.</para></listitem> 239 - </varlistentry> 240 - 241 - <varlistentry> 242 - <term><varname>free-copyleft</varname></term> 243 - <listitem><para>Catch-all for free, copyleft software licenses not 244 - listed above.</para></listitem> 245 - </varlistentry> 246 - 247 - <varlistentry> 248 - <term><varname>free-non-copyleft</varname></term> 249 - <listitem><para>Catch-all for free, non-copyleft software licenses 250 - not listed above.</para></listitem> 251 214 </varlistentry> 252 215 253 216 <varlistentry>
+4 -10
doc/quick-start.xml
··· 155 155 </listitem> 156 156 157 157 <listitem> 158 - <para>You can use <command>nix-prefetch-url</command> 158 + <para>You can use <command>nix-prefetch-url</command> (or similar nix-prefetch-git, etc) 159 159 <replaceable>url</replaceable> to get the SHA-256 hash of 160 - source distributions.</para> 160 + source distributions. There are similar commands as <command>nix-prefetch-git</command> and 161 + <command>nix-prefetch-hg</command> available in <literal>nix-prefetch-scripts</literal> package.</para> 161 162 </listitem> 162 163 163 164 <listitem> ··· 221 222 </listitem> 222 223 223 224 <listitem> 224 - <para>Optionally commit the new package, or send a patch to 225 + <para>Optionally commit the new package and open a pull request, or send a patch to 225 226 <literal>nix-dev@cs.uu.nl</literal>.</para> 226 227 </listitem> 227 228 228 - <listitem> 229 - <para>If you want the TU Delft build farm to build binaries of the 230 - package and make them available in the <link 231 - xlink:href="http://nixos.org/releases/nixpkgs/channels/nixpkgs-unstable/"><literal>nixpkgs</literal> 232 - channel</link>, add it to <link 233 - xlink:href="https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/release.nix"><filename>pkgs/top-level/release.nix</filename></link>.</para> 234 - </listitem> 235 229 236 230 </orderedlist> 237 231
+12
nixos/doc/manual/README
··· 1 + To build the manual, you need Nix installed on your system (no need 2 + for NixOS). To install Nix, follow the instructions at 3 + 4 + https://nixos.org/nix/download.html 5 + 6 + When you have Nix on your system, in the root directory of the project 7 + (i.e., `nixpkgs`), run: 8 + 9 + nix-build nixos/release.nix -A manual.x86_64-linux 10 + 11 + When this command successfully finishes, it will tell you where the 12 + manual got generated.
+39 -2
nixos/modules/services/amqp/rabbitmq.nix
··· 4 4 5 5 let 6 6 cfg = config.services.rabbitmq; 7 + config_file = pkgs.writeText "rabbitmq.config" cfg.config; 8 + config_file_wo_suffix = builtins.substring 0 ((builtins.stringLength config_file) - 7) config_file; 7 9 8 10 in { 9 11 ###### interface ··· 31 33 ''; 32 34 }; 33 35 34 - 35 36 dataDir = mkOption { 36 37 type = types.path; 37 38 default = "/var/lib/rabbitmq"; ··· 40 41 ''; 41 42 }; 42 43 44 + cookie = mkOption { 45 + default = ""; 46 + type = types.str; 47 + description = '' 48 + Erlang cookie is a string of arbitrary length which must 49 + be the same for several nodes to be allowed to communicate. 50 + Leave empty to generate automatically. 51 + ''; 52 + }; 53 + 54 + config = mkOption { 55 + default = ""; 56 + type = types.str; 57 + description = '' 58 + Verbatim configuration file contents. 59 + See http://www.rabbitmq.com/configure.htm 60 + ''; 61 + }; 62 + 63 + plugins = mkOption { 64 + default = []; 65 + type = types.listOf types.str; 66 + description = "The names of plugins to enable"; 67 + }; 43 68 }; 44 69 }; 45 70 ··· 69 94 RABBITMQ_NODE_IP_ADDRESS = cfg.listenAddress; 70 95 RABBITMQ_SERVER_START_ARGS = "-rabbit error_logger tty -rabbit sasl_error_logger false"; 71 96 SYS_PREFIX = ""; 72 - }; 97 + RABBITMQ_ENABLED_PLUGINS_FILE = pkgs.writeText "enabled_plugins" '' 98 + [ ${concatStringsSep "," cfg.plugins} ]. 99 + ''; 100 + } // optionalAttrs (cfg.config != "") { RABBITMQ_CONFIG_FILE = config_file_wo_suffix; }; 73 101 74 102 serviceConfig = { 75 103 ExecStart = "${pkgs.rabbitmq_server}/sbin/rabbitmq-server"; ··· 81 109 preStart = '' 82 110 mkdir -p ${cfg.dataDir} && chmod 0700 ${cfg.dataDir} 83 111 if [ "$(id -u)" = 0 ]; then chown rabbitmq:rabbitmq ${cfg.dataDir}; fi 112 + 113 + ${optionalString (cfg.cookie != "") '' 114 + echo -n ${cfg.cookie} > ${cfg.dataDir}/.erlang.cookie 115 + chmod 400 ${cfg.dataDir}/.erlang.cookie 116 + chown rabbitmq:rabbitmq ${cfg.dataDir}/.erlang.cookie 117 + ''} 118 + 119 + mkdir -p /var/log/rabbitmq && chmod 0700 /var/log/rabbitmq 120 + chown rabbitmq:rabbitmq /var/log/rabbitmq 84 121 ''; 85 122 }; 86 123
+22 -16
nixos/modules/services/misc/nix-ssh-serve.nix
··· 1 1 { config, lib, pkgs, ... }: 2 2 3 - let 4 - serveOnly = pkgs.writeScript "nix-store-serve" '' 5 - #!${pkgs.stdenv.shell} 6 - if [ "$SSH_ORIGINAL_COMMAND" != "nix-store --serve" ]; then 7 - echo 'Error: You are only allowed to run `nix-store --serve'\'''!' >&2 8 - exit 1 9 - fi 10 - exec /run/current-system/sw/bin/nix-store --serve 11 - ''; 3 + with lib; 12 4 13 - inherit (lib) mkIf mkOption types; 14 - in { 5 + { 15 6 options = { 7 + 16 8 nix.sshServe = { 9 + 17 10 enable = mkOption { 18 - description = "Whether to enable serving the nix store over ssh."; 19 - default = false; 20 11 type = types.bool; 12 + default = false; 13 + description = "Whether to enable serving the Nix store as a binary cache via SSH."; 21 14 }; 15 + 16 + keys = mkOption { 17 + type = types.listOf types.str; 18 + default = []; 19 + example = [ "ssh-dss AAAAB3NzaC1k... alice@example.org" ]; 20 + description = "A list of SSH public keys allowed to access the binary cache via SSH."; 21 + }; 22 + 22 23 }; 24 + 23 25 }; 24 26 25 27 config = mkIf config.nix.sshServe.enable { 28 + 26 29 users.extraUsers.nix-ssh = { 27 - description = "User for running nix-store --serve."; 30 + description = "Nix SSH substituter user"; 28 31 uid = config.ids.uids.nix-ssh; 29 - shell = pkgs.stdenv.shell; 32 + useDefaultShell = true; 30 33 }; 31 34 32 35 services.openssh.enable = true; ··· 38 41 PermitTTY no 39 42 PermitTunnel no 40 43 X11Forwarding no 41 - ForceCommand ${serveOnly} 44 + ForceCommand ${config.nix.package}/bin/nix-store --serve 42 45 Match All 43 46 ''; 47 + 48 + users.extraUsers.nix-ssh.openssh.authorizedKeys.keys = config.nix.sshServe.keys; 49 + 44 50 }; 45 51 }
+7 -8
nixos/modules/services/monitoring/munin.nix
··· 189 189 wantedBy = [ "multi-user.target" ]; 190 190 path = [ pkgs.munin ]; 191 191 environment.MUNIN_PLUGSTATE = "/var/run/munin"; 192 + preStart = '' 193 + echo "updating munin plugins..." 194 + 195 + mkdir -p /etc/munin/plugins 196 + rm -rf /etc/munin/plugins/* 197 + PATH="/run/current-system/sw/bin:/run/current-system/sw/sbin" ${pkgs.munin}/sbin/munin-node-configure --shell --families contrib,auto,manual --config ${nodeConf} --libdir=${muninPlugins} --servicedir=/etc/munin/plugins 2>/dev/null | ${pkgs.bash}/bin/bash 198 + ''; 192 199 serviceConfig = { 193 200 ExecStart = "${pkgs.munin}/sbin/munin-node --config ${nodeConf} --servicedir /etc/munin/plugins/"; 194 201 }; 195 202 }; 196 - 197 - system.activationScripts.munin-node = '' 198 - echo "updating munin plugins..." 199 - 200 - mkdir -p /etc/munin/plugins 201 - rm -rf /etc/munin/plugins/* 202 - PATH="/run/current-system/sw/bin:/run/current-system/sw/sbin" ${pkgs.munin}/sbin/munin-node-configure --shell --families contrib,auto,manual --config ${nodeConf} --libdir=${muninPlugins} --servicedir=/etc/munin/plugins 2>/dev/null | ${pkgs.bash}/bin/bash 203 - ''; 204 203 205 204 }) (mkIf cronCfg.enable { 206 205
+15 -15
nixos/modules/services/networking/znc.nix
··· 23 23 confOptions = { ... }: { 24 24 options = { 25 25 modules = mkOption { 26 - type = types.listOf types.string; 26 + type = types.listOf types.str; 27 27 default = [ "partyline" "webadmin" "adminlog" "log" ]; 28 28 example = [ "partyline" "webadmin" "adminlog" "log" ]; 29 29 description = '' ··· 34 34 userName = mkOption { 35 35 default = defaultUserName; 36 36 example = "johntron"; 37 - type = types.string; 37 + type = types.str; 38 38 description = '' 39 39 The user name to use when generating the `znc.conf` file. 40 40 This is the user name used by the user logging into the ZNC web admin. ··· 44 44 nick = mkOption { 45 45 default = "znc-user"; 46 46 example = "john"; 47 - type = types.string; 47 + type = types.str; 48 48 description = '' 49 49 The IRC nick to use when generating the `znc.conf` file. 50 50 ''; ··· 53 53 passBlock = mkOption { 54 54 default = defaultPassBlock; 55 55 example = "Must be the block generated by the `znc --makepass` command."; 56 - type = types.string; 56 + type = types.str; 57 57 description = '' 58 58 The pass block to use when generating the `znc.conf` file. 59 59 This is the password used by the user logging into the ZNC web admin. ··· 63 63 }; 64 64 65 65 port = mkOption { 66 - default = "5000"; 67 - example = "5000"; 68 - type = types.string; 66 + default = 5000; 67 + example = 5000; 68 + type = types.int; 69 69 description = '' 70 70 Specifies the port on which to listen. 71 71 ''; ··· 104 104 AllowWeb = true 105 105 IPv4 = true 106 106 IPv6 = false 107 - Port = ${if confOpts.useSSL then "+" else ""}${confOpts.port} 107 + Port = ${if confOpts.useSSL then "+" else ""}${toString confOpts.port} 108 108 SSL = ${if confOpts.useSSL then "true" else "false"} 109 109 </Listener> 110 110 ··· 160 160 user = mkOption { 161 161 default = "znc"; 162 162 example = "john"; 163 - type = types.string; 163 + type = types.str; 164 164 description = '' 165 165 The name of an existing user account to use to own the ZNC server process. 166 166 If not specified, a default user will be created to own the process. ··· 170 170 dataDir = mkOption { 171 171 default = "/home/${cfg.user}/.znc"; 172 172 example = "/home/john/.znc"; 173 - type = types.string; 173 + type = types.path; 174 174 description = '' 175 175 The data directory. Used for configuration files and modules. 176 176 ''; ··· 179 179 zncConf = mkOption { 180 180 default = ""; 181 181 example = "See: http://wiki.znc.in/Configuration"; 182 - type = types.string; 182 + type = types.lines; 183 183 description = '' 184 184 The contents of the `znc.conf` file to use when creating it. 185 185 If specified, `confOptions` will be ignored, and this value, as-is, will be used. ··· 218 218 }; 219 219 220 220 extraFlags = mkOption { 221 - default = ""; 222 - example = "--debug"; 223 - type = types.string; 221 + default = [ ]; 222 + example = [ "--debug" ]; 223 + type = types.listOf types.str; 224 224 description = '' 225 225 Extra flags to use when executing znc command. 226 226 ''; ··· 272 272 ${pkgs.znc}/bin/znc --makepem 273 273 fi 274 274 ''; 275 - script = "${pkgs.znc}/bin/znc --foreground --datadir ${cfg.dataDir} ${cfg.extraFlags}"; 275 + script = "${pkgs.znc}/bin/znc --foreground --datadir ${cfg.dataDir} ${toString cfg.extraFlags}"; 276 276 }; 277 277 278 278 users.extraUsers = optional (cfg.user == defaultUser)
+17 -1
nixos/modules/services/search/elasticsearch.nix
··· 21 21 ]; 22 22 }; 23 23 24 + esPlugins = pkgs.buildEnv { 25 + name = "elasticsearch-plugins"; 26 + paths = cfg.plugins; 27 + }; 28 + 24 29 in { 25 30 26 31 ###### interface ··· 101 106 example = [ "-Djava.net.preferIPv4Stack=true" ]; 102 107 }; 103 108 109 + plugins = mkOption { 110 + description = "Extra elasticsearch plugins"; 111 + default = []; 112 + type = types.listOf types.package; 113 + }; 114 + 104 115 }; 105 116 106 117 ###### implementation ··· 111 122 wantedBy = [ "multi-user.target" ]; 112 123 after = [ "network-interfaces.target" ]; 113 124 environment = { ES_HOME = cfg.dataDir; }; 125 + path = [ pkgs.elasticsearch ]; 114 126 serviceConfig = { 115 - ExecStart = "${pkgs.elasticsearch}/bin/elasticsearch -Des.path.conf=${configDir} ${toString cfg.extraCmdLineOptions}"; 127 + ExecStart = "elasticsearch -Des.path.conf=${configDir} ${toString cfg.extraCmdLineOptions}"; 116 128 User = "elasticsearch"; 117 129 PermissionsStartOnly = true; 118 130 }; 119 131 preStart = '' 120 132 mkdir -m 0700 -p ${cfg.dataDir} 121 133 if [ "$(id -u)" = 0 ]; then chown -R elasticsearch ${cfg.dataDir}; fi 134 + 135 + # Install plugins 136 + rm ${cfg.dataDir}/plugins || true 137 + ln -s ${esPlugins}/plugins ${cfg.dataDir}/plugins 122 138 ''; 123 139 }; 124 140
+1 -1
nixos/modules/services/web-servers/lighttpd/cgit.nix
··· 29 29 cache-size=1000 30 30 scan-path=/srv/git 31 31 ''; 32 - type = types.string; 32 + type = types.lines; 33 33 description = '' 34 34 Verbatim contents of the cgit runtime configuration file. Documentation 35 35 (with cgitrc example file) is available in "man cgitrc". Or online:
+3 -3
nixos/modules/services/web-servers/lighttpd/default.nix
··· 102 102 103 103 document-root = mkOption { 104 104 default = "/srv/www"; 105 - type = types.str; 105 + type = types.path; 106 106 description = '' 107 107 Document-root of the web server. Must be readable by the "lighttpd" user. 108 108 ''; ··· 128 128 129 129 configText = mkOption { 130 130 default = ""; 131 - type = types.string; 131 + type = types.lines; 132 132 example = ''...verbatim config file contents...''; 133 133 description = '' 134 134 Overridable config file contents to use for lighttpd. By default, use ··· 138 138 139 139 extraConfig = mkOption { 140 140 default = ""; 141 - type = types.string; 141 + type = types.lines; 142 142 description = '' 143 143 These configuration lines will be appended to the generated lighttpd 144 144 config file. Note that this mechanism does not work when the manual
+2 -2
nixos/modules/services/web-servers/lighttpd/gitweb.nix
··· 25 25 26 26 projectroot = mkOption { 27 27 default = "/srv/git"; 28 - type = types.str; 28 + type = types.path; 29 29 description = '' 30 30 Path to git projects (bare repositories) that should be served by 31 31 gitweb. Must not end with a slash. ··· 34 34 35 35 extraConfig = mkOption { 36 36 default = ""; 37 - type = types.str; 37 + type = types.lines; 38 38 description = '' 39 39 Verbatim configuration text appended to the generated gitweb.conf file. 40 40 '';
+5 -2
nixos/modules/services/x11/desktop-managers/e18.nix
··· 6 6 7 7 xcfg = config.services.xserver; 8 8 cfg = xcfg.desktopManager.e18; 9 + e18_enlightenment = pkgs.e18.enlightenment.override { set_freqset_setuid = true; }; 9 10 10 11 in 11 12 ··· 23 24 config = mkIf (xcfg.enable && cfg.enable) { 24 25 25 26 environment.systemPackages = [ 26 - pkgs.e18.efl pkgs.e18.evas pkgs.e18.emotion pkgs.e18.elementary pkgs.e18.enlightenment 27 + pkgs.e18.efl pkgs.e18.evas pkgs.e18.emotion pkgs.e18.elementary e18_enlightenment 27 28 pkgs.e18.terminology pkgs.e18.econnman 28 29 ]; 29 30 30 31 services.xserver.desktopManager.session = [ 31 32 { name = "E18"; 32 33 start = '' 33 - ${pkgs.e18.enlightenment}/bin/enlightenment_start 34 + ${e18_enlightenment}/bin/enlightenment_start 34 35 waitPID=$! 35 36 ''; 36 37 }]; 38 + 39 + security.setuidPrograms = [ "e18_freqset" ]; 37 40 38 41 }; 39 42
+1 -1
nixos/modules/system/etc/etc.nix
··· 132 132 '' 133 133 # Set up the statically computed bits of /etc. 134 134 echo "setting up /etc..." 135 - ${pkgs.perl}/bin/perl ${./setup-etc.pl} ${etc}/etc 135 + ${pkgs.perl}/bin/perl -I${pkgs.perlPackages.FileSlurp}/lib/perl5/site_perl ${./setup-etc.pl} ${etc}/etc 136 136 ''; 137 137 138 138 };
+31 -10
nixos/modules/system/etc/setup-etc.pl
··· 3 3 use File::Copy; 4 4 use File::Path; 5 5 use File::Basename; 6 + use File::Slurp; 6 7 7 8 my $etc = $ARGV[0] or die; 8 9 my $static = "/etc/static"; ··· 46 47 find(\&cleanup, "/etc"); 47 48 48 49 50 + # Use /etc/.clean to keep track of copied files. 51 + my @oldCopied = read_file("/etc/.clean", chomp => 1, err_mode => 'quiet'); 52 + open CLEAN, ">>/etc/.clean"; 53 + 54 + 49 55 # For every file in the etc tree, create a corresponding symlink in 50 56 # /etc to /etc/static. The indirection through /etc/static is to make 51 57 # switching to a new configuration somewhat more atomic. 58 + my %created; 59 + my @copied; 60 + 52 61 sub link { 53 62 my $fn = substr $File::Find::name, length($etc) + 1 or next; 54 63 my $target = "/etc/$fn"; 55 64 File::Path::make_path(dirname $target); 65 + $created{$fn} = 1; 56 66 if (-e "$_.mode") { 57 - open MODE, "<$_.mode"; 58 - my $mode = <MODE>; chomp $mode; 59 - close MODE; 67 + my $mode = read_file("$_.mode"); chomp $mode; 60 68 if ($mode eq "direct-symlink") { 61 69 atomicSymlink readlink("$static/$fn"), $target or warn; 62 70 } else { 63 - open UID, "<$_.uid"; 64 - my $uid = <UID>; chomp $uid; 65 - close UID; 66 - open GID, "<$_.gid"; 67 - my $gid = <GID>; chomp $gid; 68 - close GID; 69 - 71 + my $uid = read_file("$_.uid"); chomp $uid; 72 + my $gid = read_file("$_.gid"); chomp $gid; 70 73 copy "$static/$fn", "$target.tmp" or warn; 71 74 chown int($uid), int($gid), "$target.tmp" or warn; 72 75 chmod oct($mode), "$target.tmp" or warn; 73 76 rename "$target.tmp", $target or warn; 74 77 } 78 + push @copied, $fn; 79 + print CLEAN "$fn\n"; 75 80 } elsif (-l "$_") { 76 81 atomicSymlink "$static/$fn", $target or warn; 77 82 } 78 83 } 79 84 80 85 find(\&link, $etc); 86 + 87 + 88 + # Delete files that were copied in a previous version but not in the 89 + # current. 90 + foreach my $fn (@oldCopied) { 91 + if (!defined $created{$fn}) { 92 + $fn = "/etc/$fn"; 93 + print STDERR "removing obsolete file ‘$fn’...\n"; 94 + unlink "$fn"; 95 + } 96 + } 97 + 98 + 99 + # Rewrite /etc/.clean. 100 + close CLEAN; 101 + write_file("/etc/.clean", map { "$_\n" } @copied);
+2 -2
pkgs/applications/audio/a2jmidid/default.nix
··· 1 - { stdenv, fetchurl, alsaLib, dbus, jackaudio, pkgconfig, python }: 1 + { stdenv, fetchurl, alsaLib, dbus, jack2, pkgconfig, python }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "a2jmidid-${version}"; ··· 9 9 sha256 = "0pzm0qk5ilqhwz74pydg1jwrds27vm47185dakdrxidb5bv3b5ia"; 10 10 }; 11 11 12 - buildInputs = [ alsaLib dbus jackaudio pkgconfig python ]; 12 + buildInputs = [ alsaLib dbus jack2 pkgconfig python ]; 13 13 14 14 configurePhase = "python waf configure --prefix=$out"; 15 15
+2 -2
pkgs/applications/audio/ardour/default.nix
··· 1 1 { stdenv, fetchgit, alsaLib, aubio, boost, cairomm, curl, fftw 2 - , fftwSinglePrec, flac, glibc, glibmm, gtk, gtkmm, jackaudio 2 + , fftwSinglePrec, flac, glibc, glibmm, gtk, gtkmm, jack2 3 3 , libgnomecanvas, libgnomecanvasmm, liblo, libmad, libogg, librdf 4 4 , librdf_raptor, librdf_rasqal, libsamplerate, libsigcxx, libsndfile 5 5 , libusb, libuuid, libxml2, libxslt, lilv, lv2, makeWrapper, pango ··· 20 20 21 21 buildInputs = 22 22 [ alsaLib aubio boost cairomm curl fftw fftwSinglePrec flac glibc 23 - glibmm gtk gtkmm jackaudio libgnomecanvas libgnomecanvasmm liblo 23 + glibmm gtk gtkmm jack2 libgnomecanvas libgnomecanvasmm liblo 24 24 libmad libogg librdf librdf_raptor librdf_rasqal libsamplerate 25 25 libsigcxx libsndfile libusb libuuid libxml2 libxslt lilv lv2 26 26 makeWrapper pango perl pkgconfig python serd sord sratom suil
+2 -2
pkgs/applications/audio/bristol/default.nix
··· 1 - { stdenv, fetchurl, alsaLib, jackaudio, pkgconfig, pulseaudio, xlibs }: 1 + { stdenv, fetchurl, alsaLib, jack2, pkgconfig, pulseaudio, xlibs }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "bristol-${version}"; ··· 10 10 }; 11 11 12 12 buildInputs = [ 13 - alsaLib jackaudio pkgconfig pulseaudio xlibs.libX11 xlibs.libXext 13 + alsaLib jack2 pkgconfig pulseaudio xlibs.libX11 xlibs.libXext 14 14 xlibs.xproto 15 15 ]; 16 16
+2 -2
pkgs/applications/audio/calf/default.nix
··· 1 1 { stdenv, fetchurl, cairo, expat, fftwSinglePrec, fluidsynth, glib 2 - , gtk, jackaudio, ladspaH , libglade, lv2, pkgconfig }: 2 + , gtk, jack2, ladspaH , libglade, lv2, pkgconfig }: 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "calf-${version}"; ··· 11 11 }; 12 12 13 13 buildInputs = [ 14 - cairo expat fftwSinglePrec fluidsynth glib gtk jackaudio ladspaH 14 + cairo expat fftwSinglePrec fluidsynth glib gtk jack2 ladspaH 15 15 libglade lv2 pkgconfig 16 16 ]; 17 17
+2 -2
pkgs/applications/audio/distrho/default.nix
··· 1 - { stdenv, fetchgit, alsaLib, fftwSinglePrec, freetype, jackaudio 1 + { stdenv, fetchgit, alsaLib, fftwSinglePrec, freetype, jack2 2 2 , libxslt, lv2, pkgconfig, premake3, xlibs }: 3 3 4 4 let ··· 18 18 ''; 19 19 20 20 buildInputs = [ 21 - alsaLib fftwSinglePrec freetype jackaudio pkgconfig premake3 21 + alsaLib fftwSinglePrec freetype jack2 pkgconfig premake3 22 22 xlibs.libX11 xlibs.libXcomposite xlibs.libXcursor xlibs.libXext 23 23 xlibs.libXinerama xlibs.libXrender 24 24 ];
+2 -2
pkgs/applications/audio/drumkv1/default.nix
··· 1 - { stdenv, fetchurl, jackaudio, libsndfile, lv2, qt4 }: 1 + { stdenv, fetchurl, jack2, libsndfile, lv2, qt4 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "drumkv1-${version}"; ··· 9 9 sha256 = "18rvfgblynlmklk25azmppibn1bdjid97hipa323gnzmxgq0rfjq"; 10 10 }; 11 11 12 - buildInputs = [ jackaudio libsndfile lv2 qt4 ]; 12 + buildInputs = [ jack2 libsndfile lv2 qt4 ]; 13 13 14 14 meta = with stdenv.lib; { 15 15 description = "An old-school drum-kit sampler synthesizer with stereo fx";
+8 -6
pkgs/applications/audio/espeak/default.nix
··· 1 - {stdenv, fetchurl, unzip, portaudio }: 1 + { stdenv, fetchurl, unzip, portaudio }: 2 2 3 - stdenv.mkDerivation { 4 - name = "espeak-1.46.02"; 3 + stdenv.mkDerivation rec { 4 + name = "espeak-1.48.04"; 5 + 5 6 src = fetchurl { 6 - url = mirror://sourceforge/espeak/espeak-1.46.02-source.zip; 7 - sha256 = "1fjlv5fm0gzvr5wzy1dp4nspw04k0bqv3jymha2p2qfjbfifp2zg"; 7 + url = "mirror://sourceforge/espeak/${name}-source.zip"; 8 + sha256 = "0n86gwh9pw0jqqpdz7mxggllfr8k0r7pc67ayy7w5z6z79kig6mz"; 8 9 }; 9 10 10 11 buildInputs = [ unzip portaudio ]; ··· 21 22 makeFlags="PREFIX=$out DATADIR=$out/share/espeak-data" 22 23 ''; 23 24 24 - meta = { 25 + meta = with stdenv.lib; { 25 26 description = "Compact open source software speech synthesizer"; 26 27 homepage = http://espeak.sourceforge.net/; 27 28 license = "GPLv3+"; 29 + platforms = platforms.linux; 28 30 }; 29 31 }
+39 -13
pkgs/applications/audio/espeak/edit.nix
··· 1 - {stdenv, fetchurl, unzip, portaudio, wxGTK}: 1 + { stdenv, fetchurl, pkgconfig, unzip, portaudio, wxGTK, sox }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "espeakedit-1.48.03"; 2 5 3 - stdenv.mkDerivation { 4 - name = "espeakedit-1.46.02"; 5 6 src = fetchurl { 6 - url = mirror://sourceforge/espeak/espeakedit-1.46.02.zip; 7 - sha256 = "1cc5r89sn8zz7b8wj4grx9xb7aqyi0ybj0li9hpy7hd67r56kqkl"; 7 + url = "mirror://sourceforge/espeak/${name}.zip"; 8 + sha256 = "0x8s7vpb7rw5x37yjzy1f98m4f2csdg89libb74fm36gn8ly0hli"; 8 9 }; 9 10 10 - buildInputs = [ unzip portaudio wxGTK ]; 11 + buildInputs = [ pkgconfig unzip portaudio wxGTK ]; 11 12 12 - patchPhase = if portaudio.api_version == 19 then '' 13 + # TODO: 14 + # Uhm, seems like espeakedit still wants espeak-data/ in $HOME, even thought 15 + # it should use $espeak/share/espeak-data. Have to contact upstream to get 16 + # this fixed. 17 + # 18 + # Workaround: 19 + # cp -r $(nix-build -A espeak)/share/espeak-data ~ 20 + # chmod +w ~/espeak-data 21 + 22 + patches = [ 23 + ./espeakedit-fix-makefile.patch 24 + ./espeakedit-configurable-sox-path.patch 25 + ./espeakedit-configurable-path-espeak-data.patch 26 + ]; 27 + 28 + postPatch = '' 29 + # Disable -Wall flag because it's noisy 30 + sed -i "s/-Wall//g" src/Makefile 31 + 32 + # Fixup paths (file names from above espeak-configurable* patches) 33 + for file in src/compiledata.cpp src/readclause.cpp src/speech.h; do 34 + sed -e "s|@sox@|${sox}/bin/sox|" \ 35 + -e "s|@prefix@|$out|" \ 36 + -i "$file" 37 + done 38 + '' + stdenv.lib.optionalString (portaudio.api_version == 19) '' 13 39 cp src/portaudio19.h src/portaudio.h 14 - '' else ""; 40 + ''; 15 41 16 42 buildPhase = '' 17 - cd src 18 - gcc -o espeakedit *.cpp `wx-config --cxxflags --libs` 43 + make -C src 19 44 ''; 20 45 21 46 installPhase = '' 22 - mkdir -p $out/bin 23 - cp espeakedit $out/bin 47 + mkdir -p "$out/bin" 48 + cp src/espeakedit "$out/bin" 24 49 ''; 25 50 26 - meta = { 51 + meta = with stdenv.lib; { 27 52 description = "Phoneme editor for espeak"; 28 53 homepage = http://espeak.sourceforge.net/; 29 54 license = "GPLv3+"; 55 + platforms = platforms.linux; 30 56 }; 31 57 }
+15
pkgs/applications/audio/espeak/espeakedit-configurable-path-espeak-data.patch
··· 1 + Don't hardcode /usr, use @prefix@. 2 + 3 + Author: Bjørn Forsman 4 + diff -uNr espeakedit-1.48.03.orig/src/speech.h espeakedit-1.48.03/src/speech.h 5 + --- espeakedit-1.48.03.orig/src/speech.h 2014-03-04 17:48:12.000000000 +0100 6 + +++ espeakedit-1.48.03/src/speech.h 2014-07-22 18:21:40.860790719 +0200 7 + @@ -58,7 +58,7 @@ 8 + 9 + // will look for espeak_data directory here, and also in user's home directory 10 + #ifndef PATH_ESPEAK_DATA 11 + - #define PATH_ESPEAK_DATA "/usr/share/espeak-data" 12 + + #define PATH_ESPEAK_DATA "@prefix@/share/espeak-data" 13 + #endif 14 + 15 + typedef unsigned short USHORT;
+27
pkgs/applications/audio/espeak/espeakedit-configurable-sox-path.patch
··· 1 + Make the path to 'sox' configurable by marking it '@sox@' (easy to match with sed). 2 + 3 + Author: Bjørn Forsman 4 + diff -uNr espeakedit-1.48.03.orig/src/compiledata.cpp espeakedit-1.48.03/src/compiledata.cpp 5 + --- espeakedit-1.48.03.orig/src/compiledata.cpp 2014-03-04 17:48:11.000000000 +0100 6 + +++ espeakedit-1.48.03/src/compiledata.cpp 2014-07-22 16:38:50.261388452 +0200 7 + @@ -1884,7 +1884,7 @@ 8 + fname2 = msg; 9 + } 10 + 11 + - sprintf(command,"sox \"%s%s.wav\" -r %d -c1 -t wav %s\n",path_source,fname2,samplerate_native, fname_temp); 12 + + sprintf(command,"@sox@ \"%s%s.wav\" -r %d -c1 -t wav %s\n",path_source,fname2,samplerate_native, fname_temp); 13 + if(system(command) != 0) 14 + { 15 + failed = 1; 16 + diff -uNr espeakedit-1.48.03.orig/src/readclause.cpp espeakedit-1.48.03/src/readclause.cpp 17 + --- espeakedit-1.48.03.orig/src/readclause.cpp 2014-03-04 17:48:11.000000000 +0100 18 + +++ espeakedit-1.48.03/src/readclause.cpp 2014-07-22 16:38:37.190440504 +0200 19 + @@ -892,7 +892,7 @@ 20 + if((fd_temp = mkstemp(fname_temp)) >= 0) 21 + { 22 + close(fd_temp); 23 + - sprintf(command,"sox \"%s\" -r %d -c1 -t wav %s\n", fname, samplerate, fname_temp); 24 + + sprintf(command,"@sox@ \"%s\" -r %d -c1 -t wav %s\n", fname, samplerate, fname_temp); 25 + if(system(command) == 0) 26 + { 27 + fname = fname_temp;
+26
pkgs/applications/audio/espeak/espeakedit-fix-makefile.patch
··· 1 + Fix broken Makefile: 2 + 3 + * fix syntax error (missing '\' to continue line): 4 + Makefile:19: *** recipe commences before first target. Stop. 5 + * Get portaudio library flags from pkg-config (to get -Lpath/to/portaudio/lib etc.) 6 + 7 + Author: Bjørn Forsman 8 + diff -uNr espeakedit-1.48.03.orig/src/Makefile espeakedit-1.48.03/src/Makefile 9 + --- espeakedit-1.48.03.orig/src/Makefile 2013-03-13 15:52:02.000000000 +0100 10 + +++ espeakedit-1.48.03/src/Makefile 2014-07-22 15:34:17.524114822 +0200 11 + @@ -12,12 +12,11 @@ 12 + 13 + WX_LIBS = -pthread `wx-config --libs` 14 + 15 + -LIBS=-lstdc++ -lportaudio 16 + +LIBS=-lstdc++ `pkg-config --libs portaudio-2.0` 17 + #LIBS=-lstdc++ /usr/lib/x86_64-linux-gnu/libportaudio.so.2 18 + 19 + -CPPFLAGS = -Wall -g -fexceptions `wx-config --cflags` 20 + - -I/usr/include/wx-2.8 \ 21 + - -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 22 + +CPPFLAGS = -Wall -g -fexceptions `wx-config --cflags` \ 23 + + -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES \ 24 + -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -D_ESPEAKEDIT 25 + 26 + CXXFLAGS = -O2 -Wall -fexceptions `wx-config --cflags` \
+2 -2
pkgs/applications/audio/fluidsynth/default.nix
··· 1 - { stdenv, fetchurl, alsaLib, glib, jackaudio, libsndfile, pkgconfig 1 + { stdenv, fetchurl, alsaLib, glib, jack2, libsndfile, pkgconfig 2 2 , pulseaudio }: 3 3 4 4 stdenv.mkDerivation rec { ··· 21 21 "-framework CoreAudio"; 22 22 23 23 buildInputs = [ glib libsndfile pkgconfig ] 24 - ++ stdenv.lib.optionals (!stdenv.isDarwin) [ alsaLib pulseaudio jackaudio ]; 24 + ++ stdenv.lib.optionals (!stdenv.isDarwin) [ alsaLib pulseaudio jack2 ]; 25 25 26 26 meta = with stdenv.lib; { 27 27 description = "Real-time software synthesizer based on the SoundFont 2 specifications";
+2 -2
pkgs/applications/audio/guitarix/default.nix
··· 1 1 { stdenv, fetchurl, avahi, boost, fftw, gettext, glib, glibmm, gtk 2 - , gtkmm, intltool, jackaudio, ladspaH, librdf, libsndfile, lv2 2 + , gtkmm, intltool, jack2, ladspaH, librdf, libsndfile, lv2 3 3 , pkgconfig, python }: 4 4 5 5 stdenv.mkDerivation rec { ··· 12 12 }; 13 13 14 14 buildInputs = [ 15 - avahi boost fftw gettext glib glibmm gtk gtkmm intltool jackaudio 15 + avahi boost fftw gettext glib glibmm gtk gtkmm intltool jack2 16 16 ladspaH librdf libsndfile lv2 pkgconfig python 17 17 ]; 18 18
+2 -2
pkgs/applications/audio/hydrogen/default.nix
··· 1 - { stdenv, fetchurl, alsaLib, boost, glib, jackaudio, ladspaPlugins 1 + { stdenv, fetchurl, alsaLib, boost, glib, jack2, ladspaPlugins 2 2 , libarchive, liblrdf , libsndfile, pkgconfig, qt4, scons, subversion }: 3 3 4 4 stdenv.mkDerivation rec { ··· 11 11 }; 12 12 13 13 buildInputs = [ 14 - alsaLib boost glib jackaudio ladspaPlugins libarchive liblrdf 14 + alsaLib boost glib jack2 ladspaPlugins libarchive liblrdf 15 15 libsndfile pkgconfig qt4 scons subversion 16 16 ]; 17 17
+2 -2
pkgs/applications/audio/ingen/default.nix
··· 1 - { stdenv, fetchsvn, boost, ganv, glibmm, gtk, gtkmm, jackaudio, lilv 1 + { stdenv, fetchsvn, boost, ganv, glibmm, gtk, gtkmm, jack2, lilv 2 2 , lv2, pkgconfig, python, raul, serd, sord, sratom, suil 3 3 }: 4 4 ··· 13 13 }; 14 14 15 15 buildInputs = [ 16 - boost ganv glibmm gtk gtkmm jackaudio lilv lv2 pkgconfig python 16 + boost ganv glibmm gtk gtkmm jack2 lilv lv2 pkgconfig python 17 17 raul serd sord sratom suil 18 18 ]; 19 19
+2 -2
pkgs/applications/audio/jack-capture/default.nix
··· 1 - { stdenv, fetchurl, jackaudio, libsndfile, pkgconfig }: 1 + { stdenv, fetchurl, jack2, libsndfile, pkgconfig }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "jack_capture-${version}"; ··· 9 9 sha256 = "0sk7b92my1v1g7rhkpl1c608rb0rdb28m9zqfll95kflxajd16zv"; 10 10 }; 11 11 12 - buildInputs = [ jackaudio libsndfile pkgconfig ]; 12 + buildInputs = [ jack2 libsndfile pkgconfig ]; 13 13 14 14 buildPhase = "PREFIX=$out make jack_capture"; 15 15
+2 -2
pkgs/applications/audio/jack-oscrolloscope/default.nix
··· 1 - { stdenv, fetchurl, SDL, jackaudio, mesa, pkgconfig }: 1 + { stdenv, fetchurl, SDL, jack2, mesa, pkgconfig }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "jack_oscrolloscope-${version}"; ··· 9 9 sha256 = "1pl55in0sj7h5r06n1v91im7d18pplvhbjhjm1fdl39zwnyxiash"; 10 10 }; 11 11 12 - buildInputs = [ SDL jackaudio mesa pkgconfig ]; 12 + buildInputs = [ SDL jack2 mesa pkgconfig ]; 13 13 14 14 installPhase = '' 15 15 mkdir -p $out/bin
+2 -2
pkgs/applications/audio/jack-rack/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, jackaudio, ladspaH, gtk, alsaLib, libxml2, librdf }: 1 + { stdenv, fetchurl, pkgconfig, jack2, ladspaH, gtk, alsaLib, libxml2, librdf }: 2 2 stdenv.mkDerivation rec { 3 3 name = "jack-rack-1.4.7"; 4 4 src = fetchurl { 5 5 url = "mirror://sourceforge/jack-rack/${name}.tar.bz2"; 6 6 sha256 = "1lmibx9gicagcpcisacj6qhq6i08lkl5x8szysjqvbgpxl9qg045"; 7 7 }; 8 - buildInputs = [ pkgconfig jackaudio ladspaH gtk alsaLib libxml2 librdf ]; 8 + buildInputs = [ pkgconfig jack2 ladspaH gtk alsaLib libxml2 librdf ]; 9 9 10 10 meta = { 11 11 description = ''An effects "rack" for the JACK low latency audio API'';
+2 -2
pkgs/applications/audio/jackmeter/default.nix
··· 1 - { stdenv, fetchurl, jackaudio, pkgconfig }: 1 + { stdenv, fetchurl, jack2, pkgconfig }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "jackmeter-0.4"; ··· 8 8 sha256 = "1cnvgx3jv0yvxlqy0l9k285zgvazmh5k8m4l7lxckjfm5bn6hm1r"; 9 9 }; 10 10 11 - buildInputs = [ jackaudio pkgconfig ]; 11 + buildInputs = [ jack2 pkgconfig ]; 12 12 13 13 meta = { 14 14 description = "Console jack loudness meter";
+2 -2
pkgs/applications/audio/jalv/default.nix
··· 1 - { stdenv, fetchurl, gtk, jackaudio, lilv, lv2, pkgconfig, python 1 + { stdenv, fetchurl, gtk, jack2, lilv, lv2, pkgconfig, python 2 2 , serd, sord , sratom, suil }: 3 3 4 4 stdenv.mkDerivation rec { ··· 11 11 }; 12 12 13 13 buildInputs = [ 14 - gtk jackaudio lilv lv2 pkgconfig python serd sord sratom suil 14 + gtk jack2 lilv lv2 pkgconfig python serd sord sratom suil 15 15 ]; 16 16 17 17 configurePhase = "python waf configure --prefix=$out";
+2 -2
pkgs/applications/audio/lash/default.nix
··· 1 - { stdenv, fetchurl, alsaLib, gtk, jackaudio, libuuid, libxml2 1 + { stdenv, fetchurl, alsaLib, gtk, jack2, libuuid, libxml2 2 2 , makeWrapper, pkgconfig, readline }: 3 3 4 4 assert libuuid != null; ··· 15 15 # http://permalink.gmane.org/gmane.linux.redhat.fedora.extras.cvs/822346 16 16 patches = [ ./socket.patch ./gcc-47.patch ]; 17 17 18 - buildInputs = [ alsaLib gtk jackaudio libuuid libxml2 makeWrapper 18 + buildInputs = [ alsaLib gtk jack2 libuuid libxml2 makeWrapper 19 19 pkgconfig readline ]; 20 20 21 21 postInstall = ''
+2 -2
pkgs/applications/audio/linuxsampler/default.nix
··· 1 1 { stdenv, fetchsvn, alsaLib, asio, autoconf, automake, bison 2 - , jackaudio, libgig, libsndfile, libtool, lv2, pkgconfig }: 2 + , jack2, libgig, libsndfile, libtool, lv2, pkgconfig }: 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "linuxsampler-svn-${version}"; ··· 23 23 ''; 24 24 25 25 buildInputs = [ 26 - alsaLib asio autoconf automake bison jackaudio libgig libsndfile 26 + alsaLib asio autoconf automake bison jack2 libgig libsndfile 27 27 libtool lv2 pkgconfig 28 28 ]; 29 29
+2 -2
pkgs/applications/audio/lmms/default.nix
··· 1 - { stdenv, fetchurl, SDL, alsaLib, cmake, fftwSinglePrec, jackaudio, libogg 1 + { stdenv, fetchurl, SDL, alsaLib, cmake, fftwSinglePrec, jack2, libogg 2 2 , libsamplerate, libsndfile, pkgconfig, pulseaudio, qt4, freetype 3 3 }: 4 4 ··· 12 12 }; 13 13 14 14 buildInputs = [ 15 - SDL alsaLib cmake fftwSinglePrec jackaudio libogg libsamplerate 15 + SDL alsaLib cmake fftwSinglePrec jack2 libogg libsamplerate 16 16 libsndfile pkgconfig pulseaudio qt4 17 17 ]; 18 18
+2 -2
pkgs/applications/audio/mhwaveedit/default.nix
··· 1 - { stdenv, fetchurl, SDL , alsaLib, gtk, jackaudio, ladspaH 1 + { stdenv, fetchurl, SDL , alsaLib, gtk, jack2, ladspaH 2 2 , ladspaPlugins, libsamplerate, libsndfile, pkgconfig, pulseaudio }: 3 3 4 4 stdenv.mkDerivation rec { ··· 11 11 }; 12 12 13 13 buildInputs = 14 - [ SDL alsaLib gtk jackaudio ladspaH libsamplerate libsndfile 14 + [ SDL alsaLib gtk jack2 ladspaH libsamplerate libsndfile 15 15 pkgconfig pulseaudio 16 16 ]; 17 17
+2 -2
pkgs/applications/audio/milkytracker/default.nix
··· 1 - { stdenv, fetchurl, SDL, alsaLib, autoconf, automake, jackaudio, perl 1 + { stdenv, fetchurl, SDL, alsaLib, autoconf, automake, jack2, perl 2 2 , zlib, zziplib 3 3 }: 4 4 ··· 32 32 export CPATH=${zlib}/lib 33 33 ''; 34 34 35 - buildInputs = [ SDL alsaLib autoconf automake jackaudio perl zlib zziplib ]; 35 + buildInputs = [ SDL alsaLib autoconf automake jack2 perl zlib zziplib ]; 36 36 37 37 meta = { 38 38 description = "Music tracker application, similar to Fasttracker II.";
+8 -2
pkgs/applications/audio/moc/default.nix
··· 1 - { stdenv, fetchurl, ncurses, pkgconfig, alsaLib, flac, libmad, speex, ffmpeg, libvorbis, mpc, libsndfile, jackaudio, db, libmodplug, timidity, libid3tag, libtool }: 1 + { stdenv, fetchurl, ncurses, pkgconfig, alsaLib, flac, libmad, speex, ffmpeg 2 + , libvorbis, mpc, libsndfile, jack2, db, libmodplug, timidity, libid3tag 3 + , libtool 4 + }: 2 5 3 6 stdenv.mkDerivation rec { 4 7 name = "moc-${version}"; ··· 11 14 12 15 configurePhase = "./configure prefix=$out"; 13 16 14 - buildInputs = [ ncurses pkgconfig alsaLib flac libmad speex ffmpeg libvorbis mpc libsndfile jackaudio db libmodplug timidity libid3tag libtool ]; 17 + buildInputs = [ 18 + ncurses pkgconfig alsaLib flac libmad speex ffmpeg libvorbis 19 + mpc libsndfile jack2 db libmodplug timidity libid3tag libtool 20 + ]; 15 21 16 22 meta = { 17 23 description = "MOC (music on console) is a console audio player for LINUX/UNIX designed to be powerful and easy to use.";
+2 -2
pkgs/applications/audio/ncmpc/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, glib, ncurses, mpd_clientlib, libintlOrEmpty }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "0.22"; 4 + version = "0.23"; 5 5 name = "ncmpc-${version}"; 6 6 7 7 src = fetchurl { 8 8 url = "http://www.musicpd.org/download/ncmpc/0/ncmpc-${version}.tar.xz"; 9 - sha256 = "a8d65f12653d9ce8bc4493aa1c5de09359c25bf3a22498d2ae797e7d41422211"; 9 + sha256 = "d7b30cefaf5c74a5d8ab18ab8275e0102ae12e8ee6d6f8144f8e4cc9a97b5de4"; 10 10 }; 11 11 12 12 buildInputs = [ pkgconfig glib ncurses mpd_clientlib ]
+2 -2
pkgs/applications/audio/petrifoo/default.nix
··· 1 - { stdenv, fetchgit, alsaLib, cmake, gtk, jackaudio, libgnomecanvas 1 + { stdenv, fetchgit, alsaLib, cmake, gtk, jack2, libgnomecanvas 2 2 , libpthreadstubs, libsamplerate, libsndfile, libtool, libxml2 3 3 , pkgconfig }: 4 4 ··· 12 12 }; 13 13 14 14 buildInputs = 15 - [ alsaLib cmake gtk jackaudio libgnomecanvas libpthreadstubs 15 + [ alsaLib cmake gtk jack2 libgnomecanvas libpthreadstubs 16 16 libsamplerate libsndfile libtool libxml2 pkgconfig 17 17 ]; 18 18
+2 -2
pkgs/applications/audio/projectm/default.nix
··· 2 2 , glew, ftgl, ttf_bitstream_vera 3 3 , withQt ? true, qt4 4 4 , withLibvisual ? false, libvisual, SDL 5 - , withJack ? false, jackaudio 5 + , withJack ? false, jack2 6 6 , withPulseAudio ? true, pulseaudio 7 7 }: 8 8 ··· 45 45 [ glew ftgl ] 46 46 ++ optional withQt qt4 47 47 ++ optionals withLibvisual [ libvisual SDL ] 48 - ++ optional withJack jackaudio 48 + ++ optional withJack jack2 49 49 ++ optional withPulseAudio pulseaudio 50 50 ; 51 51 }
+2 -2
pkgs/applications/audio/puredata/default.nix
··· 1 1 { stdenv, fetchurl, autoreconfHook, gettext, makeWrapper 2 - , alsaLib, jackaudio, tk 2 + , alsaLib, jack2, tk 3 3 }: 4 4 5 5 stdenv.mkDerivation rec { ··· 17 17 18 18 nativeBuildInputs = [ autoreconfHook gettext makeWrapper ]; 19 19 20 - buildInputs = [ alsaLib jackaudio ]; 20 + buildInputs = [ alsaLib jack2 ]; 21 21 22 22 configureFlags = '' 23 23 --enable-alsa
+4 -4
pkgs/applications/audio/qjackctl/default.nix
··· 1 - { stdenv, fetchurl, qt4, alsaLib, jackaudio, dbus }: 1 + { stdenv, fetchurl, qt4, alsaLib, jack2, dbus }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "0.3.10"; 4 + version = "0.3.11"; 5 5 name = "qjackctl-${version}"; 6 6 7 7 # some dependencies such as killall have to be installed additionally 8 8 9 9 src = fetchurl { 10 10 url = "mirror://sourceforge/qjackctl/${name}.tar.gz"; 11 - sha256 = "0ch14y3p0x5ss28cpnqcxp42zb2w07d3l1n2sbrkgiz58iy97paw"; 11 + sha256 = "1wjzrgx3n2asyxk6cnfcm34msaw84qvsqy08bd4qnghrgpl96hwl"; 12 12 }; 13 13 14 - buildInputs = [ qt4 alsaLib jackaudio dbus ]; 14 + buildInputs = [ qt4 alsaLib jack2 dbus ]; 15 15 16 16 configureFlags = "--enable-jack-version"; 17 17
+2 -2
pkgs/applications/audio/qsynth/default.nix
··· 1 - { stdenv, fetchurl, alsaLib, fluidsynth, jackaudio, qt4 }: 1 + { stdenv, fetchurl, alsaLib, fluidsynth, jack2, qt4 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "qsynth-${version}"; ··· 9 9 sha256 = "0wmq61cq93x2l00xwr871373mj3dwamz1dg6v62x7s8m1612ndrw"; 10 10 }; 11 11 12 - buildInputs = [ alsaLib fluidsynth jackaudio qt4 ]; 12 + buildInputs = [ alsaLib fluidsynth jack2 qt4 ]; 13 13 14 14 meta = with stdenv.lib; { 15 15 description = "Fluidsynth GUI";
+2 -2
pkgs/applications/audio/qtractor/default.nix
··· 1 - { alsaLib, autoconf, automake, dssi, fetchurl, gtk, jackaudio 1 + { alsaLib, autoconf, automake, dssi, fetchurl, gtk, jack2 2 2 , ladspaH, ladspaPlugins, liblo, libmad, libsamplerate, libsndfile 3 3 , libtool, libvorbis, pkgconfig, qt4, rubberband, stdenv }: 4 4 ··· 12 12 }; 13 13 14 14 buildInputs = 15 - [ alsaLib autoconf automake dssi gtk jackaudio ladspaH 15 + [ alsaLib autoconf automake dssi gtk jack2 ladspaH 16 16 ladspaPlugins liblo libmad libsamplerate libsndfile libtool 17 17 libvorbis pkgconfig qt4 rubberband 18 18 ];
+2 -2
pkgs/applications/audio/rakarrack/default.nix
··· 1 - { stdenv, fetchurl, alsaLib, alsaUtils, fltk, jackaudio, libXft, 1 + { stdenv, fetchurl, alsaLib, alsaUtils, fltk, jack2, libXft, 2 2 libXpm, libjpeg, libpng, libsamplerate, libsndfile, zlib }: 3 3 4 4 stdenv.mkDerivation rec { ··· 12 12 13 13 patches = [ ./fltk-path.patch ]; 14 14 15 - buildInputs = [ alsaLib alsaUtils fltk jackaudio libXft libXpm libjpeg 15 + buildInputs = [ alsaLib alsaUtils fltk jack2 libXft libXpm libjpeg 16 16 libpng libsamplerate libsndfile zlib ]; 17 17 18 18 meta = with stdenv.lib; {
+2 -2
pkgs/applications/audio/samplv1/default.nix
··· 1 - { stdenv, fetchurl, jackaudio, libsndfile, lv2, qt4 }: 1 + { stdenv, fetchurl, jack2, libsndfile, lv2, qt4 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "samplv1-${version}"; ··· 9 9 sha256 = "1vr6jbqnsgdq3v2h1ndp4pirnil3119dqwlq0k0kdscmcskvb9j4"; 10 10 }; 11 11 12 - buildInputs = [ jackaudio libsndfile lv2 qt4 ]; 12 + buildInputs = [ jack2 libsndfile lv2 qt4 ]; 13 13 14 14 meta = with stdenv.lib; { 15 15 description = "An old-school all-digital polyphonic sampler synthesizer with stereo fx";
+2 -2
pkgs/applications/audio/seq24/default.nix
··· 1 - { stdenv, fetchurl, alsaLib, gtkmm, jackaudio, pkgconfig }: 1 + { stdenv, fetchurl, alsaLib, gtkmm, jack2, pkgconfig }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "seq24-${version}"; ··· 9 9 sha256 = "07n80zj95i80vjmsflnlbqx5vv90qmp5f6a0zap8d30849l4y258"; 10 10 }; 11 11 12 - buildInputs = [ alsaLib gtkmm jackaudio pkgconfig ]; 12 + buildInputs = [ alsaLib gtkmm jack2 pkgconfig ]; 13 13 14 14 meta = with stdenv.lib; { 15 15 description = "minimal loop based midi sequencer";
+2 -2
pkgs/applications/audio/setbfree/default.nix
··· 1 - { stdenv, fetchurl, alsaLib, freetype, ftgl, jackaudio, libX11, lv2 1 + { stdenv, fetchurl, alsaLib, freetype, ftgl, jack2, libX11, lv2 2 2 , mesa, pkgconfig, ttf_bitstream_vera 3 3 }: 4 4 ··· 18 18 ''; 19 19 20 20 buildInputs = [ 21 - alsaLib freetype ftgl jackaudio libX11 lv2 mesa pkgconfig 21 + alsaLib freetype ftgl jack2 libX11 lv2 mesa pkgconfig 22 22 ttf_bitstream_vera 23 23 ]; 24 24
+2 -2
pkgs/applications/audio/sonic-visualiser/default.nix
··· 1 1 # TODO add plugins having various licenses, see http://www.vamp-plugins.org/download.html 2 2 3 - { stdenv, fetchurl, alsaLib, bzip2, fftw, jackaudio, libX11, liblo 3 + { stdenv, fetchurl, alsaLib, bzip2, fftw, jack2, libX11, liblo 4 4 , libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate 5 5 , libsndfile, pkgconfig, pulseaudio, qt5, redland 6 6 , rubberband, serd, sord, vampSDK ··· 23 23 sord 24 24 pkgconfig 25 25 # optional 26 - jackaudio 26 + jack2 27 27 # portaudio 28 28 pulseaudio 29 29 libmad
+2 -2
pkgs/applications/audio/synthv1/default.nix
··· 1 - { stdenv, fetchurl, qt4, jackaudio, lv2 }: 1 + { stdenv, fetchurl, qt4, jack2, lv2 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "synthv1-${version}"; ··· 9 9 sha256 = "1r4fszbzwd0yfcch0mcsmh7781zw1317hiljn85w79721fs2m8hc"; 10 10 }; 11 11 12 - buildInputs = [ qt4 jackaudio lv2 ]; 12 + buildInputs = [ qt4 jack2 lv2 ]; 13 13 14 14 meta = with stdenv.lib; { 15 15 description = "An old-school 4-oscillator subtractive polyphonic synthesizer with stereo fx";
+34
pkgs/applications/audio/vimpc/default.nix
··· 1 + { stdenv, fetchurl, autoconf, automake, mpd_clientlib, ncurses, pcre, pkgconfig, taglib }: 2 + 3 + stdenv.mkDerivation rec { 4 + version = "0.09.0"; 5 + name = "vimpc-${version}"; 6 + 7 + src = fetchurl { 8 + url = "https://github.com/boysetsfrog/vimpc/archive/v${version}.tar.gz"; 9 + sha256 = "13eb229a5e9eee491765ee89f7fe6a38140a41a01434b117da3869d725c15706"; 10 + }; 11 + 12 + buildInputs = [ autoconf 13 + automake 14 + mpd_clientlib 15 + ncurses 16 + pcre 17 + pkgconfig 18 + taglib 19 + ]; 20 + 21 + preConfigure = "./autogen.sh"; 22 + 23 + postInstall = '' 24 + mkdir -p $out/etc 25 + cp doc/vimpcrc.example $out/etc 26 + ''; 27 + 28 + meta = { 29 + description = "A vi/vim inspired client for the Music Player Daemon (mpd)."; 30 + homepage = https://github.com/boysetsfrog/vimpc; 31 + license = "GPL3"; 32 + platforms = stdenv.lib.platforms.linux; 33 + }; 34 + }
+2 -2
pkgs/applications/audio/vmpk/default.nix
··· 1 1 { stdenv, fetchurl, cmake, pkgconfig 2 - , qt4, jackaudio 2 + , qt4, jack2 3 3 }: 4 4 5 5 let ··· 22 22 23 23 nativeBuildInputs = [ cmake pkgconfig ]; 24 24 25 - buildInputs = [ qt4 jackaudio ]; 25 + buildInputs = [ qt4 jack2 ]; 26 26 }
+2 -2
pkgs/applications/audio/xsynth-dssi/default.nix
··· 1 - { stdenv, fetchurl, alsaLib, autoconf, automake, dssi, gtk, jackaudio, 1 + { stdenv, fetchurl, alsaLib, autoconf, automake, dssi, gtk, jack2, 2 2 ladspaH, ladspaPlugins, liblo, pkgconfig }: 3 3 4 4 stdenv.mkDerivation rec { ··· 10 10 sha256 = "00nwv2pqjbmxqdc6xdm0cljq6z05lv4y6bibmhz1kih9lm0lklnk"; 11 11 }; 12 12 13 - buildInputs = [ alsaLib autoconf automake dssi gtk jackaudio ladspaH 13 + buildInputs = [ alsaLib autoconf automake dssi gtk jack2 ladspaH 14 14 ladspaPlugins liblo pkgconfig ]; 15 15 16 16 installPhase = ''
+2 -2
pkgs/applications/audio/yoshimi/default.nix
··· 1 1 { stdenv, fetchurl, alsaLib, boost, cairo, cmake, fftwSinglePrec, fltk 2 - , jackaudio, libsndfile, mesa, minixml, pkgconfig, zlib 2 + , jack2, libsndfile, mesa, minixml, pkgconfig, zlib 3 3 }: 4 4 5 5 assert stdenv ? glibc; ··· 14 14 }; 15 15 16 16 buildInputs = [ 17 - alsaLib boost cairo fftwSinglePrec fltk jackaudio libsndfile mesa 17 + alsaLib boost cairo fftwSinglePrec fltk jack2 libsndfile mesa 18 18 minixml zlib 19 19 ]; 20 20
+2 -2
pkgs/applications/audio/zynaddsubfx/default.nix
··· 1 - { stdenv, fetchurl, alsaLib, cmake, jackaudio, fftw, fltk13, minixml 1 + { stdenv, fetchurl, alsaLib, cmake, jack2, fftw, fltk13, minixml 2 2 , pkgconfig, zlib 3 3 }: 4 4 ··· 11 11 sha256 = "0kgmwyh4rhyqdfrdzhbzjjk2hzggkp9c4aac6sy3xv6cc1b5jjxq"; 12 12 }; 13 13 14 - buildInputs = [ alsaLib jackaudio fftw fltk13 minixml zlib ]; 14 + buildInputs = [ alsaLib jack2 fftw fltk13 minixml zlib ]; 15 15 nativeBuildInputs = [ cmake pkgconfig ]; 16 16 17 17 meta = with stdenv.lib; {
-34
pkgs/applications/editors/emacs-23/builder.sh
··· 1 - source $stdenv/setup 2 - 3 - # This hook is supposed to be run on Linux. It patches the proper locations of 4 - # the crt{1,i,n}.o files into the build to ensure that Emacs is linked with 5 - # *our* versions, not the ones found in the system, as it would do by default. 6 - # On other platforms, this appears to be unnecessary. 7 - preConfigure() { 8 - case "${system}" in 9 - x86_64-linux) glibclibdir=lib64 ;; 10 - i686-linux) glibclibdir=lib ;; 11 - *) return; 12 - esac 13 - 14 - libc=$(cat ${NIX_GCC}/nix-support/orig-libc) 15 - echo "libc: $libc" 16 - 17 - for i in src/s/*.h src/m/*.h; do 18 - substituteInPlace $i \ 19 - --replace /usr/${glibclibdir}/crt1.o $libc/${glibclibdir}/crt1.o \ 20 - --replace /usr/${glibclibdir}/crti.o $libc/${glibclibdir}/crti.o \ 21 - --replace /usr/${glibclibdir}/crtn.o $libc/${glibclibdir}/crtn.o \ 22 - --replace /usr/lib/crt1.o $libc/${glibclibdir}/crt1.o \ 23 - --replace /usr/lib/crti.o $libc/${glibclibdir}/crti.o \ 24 - --replace /usr/lib/crtn.o $libc/${glibclibdir}/crtn.o 25 - done 26 - 27 - for i in Makefile.in ./src/Makefile.in ./lib-src/Makefile.in ./leim/Makefile.in; do 28 - substituteInPlace $i --replace /bin/pwd pwd 29 - done 30 - } 31 - 32 - preBuild="make bootstrap" 33 - 34 - genericBuild
-72
pkgs/applications/editors/emacs-23/default.nix
··· 1 - { stdenv, fetchurl, ncurses, x11, libXaw, libXpm, Xaw3d 2 - , pkgconfig, gtk, libXft, dbus, libpng, libjpeg, libungif 3 - , libtiff, librsvg, texinfo, gconf 4 - }: 5 - 6 - assert (gtk != null) -> (pkgconfig != null); 7 - assert (libXft != null) -> libpng != null; # probably a bug 8 - assert stdenv.isDarwin -> libXaw != null; # fails to link otherwise 9 - 10 - stdenv.mkDerivation rec { 11 - name = "emacs-23.4"; 12 - 13 - builder = ./builder.sh; 14 - 15 - src = fetchurl { 16 - url = "mirror://gnu/emacs/${name}.tar.bz2"; 17 - sha256 = "1fc8x5p38qihg7l6z2b1hjc534lnjb8gqpwgywlwg5s3csg6ymr6"; 18 - }; 19 - 20 - buildInputs = 21 - [ ncurses x11 texinfo libXaw Xaw3d libXpm libpng libjpeg libungif 22 - libtiff librsvg libXft gconf 23 - ] 24 - ++ stdenv.lib.optionals (gtk != null) [ gtk pkgconfig ] 25 - ++ stdenv.lib.optional stdenv.isLinux dbus; 26 - 27 - configureFlags = 28 - stdenv.lib.optionals (gtk != null) [ "--with-x-toolkit=gtk" "--with-xft"] 29 - 30 - # On NixOS, help Emacs find `crt*.o'. 31 - ++ stdenv.lib.optional (stdenv ? glibc) 32 - [ "--with-crt-dir=${stdenv.glibc}/lib" ]; 33 - 34 - postInstall = '' 35 - cat >$out/share/emacs/site-lisp/site-start.el <<EOF 36 - ;; nixos specific load-path 37 - (when (getenv "NIX_PROFILES") (setq load-path 38 - (append (reverse (mapcar (lambda (x) (concat x "/share/emacs/site-lisp/")) 39 - (split-string (getenv "NIX_PROFILES")))) 40 - load-path))) 41 - EOF 42 - ''; 43 - 44 - doCheck = true; 45 - 46 - meta = { 47 - description = "GNU Emacs 23.x, the extensible, customizable text editor"; 48 - 49 - longDescription = '' 50 - GNU Emacs is an extensible, customizable text editor—and more. At its 51 - core is an interpreter for Emacs Lisp, a dialect of the Lisp 52 - programming language with extensions to support text editing. 53 - 54 - The features of GNU Emacs include: content-sensitive editing modes, 55 - including syntax coloring, for a wide variety of file types including 56 - plain text, source code, and HTML; complete built-in documentation, 57 - including a tutorial for new users; full Unicode support for nearly all 58 - human languages and their scripts; highly customizable, using Emacs 59 - Lisp code or a graphical interface; a large number of extensions that 60 - add other functionality, including a project planner, mail and news 61 - reader, debugger interface, calendar, and more. Many of these 62 - extensions are distributed with GNU Emacs; others are available 63 - separately. 64 - ''; 65 - 66 - homepage = http://www.gnu.org/software/emacs/; 67 - license = "GPLv3+"; 68 - 69 - maintainers = with stdenv.lib.maintainers; [ simons chaoflow ]; 70 - platforms = stdenv.lib.platforms.all; 71 - }; 72 - }
+25
pkgs/applications/editors/emacs-modes/bbdb/3.nix
··· 1 + { stdenv, fetchurl, emacs }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "bbdb-3.1.2"; 5 + 6 + src = fetchurl { 7 + url = "http://download.savannah.gnu.org/releases/bbdb/${name}.tar.gz"; 8 + sha256 = "1gs16bbpiiy01w9pyg12868r57kx1v3hnw04gmqsmpc40l1hyy05"; 9 + }; 10 + 11 + buildInputs = [ emacs ]; 12 + 13 + # Hack to disable documentation as there is no way to tell bbdb to 14 + # NOT build pdfs. I really don't want to pull in TexLive here... 15 + preConfigure = '' 16 + substituteInPlace ./Makefile.in \ 17 + --replace "SUBDIRS = lisp doc tex" "SUBDIRS = lisp" 18 + ''; 19 + 20 + meta = { 21 + homepage = "http://savannah.nongnu.org/projects/bbdb/"; 22 + description = "The Insidious Big Brother Database (BBDB), a contact management utility for Emacs, version 3"; 23 + license = "GPL"; 24 + }; 25 + }
+75
pkgs/applications/editors/zed/default.nix
··· 1 + { stdenv, buildEnv, fetchurl, xlibs, glib, gtk2, atk, pango, gdk_pixbuf, 2 + cairo, freetype, fontconfig, nss, nspr, gnome, alsaLib, expat, dbus, udev, 3 + makeWrapper, writeScript, gnused }: 4 + 5 + let 6 + 7 + rpath_env = buildEnv { 8 + name = "rpath_env"; 9 + paths = [ xlibs.libX11 xlibs.libXrender glib xlibs.libXtst gtk2 atk pango 10 + gdk_pixbuf cairo freetype fontconfig xlibs.libXi xlibs.libXcomposite 11 + nss nspr gnome.GConf xlibs.libXext xlibs.libXfixes alsaLib 12 + xlibs.libXdamage expat dbus stdenv.gcc ]; 13 + pathsToLink = [ "/lib" "/lib64" ]; 14 + }; 15 + 16 + name = "zed-${version}"; 17 + version = "0.12.0"; 18 + 19 + zed = stdenv.mkDerivation rec { 20 + inherit name version; 21 + 22 + src = if stdenv.system == "i686-linux" then fetchurl { 23 + url = "http://download.zedapp.org/zed-linux32-v${version}.tar.gz"; 24 + sha256 = "04cygfhaynlpl8jrf2r55qk5zz1ipad8l9m8q81lfly2q0h9fbxi"; 25 + } else fetchurl { 26 + url = "http://download.zedapp.org/zed-linux64-v${version}.tar.gz"; 27 + sha256 = "0ng2v07fyglpbyl4pwm2bn5rbldw51kliw8rakbpcdia891hi6z1"; 28 + }; 29 + 30 + buildInputs = [ makeWrapper ]; 31 + 32 + installPhase = '' 33 + mkdir -p $out/zed 34 + cp ./* $out/zed 35 + ''; 36 + 37 + postFixup = '' 38 + patchelf --set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" $out/zed/zed-bin 39 + patchelf --set-rpath "${rpath_env}/lib:${rpath_env}/lib64" $out/zed/zed-bin 40 + 41 + mkdir -p $out/lib 42 + ln -s ${udev}/lib/libudev.so.1 $out/lib/libudev.so.0 43 + 44 + wrapProgram $out/zed/zed-bin \ 45 + --prefix LD_LIBRARY_PATH : $out/lib 46 + ''; 47 + }; 48 + zed_installer = writeScript "zed-installer.sh" '' 49 + mkdir -p ~/.zed 50 + cp -rv ${zed}/zed/* ~/.zed 51 + 52 + ${gnused}/bin/sed -ri 's/DIR\=\$\(dirname\ \$0\)/DIR\=\~\/\.zed/' ~/.zed/zed 53 + 54 + mkdir -p ~/bin 55 + ln -sv ~/.zed/zed ~/bin/zed 56 + ''; 57 + 58 + in stdenv.mkDerivation rec { 59 + inherit name version; 60 + 61 + src = zed; 62 + 63 + installPhase = '' 64 + mkdir -p $out/bin 65 + ln -s ${zed_installer} $out/bin/zed-installer 66 + ''; 67 + 68 + meta = { 69 + description = "Zed is a fully offline-capable, open source, keyboard-focused, text and code editor for power users"; 70 + license = stdenv.lib.licenses.mit; 71 + homepage = http://zedapp.org/; 72 + maintainers = [ stdenv.lib.maintainers.matejc ]; 73 + platforms = stdenv.lib.platforms.linux; 74 + }; 75 + }
+1 -1
pkgs/applications/inferno/default.nix
··· 58 58 description = "A compact distributed operating system for building cross-platform distributed systems"; 59 59 homepage = "http://inferno-os.org/"; 60 60 license = stdenv.lib.licenses.gpl2; 61 - maintainer = [ "Chris Double <chris.double@double.co.nz>" ]; 61 + maintainers = [ "Chris Double <chris.double@double.co.nz>" ]; 62 62 platforms = with stdenv.lib.platforms; linux; 63 63 }; 64 64 }
+2 -2
pkgs/applications/misc/blender/default.nix
··· 2 2 , ilmbase, libXi, libjpeg, libpng, libsamplerate, libsndfile 3 3 , libtiff, mesa, openal, opencolorio, openexr, openimageio, openjpeg, python 4 4 , zlib, fftw 5 - , jackaudioSupport ? false, jackaudio 5 + , jackaudioSupport ? false, jack2 6 6 }: 7 7 8 8 with lib; ··· 19 19 [ SDL boost cmake ffmpeg gettext glew ilmbase libXi 20 20 libjpeg libpng libsamplerate libsndfile libtiff mesa openal 21 21 opencolorio openexr openimageio /* openjpeg */ python zlib fftw 22 - ] ++ optional jackaudioSupport jackaudio; 22 + ] ++ optional jackaudioSupport jack2; 23 23 24 24 postUnpack = 25 25 ''
+2 -2
pkgs/applications/misc/calibre/default.nix
··· 4 4 }: 5 5 6 6 stdenv.mkDerivation rec { 7 - name = "calibre-1.45.0"; 7 + name = "calibre-1.46.0"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://sourceforge/calibre/${name}.tar.xz"; 11 - sha256 = "0g9fzpkjvi0h7h5azk3v425l8gxd8zidcz3nrzlg26hgvbkzpm20"; 11 + sha256 = "1mzw6cmnw1wk8jd2pkl6z7bgjhwn4j7lg0a33f07gk4xw94sbry2"; 12 12 }; 13 13 14 14 inherit python;
+1 -2
pkgs/applications/misc/hello/ex-2/default.nix
··· 17 17 It is fully customizable. 18 18 ''; 19 19 homepage = http://www.gnu.org/software/hello/manual/; 20 - license = "GPLv3+"; 21 - 20 + license = stdenv.lib.licenses.gpl3Plus; 22 21 maintainers = [ stdenv.lib.maintainers.ludo ]; 23 22 platforms = stdenv.lib.platforms.all; 24 23 };
+1 -1
pkgs/applications/misc/makeself/default.nix
··· 19 19 homepage = http://megastep.org/makeself; 20 20 description = "Utility to create self-extracting packages"; 21 21 license = licenses.gpl2; 22 - maintainer = maintainers.wmertens; 22 + maintainers = [ maintainers.wmertens ]; 23 23 platforms = platforms.all; 24 24 }; 25 25 }
-155
pkgs/applications/networking/browsers/firefox/3.6.nix
··· 1 - { stdenv, fetchurl, pkgconfig, gtk, pango, perl, python, zip, libIDL 2 - , libjpeg, libpng, zlib, cairo, dbus, dbus_glib, bzip2, xlibs 3 - , freetype, fontconfig, file, alsaLib, nspr, nss, libnotify 4 - 5 - , # If you want the resulting program to call itself "Firefox" instead 6 - # of "Shiretoko" or whatever, enable this option. However, those 7 - # binaries may not be distributed without permission from the 8 - # Mozilla Foundation, see 9 - # http://www.mozilla.org/foundation/trademarks/. 10 - enableOfficialBranding ? false 11 - }: 12 - 13 - rec { 14 - 15 - firefoxVersion = "3.6.27"; 16 - 17 - xulVersion = "1.9.2.27"; # this attribute is used by other packages 18 - 19 - 20 - src = fetchurl { 21 - url = "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.bz2"; 22 - sha1 = "dd472a10e4ef5b017f00074d0325be13e832d610"; 23 - }; 24 - 25 - 26 - commonConfigureFlags = 27 - [ "--enable-optimize" 28 - "--disable-debug" 29 - "--enable-strip" 30 - "--with-system-jpeg" 31 - "--with-system-zlib" 32 - "--with-system-bz2" 33 - "--with-system-nspr" 34 - "--with-system-nss" 35 - # "--with-system-png" # <-- "--with-system-png won't work because the system's libpng doesn't have APNG support" 36 - "--enable-system-cairo" 37 - #"--enable-system-sqlite" # <-- this seems to be discouraged 38 - "--disable-crashreporter" 39 - "--disable-tests" 40 - "--disable-necko-wifi" # maybe we want to enable this at some point 41 - ]; 42 - 43 - xulrunner = stdenv.mkDerivation { 44 - name = "xulrunner-${xulVersion}"; 45 - 46 - inherit src; 47 - 48 - patches = [ 49 - # Loongson2f related patches: 50 - ./xulrunner-chromium-mips.patch 51 - ./xulrunner-mips-n32.patch 52 - ./xulrunner-1.9.2_beta4-mips-bus-error.patch 53 - 54 - # Fix building on GCC 4.6. 55 - ./gcc-4.6.patch 56 - ]; 57 - 58 - buildInputs = 59 - [ pkgconfig gtk perl zip libIDL libjpeg libpng zlib cairo bzip2 60 - python dbus dbus_glib pango freetype fontconfig xlibs.libXi 61 - xlibs.libX11 xlibs.libXrender xlibs.libXft xlibs.libXt file 62 - alsaLib nspr nss libnotify xlibs.pixman 63 - ]; 64 - 65 - preConfigure = if stdenv.isMips then '' 66 - export ac_cv_thread_keyword=no 67 - '' else ""; 68 - 69 - configureFlags = 70 - [ "--enable-application=xulrunner" 71 - "--disable-javaxpcom" 72 - ] ++ commonConfigureFlags; 73 - 74 - # !!! Temporary hack. 75 - preBuild = '' 76 - export NIX_ENFORCE_PURITY= 77 - ''; 78 - 79 - installFlags = "SKIP_GRE_REGISTRATION=1"; 80 - 81 - postInstall = '' 82 - # Fix some references to /bin paths in the Xulrunner shell script. 83 - substituteInPlace $out/bin/xulrunner \ 84 - --replace /bin/pwd "$(type -tP pwd)" \ 85 - --replace /bin/ls "$(type -tP ls)" 86 - 87 - # Fix run-mozilla.sh search 88 - libDir=$(cd $out/lib && ls -d xulrunner-[0-9]*) 89 - echo libDir: $libDir 90 - test -n "$libDir" 91 - cd $out/bin 92 - mv xulrunner ../lib/$libDir/ 93 - 94 - for i in $out/lib/$libDir/*; do 95 - file $i; 96 - if file $i | grep executable &>/dev/null; then 97 - ln -s $i $out/bin 98 - fi; 99 - done; 100 - rm -f $out/bin/run-mozilla.sh 101 - ''; # */ 102 - 103 - enableParallelBuilding = true; 104 - 105 - meta = { 106 - description = "Mozilla Firefox XUL runner"; 107 - homepage = http://www.mozilla.org/firefox/; 108 - }; 109 - 110 - passthru = { inherit gtk; version = xulVersion; }; 111 - }; 112 - 113 - 114 - firefox = stdenv.mkDerivation rec { 115 - name = "firefox-${firefoxVersion}"; 116 - 117 - inherit src; 118 - 119 - buildInputs = 120 - [ pkgconfig gtk perl zip libIDL libjpeg zlib cairo bzip2 python 121 - dbus dbus_glib pango freetype fontconfig alsaLib nspr nss libnotify 122 - xlibs.pixman 123 - ]; 124 - 125 - propagatedBuildInputs = [xulrunner]; 126 - 127 - configureFlags = 128 - [ "--enable-application=browser" 129 - "--with-libxul-sdk=${xulrunner}/lib/xulrunner-devel-${xulrunner.version}" 130 - ] 131 - ++ commonConfigureFlags 132 - ++ stdenv.lib.optional enableOfficialBranding "--enable-official-branding"; 133 - 134 - postInstall = '' 135 - libDir=$(cd $out/lib && ls -d firefox-[0-9]*) 136 - test -n "$libDir" 137 - 138 - ln -s ${xulrunner}/lib/xulrunner-${xulrunner.version} $out/lib/$libDir/xulrunner 139 - 140 - # Register extensions etc. !!! is this needed anymore? 141 - echo "running firefox -register..." 142 - $out/bin/firefox -register 143 - ''; # */ 144 - 145 - meta = { 146 - description = "Mozilla Firefox - the browser, reloaded"; 147 - homepage = http://www.mozilla.org/firefox/; 148 - }; 149 - 150 - passthru = { 151 - inherit gtk xulrunner nspr; 152 - isFirefox3Like = true; 153 - }; 154 - }; 155 - }
+52 -156
pkgs/applications/networking/browsers/firefox/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, gtk, pango, perl, python, zip, libIDL 2 - , libjpeg, libpng, zlib, dbus, dbus_glib, bzip2, xlibs 1 + { lib, stdenv, fetchurl, pkgconfig, gtk, pango, perl, python, zip, libIDL 2 + , libjpeg, zlib, dbus, dbus_glib, bzip2, xlibs 3 3 , freetype, fontconfig, file, alsaLib, nspr, nss, libnotify 4 4 , yasm, mesa, sqlite, unzip, makeWrapper, pysqlite 5 5 , hunspell, libevent, libstartup_notification, libvpx ··· 15 15 16 16 assert stdenv.gcc ? libc && stdenv.gcc.libc != null; 17 17 18 - rec { 18 + let version = "31.0"; in 19 19 20 - firefoxVersion = "30.0"; 21 - 22 - xulVersion = "30.0"; # this attribute is used by other packages 23 - 20 + stdenv.mkDerivation rec { 21 + name = "firefox-${version}"; 24 22 25 23 src = fetchurl { 26 - url = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.bz2"; 27 - sha1 = "bll9hxf31gvg9db6gxgmq25qsjif3p11"; 24 + url = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${version}/source/firefox-${version}.source.tar.bz2"; 25 + sha1 = "a6c3e25ee3aeb7da42db2aaeb50a385d63532beb"; 28 26 }; 29 27 30 - commonConfigureFlags = 31 - [ "--with-system-jpeg" 28 + buildInputs = 29 + [ pkgconfig gtk perl zip libIDL libjpeg zlib bzip2 30 + python dbus dbus_glib pango freetype fontconfig xlibs.libXi 31 + xlibs.libX11 xlibs.libXrender xlibs.libXft xlibs.libXt file 32 + alsaLib nspr nss libnotify xlibs.pixman yasm mesa 33 + xlibs.libXScrnSaver xlibs.scrnsaverproto pysqlite 34 + xlibs.libXext xlibs.xextproto sqlite unzip makeWrapper 35 + hunspell libevent libstartup_notification libvpx cairo 36 + gstreamer gst_plugins_base icu 37 + ]; 38 + 39 + configureFlags = 40 + [ "--enable-application=browser" 41 + "--disable-javaxpcom" 42 + "--with-system-jpeg" 32 43 "--with-system-zlib" 33 44 "--with-system-bz2" 34 45 "--with-system-nspr" 35 46 "--with-system-nss" 36 47 "--with-system-libevent" 37 48 "--with-system-libvpx" 38 - "--with-system-png" 49 + # "--with-system-png" # needs APNG support 39 50 # "--with-system-icu" # causes ‘ar: invalid option -- 'L'’ in Firefox 28.0 40 51 "--enable-system-ffi" 41 52 "--enable-system-hunspell" ··· 52 63 "--disable-installer" 53 64 "--disable-updater" 54 65 "--disable-pulseaudio" 55 - ] ++ (if debugBuild then [ "--enable-debug" "--enable-profiling"] 56 - else [ "--disable-debug" "--enable-release" 57 - "--enable-optimize" "--enable-strip" ]); 58 - 59 - 60 - xulrunner = stdenv.mkDerivation rec { 61 - name = "xulrunner-${xulVersion}"; 62 - 63 - inherit src; 64 - 65 - buildInputs = 66 - [ pkgconfig libpng gtk perl zip libIDL libjpeg zlib bzip2 67 - python dbus dbus_glib pango freetype fontconfig xlibs.libXi 68 - xlibs.libX11 xlibs.libXrender xlibs.libXft xlibs.libXt file 69 - alsaLib nspr nss libnotify xlibs.pixman yasm mesa 70 - xlibs.libXScrnSaver xlibs.scrnsaverproto pysqlite 71 - xlibs.libXext xlibs.xextproto sqlite unzip makeWrapper 72 - hunspell libevent libstartup_notification libvpx cairo 73 - gstreamer gst_plugins_base icu 74 - ]; 75 - 76 - configureFlags = 77 - [ "--enable-application=xulrunner" 78 - "--disable-javaxpcom" 79 - ] ++ commonConfigureFlags; 80 - 81 - #enableParallelBuilding = true; # cf. https://github.com/NixOS/nixpkgs/pull/1699#issuecomment-35196282 82 - 83 - preConfigure = 84 - '' 85 - export NIX_LDFLAGS="$NIX_LDFLAGS -L$out/lib/xulrunner-${xulVersion}" 66 + ] 67 + ++ (if debugBuild then [ "--enable-debug" "--enable-profiling"] 68 + else [ "--disable-debug" "--enable-release" 69 + "--enable-optimize" "--enable-strip" ]) 70 + ++ lib.optional enableOfficialBranding "--enable-official-branding"; 86 71 87 - mkdir ../objdir 88 - cd ../objdir 89 - configureScript=../mozilla-release/configure 90 - ''; # */ 72 + enableParallelBuilding = true; 91 73 92 - #installFlags = "SKIP_GRE_REGISTRATION=1"; 74 + preConfigure = 75 + '' 76 + mkdir ../objdir 77 + cd ../objdir 78 + configureScript=../mozilla-release/configure 79 + ''; 93 80 94 - preInstall = '' 95 - # The following is needed for startup cache creation on grsecurity kernels 81 + preInstall = 82 + '' 83 + # The following is needed for startup cache creation on grsecurity kernels. 96 84 paxmark m ../objdir/dist/bin/xpcshell 97 85 ''; 98 86 99 - postInstall = '' 100 - # Fix run-mozilla.sh search 101 - libDir=$(cd $out/lib && ls -d xulrunner-[0-9]*) 102 - echo libDir: $libDir 103 - test -n "$libDir" 104 - cd $out/bin 105 - rm xulrunner 106 - 107 - for i in $out/lib/$libDir/*; do 108 - file $i; 109 - if file $i | grep executable &>/dev/null; then 110 - echo -e '#! /bin/sh\nexec "'"$i"'" "$@"' > "$out/bin/$(basename "$i")"; 111 - chmod a+x "$out/bin/$(basename "$i")"; 112 - fi; 113 - done 114 - for i in $out/lib/$libDir/*.so; do 115 - patchelf --set-rpath "$(patchelf --print-rpath "$i"):$out/lib/$libDir" $i || true 116 - done 117 - 87 + postInstall = 88 + '' 118 89 # For grsecurity kernels 119 - paxmark m $out/lib/$libDir/{plugin-container,xulrunner} 120 - 121 - for i in $out/lib/$libDir/{plugin-container,xulrunner,xulrunner-stub}; do 122 - wrapProgram $i --prefix LD_LIBRARY_PATH ':' "$out/lib/$libDir" 123 - done 124 - 125 - rm -f $out/bin/run-mozilla.sh 126 - ''; # */ 90 + paxmark m $out/lib/*/{plugin-container,xulrunner} 127 91 128 - meta = { 129 - description = "Mozilla Firefox XUL runner"; 130 - homepage = http://www.mozilla.com/en-US/firefox/; 131 - }; 92 + # Remove SDK cruft. FIXME: move to a separate output? 93 + rm -rf $out/share/idl $out/include $out/lib/firefox-devel-* 94 + ''; 132 95 133 - passthru = { inherit gtk; version = xulVersion; }; 96 + meta = { 97 + description = "Mozilla Firefox - the browser, reloaded"; 98 + homepage = http://www.mozilla.com/en-US/firefox/; 99 + maintainers = with lib.maintainers; [ eelco wizeman ]; 100 + platforms = lib.platforms.linux; 134 101 }; 135 102 136 - 137 - firefox = stdenv.mkDerivation rec { 138 - name = "firefox-${firefoxVersion}"; 139 - 140 - inherit src; 141 - 142 - enableParallelBuilding = true; 143 - 144 - buildInputs = 145 - [ pkgconfig libpng gtk perl zip libIDL libjpeg zlib bzip2 python 146 - dbus dbus_glib pango freetype fontconfig alsaLib nspr nss libnotify 147 - xlibs.pixman yasm mesa sqlite file unzip pysqlite 148 - hunspell libevent libstartup_notification libvpx cairo 149 - gstreamer gst_plugins_base icu 150 - ]; 151 - 152 - patches = [ 153 - ./disable-reporter.patch # fixes "search box not working when built on xulrunner" 154 - ./xpidl.patch 155 - ]; 156 - 157 - propagatedBuildInputs = [xulrunner]; 158 - 159 - configureFlags = 160 - [ "--enable-application=browser" 161 - "--with-libxul-sdk=${xulrunner}/lib/xulrunner-devel-${xulrunner.version}" 162 - "--enable-chrome-format=jar" 163 - ] 164 - ++ commonConfigureFlags 165 - ++ stdenv.lib.optional enableOfficialBranding "--enable-official-branding"; 166 - 167 - makeFlags = [ 168 - "SYSTEM_LIBXUL=1" 169 - ]; 170 - 171 - # Because preConfigure runs configure from a subdirectory. 172 - configureScript = "../configure"; 173 - 174 - preConfigure = 175 - '' 176 - # Hack to work around make's idea of -lbz2 dependency 177 - find . -name Makefile.in -execdir sed -i '{}' -e '1ivpath %.so ${ 178 - stdenv.lib.concatStringsSep ":" 179 - (map (s : s + "/lib") (buildInputs ++ [stdenv.gcc.libc])) 180 - }' ';' 181 - 182 - # Building directly in the main source directory is not allowed. 183 - mkdir obj_dir 184 - cd obj_dir 185 - ''; 186 - 187 - postInstall = 188 - '' 189 - ln -s ${xulrunner}/lib/xulrunner-${xulrunner.version} $(echo $out/lib/firefox-*)/xulrunner 190 - cd "$out/lib/"firefox-* 191 - rm firefox 192 - echo -e '#!${stdenv.shell}\nexec ${xulrunner}/bin/xulrunner "'"$PWD"'/application.ini" "$@"' > firefox 193 - chmod a+x firefox 194 - 195 - # Put chrome.manifest etc. in the right place. 196 - mv browser/* . 197 - rmdir browser 198 - ''; # */ 199 - 200 - meta = { 201 - description = "Mozilla Firefox - the browser, reloaded"; 202 - homepage = http://www.mozilla.com/en-US/firefox/; 203 - maintainers = with stdenv.lib.maintainers; [ eelco wizeman ]; 204 - }; 205 - 206 - passthru = { 207 - inherit gtk xulrunner nspr; 208 - isFirefox3Like = true; 209 - }; 103 + passthru = { 104 + inherit gtk nspr version; 105 + isFirefox3Like = true; 210 106 }; 211 107 }
-20
pkgs/applications/networking/browsers/firefox/disable-reporter.patch
··· 1 - # from: 2 - # - https://www.linuxquestions.org/questions/linux-from-scratch-13/blfs-xulrunner-firefox-21-0-and-search-4175462532/ 3 - # - http://www.mail-archive.com/blfs-support@linuxfromscratch.org/msg17359.html 4 - 5 - --- mozilla-release/browser/base/content/browser.js.orig 2013-05-11 16:19:21.000000000 -0300 6 - +++ mozilla-release/browser/base/content/browser.js 2013-06-07 00:39:16.114862388 -0300 7 - @@ -3559,10 +3559,12 @@ 8 - */ 9 - recordSearchInHealthReport: function (engine, source) { 10 - #ifdef MOZ_SERVICES_HEALTHREPORT 11 - - let reporter = Cc["@mozilla.org/datareporting/service;1"] 12 - + /*let reporter = Cc["@mozilla.org/datareporting/service;1"] 13 - .getService() 14 - .wrappedJSObject 15 - .healthReporter; 16 - + */ 17 - + return; 18 - 19 - // This can happen if the FHR component of the data reporting service is 20 - // disabled. This is controlled by a pref that most will never use.
-13
pkgs/applications/networking/browsers/firefox/gcc-4.6.patch
··· 1 - https://346825.bugs.gentoo.org/attachment.cgi?id=270163 2 - 3 - --- a/gfx/ots/src/os2.cc 4 - +++ b/gfx/ots/src/os2.cc 5 - @@ -2,6 +2,8 @@ 6 - // Use of this source code is governed by a BSD-style license that can be 7 - // found in the LICENSE file. 8 - 9 - +#include <cstddef> 10 - + 11 - #include "os2.h" 12 - 13 - #include "head.h"
-11
pkgs/applications/networking/browsers/firefox/xpidl.patch
··· 1 - --- mozilla-release/python/mozbuild/mozbuild/backend/recursivemake.py 2013-12-05 08:07:53.000000000 -0800 2 - +++ mozilla-release_1/python/mozbuild/mozbuild/backend/recursivemake.py 2013-12-12 23:38:39.697318563 -0800 3 - @@ -421,7 +421,7 @@ 4 - def _handle_idl_manager(self, manager): 5 - build_files = self._purge_manifests['xpidl'] 6 - 7 - - for p in ('Makefile', 'backend.mk', '.deps/.mkdir.done', 8 - + for p in ('Makefile.in', 'Makefile', 'backend.mk', '.deps/.mkdir.done', 9 - 'xpt/.mkdir.done'): 10 - build_files.add(p) 11 -
-26
pkgs/applications/networking/browsers/firefox/xulrunner-1.9.2_beta4-mips-bus-error.patch
··· 1 - http://www.gentoo-cn.org/gitweb/?p=loongson.git;a=blob;f=net-libs/xulrunner/files/xulrunner-1.9.2_beta4-mips-bus-error.patch;h=2bf51d77054796ffaf4f4d903dd8560bf96b7844;hb=HEAD 2 - 3 - --- ./xpcom/glue/nsTArray.h.orig 2009-04-26 01:21:58.000000000 +0800 4 - +++ ./xpcom/glue/nsTArray.h 2009-04-26 01:21:33.000000000 +0800 5 - @@ -168,6 +168,7 @@ 6 - 7 - // The array's elements (prefixed with a Header). This pointer is never 8 - // null. If the array is empty, then this will point to sEmptyHdr. 9 - + void *padding; 10 - Header *mHdr; 11 - }; 12 - 13 - diff --git a/layout/svg/base/src/nsSVGGlyphFrame.cpp b/layout/svg/base/src/nsSVGGlyphFrame.cpp 14 - index 6d452d0..3ce4193 100644 15 - --- a/layout/svg/base/src/nsSVGGlyphFrame.cpp 16 - +++ b/layout/svg/base/src/nsSVGGlyphFrame.cpp 17 - @@ -169,8 +169,8 @@ private: 18 - PRBool SetupForDirectTextRun(gfxContext *aContext, float aScale); 19 - void SetupFor(gfxContext *aContext, float aScale); 20 - 21 - - nsSVGGlyphFrame *mSource; 22 - nsAutoTArray<CharacterPosition,80> mPositions; 23 - + nsSVGGlyphFrame *mSource; 24 - gfxMatrix mInitialMatrix; 25 - // Textrun advance width from start to mCurrentChar, in appunits 26 - gfxFloat mCurrentAdvance;
-207
pkgs/applications/networking/browsers/firefox/xulrunner-chromium-mips.patch
··· 1 - http://gentoo-overlays.zugaina.org/loongson/portage/net-libs/xulrunner/files/xulrunner-chromium-mips.patch 2 - 3 - diff --git a/ipc/chromium/src/base/atomicops.h b/ipc/chromium/src/base/atomicops.h 4 - index 87df918..363bf63 100644 5 - --- a/ipc/chromium/src/base/atomicops.h 6 - +++ b/ipc/chromium/src/base/atomicops.h 7 - @@ -132,6 +132,8 @@ Atomic64 Release_Load(volatile const Atomic64* ptr); 8 - #include "base/atomicops_internals_x86_gcc.h" 9 - #elif defined(COMPILER_GCC) && defined(ARCH_CPU_ARM_FAMILY) 10 - #include "base/atomicops_internals_arm_gcc.h" 11 - +#elif defined(COMPILER_GCC) && defined(ARCH_CPU_MIPS_FAMILY) 12 - +#include "base/atomicops_internals_mips_gcc.h" 13 - #else 14 - #error "Atomic operations are not supported on your platform" 15 - #endif 16 - diff --git a/ipc/chromium/src/base/atomicops_internals_mips_gcc.h b/ipc/chromium/src/base/atomicops_internals_mips_gcc.h 17 - new file mode 100644 18 - index 0000000..d1b87ee 19 - --- /dev/null 20 - +++ b/ipc/chromium/src/base/atomicops_internals_mips_gcc.h 21 - @@ -0,0 +1,160 @@ 22 - +// Copyright (c) 2010 Zhang, Le <r0bertz@gentoo.org> 23 - +// Use of this source code is governed by GPLv2. 24 - + 25 - +// This file is an internal atomic implementation, use base/atomicops.h instead. 26 - + 27 - +#ifndef BASE_ATOMICOPS_INTERNALS_MIPS_GCC_H_ 28 - +#define BASE_ATOMICOPS_INTERNALS_MIPS_GCC_H_ 29 - + 30 - +#define ATOMICOPS_COMPILER_BARRIER() __asm__ __volatile__("" : : : "memory") 31 - + 32 - +namespace base { 33 - +namespace subtle { 34 - + 35 - +// 32-bit low-level operations on any platform. 36 - + 37 - +inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, 38 - + Atomic32 old_value, 39 - + Atomic32 new_value) { 40 - + Atomic32 prev; 41 - + __asm__ __volatile__( 42 - + " .set push \n" 43 - + " .set noat \n" 44 - + " .set mips3 \n" 45 - + "1: ll %0, %2 \n" 46 - + " bne %0, %z3, 2f \n" 47 - + " .set mips0 \n" 48 - + " move $1, %z4 \n" 49 - + " .set mips3 \n" 50 - + " sc $1, %1 \n" 51 - + " beqz $1, 3f \n" 52 - + "2: \n" 53 - + " .subsection 2 \n" 54 - + "3: b 1b \n" 55 - + " .previous \n" 56 - + " .set pop \n" 57 - + : "=&r" (prev), "=R" (*ptr) 58 - + : "R" (*ptr), "Jr" (old_value), "Jr" (new_value) 59 - + : "memory"); 60 - + return prev; 61 - +} 62 - + 63 - +inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, 64 - + Atomic32 new_value) { 65 - + unsigned int ret_value; 66 - + unsigned long dummy; 67 - + 68 - + __asm__ __volatile__(" .set mips3 \n" 69 - + "1: ll %0, %3 # xchg_u32 \n" 70 - + " .set mips0 \n" 71 - + " move %2, %z4 \n" 72 - + " .set mips3 \n" 73 - + " sc %2, %1 \n" 74 - + " beqz %2, 2f \n" 75 - + " .subsection 2 \n" 76 - + "2: b 1b \n" 77 - + " .previous \n" 78 - + " .set mips0 \n" 79 - + : "=&r" (ret_value), "=m" (*ptr), "=&r" (dummy) 80 - + : "R" (*ptr), "Jr" (new_value) 81 - + : "memory"); 82 - + 83 - + return ret_value; // Now it's the previous value. 84 - +} 85 - + 86 - +inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, 87 - + Atomic32 increment) { 88 - + Atomic32 temp, result; 89 - + __asm__ __volatile__( 90 - + " .set mips3 \n" 91 - + "1: ll %1, %2 # atomic_add_return \n" 92 - + " addu %0, %1, %3 \n" 93 - + " sc %0, %2 \n" 94 - + " beqz %0, 2f \n" 95 - + " addu %0, %1, %3 \n" 96 - + " .subsection 2 \n" 97 - + "2: b 1b \n" 98 - + " .previous \n" 99 - + " .set mips0 \n" 100 - + : "=&r" (result), "=&r" (temp), "=m" (*ptr) 101 - + : "Ir" (increment), "m" (*ptr) 102 - + : "memory"); 103 - + return result; 104 - +} 105 - + 106 - +inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, 107 - + Atomic32 increment) { 108 - + Atomic32 temp, result; 109 - + __asm__ __volatile__( 110 - + " .set mips3 \n" 111 - + "1: ll %1, %2 # atomic_add_return \n" 112 - + " addu %0, %1, %3 \n" 113 - + " sc %0, %2 \n" 114 - + " beqz %0, 2f \n" 115 - + " addu %0, %1, %3 \n" 116 - + " .subsection 2 \n" 117 - + "2: b 1b \n" 118 - + " .previous \n" 119 - + " .set mips0 \n" 120 - + : "=&r" (result), "=&r" (temp), "=m" (*ptr) 121 - + : "Ir" (increment), "m" (*ptr) 122 - + : "memory"); 123 - + __asm__ __volatile__("sync" : : : "memory"); 124 - + return result; 125 - +} 126 - + 127 - +inline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr, 128 - + Atomic32 old_value, 129 - + Atomic32 new_value) { 130 - + Atomic32 x = NoBarrier_CompareAndSwap(ptr, old_value, new_value); 131 - + __asm__ __volatile__("sync" : : : "memory"); 132 - + return x; 133 - +} 134 - + 135 - +inline Atomic32 Release_CompareAndSwap(volatile Atomic32* ptr, 136 - + Atomic32 old_value, 137 - + Atomic32 new_value) { 138 - + return NoBarrier_CompareAndSwap(ptr, old_value, new_value); 139 - +} 140 - + 141 - +inline void NoBarrier_Store(volatile Atomic32* ptr, Atomic32 value) { 142 - + *ptr = value; 143 - +} 144 - + 145 - +inline void MemoryBarrier() { 146 - + __asm__ __volatile__("sync" : : : "memory"); 147 - +} 148 - + 149 - +inline void Acquire_Store(volatile Atomic32* ptr, Atomic32 value) { 150 - + *ptr = value; 151 - + __asm__ __volatile__("sync" : : : "memory"); 152 - +} 153 - + 154 - +inline void Release_Store(volatile Atomic32* ptr, Atomic32 value) { 155 - + ATOMICOPS_COMPILER_BARRIER(); 156 - + *ptr = value; // An x86 store acts as a release barrier. 157 - + // See comments in Atomic64 version of Release_Store(), below. 158 - +} 159 - + 160 - +inline Atomic32 NoBarrier_Load(volatile const Atomic32* ptr) { 161 - + return *ptr; 162 - +} 163 - + 164 - +inline Atomic32 Acquire_Load(volatile const Atomic32* ptr) { 165 - + Atomic32 value = *ptr; // An x86 load acts as a acquire barrier. 166 - + // See comments in Atomic64 version of Release_Store(), below. 167 - + ATOMICOPS_COMPILER_BARRIER(); 168 - + return value; 169 - +} 170 - + 171 - +inline Atomic32 Release_Load(volatile const Atomic32* ptr) { 172 - + MemoryBarrier(); 173 - + return *ptr; 174 - +} 175 - + 176 - +} // namespace base::subtle 177 - +} // namespace base 178 - + 179 - +#undef ATOMICOPS_COMPILER_BARRIER 180 - + 181 - +#endif // BASE_ATOMICOPS_INTERNALS_MIPS_GCC_H_ 182 - diff --git a/ipc/chromium/src/base/debug_util_posix.cc b/ipc/chromium/src/base/debug_util_posix.cc 183 - index f7c58b4..50fb41d 100644 184 - --- a/ipc/chromium/src/base/debug_util_posix.cc 185 - +++ b/ipc/chromium/src/base/debug_util_posix.cc 186 - @@ -108,7 +108,7 @@ bool DebugUtil::BeingDebugged() { 187 - 188 - // static 189 - void DebugUtil::BreakDebugger() { 190 - -#if !defined(ARCH_CPU_ARM_FAMILY) 191 - +#if !defined(ARCH_CPU_ARM_FAMILY) && !defined(ARCH_CPU_MIPS_FAMILY) 192 - asm ("int3"); 193 - #endif 194 - } 195 - diff --git a/ipc/chromium/src/build/build_config.h b/ipc/chromium/src/build/build_config.h 196 - index 36f83e7..128bbc7 100644 197 - --- a/ipc/chromium/src/build/build_config.h 198 - +++ b/ipc/chromium/src/build/build_config.h 199 - @@ -57,6 +57,8 @@ 200 - #define ARCH_CPU_ARMEL 1 201 - #define ARCH_CPU_32_BITS 1 202 - #define WCHAR_T_IS_UNSIGNED 1 203 - +#elif defined(__MIPSEL__) 204 - +#define ARCH_CPU_MIPS_FAMILY 1 205 - #else 206 - #error Please add support for your architecture in build/build_config.h 207 - #endif
-764
pkgs/applications/networking/browsers/firefox/xulrunner-mips-n32.patch
··· 1 - http://gentoo-overlays.zugaina.org/loongson/portage/net-libs/xulrunner/files/xulrunner-mips-n32.patch 2 - 3 - From 1aa3577cf7e79b574bd2cff058ea00221194869b Mon Sep 17 00:00:00 2001 4 - From: Zhang Le <r0bertz@gentoo.org> 5 - Date: Thu, 12 Mar 2009 02:24:34 +0800 6 - Subject: [PATCH 2/2] xulrunner mips n32 ABI patch 7 - 8 - Signed-off-by: Zhang Le <r0bertz@gentoo.org> 9 - --- 10 - xpcom/reflect/xptcall/src/md/unix/Makefile.in | 5 + 11 - .../xptcall/src/md/unix/xptcinvoke_asm_mips64.s | 159 ++++++++++++++ 12 - .../xptcall/src/md/unix/xptcinvoke_mips64.cpp | 173 ++++++++++++++++ 13 - .../xptcall/src/md/unix/xptcstubs_asm_mips64.s | 149 +++++++++++++ 14 - .../xptcall/src/md/unix/xptcstubs_mips64.cpp | 218 ++++++++++++++++++++ 15 - 5 files changed, 704 insertions(+), 0 deletions(-) 16 - create mode 100644 xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips64.s 17 - create mode 100644 xpcom/reflect/xptcall/src/md/unix/xptcinvoke_mips64.cpp 18 - create mode 100644 xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips64.s 19 - create mode 100644 xpcom/reflect/xptcall/src/md/unix/xptcstubs_mips64.cpp 20 - 21 - diff --git a/xpcom/reflect/xptcall/src/md/unix/Makefile.in b/xpcom/reflect/xptcall/src/md/unix/Makefile.in 22 - index 524174e..63586cf 100644 23 - --- a/xpcom/reflect/xptcall/src/md/unix/Makefile.in 24 - +++ b/xpcom/reflect/xptcall/src/md/unix/Makefile.in 25 - @@ -274,8 +274,13 @@ endif 26 - 27 - ifeq ($(OS_ARCH),Linux) 28 - ifneq (,$(findstring mips, $(OS_TEST))) 29 - +ifneq (,$(findstring mips64, $(OS_TEST))) 30 - +CPPSRCS := xptcinvoke_mips64.cpp xptcstubs_mips64.cpp 31 - +ASFILES := xptcinvoke_asm_mips64.s xptcstubs_asm_mips64.s 32 - +else 33 - CPPSRCS := xptcinvoke_mips.cpp xptcstubs_mips.cpp 34 - ASFILES := xptcinvoke_asm_mips.s xptcstubs_asm_mips.s 35 - +endif 36 - ASFLAGS += -I$(DIST)/include -x assembler-with-cpp 37 - endif 38 - endif 39 - diff --git a/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips64.s b/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips64.s 40 - new file mode 100644 41 - index 0000000..f146ad8 42 - --- /dev/null 43 - +++ b/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips64.s 44 - @@ -0,0 +1,159 @@ 45 - +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 46 - +/* ***** BEGIN LICENSE BLOCK ***** 47 - + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 48 - + * 49 - + * The contents of this file are subject to the Mozilla Public License Version 50 - + * 1.1 (the "License"); you may not use this file except in compliance with 51 - + * the License. You may obtain a copy of the License at 52 - + * http://www.mozilla.org/MPL/ 53 - + * 54 - + * Software distributed under the License is distributed on an "AS IS" basis, 55 - + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 56 - + * for the specific language governing rights and limitations under the 57 - + * License. 58 - + * 59 - + * The Original Code is mozilla.org code. 60 - + * 61 - + * The Initial Developer of the Original Code is 62 - + * Netscape Communications Corporation. 63 - + * Portions created by the Initial Developer are Copyright (C) 1998 64 - + * the Initial Developer. All Rights Reserved. 65 - + * 66 - + * Contributor(s): 67 - + * ZHANG Le <r0bertz@gentoo.org> 68 - + * 69 - + * Alternatively, the contents of this file may be used under the terms of 70 - + * either of the GNU General Public License Version 2 or later (the "GPL"), 71 - + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 72 - + * in which case the provisions of the GPL or the LGPL are applicable instead 73 - + * of those above. If you wish to allow use of your version of this file only 74 - + * under the terms of either the GPL or the LGPL, and not to allow others to 75 - + * use your version of this file under the terms of the MPL, indicate your 76 - + * decision by deleting the provisions above and replace them with the notice 77 - + * and other provisions required by the GPL or the LGPL. If you do not delete 78 - + * the provisions above, a recipient may use your version of this file under 79 - + * the terms of any one of the MPL, the GPL or the LGPL. 80 - + * 81 - + * ***** END LICENSE BLOCK ***** */ 82 - +#include <sys/regdef.h> 83 - +#include <sys/asm.h> 84 - + 85 - +.text 86 - +.globl invoke_count_words 87 - +.globl invoke_copy_to_stack 88 - + 89 - +LOCALSZ=7 # a0, a1, a2, a3, s0, ra, gp 90 - +FRAMESZ=(((NARGSAVE+LOCALSZ)*SZREG)+ALSZ)&ALMASK 91 - + 92 - +RAOFF=FRAMESZ-(1*SZREG) 93 - +A0OFF=FRAMESZ-(2*SZREG) 94 - +A1OFF=FRAMESZ-(3*SZREG) 95 - +A2OFF=FRAMESZ-(4*SZREG) 96 - +A3OFF=FRAMESZ-(5*SZREG) 97 - +S0OFF=FRAMESZ-(6*SZREG) 98 - +GPOFF=FRAMESZ-(7*SZREG) 99 - + 100 - +# 101 - +# _NS_InvokeByIndex_P(that, methodIndex, paramCount, params) 102 - +# a0 a1 a2 a3 103 - + 104 - +NESTED(_NS_InvokeByIndex_P, FRAMESZ, ra) 105 - + PTR_SUBU sp, FRAMESZ 106 - + SETUP_GP64(GPOFF, _NS_InvokeByIndex_P) 107 - + 108 - + REG_S ra, RAOFF(sp) 109 - + REG_S a0, A0OFF(sp) 110 - + REG_S a1, A1OFF(sp) 111 - + REG_S a2, A2OFF(sp) 112 - + REG_S a3, A3OFF(sp) 113 - + REG_S s0, S0OFF(sp) 114 - + 115 - + # invoke_count_words(paramCount, params) 116 - + move a0, a2 117 - + move a1, a3 118 - + jal invoke_count_words 119 - + 120 - + # invoke_copy_to_stack(PRUint32* d, PRUint32 paramCount, 121 - + # nsXPTCVariant* s, PRUint32 *reg) 122 - + 123 - + REG_L a1, A2OFF(sp) # a1 - paramCount 124 - + REG_L a2, A3OFF(sp) # a2 - params 125 - + 126 - + # save sp before we copy the params to the stack 127 - + move t0, sp 128 - + 129 - + # assume full size of 16 bytes per param to be safe 130 - + sll v0, 4 # 16 bytes * num params 131 - + subu sp, sp, v0 # make room 132 - + move a0, sp # a0 - param stack address 133 - + 134 - + # create temporary stack space to write int and fp regs 135 - + subu sp, 64 # 64 = 8 regs of 8 bytes 136 - + move a3, sp 137 - + 138 - + # save the old sp and save the arg stack 139 - + subu sp, sp, 16 140 - + REG_S t0, 0(sp) 141 - + REG_S a0, 8(sp) 142 - + 143 - + # copy the param into the stack areas 144 - + jal invoke_copy_to_stack 145 - + 146 - + REG_L t3, 8(sp) # get previous a0 147 - + REG_L sp, 0(sp) # get orig sp back 148 - + 149 - + REG_L a0, A0OFF(sp) # a0 - that 150 - + REG_L a1, A1OFF(sp) # a1 - methodIndex 151 - + 152 - + # t1 = methodIndex * pow(2, PTRLOG) 153 - + # (use shift instead of mult) 154 - + sll t1, a1, PTRLOG 155 - + 156 - + # calculate the function we need to jump to, 157 - + # which must then be saved in t9 158 - + lw t9, 0(a0) 159 - + addu t9, t9, t1 160 - +#if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */ 161 - + lw t9, (t9) 162 - +#else /* not G++ V3 ABI */ 163 - + lw t9, 2*PTRSIZE(t9) 164 - +#endif /* G++ V3 ABI */ 165 - + 166 - + # get register save area from invoke_copy_to_stack 167 - + subu t1, t3, 64 168 - + 169 - + # a1..a7 and f13..f19 should now be set to what 170 - + # invoke_copy_to_stack told us. skip a0 and f12 171 - + # because that's the "this" pointer 172 - + 173 - + REG_L a1, 0(t1) 174 - + REG_L a2, 8(t1) 175 - + REG_L a3, 16(t1) 176 - + REG_L a4, 24(t1) 177 - + REG_L a5, 32(t1) 178 - + REG_L a6, 40(t1) 179 - + REG_L a7, 48(t1) 180 - + 181 - + l.d $f13, 0(t1) 182 - + l.d $f14, 8(t1) 183 - + l.d $f15, 16(t1) 184 - + l.d $f16, 24(t1) 185 - + l.d $f17, 32(t1) 186 - + l.d $f18, 40(t1) 187 - + l.d $f19, 48(t1) 188 - + 189 - + # save away our stack pointer and create 190 - + # the stack pointer for the function 191 - + move s0, sp 192 - + move sp, t3 193 - + 194 - + jalr t9 195 - + 196 - + move sp, s0 197 - + 198 - + RESTORE_GP64 199 - + REG_L ra, RAOFF(sp) 200 - + REG_L s0, S0OFF(sp) 201 - + PTR_ADDU sp, FRAMESZ 202 - + j ra 203 - +.end _NS_InvokeByIndex_P 204 - diff --git a/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_mips64.cpp b/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_mips64.cpp 205 - new file mode 100644 206 - index 0000000..d1d1a7d 207 - --- /dev/null 208 - +++ b/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_mips64.cpp 209 - @@ -0,0 +1,173 @@ 210 - +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 211 - +/* ***** BEGIN LICENSE BLOCK ***** 212 - + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 213 - + * 214 - + * The contents of this file are subject to the Mozilla Public License Version 215 - + * 1.1 (the "License"); you may not use this file except in compliance with 216 - + * the License. You may obtain a copy of the License at 217 - + * http://www.mozilla.org/MPL/ 218 - + * 219 - + * Software distributed under the License is distributed on an "AS IS" basis, 220 - + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 221 - + * for the specific language governing rights and limitations under the 222 - + * License. 223 - + * 224 - + * The Original Code is mozilla.org code. 225 - + * 226 - + * The Initial Developer of the Original Code is 227 - + * Netscape Communications Corporation. 228 - + * Portions created by the Initial Developer are Copyright (C) 1998 229 - + * the Initial Developer. All Rights Reserved. 230 - + * 231 - + * Contributor(s): 232 - + * ZHANG Le <r0bertz@gentoo.org> 233 - + * 234 - + * Alternatively, the contents of this file may be used under the terms of 235 - + * either of the GNU General Public License Version 2 or later (the "GPL"), 236 - + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 237 - + * in which case the provisions of the GPL or the LGPL are applicable instead 238 - + * of those above. If you wish to allow use of your version of this file only 239 - + * under the terms of either the GPL or the LGPL, and not to allow others to 240 - + * use your version of this file under the terms of the MPL, indicate your 241 - + * decision by deleting the provisions above and replace them with the notice 242 - + * and other provisions required by the GPL or the LGPL. If you do not delete 243 - + * the provisions above, a recipient may use your version of this file under 244 - + * the terms of any one of the MPL, the GPL or the LGPL. 245 - + * 246 - + * ***** END LICENSE BLOCK ***** */ 247 - + 248 - +/* Platform specific code to invoke XPCOM methods on native objects */ 249 - + 250 - +#include "xptcprivate.h" 251 - + 252 - +#if (_MIPS_SIM != _ABIN32) 253 - +#error "This code is for MIPS N32 only" 254 - +#endif 255 - + 256 - +extern "C" uint32 257 - +invoke_count_words(PRUint32 paramCount, nsXPTCVariant* s) 258 - +{ 259 - + return paramCount; 260 - +} 261 - + 262 - +extern "C" void 263 - +invoke_copy_to_stack(PRUint64* d, PRUint32 paramCount, 264 - + nsXPTCVariant* s, PRUint64 *regs) 265 - +{ 266 - +#define N_ARG_REGS 7 /* 8 regs minus 1 for "this" ptr */ 267 - + 268 - + for (PRUint32 i = 0; i < paramCount; i++, s++) 269 - + { 270 - + if (s->IsPtrData()) { 271 - + if (i < N_ARG_REGS) 272 - + regs[i] = (PRUint64)s->ptr; 273 - + else 274 - + *d++ = (PRUint64)s->ptr; 275 - + continue; 276 - + } 277 - + switch (s->type) { 278 - + // 279 - + // signed types first 280 - + // 281 - + case nsXPTType::T_I8: 282 - + if (i < N_ARG_REGS) 283 - + ((PRInt64*)regs)[i] = s->val.i8; 284 - + else 285 - + *d++ = s->val.i8; 286 - + break; 287 - + case nsXPTType::T_I16: 288 - + if (i < N_ARG_REGS) 289 - + ((PRInt64*)regs)[i] = s->val.i16; 290 - + else 291 - + *d++ = s->val.i16; 292 - + break; 293 - + case nsXPTType::T_I32: 294 - + if (i < N_ARG_REGS) 295 - + ((PRInt64*)regs)[i] = s->val.i32; 296 - + else 297 - + *d++ = s->val.i32; 298 - + break; 299 - + case nsXPTType::T_I64: 300 - + if (i < N_ARG_REGS) 301 - + ((PRInt64*)regs)[i] = s->val.i64; 302 - + else 303 - + *d++ = s->val.i64; 304 - + break; 305 - + // 306 - + // unsigned types next 307 - + // 308 - + case nsXPTType::T_U8: 309 - + if (i < N_ARG_REGS) 310 - + regs[i] = s->val.u8; 311 - + else 312 - + *d++ = s->val.u8; 313 - + break; 314 - + case nsXPTType::T_U16: 315 - + if (i < N_ARG_REGS) 316 - + regs[i] = s->val.u16; 317 - + else 318 - + *d++ = s->val.u16; 319 - + break; 320 - + case nsXPTType::T_U32: 321 - + if (i < N_ARG_REGS) 322 - + regs[i] = s->val.u32; 323 - + else 324 - + *d++ = s->val.u32; 325 - + break; 326 - + case nsXPTType::T_U64: 327 - + if (i < N_ARG_REGS) 328 - + regs[i] = s->val.u64; 329 - + else 330 - + *d++ = s->val.u64; 331 - + break; 332 - + case nsXPTType::T_FLOAT: 333 - + if (i < N_ARG_REGS) 334 - + *(float*)&regs[i] = s->val.f; 335 - + else 336 - + *(float*)d++ = s->val.f; 337 - + break; 338 - + case nsXPTType::T_DOUBLE: 339 - + if (i < N_ARG_REGS) 340 - + *(double*)&regs[i] = s->val.d; 341 - + else 342 - + *(double*)d++ = s->val.d; 343 - + break; 344 - + case nsXPTType::T_BOOL: 345 - + if (i < N_ARG_REGS) 346 - + regs[i] = s->val.b; 347 - + else 348 - + *d++ = s->val.b; 349 - + break; 350 - + case nsXPTType::T_CHAR: 351 - + if (i < N_ARG_REGS) 352 - + regs[i] = s->val.c; 353 - + else 354 - + *d++ = s->val.c; 355 - + break; 356 - + case nsXPTType::T_WCHAR: 357 - + if (i < N_ARG_REGS) 358 - + regs[i] = s->val.wc; 359 - + else 360 - + *d++ = s->val.wc; 361 - + break; 362 - + default: 363 - + // all the others are plain pointer types 364 - + if (i < N_ARG_REGS) 365 - + regs[i] = (PRUint64)s->val.p; 366 - + else 367 - + *d++ = (PRUint64)s->val.p; 368 - + break; 369 - + } 370 - + } 371 - +} 372 - + 373 - +extern "C" nsresult _NS_InvokeByIndex_P(nsISupports* that, PRUint32 methodIndex, 374 - + PRUint32 paramCount, 375 - + nsXPTCVariant* params); 376 - + 377 - +EXPORT_XPCOM_API(nsresult) 378 - +NS_InvokeByIndex_P(nsISupports* that, PRUint32 methodIndex, 379 - + PRUint32 paramCount, nsXPTCVariant* params) 380 - +{ 381 - + return _NS_InvokeByIndex_P(that, methodIndex, paramCount, params); 382 - +} 383 - diff --git a/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips64.s b/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips64.s 384 - new file mode 100644 385 - index 0000000..dfee24b 386 - --- /dev/null 387 - +++ b/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips64.s 388 - @@ -0,0 +1,149 @@ 389 - +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 390 - +/* ***** BEGIN LICENSE BLOCK ***** 391 - + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 392 - + * 393 - + * The contents of this file are subject to the Mozilla Public License Version 394 - + * 1.1 (the "License"); you may not use this file except in compliance with 395 - + * the License. You may obtain a copy of the License at 396 - + * http://www.mozilla.org/MPL/ 397 - + * 398 - + * Software distributed under the License is distributed on an "AS IS" basis, 399 - + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 400 - + * for the specific language governing rights and limitations under the 401 - + * License. 402 - + * 403 - + * The Original Code is mozilla.org code. 404 - + * 405 - + * The Initial Developer of the Original Code is 406 - + * Netscape Communications Corporation. 407 - + * Portions created by the Initial Developer are Copyright (C) 1998 408 - + * the Initial Developer. All Rights Reserved. 409 - + * 410 - + * Contributor(s): 411 - + * ZHANG Le <r0bertz@gentoo.org> 412 - + * 413 - + * Alternatively, the contents of this file may be used under the terms of 414 - + * either of the GNU General Public License Version 2 or later (the "GPL"), 415 - + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 416 - + * in which case the provisions of the GPL or the LGPL are applicable instead 417 - + * of those above. If you wish to allow use of your version of this file only 418 - + * under the terms of either the GPL or the LGPL, and not to allow others to 419 - + * use your version of this file under the terms of the MPL, indicate your 420 - + * decision by deleting the provisions above and replace them with the notice 421 - + * and other provisions required by the GPL or the LGPL. If you do not delete 422 - + * the provisions above, a recipient may use your version of this file under 423 - + * the terms of any one of the MPL, the GPL or the LGPL. 424 - + * 425 - + * ***** END LICENSE BLOCK ***** */ 426 - +#include <sys/regdef.h> 427 - +#include <sys/asm.h> 428 - + 429 - +LOCALSZ=16 430 - +FRAMESZ=(((NARGSAVE+LOCALSZ)*SZREG)+ALSZ)&ALMASK 431 - + 432 - +A1OFF=FRAMESZ-(9*SZREG) 433 - +A2OFF=FRAMESZ-(8*SZREG) 434 - +A3OFF=FRAMESZ-(7*SZREG) 435 - +A4OFF=FRAMESZ-(6*SZREG) 436 - +A5OFF=FRAMESZ-(5*SZREG) 437 - +A6OFF=FRAMESZ-(4*SZREG) 438 - +A7OFF=FRAMESZ-(3*SZREG) 439 - +GPOFF=FRAMESZ-(2*SZREG) 440 - +RAOFF=FRAMESZ-(1*SZREG) 441 - + 442 - +F13OFF=FRAMESZ-(16*SZREG) 443 - +F14OFF=FRAMESZ-(15*SZREG) 444 - +F15OFF=FRAMESZ-(14*SZREG) 445 - +F16OFF=FRAMESZ-(13*SZREG) 446 - +F17OFF=FRAMESZ-(12*SZREG) 447 - +F18OFF=FRAMESZ-(11*SZREG) 448 - +F19OFF=FRAMESZ-(10*SZREG) 449 - + 450 - +#define SENTINEL_ENTRY(n) /* defined in cpp file, not here */ 451 - + 452 - +#if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */ 453 - +#define STUB_ENTRY(x) \ 454 - + .if x < 10; \ 455 - + MAKE_STUB(x, _ZN14nsXPTCStubBase5Stub ##x ##Ev); \ 456 - + .elseif x < 100; \ 457 - + MAKE_STUB(x, _ZN14nsXPTCStubBase6Stub ##x ##Ev); \ 458 - + .elseif x < 1000; \ 459 - + MAKE_STUB(x, _ZN14nsXPTCStubBase7Stub ##x ##Ev); \ 460 - + .else; \ 461 - + .err; \ 462 - + .endif 463 - +#else /* not G++ V3 ABI */ 464 - +#define STUB_ENTRY(x) \ 465 - + MAKE_STUB(x, Stub ##x ##__14nsXPTCStubBase) 466 - +#endif /* G++ V3 ABI */ 467 - + 468 - +#define MAKE_STUB(x, name) \ 469 - + .globl name; \ 470 - + .type name,@function; \ 471 - + .aent name,0; \ 472 - +name:; \ 473 - + PTR_SUBU sp,FRAMESZ; \ 474 - + SETUP_GP64(GPOFF, name); \ 475 - + li t0,x; \ 476 - + b sharedstub; \ 477 - + 478 - +# 479 - +# open a dummy frame for the function entries 480 - +# 481 - + .text 482 - + .align 2 483 - + .type dummy,@function 484 - + .ent dummy, 0 485 - +dummy: 486 - + .frame sp, FRAMESZ, ra 487 - + .mask 0x90000FF0, RAOFF-FRAMESZ 488 - + .fmask 0x000FF000, F19OFF-FRAMESZ 489 - + 490 - +#include "xptcstubsdef.inc" 491 - + 492 - +sharedstub: 493 - + 494 - + REG_S a1, A1OFF(sp) 495 - + REG_S a2, A2OFF(sp) 496 - + REG_S a3, A3OFF(sp) 497 - + REG_S a4, A4OFF(sp) 498 - + REG_S a5, A5OFF(sp) 499 - + REG_S a6, A6OFF(sp) 500 - + REG_S a7, A7OFF(sp) 501 - + REG_S ra, RAOFF(sp) 502 - + 503 - + s.d $f13, F13OFF(sp) 504 - + s.d $f14, F14OFF(sp) 505 - + s.d $f15, F15OFF(sp) 506 - + s.d $f16, F16OFF(sp) 507 - + s.d $f17, F17OFF(sp) 508 - + s.d $f18, F18OFF(sp) 509 - + s.d $f19, F19OFF(sp) 510 - + 511 - + # t0 is methodIndex 512 - + move a1, t0 513 - + 514 - + # a2 is stack address where extra function params 515 - + # are stored that do not fit in registers 516 - + move a2, sp 517 - + addi a2, FRAMESZ 518 - + 519 - + # a3 is stack address of a1..a7 520 - + move a3, sp 521 - + addi a3, A1OFF 522 - + 523 - + # a4 is stack address of f13..f19 524 - + move a4, sp 525 - + addi a4, F13OFF 526 - + 527 - + # PrepareAndDispatch(that, methodIndex, args, gprArgs, fpArgs) 528 - + # a0 a1 a2 a3 a4 529 - + # 530 - + jal PrepareAndDispatch 531 - + 532 - + REG_L ra, RAOFF(sp) 533 - + RESTORE_GP64 534 - + 535 - + PTR_ADDU sp, FRAMESZ 536 - + j ra 537 - + END(dummy) 538 - diff --git a/xpcom/reflect/xptcall/src/md/unix/xptcstubs_mips64.cpp b/xpcom/reflect/xptcall/src/md/unix/xptcstubs_mips64.cpp 539 - new file mode 100644 540 - index 0000000..c404065 541 - --- /dev/null 542 - +++ b/xpcom/reflect/xptcall/src/md/unix/xptcstubs_mips64.cpp 543 - @@ -0,0 +1,218 @@ 544 - +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 545 - +/* ***** BEGIN LICENSE BLOCK ***** 546 - + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 547 - + * 548 - + * The contents of this file are subject to the Mozilla Public License Version 549 - + * 1.1 (the "License"); you may not use this file except in compliance with 550 - + * the License. You may obtain a copy of the License at 551 - + * http://www.mozilla.org/MPL/ 552 - + * 553 - + * Software distributed under the License is distributed on an "AS IS" basis, 554 - + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 555 - + * for the specific language governing rights and limitations under the 556 - + * License. 557 - + * 558 - + * The Original Code is mozilla.org code. 559 - + * 560 - + * The Initial Developer of the Original Code is 561 - + * Netscape Communications Corporation. 562 - + * Portions created by the Initial Developer are Copyright (C) 1999 563 - + * the Initial Developer. All Rights Reserved. 564 - + * 565 - + * Contributor(s): 566 - + * ZHANG Le <r0bertz@gentoo.org> 567 - + * 568 - + * Alternatively, the contents of this file may be used under the terms of 569 - + * either of the GNU General Public License Version 2 or later (the "GPL"), 570 - + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 571 - + * in which case the provisions of the GPL or the LGPL are applicable instead 572 - + * of those above. If you wish to allow use of your version of this file only 573 - + * under the terms of either the GPL or the LGPL, and not to allow others to 574 - + * use your version of this file under the terms of the MPL, indicate your 575 - + * decision by deleting the provisions above and replace them with the notice 576 - + * and other provisions required by the GPL or the LGPL. If you do not delete 577 - + * the provisions above, a recipient may use your version of this file under 578 - + * the terms of any one of the MPL, the GPL or the LGPL. 579 - + * 580 - + * ***** END LICENSE BLOCK ***** */ 581 - + 582 - +#include "xptcprivate.h" 583 - +#include "xptiprivate.h" 584 - + 585 - +#if (_MIPS_SIM != _ABIN32) 586 - +#error "This code is for MIPS N32 only" 587 - +#endif 588 - + 589 - +/* 590 - + * This is for MIPS N32 ABI 591 - + * 592 - + * When we're called, the "gp" registers are stored in gprData and 593 - + * the "fp" registers are stored in fprData. There are 8 regs 594 - + * available which coorespond to the first 7 parameters of the 595 - + * function and the "this" pointer. If there are additional parms, 596 - + * they are stored on the stack at address "args". 597 - + * 598 - + */ 599 - +extern "C" nsresult 600 - +PrepareAndDispatch(nsXPTCStubBase* self, PRUint32 methodIndex, PRUint64* args, 601 - + PRUint64 *gprData, double *fprData) 602 - +{ 603 - +#define PARAM_BUFFER_COUNT 16 604 - +#define PARAM_GPR_COUNT 7 605 - +#define PARAM_FPR_COUNT 7 606 - + 607 - + nsXPTCMiniVariant paramBuffer[PARAM_BUFFER_COUNT]; 608 - + nsXPTCMiniVariant* dispatchParams = NULL; 609 - + const nsXPTMethodInfo* info; 610 - + PRUint8 paramCount; 611 - + PRUint8 i; 612 - + nsresult result = NS_ERROR_FAILURE; 613 - + 614 - + NS_ASSERTION(self,"no self"); 615 - + 616 - + self->mEntry->GetMethodInfo(PRUint16(methodIndex), &info); 617 - + NS_ASSERTION(info,"no method info"); 618 - + 619 - + paramCount = info->GetParamCount(); 620 - + 621 - + // setup variant array pointer 622 - + if(paramCount > PARAM_BUFFER_COUNT) 623 - + dispatchParams = new nsXPTCMiniVariant[paramCount]; 624 - + else 625 - + dispatchParams = paramBuffer; 626 - + NS_ASSERTION(dispatchParams,"no place for params"); 627 - + 628 - + PRUint64* ap = args; 629 - + PRUint32 iCount = 0; 630 - + for(i = 0; i < paramCount; i++) 631 - + { 632 - + const nsXPTParamInfo& param = info->GetParam(i); 633 - + const nsXPTType& type = param.GetType(); 634 - + nsXPTCMiniVariant* dp = &dispatchParams[i]; 635 - + 636 - + if(param.IsOut() || !type.IsArithmetic()) 637 - + { 638 - + if (iCount < PARAM_GPR_COUNT) 639 - + dp->val.p = (void*)gprData[iCount++]; 640 - + else 641 - + dp->val.p = (void*)*ap++; 642 - + continue; 643 - + } 644 - + // else 645 - + switch(type) 646 - + { 647 - + case nsXPTType::T_I8: 648 - + if (iCount < PARAM_GPR_COUNT) 649 - + dp->val.i8 = (PRInt8)gprData[iCount++]; 650 - + else 651 - + dp->val.i8 = (PRInt8)*ap++; 652 - + break; 653 - + 654 - + case nsXPTType::T_I16: 655 - + if (iCount < PARAM_GPR_COUNT) 656 - + dp->val.i16 = (PRInt16)gprData[iCount++]; 657 - + else 658 - + dp->val.i16 = (PRInt16)*ap++; 659 - + break; 660 - + 661 - + case nsXPTType::T_I32: 662 - + if (iCount < PARAM_GPR_COUNT) 663 - + dp->val.i32 = (PRInt32)gprData[iCount++]; 664 - + else 665 - + dp->val.i32 = (PRInt32)*ap++; 666 - + break; 667 - + 668 - + case nsXPTType::T_I64: 669 - + if (iCount < PARAM_GPR_COUNT) 670 - + dp->val.i64 = (PRInt64)gprData[iCount++]; 671 - + else 672 - + dp->val.i64 = (PRInt64)*ap++; 673 - + break; 674 - + 675 - + case nsXPTType::T_U8: 676 - + if (iCount < PARAM_GPR_COUNT) 677 - + dp->val.u8 = (PRUint8)gprData[iCount++]; 678 - + else 679 - + dp->val.u8 = (PRUint8)*ap++; 680 - + break; 681 - + 682 - + case nsXPTType::T_U16: 683 - + if (iCount < PARAM_GPR_COUNT) 684 - + dp->val.u16 = (PRUint16)gprData[iCount++]; 685 - + else 686 - + dp->val.u16 = (PRUint16)*ap++; 687 - + break; 688 - + 689 - + case nsXPTType::T_U32: 690 - + if (iCount < PARAM_GPR_COUNT) 691 - + dp->val.u32 = (PRUint32)gprData[iCount++]; 692 - + else 693 - + dp->val.u32 = (PRUint32)*ap++; 694 - + break; 695 - + 696 - + case nsXPTType::T_U64: 697 - + if (iCount < PARAM_GPR_COUNT) 698 - + dp->val.u64 = (PRUint64)gprData[iCount++]; 699 - + else 700 - + dp->val.u64 = (PRUint64)*ap++; 701 - + break; 702 - + 703 - + case nsXPTType::T_FLOAT: 704 - + if (iCount < PARAM_FPR_COUNT) 705 - + dp->val.f = (double)fprData[iCount++]; 706 - + else 707 - + dp->val.f = *((double*)ap++); 708 - + break; 709 - + 710 - + case nsXPTType::T_DOUBLE: 711 - + if (iCount < PARAM_FPR_COUNT) 712 - + dp->val.d = (double)fprData[iCount++]; 713 - + else 714 - + dp->val.d = *((double*)ap++); 715 - + break; 716 - + 717 - + case nsXPTType::T_BOOL: 718 - + if (iCount < PARAM_GPR_COUNT) 719 - + dp->val.b = (PRBool)gprData[iCount++]; 720 - + else 721 - + dp->val.b = (PRBool)*ap++; 722 - + break; 723 - + 724 - + case nsXPTType::T_CHAR: 725 - + if (iCount < PARAM_GPR_COUNT) 726 - + dp->val.c = (char)gprData[iCount++]; 727 - + else 728 - + dp->val.c = (char)*ap++; 729 - + break; 730 - + 731 - + case nsXPTType::T_WCHAR: 732 - + if (iCount < PARAM_GPR_COUNT) 733 - + dp->val.wc = (wchar_t)gprData[iCount++]; 734 - + else 735 - + dp->val.wc = (wchar_t)*ap++; 736 - + break; 737 - + 738 - + default: 739 - + NS_ASSERTION(0, "bad type"); 740 - + break; 741 - + } 742 - + } 743 - + 744 - + result = self->mOuter->CallMethod((PRUint16)methodIndex, info, dispatchParams); 745 - + 746 - + if(dispatchParams != paramBuffer) 747 - + delete [] dispatchParams; 748 - + 749 - + return result; 750 - +} 751 - + 752 - +#define STUB_ENTRY(n) /* defined in the assembly file */ 753 - + 754 - +#define SENTINEL_ENTRY(n) \ 755 - +nsresult nsXPTCStubBase::Sentinel##n() \ 756 - +{ \ 757 - + NS_ASSERTION(0,"nsXPTCStubBase::Sentinel called"); \ 758 - + return NS_ERROR_NOT_IMPLEMENTED; \ 759 - +} 760 - + 761 - +#include "xptcstubsdef.inc" 762 - -- 763 - 1.6.2 764 -
+3 -2
pkgs/applications/networking/browsers/mozilla-plugins/gecko-mediaplayer/default.nix
··· 10 10 sha256 = "913fd39e70c564cb210c2544a88869f9d1a448184421f000b14b2bc5ba718b49"; 11 11 }; 12 12 13 - buildInputs = [ pkgconfig glib dbus dbus_glib browser x11 GConf browser.xulrunner gmtk ]; 13 + buildInputs = [ pkgconfig glib dbus dbus_glib browser x11 GConf browser gmtk ]; 14 14 15 15 # !!! fix this 16 16 preBuild = 17 17 '' 18 - export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$(echo ${browser.xulrunner}/include/xulrunner-*) -I${browser.nspr}/include/nspr" 18 + export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$(echo ${browser}/include/xulrunner-*) -I${browser.nspr}/include/nspr" 19 19 echo $NIX_CFLAGS_COMPILE 20 20 ''; 21 21 ··· 31 31 meta = { 32 32 description = "A browser plugin that uses GNOME MPlayer to play media in a browser"; 33 33 homepage = http://kdekorte.googlepages.com/gecko-mediaplayer; 34 + broken = true; 34 35 }; 35 36 } 36 37
+3 -3
pkgs/applications/networking/mumble/default.nix
··· 1 1 { stdenv, fetchurl, qt4, boost, protobuf, libsndfile 2 2 , speex, libopus, avahi, pkgconfig 3 3 , jackSupport ? false 4 - , jackaudio ? null 4 + , jack2 ? null 5 5 , speechdSupport ? false 6 6 , speechd ? null 7 7 }: 8 8 9 - assert jackSupport -> jackaudio != null; 9 + assert jackSupport -> jack2 != null; 10 10 assert speechdSupport -> speechd != null; 11 11 12 12 let ··· 36 36 37 37 buildInputs = [ qt4 boost protobuf libsndfile speex 38 38 libopus avahi pkgconfig ] 39 - ++ (optional jackSupport jackaudio) 39 + ++ (optional jackSupport jack2) 40 40 ++ (optional speechdSupport speechd); 41 41 42 42 installPhase = ''
+62
pkgs/applications/networking/spideroak/default.nix
··· 1 + { stdenv, fetchurl, makeWrapper, glib 2 + , fontconfig, patchelf, libXext, libX11 3 + , freetype, libXrender 4 + }: 5 + 6 + let 7 + arch = if stdenv.system == "x86_64-linux" then "x86_64" 8 + else if stdenv.system == "i686-linux" then "i386" 9 + else throw "Spideroak client for: ${stdenv.system} not supported!"; 10 + 11 + interpreter = if stdenv.system == "x86_64-linux" then "ld-linux-x86-64.so.2" 12 + else if stdenv.system == "i686-linux" then "ld-linux.so.2" 13 + else throw "Spideroak client for: ${stdenv.system} not supported!"; 14 + 15 + sha256 = if stdenv.system == "x86_64-linux" then "0ax5ij3fwq3q9agf7qkw2zg53fcd82llg734pq3swzpn3z1ajs38" 16 + else if stdenv.system == "i686-linux" then "18hvgx8bvd2khnqfn434gd4mflv0w5y8kvim72rvya2kwxsyf3i1" 17 + else throw "Spideroak client for: ${stdenv.system} not supported!"; 18 + 19 + ldpath = stdenv.lib.makeSearchPath "lib" [ 20 + glib fontconfig libXext libX11 freetype libXrender 21 + ]; 22 + 23 + version = "5.1.6"; 24 + 25 + in stdenv.mkDerivation { 26 + name = "spideroak-${version}"; 27 + 28 + src = fetchurl { 29 + name = "spideroak-${version}-${arch}"; 30 + url = "https://spideroak.com/getbuild?platform=slackware&arch=${arch}&version=${version}"; 31 + inherit sha256; 32 + }; 33 + 34 + sourceRoot = "."; 35 + 36 + unpackCmd = "tar -xzf $curSrc"; 37 + 38 + installPhase = '' 39 + ensureDir "$out" 40 + cp -r "./"* "$out" 41 + ensureDir "$out/bin" 42 + rm "$out/usr/bin/SpiderOak" 43 + 44 + patchelf --set-interpreter ${stdenv.glibc}/lib/${interpreter} \ 45 + "$out/opt/SpiderOak/lib/SpiderOak" 46 + 47 + RPATH=$out/opt/SpiderOak/lib:${ldpath} 48 + makeWrapper $out/opt/SpiderOak/lib/SpiderOak $out/bin/spideroak --set LD_LIBRARY_PATH $RPATH \ 49 + --set QT_PLUGIN_PATH $out/opt/SpiderOak/lib/plugins/ \ 50 + --set SpiderOak_EXEC_SCRIPT $out/bin/spideroak 51 + ''; 52 + 53 + buildInputs = [ patchelf makeWrapper ]; 54 + 55 + meta = { 56 + homepage = "https://spideroak.com"; 57 + description = "Secure online backup and sychronization"; 58 + license = stdenv.lib.licenses.unfree; 59 + maintainers = with stdenv.lib.maintainers; [ amorsillo ]; 60 + platforms = stdenv.lib.platforms.linux; 61 + }; 62 + }
+1
pkgs/applications/science/biology/arb/default.nix
··· 81 81 pkgMaintainer = "http://BioLib.open-bio.org/"; 82 82 homepage = http://www.arb-home.de/; 83 83 priority = "10"; # because it includes binaries of clustal etc. 84 + broken = true; 84 85 }; 85 86 }
+2 -2
pkgs/applications/version-management/git-and-tools/github-backup/default.nix
··· 7 7 8 8 cabal.mkDerivation (self: { 9 9 pname = "github-backup"; 10 - version = "1.20140707"; 11 - sha256 = "0c15gq91c36xza7yiimqvgk609p9xf9jlzy9683d9p9bx1khpadd"; 10 + version = "1.20140721"; 11 + sha256 = "0bnkfmgpk1iaaqck4ppn461fzk3s2761w2nxfrvw10gc934lhrxc"; 12 12 isLibrary = false; 13 13 isExecutable = true; 14 14 buildDepends = [
+19 -11
pkgs/applications/video/kdenlive/default.nix
··· 1 - { stdenv, fetchurl, lib, cmake, qt4, perl, kdelibs, automoc4, phonon 2 - , mlt, gettext , qimageblitz, qjson, shared_mime_info, soprano 3 - , pkgconfig, shared_desktop_ontologies, libv4l }: 1 + { stdenv, fetchurl, frei0r, lib, cmake, qt4, perl, kdelibs, automoc4 2 + , phonon , makeWrapper, mlt, gettext , qimageblitz, qjson 3 + , shared_mime_info, soprano, pkgconfig, shared_desktop_ontologies 4 + , libv4l 5 + }: 4 6 5 7 stdenv.mkDerivation rec { 6 8 name = "kdenlive-${version}"; 7 - version = "0.9.6"; 9 + version = "0.9.8"; 8 10 9 11 src = fetchurl { 10 12 url = "mirror://kde/stable/kdenlive/${version}/src/${name}.tar.bz2"; 11 - sha256 = "1rw2cbzy5mabwijvryyzbhpgldn2zy5jy4j87hl4m1i8ah9lgi7x"; 13 + sha256 = "17x5srgywcwlbpbs598jwwc62l8313n4dbqx3sdk7p6lyvwk3jln"; 12 14 }; 13 15 14 - buildInputs = 15 - [ cmake qt4 perl kdelibs automoc4 phonon mlt gettext qimageblitz 16 - qjson shared_mime_info soprano pkgconfig shared_desktop_ontologies libv4l 17 - ]; 16 + buildInputs = [ 17 + automoc4 cmake frei0r gettext kdelibs libv4l makeWrapper mlt perl 18 + phonon pkgconfig qimageblitz qjson qt4 shared_desktop_ontologies 19 + shared_mime_info soprano 20 + ]; 18 21 19 22 enableParallelBuilding = true; 20 23 24 + postInstall = '' 25 + wrapProgram $out/bin/kdenlive --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1 26 + wrapProgram $out/bin/kdenlive_render --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1 27 + ''; 28 + 21 29 meta = { 22 30 description = "Free and open source video editor"; 23 - license = "GPLv2+"; 31 + license = stdenv.lib.licenses.gpl2Plus; 24 32 homepage = http://www.kdenlive.org/; 25 - maintainers = with stdenv.lib.maintainers; [viric]; 33 + maintainers = with stdenv.lib.maintainers; [ goibhniu viric ]; 26 34 platforms = with stdenv.lib.platforms; linux; 27 35 }; 28 36 }
+3 -3
pkgs/applications/video/mplayer/default.nix
··· 15 15 , speexSupport ? true, speex ? null 16 16 , theoraSupport ? true, libtheora ? null 17 17 , x264Support ? false, x264 ? null 18 - , jackaudioSupport ? false, jackaudio ? null 18 + , jackaudioSupport ? false, jack2 ? null 19 19 , pulseSupport ? false, pulseaudio ? null 20 20 , bs2bSupport ? false, libbs2b ? null 21 21 # For screenshots ··· 40 40 assert speexSupport -> speex != null; 41 41 assert theoraSupport -> libtheora != null; 42 42 assert x264Support -> x264 != null; 43 - assert jackaudioSupport -> jackaudio != null; 43 + assert jackaudioSupport -> jack2 != null; 44 44 assert pulseSupport -> pulseaudio != null; 45 45 assert bs2bSupport -> libbs2b != null; 46 46 assert libpngSupport -> libpng != null; ··· 109 109 ++ optional dvdnavSupport libdvdnav 110 110 ++ optional bluraySupport libbluray 111 111 ++ optional cddaSupport cdparanoia 112 - ++ optional jackaudioSupport jackaudio 112 + ++ optional jackaudioSupport jack2 113 113 ++ optionals amrSupport [ amrnb amrwb ] 114 114 ++ optional x264Support x264 115 115 ++ optional pulseSupport pulseaudio
+3 -3
pkgs/applications/video/mplayer2/default.nix
··· 10 10 , bluraySupport ? true, libbluray ? null 11 11 , speexSupport ? true, speex ? null 12 12 , theoraSupport ? true, libtheora ? null 13 - , jackaudioSupport ? false, jackaudio ? null 13 + , jackaudioSupport ? false, jack2 ? null 14 14 , pulseSupport ? true, pulseaudio ? null 15 15 , bs2bSupport ? false, libbs2b ? null 16 16 # For screenshots ··· 28 28 assert bluraySupport -> libbluray != null; 29 29 assert speexSupport -> speex != null; 30 30 assert theoraSupport -> libtheora != null; 31 - assert jackaudioSupport -> jackaudio != null; 31 + assert jackaudioSupport -> jack2 != null; 32 32 assert pulseSupport -> pulseaudio != null; 33 33 assert bs2bSupport -> libbs2b != null; 34 34 assert libpngSupport -> libpng != null; ··· 89 89 ++ optional xineramaSupport libXinerama 90 90 ++ optionals dvdnavSupport [ libdvdnav libdvdnav.libdvdread ] 91 91 ++ optional bluraySupport libbluray 92 - ++ optional jackaudioSupport jackaudio 92 + ++ optional jackaudioSupport jack2 93 93 ++ optional pulseSupport pulseaudio 94 94 ++ optional screenSaverSupport libXScrnSaver 95 95 ++ optional vdpauSupport libvdpau
+3 -3
pkgs/applications/video/mpv/default.nix
··· 14 14 , bluraySupport ? true, libbluray ? null 15 15 , speexSupport ? true, speex ? null 16 16 , theoraSupport ? true, libtheora ? null 17 - , jackaudioSupport ? true, jackaudio ? null 17 + , jackaudioSupport ? true, jack2 ? null 18 18 , pulseSupport ? true, pulseaudio ? null 19 19 , bs2bSupport ? false, libbs2b ? null 20 20 # For screenshots ··· 36 36 assert bluraySupport -> libbluray != null; 37 37 assert speexSupport -> speex != null; 38 38 assert theoraSupport -> libtheora != null; 39 - assert jackaudioSupport -> jackaudio != null; 39 + assert jackaudioSupport -> jack2 != null; 40 40 assert pulseSupport -> pulseaudio != null; 41 41 assert bs2bSupport -> libbs2b != null; 42 42 assert libpngSupport -> libpng != null; ··· 74 74 ++ optional dvdreadSupport libdvdread 75 75 ++ optionals dvdnavSupport [ libdvdnav libdvdnav.libdvdread ] 76 76 ++ optional bluraySupport libbluray 77 - ++ optional jackaudioSupport jackaudio 77 + ++ optional jackaudioSupport jack2 78 78 ++ optional pulseSupport pulseaudio 79 79 ++ optional screenSaverSupport libXScrnSaver 80 80 ++ optional vdpauSupport libvdpau
+13
pkgs/applications/video/shotcut/CuteLogger.patch
··· 1 + diff --git shotcut-14.07/CuteLogger/CuteLogger.pro shotcut-14.07/CuteLogger/CuteLogger.pro 2 + index 501eddc..a5290b0 100644 3 + --- shotcut-14.07/CuteLogger/CuteLogger.pro 4 + +++ shotcut-14.07/CuteLogger/CuteLogger.pro 5 + @@ -42,7 +42,7 @@ unix:!symbian { 6 + maemo5 { 7 + target.path = /opt/usr/lib 8 + } else { 9 + - target.path = /usr/lib 10 + + target.path = $(INSTALL_ROOT)/usr/lib 11 + } 12 + INSTALLS += target 13 + }
+41
pkgs/applications/video/shotcut/default.nix
··· 1 + { stdenv, fetchurl, SDL, frei0r, gettext, makeWrapper, mlt, pkgconfig, qt5 }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "shotcut-${version}"; 5 + version = "14.07"; 6 + 7 + src = fetchurl { 8 + url = "https://github.com/mltframework/shotcut/archive/v${version}.tar.gz"; 9 + sha256 = "05g0b3jhmmdv8qnlgmi8wsfi7l3c5zvjcrrb3q7ajfc3q7yf6k6a"; 10 + }; 11 + 12 + buildInputs = [ SDL frei0r gettext makeWrapper mlt pkgconfig qt5 ]; 13 + 14 + # Fixed in git and can be removed for the next release 15 + patches = [ ./CuteLogger.patch ]; 16 + 17 + configurePhase = "qmake PREFIX=$out"; 18 + 19 + postInstall = '' 20 + mkdir -p $out/share/shotcut 21 + cp -r src/qml $out/share/shotcut/ 22 + wrapProgram $out/bin/shotcut --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1 23 + ''; 24 + 25 + meta = with stdenv.lib; { 26 + description = "A free, open source, cross-platform video editor"; 27 + longDescription = '' 28 + An offical binary for Shotcut, which includes all the 29 + dependencies pinned to specific versions, is provided on 30 + http://shotcut.org. 31 + 32 + If you encounter problems with this version, please contact the 33 + nixpkgs maintainer(s). If you wish to report any bugs upstream, 34 + please use the official build from shotcut.org instead. 35 + ''; 36 + homepage = http://shotcut.org; 37 + license = licenses.gpl3; 38 + maintainers = [ maintainers.goibhniu ]; 39 + platforms = platforms.linux; 40 + }; 41 + }
+2 -2
pkgs/applications/video/simplescreenrecorder/default.nix
··· 1 - { stdenv, fetchurl, alsaLib, ffmpeg, jackaudio, libX11, libXext 1 + { stdenv, fetchurl, alsaLib, ffmpeg, jack2, libX11, libXext 2 2 , libXfixes, mesa, pkgconfig, pulseaudio, qt4 3 3 }: 4 4 ··· 12 12 }; 13 13 14 14 buildInputs = [ 15 - alsaLib ffmpeg jackaudio libX11 libXext libXfixes mesa pkgconfig 15 + alsaLib ffmpeg jack2 libX11 libXext libXfixes mesa pkgconfig 16 16 pulseaudio qt4 17 17 ]; 18 18
+2 -2
pkgs/applications/video/vlc/default.nix
··· 3 3 , pkgconfig, dbus, fribidi, qt4, freefont_ttf, libebml, libmatroska 4 4 , libvorbis, libtheora, speex, lua5, libgcrypt, libupnp 5 5 , libcaca, pulseaudio, flac, schroedinger, libxml2, librsvg 6 - , mpeg2dec, udev, gnutls, avahi, libcddb, jackaudio, SDL, SDL_image 6 + , mpeg2dec, udev, gnutls, avahi, libcddb, jack2, SDL, SDL_image 7 7 , libmtp, unzip, taglib, libkate, libtiger, libv4l, samba, liboggz 8 8 , libass, libva, libdvbpsi, libdc1394, libraw1394, libopus 9 9 , libvdpau ··· 22 22 [ xz bzip2 perl zlib a52dec libmad faad2 ffmpeg alsaLib libdvdnav libdvdnav.libdvdread 23 23 libbluray dbus fribidi qt4 libvorbis libtheora speex lua5 libgcrypt 24 24 libupnp libcaca pulseaudio flac schroedinger libxml2 librsvg mpeg2dec 25 - udev gnutls avahi libcddb jackaudio SDL SDL_image libmtp unzip taglib 25 + udev gnutls avahi libcddb jack2 SDL SDL_image libmtp unzip taglib 26 26 libkate libtiger libv4l samba liboggz libass libdvbpsi libva 27 27 xlibs.xlibs xlibs.libXv xlibs.libXvMC xlibs.libXpm xlibs.xcbutilkeysyms 28 28 libdc1394 libraw1394 libopus libebml libmatroska libvdpau
+34
pkgs/data/fonts/opensans-ttf/default.nix
··· 1 + {stdenv, fetchurl}: 2 + 3 + # adapted from https://aur.archlinux.org/packages/tt/ttf-opensans/PKGBUILD 4 + 5 + stdenv.mkDerivation rec { 6 + name = "opensans-ttf-20140617"; 7 + 8 + src = fetchurl { 9 + url = "https://hexchain.org/pub/archlinux/ttf-opensans/opensans.tar.gz"; 10 + sha256 = "1ycn39dijhd3lffmafminrnfmymdig2jvc6i47bb42fx777q97q4"; 11 + }; 12 + 13 + sourceRoot = "."; 14 + 15 + installPhase = '' 16 + mkdir -p $out/share/fonts/truetype 17 + cp *.ttf $out/share/fonts/truetype 18 + ''; 19 + 20 + meta = { 21 + description = "Open Sans fonts"; 22 + 23 + longDescription = '' 24 + Open Sans is a humanist sans serif typeface designed by Steve Matteson, 25 + Type Director of Ascender Corp. 26 + ''; 27 + 28 + homepage = "http://en.wikipedia.org/wiki/Open_Sans"; 29 + license = "Apache"; 30 + 31 + platforms = stdenv.lib.platforms.all; 32 + maintainers = [ ]; 33 + }; 34 + }
+16 -1
pkgs/desktops/e18/enlightenment.nix
··· 1 - { stdenv, fetchurl, pkgconfig, e18, xlibs, libffi, pam, alsaLib, luajit, bzip2 }: 1 + { stdenv, fetchurl, pkgconfig, e18, xlibs, libffi, pam, alsaLib, luajit, bzip2, set_freqset_setuid ? false }: 2 + 2 3 stdenv.mkDerivation rec { 3 4 name = "enlightenment-${version}"; 4 5 version = "0.18.8"; ··· 10 11 preConfigure = '' 11 12 export NIX_CFLAGS_COMPILE="-I${e18.efl}/include/eo-1 -I${e18.efl}/include/ecore-imf-1 -I${e18.efl}/include/ethumb-client-1 -I${e18.efl}/include/ethumb-1 $NIX_CFLAGS_COMPILE" 12 13 ''; 14 + 15 + # this is a hack and without this cpufreq module is not working: 16 + # when set_freqset_setuid is true and "e18_freqset" is set in setuidPrograms (this is taken care of in e18 NixOS module), 17 + # then this postInstall does the folowing: 18 + # 1. moves the "freqset" binary to "e18_freqset", 19 + # 2. linkes "e18_freqset" to enlightenment/bin so that, 20 + # 3. setuidPrograms detects it and makes appropriate stuff to /var/setuid-wrappers/e18_freqset, 21 + # 4. and finaly, linkes /var/setuid-wrappers/e18_freqset to original destination where enlightenment wants it 22 + postInstall = if set_freqset_setuid then '' 23 + export CPUFREQ_DIRPATH=`readlink -f $out/lib/enlightenment/modules/cpufreq/linux-gnu-*`; 24 + mv $CPUFREQ_DIRPATH/freqset $CPUFREQ_DIRPATH/e18_freqset 25 + ln -sv $CPUFREQ_DIRPATH/e18_freqset $out/bin/e18_freqset 26 + ln -sv /var/setuid-wrappers/e18_freqset $CPUFREQ_DIRPATH/freqset 27 + '' else ""; 13 28 meta = { 14 29 description = "The Compositing Window Manager and Desktop Shell"; 15 30 homepage = http://enlightenment.org/;
-96
pkgs/development/compilers/gcc/4.2/builder.sh
··· 1 - source $stdenv/setup 2 - 3 - 4 - export NIX_FIXINC_DUMMY=$NIX_BUILD_TOP/dummy 5 - mkdir $NIX_FIXINC_DUMMY 6 - 7 - 8 - # libstdc++ needs this; otherwise it will use /lib/cpp, which is a Bad 9 - # Thing. 10 - export CPP="gcc -E" 11 - 12 - 13 - if test "$noSysDirs" = "1"; then 14 - 15 - if test -e $NIX_GCC/nix-support/orig-libc; then 16 - 17 - # Figure out what extra flags to pass to the gcc compilers 18 - # being generated to make sure that they use our glibc. 19 - extraCFlags="$(cat $NIX_GCC/nix-support/libc-cflags)" 20 - extraLDFlags="$(cat $NIX_GCC/nix-support/libc-ldflags) $(cat $NIX_GCC/nix-support/libc-ldflags-before)" 21 - 22 - # Use *real* header files, otherwise a limits.h is generated 23 - # that does not include Glibc's limits.h (notably missing 24 - # SSIZE_MAX, which breaks the build). 25 - export NIX_FIXINC_DUMMY=$(cat $NIX_GCC/nix-support/orig-libc)/include 26 - 27 - else 28 - # Hack: support impure environments. 29 - extraCFlags="-isystem /usr/include" 30 - extraLDFlags="-L/usr/lib64 -L/usr/lib" 31 - export NIX_FIXINC_DUMMY=/usr/include 32 - fi 33 - 34 - extraCFlags="-g0 $extraCFlags" 35 - extraLDFlags="--strip-debug $extraLDFlags" 36 - 37 - export NIX_EXTRA_CFLAGS=$extraCFlags 38 - for i in $extraLDFlags; do 39 - export NIX_EXTRA_LDFLAGS="$NIX_EXTRA_LDFLAGS -Wl,$i" 40 - done 41 - 42 - makeFlagsArray=( \ 43 - "${makeFlagsArray[@]}" \ 44 - NATIVE_SYSTEM_HEADER_DIR="$NIX_FIXINC_DUMMY" \ 45 - SYSTEM_HEADER_DIR="$NIX_FIXINC_DUMMY" \ 46 - LIMITS_H_TEST=true \ 47 - X_CFLAGS="$NIX_EXTRA_CFLAGS $NIX_EXTRA_LDFLAGS" \ 48 - LDFLAGS="$NIX_EXTRA_CFLAGS $NIX_EXTRA_LDFLAGS" \ 49 - LDFLAGS_FOR_TARGET="$NIX_EXTRA_CFLAGS $NIX_EXTRA_LDFLAGS" \ 50 - ) 51 - fi 52 - 53 - 54 - preConfigure() { 55 - # Perform the build in a different directory. 56 - mkdir ../build 57 - cd ../build 58 - configureScript=../$sourceRoot/configure 59 - } 60 - 61 - 62 - postInstall() { 63 - # Remove precompiled headers for now. They are very big and 64 - # probably not very useful yet. 65 - find $out/include -name "*.gch" -exec rm -rf {} \; -prune 66 - 67 - # Remove `fixincl' to prevent a retained dependency on the 68 - # previous gcc. 69 - rm -rf $out/libexec/gcc/*/*/install-tools 70 - rm -rf $out/lib/gcc/*/*/install-tools 71 - 72 - # Get rid of some "fixed" header files 73 - rm -rf $out/lib/gcc/*/*/include/root 74 - 75 - # Replace hard links for i686-pc-linux-gnu-gcc etc. with symlinks. 76 - for i in $out/bin/*-gcc*; do 77 - if cmp -s $out/bin/gcc $i; then 78 - ln -sfn gcc $i 79 - fi 80 - done 81 - 82 - for i in $out/bin/*-c++* $out/bin/*-g++*; do 83 - if cmp -s $out/bin/g++ $i; then 84 - ln -sfn g++ $i 85 - fi 86 - done 87 - } 88 - 89 - 90 - if test -z "$profiledCompiler"; then 91 - buildFlags="bootstrap $buildFlags" 92 - else 93 - buildFlags="profiledbootstrap $buildFlags" 94 - fi 95 - 96 - genericBuild
-66
pkgs/development/compilers/gcc/4.2/default.nix
··· 1 - { stdenv, fetchurl, noSysDirs 2 - , langC ? true, langCC ? true, langFortran ? false 3 - , profiledCompiler ? false 4 - , staticCompiler ? false 5 - , gmp ? null 6 - , mpfr ? null 7 - , texinfo ? null 8 - , name ? "gcc" 9 - }: 10 - 11 - with stdenv.lib; 12 - 13 - let version = "4.2.4"; in 14 - 15 - stdenv.mkDerivation { 16 - name = "${name}-${version}"; 17 - 18 - builder = ./builder.sh; 19 - 20 - src = 21 - optional /*langC*/ true (fetchurl { 22 - url = "mirror://gnu/gcc/gcc-${version}/gcc-core-${version}.tar.bz2"; 23 - sha256 = "0cm5yzhqhgdfk03aayakmdj793sya42xkkqhslj7s2b697hygjfg"; 24 - }) ++ 25 - optional langCC (fetchurl { 26 - url = "mirror://gnu/gcc/gcc-${version}/gcc-g++-${version}.tar.bz2"; 27 - sha256 = "0gq8ikci0qqgck71qqlhfld6zkwn9179x6z15vdd9blkdig55nxg"; 28 - }) ++ 29 - optional langFortran (fetchurl { 30 - url = "mirror://gnu/gcc/gcc-${version}/gcc-fortran-${version}.tar.bz2"; 31 - sha256 = "013yqiqhdavgxzjryvylgf3lcnknmw89fx41jf2v4899srn0bhkg"; 32 - }); 33 - 34 - patches = 35 - [./pass-cxxcpp.patch ./siginfo_t.patch] 36 - ++ optional noSysDirs [./no-sys-dirs.patch]; 37 - 38 - inherit noSysDirs profiledCompiler staticCompiler; 39 - 40 - buildInputs = [gmp mpfr texinfo]; 41 - 42 - configureFlags = " 43 - --disable-multilib 44 - --disable-libstdcxx-pch 45 - --with-system-zlib 46 - --enable-languages=${ 47 - concatStrings (intersperse "," 48 - ( optional langC "c" 49 - ++ optional langCC "c++" 50 - ++ optional langFortran "fortran" 51 - ) 52 - ) 53 - } 54 - ${if stdenv.isi686 then "--with-arch=i686" else ""} 55 - "; 56 - 57 - NIX_EXTRA_LDFLAGS = if staticCompiler then "-static" else ""; 58 - 59 - passthru = { inherit langC langCC langFortran; }; 60 - 61 - meta = { 62 - homepage = "http://gcc.gnu.org/"; 63 - license = "GPL/LGPL"; 64 - description = "GNU Compiler Collection, 4.2.x"; 65 - }; 66 - }
-139
pkgs/development/compilers/gcc/4.2/no-sys-dirs.patch
··· 1 - diff -rc gcc-4.2.0-orig/Makefile.in gcc-4.2.0/Makefile.in 2 - *** gcc-4.2.0-orig/Makefile.in 2006-12-29 18:47:06.000000000 +0100 3 - --- gcc-4.2.0/Makefile.in 2007-05-20 21:06:42.000000000 +0200 4 - *************** 5 - *** 364,369 **** 6 - --- 364,377 ---- 7 - @host_makefile_frag@ 8 - ### 9 - 10 - + CFLAGS += $(NIX_EXTRA_CFLAGS) 11 - + CPPFLAGS_FOR_TARGET += $(NIX_EXTRA_CFLAGS) 12 - + CXXFLAGS += $(NIX_EXTRA_CFLAGS) 13 - + LDFLAGS += $(NIX_EXTRA_LDFLAGS) 14 - + LDFLAGS_FOR_TARGET += $(NIX_EXTRA_LDFLAGS) 15 - + BOOT_CFLAGS += $(NIX_EXTRA_CFLAGS) 16 - + BOOT_LDFLAGS += $(NIX_EXTRA_LDFLAGS) 17 - + 18 - # This is the list of directories that may be needed in RPATH_ENVVAR 19 - # so that prorgams built for the target machine work. 20 - TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc) 21 - diff -rc gcc-4.2.0-orig/gcc/Makefile.in gcc-4.2.0/gcc/Makefile.in 22 - *** gcc-4.2.0-orig/gcc/Makefile.in 2007-03-12 05:40:09.000000000 +0100 23 - --- gcc-4.2.0/gcc/Makefile.in 2007-05-20 19:35:13.000000000 +0200 24 - *************** 25 - *** 396,402 **** 26 - MD5_H = $(srcdir)/../include/md5.h 27 - 28 - # Default native SYSTEM_HEADER_DIR, to be overridden by targets. 29 - ! NATIVE_SYSTEM_HEADER_DIR = /usr/include 30 - # Default cross SYSTEM_HEADER_DIR, to be overridden by targets. 31 - CROSS_SYSTEM_HEADER_DIR = @CROSS_SYSTEM_HEADER_DIR@ 32 - 33 - --- 396,406 ---- 34 - MD5_H = $(srcdir)/../include/md5.h 35 - 36 - # Default native SYSTEM_HEADER_DIR, to be overridden by targets. 37 - ! # Nix: we override NATIVE_SYSTEM_HEADER_DIR in order to prevent 38 - ! # `fixinc' from fixing header files in /usr/include. However, 39 - ! # NATIVE_SYSTEM_HEADER_DIR must point to an existing directory, so set 40 - ! # it to some dummy directory. 41 - ! NATIVE_SYSTEM_HEADER_DIR = $(NIX_FIXINC_DUMMY) 42 - # Default cross SYSTEM_HEADER_DIR, to be overridden by targets. 43 - CROSS_SYSTEM_HEADER_DIR = @CROSS_SYSTEM_HEADER_DIR@ 44 - 45 - *************** 46 - *** 3066,3072 **** 47 - -DGPLUSPLUS_INCLUDE_DIR=\"$(gcc_gxx_include_dir)\" \ 48 - -DGPLUSPLUS_TOOL_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/$(target_noncanonical)\" \ 49 - -DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/backward\" \ 50 - ! -DLOCAL_INCLUDE_DIR=\"$(local_includedir)\" \ 51 - -DCROSS_INCLUDE_DIR=\"$(CROSS_SYSTEM_HEADER_DIR)\" \ 52 - -DTOOL_INCLUDE_DIR=\"$(gcc_tooldir)/include\" \ 53 - @TARGET_SYSTEM_ROOT_DEFINE@ 54 - --- 3070,3076 ---- 55 - -DGPLUSPLUS_INCLUDE_DIR=\"$(gcc_gxx_include_dir)\" \ 56 - -DGPLUSPLUS_TOOL_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/$(target_noncanonical)\" \ 57 - -DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/backward\" \ 58 - ! -DLOCAL_INCLUDE_DIR=\"/no-such-dir\" \ 59 - -DCROSS_INCLUDE_DIR=\"$(CROSS_SYSTEM_HEADER_DIR)\" \ 60 - -DTOOL_INCLUDE_DIR=\"$(gcc_tooldir)/include\" \ 61 - @TARGET_SYSTEM_ROOT_DEFINE@ 62 - diff -rc gcc-4.2.0-orig/gcc/cppdefault.c gcc-4.2.0/gcc/cppdefault.c 63 - *** gcc-4.2.0-orig/gcc/cppdefault.c 2006-01-20 22:00:03.000000000 +0100 64 - --- gcc-4.2.0/gcc/cppdefault.c 2007-05-20 17:16:44.000000000 +0200 65 - *************** 66 - *** 41,46 **** 67 - --- 41,50 ---- 68 - # undef CROSS_INCLUDE_DIR 69 - #endif 70 - 71 - + #undef LOCAL_INCLUDE_DIR 72 - + #undef SYSTEM_INCLUDE_DIR 73 - + #undef STANDARD_INCLUDE_DIR 74 - + 75 - const struct default_include cpp_include_defaults[] 76 - #ifdef INCLUDE_DEFAULTS 77 - = INCLUDE_DEFAULTS; 78 - diff -rc gcc-4.2.0-orig/gcc/gcc.c gcc-4.2.0/gcc/gcc.c 79 - *** gcc-4.2.0-orig/gcc/gcc.c 2007-03-05 21:37:05.000000000 +0100 80 - --- gcc-4.2.0/gcc/gcc.c 2007-05-20 17:49:48.000000000 +0200 81 - *************** 82 - *** 1449,1458 **** 83 - /* Default prefixes to attach to command names. */ 84 - 85 - #ifndef STANDARD_STARTFILE_PREFIX_1 86 - ! #define STANDARD_STARTFILE_PREFIX_1 "/lib/" 87 - #endif 88 - #ifndef STANDARD_STARTFILE_PREFIX_2 89 - ! #define STANDARD_STARTFILE_PREFIX_2 "/usr/lib/" 90 - #endif 91 - 92 - #ifdef CROSS_COMPILE /* Don't use these prefixes for a cross compiler. */ 93 - --- 1449,1458 ---- 94 - /* Default prefixes to attach to command names. */ 95 - 96 - #ifndef STANDARD_STARTFILE_PREFIX_1 97 - ! #define STANDARD_STARTFILE_PREFIX_1 "" 98 - #endif 99 - #ifndef STANDARD_STARTFILE_PREFIX_2 100 - ! #define STANDARD_STARTFILE_PREFIX_2 "" 101 - #endif 102 - 103 - #ifdef CROSS_COMPILE /* Don't use these prefixes for a cross compiler. */ 104 - *************** 105 - *** 1473,1480 **** 106 - #endif 107 - 108 - static const char *const standard_exec_prefix = STANDARD_EXEC_PREFIX; 109 - ! static const char *const standard_exec_prefix_1 = "/usr/libexec/gcc/"; 110 - ! static const char *const standard_exec_prefix_2 = "/usr/lib/gcc/"; 111 - static const char *md_exec_prefix = MD_EXEC_PREFIX; 112 - 113 - static const char *md_startfile_prefix = MD_STARTFILE_PREFIX; 114 - --- 1473,1480 ---- 115 - #endif 116 - 117 - static const char *const standard_exec_prefix = STANDARD_EXEC_PREFIX; 118 - ! static const char *const standard_exec_prefix_1 = "/no-such-path/"; 119 - ! static const char *const standard_exec_prefix_2 = "/no-such-path/"; 120 - static const char *md_exec_prefix = MD_EXEC_PREFIX; 121 - 122 - static const char *md_startfile_prefix = MD_STARTFILE_PREFIX; 123 - diff -rc gcc-4.2.0-orig/ltconfig gcc-4.2.0/ltconfig 124 - *** gcc-4.2.0-orig/ltconfig 2007-02-14 18:08:35.000000000 +0100 125 - --- gcc-4.2.0/ltconfig 2007-05-20 22:16:24.000000000 +0200 126 - *************** 127 - *** 2322,2327 **** 128 - --- 2322,2332 ---- 129 - # A language-specific compiler. 130 - CC=$CC 131 - 132 - + # Ugly hack to get libmudflap (and possibly other libraries) to build. 133 - + # Libtool filters out \`-B' flags when linking (why?), so the \`-B' flag 134 - + # to Glibc gets lost. Here we forcibly add it to any invocation. 135 - + CC="\$CC $NIX_EXTRA_CFLAGS $NIX_EXTRA_LDFLAGS" 136 - + 137 - # Is the compiler the GNU C compiler? 138 - with_gcc=$with_gcc 139 -
-21
pkgs/development/compilers/gcc/4.2/pass-cxxcpp.patch
··· 1 - diff -rc gcc-orig/Makefile.in gcc-4.1.1/Makefile.in 2 - *** gcc-orig/Makefile.in Wed Jun 21 13:40:23 2006 3 - --- gcc-4.1.1/Makefile.in Wed Jun 21 14:19:44 2006 4 - *************** 5 - *** 213,219 **** 6 - RAW_CXX_TARGET_EXPORTS = \ 7 - $(BASE_TARGET_EXPORTS) \ 8 - CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \ 9 - ! CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; 10 - 11 - NORMAL_TARGET_EXPORTS = \ 12 - $(BASE_TARGET_EXPORTS) \ 13 - --- 213,220 ---- 14 - RAW_CXX_TARGET_EXPORTS = \ 15 - $(BASE_TARGET_EXPORTS) \ 16 - CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \ 17 - ! CXX="$(RAW_CXX_FOR_TARGET) $(CFLAGS_FOR_BUILD)"; export CXX; \ 18 - ! CXXCPP="$(RAW_CXX_FOR_TARGET) $(CFLAGS_FOR_BUILD) -E"; export CXXCPP; 19 - 20 - NORMAL_TARGET_EXPORTS = \ 21 - $(BASE_TARGET_EXPORTS) \
-15
pkgs/development/compilers/gcc/4.2/siginfo_t.patch
··· 1 - https://bbs.archlinux.org/viewtopic.php?id=144949 2 - --- a/gcc/config/i386/linux-unwind.h 2011-01-03 20:52:22.000000000 +0000 3 - +++ b/gcc/config/i386/linux-unwind.h 2012-07-06 12:23:51.562859470 +0100 4 - @@ -133,9 +133,9 @@ 5 - { 6 - struct rt_sigframe { 7 - int sig; 8 - - struct siginfo *pinfo; 9 - + siginfo_t *pinfo; 10 - void *puc; 11 - - struct siginfo info; 12 - + siginfo_t info; 13 - struct ucontext uc; 14 - } *rt_ = context->cfa; 15 - /* The void * cast is necessary to avoid an aliasing warning.
+2 -2
pkgs/development/compilers/gcc/4.9/default.nix
··· 52 52 with stdenv.lib; 53 53 with builtins; 54 54 55 - let version = "4.9.0"; 55 + let version = "4.9.1"; 56 56 57 57 # Whether building a cross-compiler for GNU/Hurd. 58 58 crossGNU = cross != null && cross.config == "i586-pc-gnu"; ··· 209 209 210 210 src = fetchurl { 211 211 url = "mirror://gnu/gcc/gcc-${version}/gcc-${version}.tar.bz2"; 212 - sha256 = "0mqjxpw2klskls00lwx1k24pnyzm3whqxg3hk74c3sddgfllgc5r"; 212 + sha256 = "0zki3ngi0gsidnmsp88mjl2868cc7cm5wm1vwqw6znja28d7hd6k"; 213 213 }; 214 214 215 215 inherit patches;
+1
pkgs/development/compilers/idris/default.nix
··· 26 26 buildTools = [ happy ]; 27 27 extraLibraries = [ boehmgc gmp ]; 28 28 configureFlags = "-fllvm -fgmp -fffi"; 29 + patches = [ ./trifecta-fix.patch ]; 29 30 meta = { 30 31 homepage = "http://www.idris-lang.org/"; 31 32 description = "Functional Programming Language with Dependent Types";
+15
pkgs/development/compilers/idris/trifecta-fix.patch
··· 1 + diff --git a/src/Idris/AbsSyntaxTree.hs b/src/Idris/AbsSyntaxTree.hs 2 + index 76df969..076f1ff 100644 3 + --- a/src/Idris/AbsSyntaxTree.hs 4 + +++ b/src/Idris/AbsSyntaxTree.hs 5 + @@ -194,6 +194,10 @@ data IState = IState { 6 + idris_callswho :: Maybe (M.Map Name [Name]) 7 + } 8 + 9 + +-- Required for parsers library, and therefore trifecta 10 + +instance Show IState where 11 + + show = const "{internal state}" 12 + + 13 + data SizeChange = Smaller | Same | Bigger | Unknown 14 + deriving (Show, Eq) 15 + {-!
-21
pkgs/development/compilers/llvm/3.1/clang-include-paths.patch
··· 1 - diff -Naur clang-3.1.src-orig/lib/Driver/ToolChains.cpp clang-3.1.src/lib/Driver/ToolChains.cpp 2 - --- clang-3.1.src-orig/lib/Driver/ToolChains.cpp 2012-05-11 20:16:02.000000000 -0400 3 - +++ clang-3.1.src/lib/Driver/ToolChains.cpp 2012-10-08 01:13:01.044083509 -0400 4 - @@ -2146,9 +2146,6 @@ 5 - if (DriverArgs.hasArg(options::OPT_nostdinc)) 6 - return; 7 - 8 - - if (!DriverArgs.hasArg(options::OPT_nostdlibinc)) 9 - - addSystemInclude(DriverArgs, CC1Args, D.SysRoot + "/usr/local/include"); 10 - - 11 - if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { 12 - llvm::sys::Path P(D.ResourceDir); 13 - P.appendComponent("include"); 14 - @@ -2264,6 +2261,7 @@ 15 - return; 16 - 17 - // Check if libc++ has been enabled and provide its include paths if so. 18 - + // !!! Will need to modify this if/when nixpkgs uses libc++ 19 - if (GetCXXStdlibType(DriverArgs) == ToolChain::CST_Libcxx) { 20 - // libc++ is always installed at a fixed path on Linux currently. 21 - addSystemInclude(DriverArgs, CC1Args,
-57
pkgs/development/compilers/llvm/3.1/clang-ld-flags.patch
··· 1 - diff -Naur clang-3.1.src-orig/lib/Driver/ToolChains.cpp clang-3.1.src/lib/Driver/ToolChains.cpp 2 - --- clang-3.1.src-orig/lib/Driver/ToolChains.cpp 2012-05-11 20:16:02.000000000 -0400 3 - +++ clang-3.1.src/lib/Driver/ToolChains.cpp 2012-10-08 01:22:53.458850737 -0400 4 - @@ -2077,16 +2077,6 @@ 5 - addPathIfExists(LibPath + "/../" + Multilib, Paths); 6 - } 7 - } 8 - - addPathIfExists(SysRoot + "/lib/" + MultiarchTriple, Paths); 9 - - addPathIfExists(SysRoot + "/lib/../" + Multilib, Paths); 10 - - addPathIfExists(SysRoot + "/usr/lib/" + MultiarchTriple, Paths); 11 - - addPathIfExists(SysRoot + "/usr/lib/../" + Multilib, Paths); 12 - - 13 - - // Try walking via the GCC triple path in case of multiarch GCC 14 - - // installations with strange symlinks. 15 - - if (GCCInstallation.isValid()) 16 - - addPathIfExists(SysRoot + "/usr/lib/" + GCCInstallation.getTriple().str() + 17 - - "/../../" + Multilib, Paths); 18 - 19 - // Add the non-multilib suffixed paths (if potentially different). 20 - if (GCCInstallation.isValid()) { 21 - @@ -2100,8 +2090,6 @@ 22 - addPathIfExists(LibPath, Paths); 23 - } 24 - } 25 - - addPathIfExists(SysRoot + "/lib", Paths); 26 - - addPathIfExists(SysRoot + "/usr/lib", Paths); 27 - } 28 - 29 - bool Linux::HasNativeLLVMSupport() const { 30 - diff -Naur clang-3.1.src-orig/lib/Driver/Tools.cpp clang-3.1.src/lib/Driver/Tools.cpp 31 - --- clang-3.1.src-orig/lib/Driver/Tools.cpp 2012-04-18 17:32:25.000000000 -0400 32 - +++ clang-3.1.src/lib/Driver/Tools.cpp 2012-10-08 01:25:23.913501995 -0400 33 - @@ -5210,24 +5210,6 @@ 34 - ToolChain.getArch() == llvm::Triple::thumb || 35 - (!Args.hasArg(options::OPT_static) && 36 - !Args.hasArg(options::OPT_shared))) { 37 - - CmdArgs.push_back("-dynamic-linker"); 38 - - if (ToolChain.getArch() == llvm::Triple::x86) 39 - - CmdArgs.push_back("/lib/ld-linux.so.2"); 40 - - else if (ToolChain.getArch() == llvm::Triple::arm || 41 - - ToolChain.getArch() == llvm::Triple::thumb) 42 - - CmdArgs.push_back("/lib/ld-linux.so.3"); 43 - - else if (ToolChain.getArch() == llvm::Triple::mips || 44 - - ToolChain.getArch() == llvm::Triple::mipsel) 45 - - CmdArgs.push_back("/lib/ld.so.1"); 46 - - else if (ToolChain.getArch() == llvm::Triple::mips64 || 47 - - ToolChain.getArch() == llvm::Triple::mips64el) 48 - - CmdArgs.push_back("/lib64/ld.so.1"); 49 - - else if (ToolChain.getArch() == llvm::Triple::ppc) 50 - - CmdArgs.push_back("/lib/ld.so.1"); 51 - - else if (ToolChain.getArch() == llvm::Triple::ppc64) 52 - - CmdArgs.push_back("/lib64/ld64.so.1"); 53 - - else 54 - - CmdArgs.push_back("/lib64/ld-linux-x86-64.so.2"); 55 - } 56 - 57 - CmdArgs.push_back("-o");
-42
pkgs/development/compilers/llvm/3.1/clang.nix
··· 1 - { stdenv, fetchurl, perl, groff, llvm, cmake }: 2 - 3 - let 4 - version = "3.1"; 5 - gccReal = if (stdenv.gcc.gcc or null) == null then stdenv.gcc else stdenv.gcc.gcc; 6 - in 7 - 8 - stdenv.mkDerivation { 9 - name = "clang-${version}"; 10 - 11 - buildInputs = [ perl llvm groff cmake ]; 12 - 13 - patches = stdenv.lib.optionals (stdenv.gcc.libc != null) 14 - [ ./clang-include-paths.patch ./clang-ld-flags.patch ]; 15 - 16 - cmakeFlags = [ 17 - "-DCLANG_PATH_TO_LLVM_BUILD=${llvm}" 18 - "-DCMAKE_BUILD_TYPE=Release" 19 - "-DLLVM_TARGETS_TO_BUILD=all" 20 - "-DGCC_INSTALL_PREFIX=${gccReal}" 21 - ] ++ stdenv.lib.optionals (stdenv.gcc.libc != null) [ 22 - "-DC_INCLUDE_DIRS=${stdenv.gcc.libc}/include/" 23 - ]; 24 - 25 - enableParallelBuilding = true; 26 - 27 - src = fetchurl { 28 - url = "http://llvm.org/releases/${version}/clang-${version}.src.tar.gz"; 29 - sha256 = "11m7sm9f8qcrayckfg3z91zb3fimilpm0f7azn7q7qnkvhay4qzz"; 30 - }; 31 - 32 - passthru = { gcc = stdenv.gcc.gcc; }; 33 - 34 - meta = { 35 - homepage = http://clang.llvm.org/; 36 - description = "A C language family frontend for LLVM"; 37 - license = "BSD"; 38 - maintainers = with stdenv.lib.maintainers; [viric vlstill]; 39 - platforms = with stdenv.lib.platforms; all; 40 - }; 41 - } 42 -
-30
pkgs/development/compilers/llvm/3.1/default.nix
··· 1 - { stdenv, fetchurl, perl, groff, cmake, python, binutils }: 2 - 3 - let version = "3.1"; in 4 - 5 - stdenv.mkDerivation { 6 - name = "llvm-${version}"; 7 - 8 - src = fetchurl { 9 - url = "http://llvm.org/releases/${version}/llvm-${version}.src.tar.gz"; 10 - sha256 = "1ea05135197b5400c1f88d00ff280d775ce778f8f9ea042e25a1e1e734a4b9ab"; 11 - }; 12 - 13 - buildInputs = [ perl groff cmake python ]; 14 - 15 - cmakeFlags = [ 16 - "-DCMAKE_BUILD_TYPE=Release" 17 - "-DLLVM_BINUTILS_INCDIR=${binutils}/include" 18 - ]; 19 - 20 - enableParallelBuilding = true; 21 - 22 - meta = { 23 - homepage = http://llvm.org/; 24 - description = "Collection of modular and reusable compiler and toolchain technologies"; 25 - license = "BSD"; 26 - maintainers = with stdenv.lib.maintainers; [viric raskin vlstill]; 27 - platforms = with stdenv.lib.platforms; all; 28 - }; 29 - } 30 -
-137
pkgs/development/compilers/llvm/3.2/clang-purity.patch
··· 1 - diff -Naur clang-3.2.src-orig/lib/Driver/ToolChains.cpp clang-3.2.src/lib/Driver/ToolChains.cpp 2 - --- clang-3.2.src-orig/lib/Driver/ToolChains.cpp 2012-12-16 10:59:27.000000000 -0500 3 - +++ clang-3.2.src/lib/Driver/ToolChains.cpp 2013-01-22 14:16:55.787547681 -0500 4 - @@ -2153,16 +2153,6 @@ 5 - addPathIfExists(LibPath + "/../" + GCCTriple.str() + "/lib", Paths); 6 - } 7 - } 8 - - addPathIfExists(SysRoot + "/lib/" + MultiarchTriple, Paths); 9 - - addPathIfExists(SysRoot + "/lib/../" + Multilib, Paths); 10 - - addPathIfExists(SysRoot + "/usr/lib/" + MultiarchTriple, Paths); 11 - - addPathIfExists(SysRoot + "/usr/lib/../" + Multilib, Paths); 12 - - 13 - - // Try walking via the GCC triple path in case of multiarch GCC 14 - - // installations with strange symlinks. 15 - - if (GCCInstallation.isValid()) 16 - - addPathIfExists(SysRoot + "/usr/lib/" + GCCInstallation.getTriple().str() + 17 - - "/../../" + Multilib, Paths); 18 - 19 - // Add the non-multilib suffixed paths (if potentially different). 20 - if (GCCInstallation.isValid()) { 21 - @@ -2176,8 +2166,6 @@ 22 - addPathIfExists(LibPath, Paths); 23 - } 24 - } 25 - - addPathIfExists(SysRoot + "/lib", Paths); 26 - - addPathIfExists(SysRoot + "/usr/lib", Paths); 27 - } 28 - 29 - bool Linux::HasNativeLLVMSupport() const { 30 - @@ -2228,9 +2216,6 @@ 31 - if (DriverArgs.hasArg(options::OPT_nostdinc)) 32 - return; 33 - 34 - - if (!DriverArgs.hasArg(options::OPT_nostdlibinc)) 35 - - addSystemInclude(DriverArgs, CC1Args, D.SysRoot + "/usr/local/include"); 36 - - 37 - if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { 38 - llvm::sys::Path P(D.ResourceDir); 39 - P.appendComponent("include"); 40 - @@ -2295,24 +2280,6 @@ 41 - "/usr/include/powerpc64-linux-gnu" 42 - }; 43 - ArrayRef<StringRef> MultiarchIncludeDirs; 44 - - if (getTriple().getArch() == llvm::Triple::x86_64) { 45 - - MultiarchIncludeDirs = X86_64MultiarchIncludeDirs; 46 - - } else if (getTriple().getArch() == llvm::Triple::x86) { 47 - - MultiarchIncludeDirs = X86MultiarchIncludeDirs; 48 - - } else if (getTriple().getArch() == llvm::Triple::arm) { 49 - - if (getTriple().getEnvironment() == llvm::Triple::GNUEABIHF) 50 - - MultiarchIncludeDirs = ARMHFMultiarchIncludeDirs; 51 - - else 52 - - MultiarchIncludeDirs = ARMMultiarchIncludeDirs; 53 - - } else if (getTriple().getArch() == llvm::Triple::mips) { 54 - - MultiarchIncludeDirs = MIPSMultiarchIncludeDirs; 55 - - } else if (getTriple().getArch() == llvm::Triple::mipsel) { 56 - - MultiarchIncludeDirs = MIPSELMultiarchIncludeDirs; 57 - - } else if (getTriple().getArch() == llvm::Triple::ppc) { 58 - - MultiarchIncludeDirs = PPCMultiarchIncludeDirs; 59 - - } else if (getTriple().getArch() == llvm::Triple::ppc64) { 60 - - MultiarchIncludeDirs = PPC64MultiarchIncludeDirs; 61 - - } 62 - for (ArrayRef<StringRef>::iterator I = MultiarchIncludeDirs.begin(), 63 - E = MultiarchIncludeDirs.end(); 64 - I != E; ++I) { 65 - @@ -2324,13 +2291,6 @@ 66 - 67 - if (getTriple().getOS() == llvm::Triple::RTEMS) 68 - return; 69 - - 70 - - // Add an include of '/include' directly. This isn't provided by default by 71 - - // system GCCs, but is often used with cross-compiling GCCs, and harmless to 72 - - // add even when Clang is acting as-if it were a system compiler. 73 - - addExternCSystemInclude(DriverArgs, CC1Args, D.SysRoot + "/include"); 74 - - 75 - - addExternCSystemInclude(DriverArgs, CC1Args, D.SysRoot + "/usr/include"); 76 - } 77 - 78 - /// \brief Helper to add the thre variant paths for a libstdc++ installation. 79 - diff -Naur clang-3.2.src-orig/lib/Driver/Tools.cpp clang-3.2.src/lib/Driver/Tools.cpp 80 - --- clang-3.2.src-orig/lib/Driver/Tools.cpp 2012-11-21 02:56:23.000000000 -0500 81 - +++ clang-3.2.src/lib/Driver/Tools.cpp 2013-01-22 14:24:37.167212186 -0500 82 - @@ -5972,34 +5972,6 @@ 83 - ToolChain.getArch() == llvm::Triple::thumb || 84 - (!Args.hasArg(options::OPT_static) && 85 - !Args.hasArg(options::OPT_shared))) { 86 - - CmdArgs.push_back("-dynamic-linker"); 87 - - if (isAndroid) 88 - - CmdArgs.push_back("/system/bin/linker"); 89 - - else if (ToolChain.getArch() == llvm::Triple::x86) 90 - - CmdArgs.push_back("/lib/ld-linux.so.2"); 91 - - else if (ToolChain.getArch() == llvm::Triple::arm || 92 - - ToolChain.getArch() == llvm::Triple::thumb) { 93 - - if (ToolChain.getTriple().getEnvironment() == llvm::Triple::GNUEABIHF) 94 - - CmdArgs.push_back("/lib/ld-linux-armhf.so.3"); 95 - - else 96 - - CmdArgs.push_back("/lib/ld-linux.so.3"); 97 - - } 98 - - else if (ToolChain.getArch() == llvm::Triple::mips || 99 - - ToolChain.getArch() == llvm::Triple::mipsel) 100 - - CmdArgs.push_back("/lib/ld.so.1"); 101 - - else if (ToolChain.getArch() == llvm::Triple::mips64 || 102 - - ToolChain.getArch() == llvm::Triple::mips64el) { 103 - - if (hasMipsN32ABIArg(Args)) 104 - - CmdArgs.push_back("/lib32/ld.so.1"); 105 - - else 106 - - CmdArgs.push_back("/lib64/ld.so.1"); 107 - - } 108 - - else if (ToolChain.getArch() == llvm::Triple::ppc) 109 - - CmdArgs.push_back("/lib/ld.so.1"); 110 - - else if (ToolChain.getArch() == llvm::Triple::ppc64) 111 - - CmdArgs.push_back("/lib64/ld64.so.1"); 112 - - else 113 - - CmdArgs.push_back("/lib64/ld-linux-x86-64.so.2"); 114 - } 115 - 116 - CmdArgs.push_back("-o"); 117 - diff -Naur clang-3.2.src-orig/lib/Frontend/InitHeaderSearch.cpp clang-3.2.src/lib/Frontend/InitHeaderSearch.cpp 118 - --- clang-3.2.src-orig/lib/Frontend/InitHeaderSearch.cpp 2012-10-24 12:19:39.000000000 -0400 119 - +++ clang-3.2.src/lib/Frontend/InitHeaderSearch.cpp 2013-01-22 14:20:32.803925775 -0500 120 - @@ -221,8 +221,6 @@ 121 - case llvm::Triple::Bitrig: 122 - break; 123 - default: 124 - - // FIXME: temporary hack: hard-coded paths. 125 - - AddPath("/usr/local/include", System, true, false, false); 126 - break; 127 - } 128 - } 129 - @@ -330,8 +328,6 @@ 130 - break; 131 - } 132 - 133 - - if ( os != llvm::Triple::RTEMS ) 134 - - AddPath("/usr/include", System, false, false, false); 135 - } 136 - 137 - void InitHeaderSearch::
-40
pkgs/development/compilers/llvm/3.2/clang.nix
··· 1 - { stdenv, fetchurl, perl, groff, llvm, cmake, libxml2 }: 2 - 3 - let 4 - version = "3.2"; 5 - gccReal = if (stdenv.gcc.gcc or null) == null then stdenv.gcc else stdenv.gcc.gcc; 6 - in 7 - 8 - stdenv.mkDerivation { 9 - name = "clang-${version}"; 10 - 11 - buildInputs = [ perl llvm groff cmake libxml2 ]; 12 - 13 - patches = stdenv.lib.optional (stdenv.gcc.libc != null) ./clang-purity.patch; 14 - 15 - cmakeFlags = [ 16 - "-DCLANG_PATH_TO_LLVM_BUILD=${llvm}" 17 - "-DCMAKE_BUILD_TYPE=Release" 18 - "-DLLVM_TARGETS_TO_BUILD=all" 19 - "-DGCC_INSTALL_PREFIX=${gccReal}" 20 - ] ++ stdenv.lib.optionals (stdenv.gcc.libc != null) [ 21 - "-DC_INCLUDE_DIRS=${stdenv.gcc.libc}/include/" 22 - ]; 23 - 24 - enableParallelBuilding = true; 25 - 26 - src = fetchurl { 27 - url = "http://llvm.org/releases/${version}/clang-${version}.src.tar.gz"; 28 - sha256 = "0n2nzw3pw2v7fk67f2k2qyzd9wibvi3i5j7cjzz1csqgghzz1aia"; 29 - }; 30 - 31 - passthru = { gcc = stdenv.gcc.gcc; }; 32 - 33 - meta = { 34 - homepage = http://clang.llvm.org/; 35 - description = "A C language family frontend for LLVM"; 36 - license = "BSD"; 37 - maintainers = with stdenv.lib.maintainers; [viric]; 38 - platforms = with stdenv.lib.platforms; all; 39 - }; 40 - }
-40
pkgs/development/compilers/llvm/3.2/default.nix
··· 1 - { stdenv, fetchurl, perl, groff, cmake, python, libffi, binutils }: 2 - 3 - let version = "3.2"; in 4 - 5 - stdenv.mkDerivation { 6 - name = "llvm-${version}"; 7 - 8 - src = fetchurl { 9 - url = "http://llvm.org/releases/${version}/llvm-${version}.src.tar.gz"; 10 - sha256 = "0hv30v5l4fkgyijs56sr1pbrlzgd674pg143x7az2h37sb290l0j"; 11 - }; 12 - 13 - patches = [ ./set_soname.patch ]; # http://llvm.org/bugs/show_bug.cgi?id=12334 14 - patchFlags = "-p0"; 15 - 16 - preConfigure = "patchShebangs ."; 17 - 18 - propagatedBuildInputs = [ libffi ]; 19 - buildInputs = [ perl groff cmake python ]; # ToDo: polly, libc++; enable cxx11? 20 - 21 - # created binaries need to be run before installation... I coudn't find a better way 22 - preBuild = ''export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:"`pwd`/lib''; 23 - 24 - cmakeFlags = [ 25 - "-DCMAKE_BUILD_TYPE=Release" 26 - "-DBUILD_SHARED_LIBS=ON" 27 - "-DLLVM_BINUTILS_INCDIR=${binutils}/include" 28 - ]; 29 - 30 - enableParallelBuilding = true; 31 - #doCheck = true; # tests are broken, don't know why 32 - 33 - meta = { 34 - homepage = http://llvm.org/; 35 - description = "Collection of modular and reusable compiler and toolchain technologies"; 36 - license = "BSD"; 37 - maintainers = with stdenv.lib.maintainers; [viric raskin vlstill]; 38 - platforms = with stdenv.lib.platforms; all; 39 - }; 40 - }
-12
pkgs/development/compilers/llvm/3.2/set_soname.patch
··· 1 - https://bugs.gentoo.org/show_bug.cgi?id=409267 2 - http://llvm.org/bugs/show_bug.cgi?id=12334 3 - --- tools/llvm-shlib/Makefile.orig 2012-03-26 18:14:13.071797115 +0200 4 - +++ tools/llvm-shlib/Makefile 2012-03-26 17:31:12.491196254 +0200 5 - @@ -67,6 +67,7 @@ 6 - # Include everything from the .a's into the shared library. 7 - LLVMLibsOptions := -Wl,--whole-archive $(LLVMLibsOptions) \ 8 - -Wl,--no-whole-archive 9 - + LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT) 10 - endif 11 - 12 - ifeq ($(HOST_OS),Linux)
-14
pkgs/development/compilers/opencxx/default.nix
··· 1 - { stdenv, fetchurl, libtool, gcc, patches ? []}: 2 - 3 - stdenv.mkDerivation { 4 - name = "opencxx-2.8"; 5 - src = fetchurl { 6 - url = mirror://sourceforge/opencxx/opencxx-2.8.tar.gz; 7 - md5 = "0f71df82751fe8aba5122d6e0541c98a"; 8 - }; 9 - 10 - buildInputs = [libtool]; 11 - NIX_GCC = gcc; 12 - 13 - inherit patches; 14 - }
+2 -2
pkgs/development/interpreters/supercollider/default.nix
··· 1 1 { stdenv, fetchurl, cmake, pkgconfig 2 - , jackaudio, libsndfile, fftw, curl 2 + , jack2, libsndfile, fftw, curl 3 3 , libXt, qt, readline 4 4 , useSCEL ? false, emacs 5 5 }: ··· 35 35 nativeBuildInputs = [ cmake pkgconfig ]; 36 36 37 37 buildInputs = [ 38 - jackaudio libsndfile fftw curl libXt qt readline ] 38 + jack2 libsndfile fftw curl libXt qt readline ] 39 39 ++ optional useSCEL emacs; 40 40 }
+82
pkgs/development/interpreters/xulrunner/default.nix
··· 1 + { lib, stdenv, fetchurl, pkgconfig, gtk, pango, perl, python, zip, libIDL 2 + , libjpeg, zlib, dbus, dbus_glib, bzip2, xlibs 3 + , freetype, fontconfig, file, alsaLib, nspr, nss, libnotify 4 + , yasm, mesa, sqlite, unzip, makeWrapper, pysqlite 5 + , hunspell, libevent, libstartup_notification, libvpx 6 + , cairo, gstreamer, gst_plugins_base, icu 7 + , debugBuild ? false 8 + }: 9 + 10 + assert stdenv.gcc ? libc && stdenv.gcc.libc != null; 11 + 12 + let version = "31.0"; in 13 + 14 + stdenv.mkDerivation rec { 15 + name = "xulrunner-${version}"; 16 + 17 + src = fetchurl { 18 + url = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${version}/source/firefox-${version}.source.tar.bz2"; 19 + sha1 = "a6c3e25ee3aeb7da42db2aaeb50a385d63532beb"; 20 + }; 21 + 22 + buildInputs = 23 + [ pkgconfig gtk perl zip libIDL libjpeg zlib bzip2 24 + python dbus dbus_glib pango freetype fontconfig xlibs.libXi 25 + xlibs.libX11 xlibs.libXrender xlibs.libXft xlibs.libXt file 26 + alsaLib nspr nss libnotify xlibs.pixman yasm mesa 27 + xlibs.libXScrnSaver xlibs.scrnsaverproto pysqlite 28 + xlibs.libXext xlibs.xextproto sqlite unzip makeWrapper 29 + hunspell libevent libstartup_notification libvpx cairo 30 + gstreamer gst_plugins_base icu 31 + ]; 32 + 33 + configureFlags = 34 + [ "--enable-application=xulrunner" 35 + "--disable-javaxpcom" 36 + "--with-system-jpeg" 37 + "--with-system-zlib" 38 + "--with-system-bz2" 39 + "--with-system-nspr" 40 + "--with-system-nss" 41 + "--with-system-libevent" 42 + "--with-system-libvpx" 43 + # "--with-system-png" # needs APNG support 44 + # "--with-system-icu" # causes ‘ar: invalid option -- 'L'’ in Firefox 28.0 45 + "--enable-system-ffi" 46 + "--enable-system-hunspell" 47 + "--enable-system-pixman" 48 + "--enable-system-sqlite" 49 + "--enable-system-cairo" 50 + "--enable-gstreamer" 51 + "--enable-startup-notification" 52 + # "--enable-content-sandbox" # available since 26.0, but not much info available 53 + # "--enable-content-sandbox-reporter" # keeping disabled for now 54 + "--disable-crashreporter" 55 + "--disable-tests" 56 + "--disable-necko-wifi" # maybe we want to enable this at some point 57 + "--disable-installer" 58 + "--disable-updater" 59 + "--disable-pulseaudio" 60 + ] 61 + ++ (if debugBuild then [ "--enable-debug" "--enable-profiling"] 62 + else [ "--disable-debug" "--enable-release" 63 + "--enable-optimize" "--enable-strip" ]); 64 + 65 + enableParallelBuilding = true; 66 + 67 + preConfigure = 68 + '' 69 + mkdir ../objdir 70 + cd ../objdir 71 + configureScript=../mozilla-release/configure 72 + ''; 73 + 74 + meta = { 75 + description = "Mozilla Firefox XUL runner"; 76 + homepage = http://www.mozilla.com/en-US/firefox/; 77 + maintainers = [ lib.maintainers.eelco ]; 78 + platforms = lib.platforms.linux; 79 + }; 80 + 81 + passthru = { inherit gtk version; }; 82 + }
+2 -2
pkgs/development/libraries/aubio/default.nix
··· 1 - { stdenv, fetchurl, alsaLib, fftw, jackaudio, libsamplerate 1 + { stdenv, fetchurl, alsaLib, fftw, jack2, libsamplerate 2 2 , libsndfile, pkgconfig, python 3 3 }: 4 4 ··· 11 11 }; 12 12 13 13 buildInputs = [ 14 - alsaLib fftw jackaudio libsamplerate libsndfile pkgconfig python 14 + alsaLib fftw jack2 libsamplerate libsndfile pkgconfig python 15 15 ]; 16 16 17 17 configurePhase = "python waf configure --prefix=$out";
+1 -1
pkgs/development/libraries/dssi/default.nix
··· 1 1 x@{builderDefsPackage 2 - , ladspaH, jackaudio, liblo, alsaLib, qt4, libX11, libsndfile, libSM 2 + , ladspaH, jack2, liblo, alsaLib, qt4, libX11, libsndfile, libSM 3 3 , libsamplerate, libtool, autoconf, automake, xproto, libICE, pkgconfig 4 4 , ...}: 5 5 builderDefsPackage
+30
pkgs/development/libraries/epoxy/default.nix
··· 1 + { stdenv, fetchurl, autoconf, autogen, automake, gettext, libX11 2 + , mesa, pkgconfig, python, utilmacros 3 + }: 4 + 5 + stdenv.mkDerivation rec { 6 + name = "epoxy-${version}"; 7 + version = "1.2"; 8 + 9 + src = fetchurl { 10 + url = "https://github.com/anholt/libepoxy/archive/v${version}.tar.gz"; 11 + sha256 = "1xp8g6b7xlbym2rj4vkbl6xpb7ijq7glpv656mc7k9b01x22ihs2"; 12 + }; 13 + 14 + buildInputs = [ 15 + autoconf autogen automake gettext libX11 mesa pkgconfig python 16 + utilmacros 17 + ]; 18 + 19 + configureScript = '' 20 + ./autogen.sh --prefix="$out" 21 + ''; 22 + 23 + meta = with stdenv.lib; { 24 + description = "A library for handling OpenGL function pointer management"; 25 + homepage = https://github.com/anholt/libepoxy; 26 + license = licenses.mit; 27 + maintainers = [ maintainers.goibhniu ]; 28 + platforms = platforms.linux; 29 + }; 30 + }
+22
pkgs/development/libraries/frei0r/default.nix
··· 1 + { stdenv, fetchurl, autoconf, cairo, opencv, pkgconfig }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "frei0r-plugins-${version}"; 5 + version = "1.4"; 6 + 7 + src = fetchurl { 8 + url = "https://files.dyne.org/.xsend.php?file=frei0r/releases/${name}.tar.gz"; 9 + sha256 = "0mxyhdp1p1a3ga8170ijygb870zwbww1dgp3kdr1nd4zvsmzqw44"; 10 + }; 11 + 12 + buildInputs = [ autoconf cairo opencv pkgconfig ]; 13 + 14 + meta = with stdenv.lib; { 15 + homepage = http://frei0r.dyne.org; 16 + description = "Minimalist, cross-platform, shared video plugins"; 17 + license = licenses.gpl2; 18 + maintainers = [ maintainers.goibhniu ]; 19 + platforms = platforms.linux; 20 + 21 + }; 22 + }
+1
pkgs/development/libraries/gtest/default.nix
··· 21 21 mkdir -p $out/lib 22 22 cp -v libgtest.a libgtest_main.a $out/lib 23 23 cp -v -r ../include $out 24 + cp -v -r ../src $out 24 25 ''; 25 26 26 27 meta = {
+2 -2
pkgs/development/libraries/haskell/ChasingBottoms/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "ChasingBottoms"; 7 - version = "1.3.0.7"; 8 - sha256 = "0g1bx6d2mi27qsb4bxvby50g39fm56gyi2658fyjiq1gamy50ypa"; 7 + version = "1.3.0.8"; 8 + sha256 = "1f6jg4j17s3y7hcz9gp7cffa77p57xgzv15ng5ypcxpq603721dv"; 9 9 isLibrary = true; 10 10 isExecutable = true; 11 11 buildDepends = [ mtl QuickCheck random syb ];
+17
pkgs/development/libraries/haskell/HUnit-approx/default.nix
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal, HUnit }: 4 + 5 + cabal.mkDerivation (self: { 6 + pname = "HUnit-approx"; 7 + version = "1.0"; 8 + sha256 = "0svkjvcanjsi5bhn9b91jhig36np5imr3qyj6b1s5msm7wmlk3v1"; 9 + buildDepends = [ HUnit ]; 10 + testDepends = [ HUnit ]; 11 + meta = { 12 + homepage = "https://github.com/goldfirere/HUnit-approx"; 13 + description = "Approximate equality for floating point numbers with HUnit"; 14 + license = self.stdenv.lib.licenses.bsd3; 15 + platforms = self.ghc.meta.platforms; 16 + }; 17 + })
+18 -10
pkgs/development/libraries/haskell/MFlow/default.nix
··· 1 1 # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 2 3 - { cabal, blazeHtml, blazeMarkup, caseInsensitive, clientsession 4 - , conduit, conduitExtra, cpphs, extensibleExceptions, httpTypes 5 - , monadloc, mtl, parsec, random, RefSerialize, stm, TCache, text 6 - , time, transformers, utf8String, vector, wai, warp, warpTls 3 + { cabal, acidState, aws, blazeHtml, blazeMarkup, caseInsensitive 4 + , clientsession, conduit, conduitExtra, cpphs, extensibleExceptions 5 + , hamlet, hscolour, httpConduit, httpTypes, monadloc, monadLogger 6 + , mtl, network, parsec, persistent, persistentSqlite 7 + , persistentTemplate, pwstoreFast, random, RefSerialize, resourcet 8 + , safecopy, shakespeare, stm, TCache, tcacheAWS, text, time 9 + , transformers, utf8String, vector, wai, waiExtra, warp, warpTls 7 10 , Workflow 8 11 }: 9 12 10 13 cabal.mkDerivation (self: { 11 14 pname = "MFlow"; 12 - version = "0.4.5.4"; 13 - sha256 = "1ih9ni14xmqvcfvayjkggmpmw3s9yzp17gf4xzygldmjcs35j4n3"; 15 + version = "0.4.5.5"; 16 + sha256 = "0ggwzjxhw2xmp2m6a560pn5m0qfn80x5q23vrd2k9aqxh8n2k6i5"; 17 + isLibrary = true; 18 + isExecutable = true; 14 19 buildDepends = [ 15 - blazeHtml blazeMarkup caseInsensitive clientsession conduit 16 - conduitExtra extensibleExceptions httpTypes monadloc mtl parsec 17 - random RefSerialize stm TCache text time transformers utf8String 18 - vector wai warp warpTls Workflow 20 + acidState aws blazeHtml blazeMarkup caseInsensitive clientsession 21 + conduit conduitExtra extensibleExceptions hamlet hscolour 22 + httpConduit httpTypes monadloc monadLogger mtl network parsec 23 + persistent persistentSqlite persistentTemplate pwstoreFast random 24 + RefSerialize resourcet safecopy shakespeare stm TCache tcacheAWS 25 + text time transformers utf8String vector wai waiExtra warp warpTls 26 + Workflow 19 27 ]; 20 28 buildTools = [ cpphs ]; 21 29 meta = {
+4
pkgs/development/libraries/haskell/bloomfilter/default.nix
··· 9 9 version = "2.0.0.0"; 10 10 sha256 = "07fif8i5rinysli1mpi92k405kvw8va7w9v9w4wd5bylb87zy77f"; 11 11 buildDepends = [ deepseq ]; 12 + # https://github.com/bos/bloomfilter/pull/8 13 + preConfigure = '' 14 + sed -i -e "s/0xffffffff/0x7fffffff/" Data/BloomFilter/Easy.hs 15 + ''; 12 16 testDepends = [ 13 17 QuickCheck random testFramework testFrameworkQuickcheck2 14 18 ];
+2 -2
pkgs/development/libraries/haskell/cgrep/default.nix
··· 6 6 7 7 cabal.mkDerivation (self: { 8 8 pname = "cgrep"; 9 - version = "6.4.3.1"; 10 - sha256 = "0pqifapjgazz7wiydc775i4f6iixq8v87rzjgvvymdbdsn0sfa0r"; 9 + version = "6.4.4"; 10 + sha256 = "1czy9skv3jcfljwxml4nprmsxq70pav7mqhk92jg5wj1klgrz21k"; 11 11 isLibrary = false; 12 12 isExecutable = true; 13 13 buildDepends = [
+2 -2
pkgs/development/libraries/haskell/cmdargs/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "cmdargs"; 7 - version = "0.10.7"; 8 - sha256 = "0mhsj27vynilpmwxgdpb3r383rksrqs9ix15zl2xbhc95a815pfl"; 7 + version = "0.10.8"; 8 + sha256 = "1gh6g655s5yjf55qlbpn7daw5f67j79znibs4dwrvhj985hb9a7p"; 9 9 isLibrary = true; 10 10 isExecutable = true; 11 11 buildDepends = [ filepath transformers ];
+2 -2
pkgs/development/libraries/haskell/ekg-carbon/default.nix
··· 6 6 7 7 cabal.mkDerivation (self: { 8 8 pname = "ekg-carbon"; 9 - version = "1.0.0"; 10 - sha256 = "0zcnh74z0n0xxxr6r0j3kgpbfwli58y714k0mwwc2wxjgcv6xiyc"; 9 + version = "1.0.1"; 10 + sha256 = "1slaykn1a6f09dzn78v2aqw8snmidycvaw5cfyr4f0ndd88vi77d"; 11 11 buildDepends = [ 12 12 ekgCore network networkCarbon text time unorderedContainers vector 13 13 ];
+2
pkgs/development/libraries/haskell/engine-io/default.nix
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 1 3 { cabal, aeson, async, attoparsec, base64Bytestring, either 2 4 , monadLoops, mwcRandom, stm, text, transformers 3 5 , unorderedContainers, vector, websockets
+2 -2
pkgs/development/libraries/haskell/focus/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "focus"; 7 - version = "0.1.1"; 8 - sha256 = "0x158zqxgm8ys4mxs94zl811qfdcb06jqy5h99qc63r7snwnixmd"; 7 + version = "0.1.2"; 8 + sha256 = "0j157nv668621i94iqg923bfg7594bpfn0q9scb62cik2yikc1p0"; 9 9 buildDepends = [ lochTh placeholders ]; 10 10 meta = { 11 11 homepage = "https://github.com/nikita-volkov/focus";
+3 -2
pkgs/development/libraries/haskell/gdiff/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "gdiff"; 7 - version = "1.0"; 8 - sha256 = "35257b1090cf78f95d24c7a89920863c1d824652311fa5793693d7d06d96517b"; 7 + version = "1.1"; 8 + sha256 = "1d0d8f8bfw7ld6a1d5y6syzdha5qsm909mqzd5gfqcbi2wnh8aqc"; 9 9 meta = { 10 + homepage = "https://github.com/eelco/gdiff"; 10 11 description = "Generic diff and patch"; 11 12 license = self.stdenv.lib.licenses.bsd3; 12 13 platforms = self.ghc.meta.platforms;
+4 -5
pkgs/development/libraries/haskell/generic-aeson/default.nix
··· 1 1 # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 2 3 - { cabal, aeson, attoparsec, genericDeriving, HUnit, mtl, tagged 4 - , text, vector 3 + { cabal, aeson, attoparsec, genericDeriving, mtl, tagged, text 4 + , vector 5 5 }: 6 6 7 7 cabal.mkDerivation (self: { 8 8 pname = "generic-aeson"; 9 - version = "0.1.0.3"; 10 - sha256 = "1svbjgd8g1ljximqb4pph9lvsswgvkj46jkqq8lzmh9ql385g2vp"; 9 + version = "0.1.1.1"; 10 + sha256 = "14jpma2p4dxmzpwd557igbg7xhgdzp9w9fm6dxa06sgfqxvb7ln1"; 11 11 buildDepends = [ 12 12 aeson attoparsec genericDeriving mtl tagged text vector 13 13 ]; 14 - testDepends = [ aeson attoparsec HUnit ]; 15 14 meta = { 16 15 description = "Derivation of Aeson instances using GHC generics"; 17 16 license = self.stdenv.lib.licenses.bsd3;
+1
pkgs/development/libraries/haskell/ghc-mod/default.nix
··· 23 23 configureFlags = "--datasubdir=${self.pname}-${self.version}"; 24 24 postInstall = '' 25 25 cd $out/share/$pname-$version 26 + sed -i -e 's/"-b" "\\n" "-l"/"-l" "-b" "\\"\\\\n\\""/' ghc-process.el 26 27 make 27 28 rm Makefile 28 29 cd ..
+6 -5
pkgs/development/libraries/haskell/haskell-token-utils/default.nix
··· 2 2 3 3 { cabal, Diff, dualTree, ghcMod, ghcPaths, ghcSybUtils 4 4 , haskellSrcExts, hspec, HUnit, monoidExtras, mtl, QuickCheck 5 - , rosezipper, semigroups, syb 5 + , rosezipper, semigroups, syb, uniplate 6 6 }: 7 7 8 8 cabal.mkDerivation (self: { 9 9 pname = "haskell-token-utils"; 10 - version = "0.0.0.3"; 11 - sha256 = "1qfb0gzi8mvraflk7l8wckkaa2gfdq5wqk7ax3v4i4f1mrd7zr4f"; 10 + version = "0.0.0.4"; 11 + sha256 = "0bb47g58m76293dw4h349j3fmajmw62rqna2kcgx681a1rsbpb4i"; 12 12 buildDepends = [ 13 - dualTree ghcSybUtils haskellSrcExts monoidExtras mtl rosezipper 14 - semigroups syb 13 + dualTree ghcPaths ghcSybUtils haskellSrcExts monoidExtras mtl 14 + rosezipper semigroups syb 15 15 ]; 16 16 testDepends = [ 17 17 Diff dualTree ghcMod ghcPaths ghcSybUtils haskellSrcExts hspec 18 18 HUnit monoidExtras mtl QuickCheck rosezipper semigroups syb 19 + uniplate 19 20 ]; 20 21 meta = { 21 22 homepage = "https://github.com/alanz/haskell-token-utils";
-17
pkgs/development/libraries/haskell/haste-perch/default.nix
··· 1 - # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 - 3 - { cabal, hasteCompiler, mtl }: 4 - 5 - cabal.mkDerivation (self: { 6 - pname = "haste-perch"; 7 - version = "0.1.0.0"; 8 - sha256 = "0g2ijb0mzqs2iq4i47biaxbsg4v15w9ky6yyz6wmngwf06rg4iwj"; 9 - buildDepends = [ hasteCompiler mtl ]; 10 - jailbreak = true; 11 - meta = { 12 - homepage = "https://github.com/agocorona/haste-perch"; 13 - description = "Create dynamic HTML in the browser using blaze-html-style notation with Haste"; 14 - license = self.stdenv.lib.licenses.bsd3; 15 - platforms = self.ghc.meta.platforms; 16 - }; 17 - })
+2 -2
pkgs/development/libraries/haskell/hcltest/default.nix
··· 7 7 8 8 cabal.mkDerivation (self: { 9 9 pname = "hcltest"; 10 - version = "0.3.2"; 11 - sha256 = "0q5b0v2gh0b3a15hg25bqj7scbckrkka2ckk49g2mrdz2gpr28bq"; 10 + version = "0.3.3"; 11 + sha256 = "191fpvcr5hg902akcvq9wcsy801drqwrl7xqk0bqy003ffrv4228"; 12 12 buildDepends = [ 13 13 dlist either filepath free lens mmorph monadControl mtl 14 14 optparseApplicative randomShuffle split stm tagged tasty temporary
+2 -2
pkgs/development/libraries/haskell/highlighting-kate/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "highlighting-kate"; 7 - version = "0.5.8.4"; 8 - sha256 = "018j5z4cl9iv5m9wzjykh2gcn5d4fi7vahj76jv0ah101g6fqvrh"; 7 + version = "0.5.8.5"; 8 + sha256 = "0xynbxffjp44189zzqx30wabbrj83mvjl3mj1i5lag1h945yp1nk"; 9 9 isLibrary = true; 10 10 isExecutable = true; 11 11 buildDepends = [
+2 -2
pkgs/development/libraries/haskell/hspec-expectations/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "hspec-expectations"; 7 - version = "0.6.0"; 8 - sha256 = "01l9mnny5pgaqqswv1hyq1v77yd4vx9bfyz6662iypc0fz78519i"; 7 + version = "0.6.0.1"; 8 + sha256 = "16013x7v6zly4h1spzarrlzskbjb19bljsj98fn8k21mzb82f7wl"; 9 9 buildDepends = [ HUnit ]; 10 10 testDepends = [ hspec HUnit markdownUnlit silently ]; 11 11 doCheck = false;
+2 -2
pkgs/development/libraries/haskell/hspec-meta/default.nix
··· 7 7 8 8 cabal.mkDerivation (self: { 9 9 pname = "hspec-meta"; 10 - version = "1.10.0"; 11 - sha256 = "1x32wgrd1i6rs6790dbr51j9g6abjpcf951cx3nmm4zdcwblyi6a"; 10 + version = "1.11.0"; 11 + sha256 = "1gsczyzxavd3abrq5p0qdxb92z6v3jhicqa40ihgfy89x3pp6bw8"; 12 12 isLibrary = true; 13 13 isExecutable = true; 14 14 buildDepends = [
+2 -2
pkgs/development/libraries/haskell/hspec/default.nix
··· 7 7 8 8 cabal.mkDerivation (self: { 9 9 pname = "hspec"; 10 - version = "1.10.0.1"; 11 - sha256 = "1i0pl67jplvqh370x6mzdb86a653k1a1l8bjac60izr8d22n35rl"; 10 + version = "1.11.0"; 11 + sha256 = "1hkflasm7w9z0b1c1mq3rl5pq05np27sz3p2s61bick371qi9zsf"; 12 12 isLibrary = true; 13 13 isExecutable = true; 14 14 buildDepends = [
+2 -2
pkgs/development/libraries/haskell/hspec2/default.nix
··· 7 7 8 8 cabal.mkDerivation (self: { 9 9 pname = "hspec2"; 10 - version = "0.3.4"; 11 - sha256 = "0vs5y1cqprixmmjdk3sdrig9gr1k63nvn4c91b3z66jj39rdxl21"; 10 + version = "0.4.0"; 11 + sha256 = "0x5y77qa33gx1shqhzdkdp0732lpkihvp5wh4826scg229haj5v5"; 12 12 isLibrary = true; 13 13 isExecutable = true; 14 14 buildDepends = [
+2 -2
pkgs/development/libraries/haskell/http-client/default.nix
··· 8 8 9 9 cabal.mkDerivation (self: { 10 10 pname = "http-client"; 11 - version = "0.3.5"; 12 - sha256 = "0ffr4xccm2yp5ikiz5dzzjm82vz7gab56l80ra9criry9qirmwqh"; 11 + version = "0.3.6"; 12 + sha256 = "0zav8arj6swhrzfyxf6py2yfpphjd0bllz7rm1540vb5lrhg4znm"; 13 13 buildDepends = [ 14 14 base64Bytestring blazeBuilder caseInsensitive cookie 15 15 dataDefaultClass deepseq exceptions filepath httpTypes mimeTypes
+2 -2
pkgs/development/libraries/haskell/http-conduit/default.nix
··· 9 9 10 10 cabal.mkDerivation (self: { 11 11 pname = "http-conduit"; 12 - version = "2.1.3"; 13 - sha256 = "1z9i0b9kl1kqh3nvbhh5vmqyg19pkdpj4cbkfhj0r47rbcynhwlb"; 12 + version = "2.1.4"; 13 + sha256 = "14xfd25y7r2lhg7dx9hfniihgyzhkz4c6642k5pr27fqjjlr6ijb"; 14 14 buildDepends = [ 15 15 conduit httpClient httpClientTls httpTypes liftedBase monadControl 16 16 mtl resourcet transformers
+2 -2
pkgs/development/libraries/haskell/jack/default.nix
··· 1 1 # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 2 3 - { cabal, enumset, eventList, explicitException, jackaudio, midi 3 + { cabal, enumset, eventList, explicitException, jack2, midi 4 4 , nonNegative, transformers 5 5 }: 6 6 ··· 13 13 buildDepends = [ 14 14 enumset eventList explicitException midi nonNegative transformers 15 15 ]; 16 - pkgconfigDepends = [ jackaudio ]; 16 + pkgconfigDepends = [ jack2 ]; 17 17 meta = { 18 18 homepage = "http://www.haskell.org/haskellwiki/JACK"; 19 19 description = "Bindings for the JACK Audio Connection Kit";
+2 -2
pkgs/development/libraries/haskell/json-schema/default.nix
··· 7 7 8 8 cabal.mkDerivation (self: { 9 9 pname = "json-schema"; 10 - version = "0.6"; 11 - sha256 = "1rlx6r4ybbgz8q159mxh0hp3l0cc8q4nc1g7yd1ii1z4p9wjmnny"; 10 + version = "0.6.1.1"; 11 + sha256 = "0hn1v2idra9sx1x5mr511h4qcvnhy7b80fgn58w9856w9cl7d34b"; 12 12 buildDepends = [ 13 13 aeson genericAeson genericDeriving tagged text time 14 14 unorderedContainers vector
+3 -3
pkgs/development/libraries/haskell/mongoDB/default.nix
··· 7 7 8 8 cabal.mkDerivation (self: { 9 9 pname = "mongoDB"; 10 - version = "2.0"; 11 - sha256 = "1dspx1x20903i44i825ziwmvaax75m8g08kz97cv34077bdir80h"; 10 + version = "2.0.2"; 11 + sha256 = "02xq80jcrrp41gzzg7008spw3npj6iz3gcf1bkj4cf8vjs44nplf"; 12 12 buildDepends = [ 13 13 binary bson cryptohash hashtables liftedBase monadControl mtl 14 14 network parsec random randomShuffle text transformersBase 15 15 ]; 16 16 meta = { 17 - homepage = "http://github.com/selectel/mongodb-haskell"; 17 + homepage = "https://github.com/mongodb-haskell/mongodb"; 18 18 description = "Driver (client) for MongoDB, a free, scalable, fast, document DBMS"; 19 19 license = "unknown"; 20 20 platforms = self.ghc.meta.platforms;
+2 -2
pkgs/development/libraries/haskell/network-carbon/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "network-carbon"; 7 - version = "1.0.0"; 8 - sha256 = "13mbwbcas7g8dyvlcbbl20ryzjvz0grmlbhb5kf1gs957kmn1z52"; 7 + version = "1.0.1"; 8 + sha256 = "1q3b7vw80yw6fkmpwgazy8ikhbwjmmqmm4fry8c9f8ckkpzahj2b"; 9 9 buildDepends = [ network text time vector ]; 10 10 meta = { 11 11 homepage = "http://github.com/ocharles/network-carbon";
+4 -4
pkgs/development/libraries/haskell/pandoc-types/default.nix
··· 1 1 # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 2 3 - { cabal, aeson, syb }: 3 + { cabal, aeson, deepseqGenerics, syb }: 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "pandoc-types"; 7 - version = "1.12.3.3"; 8 - sha256 = "1rw641w8xdisnbni5glxqxgfjps6p8vpnvprd4zgsjqn71397pdk"; 9 - buildDepends = [ aeson syb ]; 7 + version = "1.12.4"; 8 + sha256 = "10vlw8iabaay0xqlshagl45ksawlanlg6fyqwv9d448qm32ngvdn"; 9 + buildDepends = [ aeson deepseqGenerics syb ]; 10 10 meta = { 11 11 homepage = "http://johnmacfarlane.net/pandoc"; 12 12 description = "Types for representing a structured document";
-21
pkgs/development/libraries/haskell/parsers/0.11.0.3.nix
··· 1 - # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 - 3 - { cabal, attoparsec, charset, doctest, filepath, parsec, text 4 - , transformers, unorderedContainers 5 - }: 6 - 7 - cabal.mkDerivation (self: { 8 - pname = "parsers"; 9 - version = "0.11.0.3"; 10 - sha256 = "0cwjzk76i7isg7h1xl9iv6x87vfw3x2x5jaacx85g8v45lv7g88s"; 11 - buildDepends = [ 12 - attoparsec charset parsec text transformers unorderedContainers 13 - ]; 14 - testDepends = [ doctest filepath ]; 15 - meta = { 16 - homepage = "http://github.com/ekmett/parsers/"; 17 - description = "Parsing combinators"; 18 - license = self.stdenv.lib.licenses.bsd3; 19 - platforms = self.ghc.meta.platforms; 20 - }; 21 - })
+2 -2
pkgs/development/libraries/haskell/quickcheck-property-monad/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "quickcheck-property-monad"; 7 - version = "0.2.2"; 8 - sha256 = "1liixl4xxpx9f3877sss16m67y5bkwhxdmr8h40rpqdi7dz9s0mj"; 7 + version = "0.2.3"; 8 + sha256 = "12vg14xwhhsqwygrs5lylsg514am5sslqc15nbl8mwzzxix1w8xb"; 9 9 buildDepends = [ either QuickCheck transformers ]; 10 10 testDepends = [ doctest filepath QuickCheck ]; 11 11 meta = {
+2 -2
pkgs/development/libraries/haskell/scotty/default.nix
··· 7 7 8 8 cabal.mkDerivation (self: { 9 9 pname = "scotty"; 10 - version = "0.8.1"; 11 - sha256 = "182iwsz5h7p08sqwfzb332gwj1wjx7fhhazm6gfdc0incab769m0"; 10 + version = "0.8.2"; 11 + sha256 = "07vjdj26380inlyi350mdifm7v1dpbc56041vi2czf5zzhx97qb0"; 12 12 buildDepends = [ 13 13 aeson blazeBuilder caseInsensitive conduit dataDefault httpTypes 14 14 monadControl mtl regexCompat text transformers transformersBase wai
+2
pkgs/development/libraries/haskell/socket-io/default.nix
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 1 3 { cabal, aeson, attoparsec, engineIo, mtl, stm, text, transformers 2 4 , unorderedContainers, vector 3 5 }:
+2 -2
pkgs/development/libraries/haskell/stm-conduit/default.nix
··· 8 8 9 9 cabal.mkDerivation (self: { 10 10 pname = "stm-conduit"; 11 - version = "2.5.0"; 12 - sha256 = "1pxs1ggyyjm4x06cirdcjaqzvz3964spv34fcf0q9ddhxm5kb30q"; 11 + version = "2.5.1"; 12 + sha256 = "08cnr92c442b1in46xcklni35597hbsggw97arq2f9w5sfir341q"; 13 13 buildDepends = [ 14 14 async cereal cerealConduit conduit conduitExtra liftedAsync 15 15 liftedBase monadControl monadLoops resourcet stm stmChans
+2 -2
pkgs/development/libraries/haskell/streaming-commons/default.nix
··· 6 6 7 7 cabal.mkDerivation (self: { 8 8 pname = "streaming-commons"; 9 - version = "0.1.4"; 10 - sha256 = "0p18sha2xa583rn9jyhylcykgrvydrwnl47c2wxf1c1yswn45iz6"; 9 + version = "0.1.4.1"; 10 + sha256 = "0n5xm2j5hz0hbify0yanhcrkc3pni9s2c53h22alc7pcaimdmalc"; 11 11 buildDepends = [ 12 12 blazeBuilder network random stm text transformers zlib 13 13 ];
+2 -2
pkgs/development/libraries/haskell/stylish-haskell/default.nix
··· 6 6 7 7 cabal.mkDerivation (self: { 8 8 pname = "stylish-haskell"; 9 - version = "0.5.10.0"; 10 - sha256 = "12sba4bbc1qzicvavlbf4wqj7xs2pk0z3ha70xsvldszhyav9zj9"; 9 + version = "0.5.10.1"; 10 + sha256 = "1jd2dbi844cjs012gwr5idk1jmn860ff8hy1r1s6jndsm69awbba"; 11 11 isLibrary = true; 12 12 isExecutable = true; 13 13 buildDepends = [
+2 -2
pkgs/development/libraries/haskell/taggy/default.nix
··· 6 6 7 7 cabal.mkDerivation (self: { 8 8 pname = "taggy"; 9 - version = "0.1"; 10 - sha256 = "0qqz5h706k96i7gl8vvn4c044cd5wj1zjlr6cnlxxpii0pyiiwh1"; 9 + version = "0.1.1"; 10 + sha256 = "14m02hn5ikw6qv36xxw7j39fm07q2pbs0m504ij7lvaf5c3rngz5"; 11 11 isLibrary = true; 12 12 isExecutable = true; 13 13 buildDepends = [
+1
pkgs/development/libraries/haskell/th-desugar/default.nix
··· 8 8 sha256 = "16l0khjx2wppnm9spp6mg659m95hxjkzfv3pjw5ays3z6clhx8b9"; 9 9 buildDepends = [ mtl syb ]; 10 10 testDepends = [ hspec HUnit mtl syb ]; 11 + doCheck = false; 11 12 meta = { 12 13 homepage = "http://www.cis.upenn.edu/~eir/packages/th-desugar"; 13 14 description = "Functions to desugar Template Haskell";
+2 -1
pkgs/development/libraries/haskell/thyme/default.nix
··· 2 2 3 3 { cabal, aeson, attoparsec, Cabal, deepseq, filepath, mtl 4 4 , profunctors, QuickCheck, random, systemPosixRedirect, text, time 5 - , vector, vectorSpace, vectorThUnbox 5 + , vector, vectorSpace, vectorThUnbox, cpphs 6 6 }: 7 7 8 8 cabal.mkDerivation (self: { 9 9 pname = "thyme"; 10 10 version = "0.3.5.2"; 11 11 sha256 = "1vb5qn9m88y9738d9znim5lprb8z10am5yjaksdjl151li8apd6x"; 12 + buildTools = [ cpphs ]; 12 13 buildDepends = [ 13 14 aeson attoparsec deepseq mtl profunctors QuickCheck random text 14 15 time vector vectorSpace vectorThUnbox
+5 -5
pkgs/development/libraries/haskell/trifecta/default.nix
··· 2 2 3 3 { cabal, ansiTerminal, ansiWlPprint, blazeBuilder, blazeHtml 4 4 , blazeMarkup, charset, comonad, deepseq, doctest, filepath 5 - , fingertree, hashable, lens, mtl, parsers, reducers, semigroups 6 - , transformers, unorderedContainers, utf8String 5 + , fingertree, hashable, lens, mtl, parsers, QuickCheck, reducers 6 + , semigroups, transformers, unorderedContainers, utf8String 7 7 }: 8 8 9 9 cabal.mkDerivation (self: { 10 10 pname = "trifecta"; 11 - version = "1.4.2"; 12 - sha256 = "13kj1xz2bxixsqsrywdx3snl1hjkyv437ifwfrys1m4hnkv4aqai"; 11 + version = "1.4.3"; 12 + sha256 = "0kc8ykvh8m9yhyrkd9kx5xkv5ag99384k06xdi6ynjqv9wj6gfzg"; 13 13 buildDepends = [ 14 14 ansiTerminal ansiWlPprint blazeBuilder blazeHtml blazeMarkup 15 15 charset comonad deepseq fingertree hashable lens mtl parsers 16 16 reducers semigroups transformers unorderedContainers utf8String 17 17 ]; 18 - testDepends = [ doctest filepath ]; 18 + testDepends = [ doctest filepath parsers QuickCheck ]; 19 19 meta = { 20 20 homepage = "http://github.com/ekmett/trifecta/"; 21 21 description = "A modern parser combinator library with convenient diagnostics";
+12 -4
pkgs/development/libraries/haskell/units/default.nix
··· 1 1 # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 2 3 - { cabal, singletons }: 3 + { cabal, HUnitApprox, mtl, multimap, parsec, singletons, syb, tasty 4 + , tastyHunit, thDesugar, vectorSpace 5 + }: 4 6 5 7 cabal.mkDerivation (self: { 6 8 pname = "units"; 7 - version = "2.0"; 8 - sha256 = "1iv0pirhyp7crbkb008k14z57jl8c91r1sl8kqmb778xawb1hx52"; 9 - buildDepends = [ singletons ]; 9 + version = "2.1"; 10 + sha256 = "1qrjc57j15ras0v43cpd7qhh9nzh9dbnkaik6s4c8aj8nkhgd8vs"; 11 + buildDepends = [ 12 + mtl multimap parsec singletons syb thDesugar vectorSpace 13 + ]; 14 + testDepends = [ 15 + HUnitApprox mtl multimap parsec singletons syb tasty tastyHunit 16 + thDesugar vectorSpace 17 + ]; 10 18 meta = { 11 19 homepage = "http://www.cis.upenn.edu/~eir/packages/units"; 12 20 description = "A domain-specific type system for dimensional analysis";
+2 -2
pkgs/development/libraries/haskell/vinyl/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "vinyl"; 7 - version = "0.4.2"; 8 - sha256 = "17vh5yv9dzw6zq1xw22k7mljpha0rcngbk5k0kynh7hyh6xy4zxz"; 7 + version = "0.4.3"; 8 + sha256 = "1npcpvr94l2gpk9z4y527raf2p3d6099m231vw0myci37ljnjgdf"; 9 9 testDepends = [ doctest lens singletons ]; 10 10 meta = { 11 11 description = "Extensible Records";
+2 -2
pkgs/development/libraries/haskell/wai/default.nix
··· 4 4 5 5 cabal.mkDerivation (self: { 6 6 pname = "wai"; 7 - version = "3.0.0.2"; 8 - sha256 = "1zmpalgck8jns45wnlarw26kfw45ml0cp82kdqqpbckscxnr04r1"; 7 + version = "3.0.1"; 8 + sha256 = "1889l6fbgvxn13yaskcvjrq07vs62ayvq8q5rn9cpq0yqyc6llcw"; 9 9 buildDepends = [ blazeBuilder httpTypes network text vault ]; 10 10 testDepends = [ blazeBuilder hspec ]; 11 11 meta = {
+2 -2
pkgs/development/libraries/haskell/xml-conduit/default.nix
··· 8 8 9 9 cabal.mkDerivation (self: { 10 10 pname = "xml-conduit"; 11 - version = "1.2.0.3"; 12 - sha256 = "0bb4nc9nwq4z6vdsiqs0zk8k8yvmyxdrya5fz2h8z8ng66xaq4k1"; 11 + version = "1.2.1"; 12 + sha256 = "1bh0d2fqcdbx2dq5ybipf7ws59blrb8yd98z1rnbvv1fj9r0xw10"; 13 13 buildDepends = [ 14 14 attoparsec attoparsecConduit blazeBuilder blazeBuilderConduit 15 15 blazeHtml blazeMarkup conduit conduitExtra dataDefault deepseq
+2 -1
pkgs/development/libraries/icu/default.nix
··· 30 30 sed -i -e "s|/bin/sh|${stdenv.shell}|" configure 31 31 ''; 32 32 33 - configureFlags = "--disable-debug"; 33 + configureFlags = "--disable-debug" + 34 + stdenv.lib.optionalString stdenv.isDarwin " --enable-rpath"; 34 35 35 36 enableParallelBuilding = true; 36 37
+20
pkgs/development/libraries/libevdev/default.nix
··· 1 + { stdenv, fetchurl, python }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "libevdev-1.2"; 5 + 6 + src = fetchurl { 7 + url = "http://www.freedesktop.org/software/libevdev/${name}.tar.xz"; 8 + sha256 = "0h54ym5rsmicl4gx7gcdaifpyndakbl38c5dcxgr27f0cy0635a1"; 9 + }; 10 + 11 + buildInputs = [ python ]; 12 + 13 + meta = with stdenv.lib; { 14 + description = "Wrapper library for evdev devices"; 15 + homepage = http://www.freedesktop.org/software/libevdev/doc/latest/index.html; 16 + license = licenses.mit; 17 + platforms = platforms.linux; 18 + maintainers = [ maintainers.amorsillo ]; 19 + }; 20 + }
+1 -1
pkgs/development/libraries/libnm-qt/default.nix
··· 27 27 description = "Qt wrapper for NetworkManager DBus API"; 28 28 license = licenses.lgpl21; 29 29 platforms = platforms.linux; 30 - maintainer = [ maintainers.jgeerds ]; 30 + maintainers = [ maintainers.jgeerds ]; 31 31 }; 32 32 }
+23 -13
pkgs/development/libraries/mlt/default.nix
··· 1 - { stdenv, fetchurl, SDL, ffmpeg, libdv, libsamplerate, libvorbis 2 - , libxml2 , pkgconfig, qt4, sox, gtk2 }: 1 + { stdenv, fetchurl, SDL, frei0r, jack2, libav, libdv, libsamplerate 2 + , libvorbis, libxml2, makeWrapper, movit, pkgconfig, qt, sox 3 + }: 3 4 4 5 stdenv.mkDerivation rec { 5 6 name = "mlt-${version}"; 6 - version = "0.9.0"; 7 + version = "0.9.2"; 7 8 8 9 src = fetchurl { 9 - url = "mirror://sourceforge/mlt/${name}.tar.gz"; 10 - sha256 = "1j8wbkwpa6k5anyf4nvf71l8251d7clzj6v09jl3vvfakaf6l37j"; 10 + url = "https://github.com/mltframework/mlt/archive/v${version}.tar.gz"; 11 + sha256 = "0vk1i2yrny6dbip4aha25ibgv4m2rdhpxmz6a74q9wz1cgzbb766"; 11 12 }; 12 13 13 - buildInputs = 14 - [ SDL ffmpeg libdv libsamplerate libvorbis libxml2 pkgconfig qt4 15 - sox # gtk2 /*optional*/ 16 - ]; 14 + buildInputs = [ 15 + SDL frei0r jack2 libav libdv libsamplerate libvorbis libxml2 16 + makeWrapper movit pkgconfig qt sox 17 + ]; 17 18 18 19 # Mostly taken from: 19 20 # http://www.kdenlive.org/user-manual/downloading-and-installing-kdenlive/installing-source/installing-mlt-rendering-engine 20 - configureFlags = [ "--enable-gpl" "--enable-gpl3" "--avformat-swscale" ]; 21 + configureFlags = [ 22 + "--avformat-swscale" "--enable-gpl" "--enable-gpl" "--enable-gpl3" 23 + "--enable-opengl" 24 + ]; 21 25 22 26 enableParallelBuilding = true; 23 27 24 - meta = { 25 - homepage = http://www.mltframework.org/; 28 + postInstall = '' 29 + wrapProgram $out/bin/melt --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1 30 + ''; 31 + 32 + meta = with stdenv.lib; { 26 33 description = "Open source multimedia framework, designed for television broadcasting"; 27 - license = "GPLv3"; 34 + homepage = http://www.mltframework.org/; 35 + license = licenses.gpl3; 36 + maintainers = [ maintainers.goibhniu ]; 37 + platforms = platforms.linux; 28 38 }; 29 39 }
+25
pkgs/development/libraries/movit/default.nix
··· 1 + { stdenv, fetchurl, SDL, eigen, epoxy, fftw, gtest, pkgconfig }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "movit-${version}"; 5 + version = "1.1.1"; 6 + 7 + src = fetchurl { 8 + url = "http://movit.sesse.net/${name}.tar.gz"; 9 + sha256 = "1k3qbkxapcplpsx22xh4m4ccp9fhsjfcj3pjzbcnrc51103aklag"; 10 + }; 11 + 12 + GTEST_DIR = "${gtest}"; 13 + 14 + propagatedBuildInputs = [ eigen epoxy ]; 15 + 16 + buildInputs = [ SDL fftw gtest pkgconfig ]; 17 + 18 + meta = with stdenv.lib; { 19 + description = "High-performance, high-quality video filters for the GPU"; 20 + homepage = http://movits.sesse.net; 21 + license = licenses.gpl2Plus; 22 + maintainers = [ maintainers.goibhniu ]; 23 + platforms = platforms.linux; 24 + }; 25 + }
+3
pkgs/development/libraries/portaudio/default.nix
··· 33 33 cp -r lib "$out" 34 34 '' else '' 35 35 make install 36 + 37 + # fixup .pc file to find alsa library 38 + sed -i "s|-lasound|-L${alsaLib}/lib -lasound|" "$out/lib/pkgconfig/"*.pc 36 39 ''; 37 40 38 41 meta = with stdenv.lib; {
+1 -1
pkgs/development/libraries/qt-5/default.nix
··· 44 44 patches = 45 45 [ ./glib-2.32.patch 46 46 (substituteAll { 47 - src = ./dlopen-absolute-paths.patch; 47 + src = ./qt-5.2-dlopen-absolute-paths.patch; 48 48 inherit cups icu libXfixes; 49 49 glibc = stdenv.gcc.libc; 50 50 openglDriver = if mesaSupported then mesa.driverLink else "/no-such-path";
pkgs/development/libraries/qt-5/dlopen-absolute-paths.patch pkgs/development/libraries/qt-5/qt-5.2-dlopen-absolute-paths.patch
+24
pkgs/development/libraries/qt-5/qt-5.3-dlopen-absolute-paths.patch
··· 1 + diff -ruN qt-everywhere-opensource-src-5.1.1-orig/qtbase/src/network/kernel/qhostinfo_unix.cpp qt-everywhere-opensource-src-5.1.1/qtbase/src/network/kernel/qhostinfo_unix.cpp 2 + --- qt-everywhere-opensource-src-5.1.1-orig/qtbase/src/network/kernel/qhostinfo_unix.cpp 2013-08-25 20:03:35.000000000 +0200 3 + +++ qt-everywhere-opensource-src-5.1.1/qtbase/src/network/kernel/qhostinfo_unix.cpp 2013-09-25 17:43:14.047015411 +0200 4 + @@ -103,7 +103,7 @@ 5 + if (!lib.load()) 6 + #endif 7 + { 8 + - lib.setFileName(QLatin1String("resolv")); 9 + + lib.setFileName(QLatin1String("@glibc@/lib/libresolv")); 10 + if (!lib.load()) 11 + return; 12 + } 13 + diff -ruN qt-everywhere-opensource-src-5.1.1-orig/qtbase/src/plugins/platforms/xcb/qglxintegration.cpp qt-everywhere-opensource-src-5.1.1/qtbase/src/plugins/platforms/xcb/qglxintegration.cpp 14 + --- qt-everywhere-opensource-src-5.1.1-orig/qtbase/src/plugins/platforms/xcb/qglxintegration.cpp 2013-08-25 20:03:35.000000000 +0200 15 + +++ qt-everywhere-opensource-src-5.1.1/qtbase/src/plugins/platforms/xcb/qglxintegration.cpp 2013-09-25 17:51:29.834674976 +0200 16 + @@ -379,7 +379,7 @@ 17 + { 18 + extern const QString qt_gl_library_name(); 19 + // QLibrary lib(qt_gl_library_name()); 20 + - QLibrary lib(QLatin1String("GL")); 21 + + QLibrary lib(QLatin1String("@openglDriver@/lib/libGL")); 22 + glXGetProcAddressARB = (qt_glXGetProcAddressARB) lib.resolve("glXGetProcAddressARB"); 23 + } 24 + }
+162
pkgs/development/libraries/qt-5/qt-5.3.nix
··· 1 + { stdenv, fetchurl, substituteAll, libXrender, libXext 2 + , libXfixes, freetype, fontconfig, zlib, libjpeg, libpng 3 + , mesaSupported, mesa, mesa_glu, openssl, dbus, cups, pkgconfig 4 + , libtiff, glib, icu, mysql, postgresql, sqlite, perl, coreutils, libXi 5 + , gdk_pixbuf, python, gdb, xlibs, libX11, libxcb, xcbutil, xcbutilimage 6 + , xcbutilkeysyms, xcbutilwm,udev, libxml2, libxslt, pcre, libxkbcommon 7 + , alsaLib, gstreamer, gst_plugins_base 8 + , pulseaudio, bison, flex, gperf, ruby, libwebp 9 + , flashplayerFix ? false 10 + , gtkStyle ? false, libgnomeui, gtk, GConf, gnome_vfs 11 + , buildDocs ? false 12 + , buildExamples ? false 13 + , buildTests ? false 14 + , developerBuild ? false 15 + }: 16 + 17 + with stdenv.lib; 18 + 19 + let 20 + v_maj = "5.3"; 21 + v_min = "0"; 22 + ver = "${v_maj}.${v_min}"; 23 + in 24 + 25 + stdenv.mkDerivation rec { 26 + name = "qt-${ver}"; 27 + 28 + src = fetchurl { 29 + url = "http://download.qt-project.org/official_releases/qt/" 30 + + "${v_maj}/${ver}/single/qt-everywhere-opensource-src-${ver}.tar.gz"; 31 + sha256 = "09gp19377zpqyfzk063b3pjz8gjm2x7xsj71bdpmnhs1scz0khcj"; 32 + }; 33 + 34 + # The version property must be kept because it will be included into the QtSDK package name 35 + version = ver; 36 + 37 + prePatch = '' 38 + substituteInPlace configure --replace /bin/pwd pwd 39 + substituteInPlace qtbase/configure --replace /bin/pwd pwd 40 + substituteInPlace qtbase/src/corelib/global/global.pri --replace /bin/ls ${coreutils}/bin/ls 41 + sed -e 's@/\(usr\|opt\)/@/var/empty/@g' -i config.tests/*/*.test -i qtbase/mkspecs/*/*.conf 42 + ''; 43 + 44 + patches = 45 + [ ./glib-2.32.patch 46 + (substituteAll { 47 + src = ./qt-5.3-dlopen-absolute-paths.patch; 48 + inherit cups icu libXfixes; 49 + glibc = stdenv.gcc.libc; 50 + openglDriver = if mesaSupported then mesa.driverLink else "/no-such-path"; 51 + }) 52 + ] ++ optional gtkStyle (substituteAll { 53 + src = ./dlopen-gtkstyle.patch; 54 + # substituteAll ignores env vars starting with capital letter 55 + gconf = GConf; 56 + inherit gnome_vfs libgnomeui gtk; 57 + }) 58 + ++ optional flashplayerFix (substituteAll { 59 + src = ./dlopen-webkit-nsplugin.patch; 60 + inherit gtk gdk_pixbuf; 61 + }); 62 + 63 + preConfigure = '' 64 + export LD_LIBRARY_PATH="$PWD/qtbase/lib:$PWD/qtbase/plugins/platforms:$PWD/qttools/lib:$LD_LIBRARY_PATH" 65 + export MAKEFLAGS=-j$NIX_BUILD_CORES 66 + ''; 67 + 68 + prefixKey = "-prefix "; 69 + 70 + # -no-eglfs, -no-directfb, -no-linuxfb and -no-kms because of the current minimalist mesa 71 + # TODO Remove obsolete and useless flags once the build will be totally mastered 72 + configureFlags = '' 73 + -verbose 74 + -confirm-license 75 + -opensource 76 + 77 + -release 78 + -shared 79 + -c++11 80 + ${optionalString developerBuild "-developer-build"} 81 + -largefile 82 + -accessibility 83 + -rpath 84 + -optimized-qmake 85 + -strip 86 + -reduce-relocations 87 + -system-proxies 88 + 89 + -gui 90 + -widgets 91 + -opengl desktop 92 + -qml-debug 93 + -nis 94 + -iconv 95 + -icu 96 + -pch 97 + -glib 98 + -xcb 99 + -qpa xcb 100 + -${optionalString (cups == null) "no-"}cups 101 + 102 + -no-eglfs 103 + -no-directfb 104 + -no-linuxfb 105 + -no-kms 106 + 107 + -system-zlib 108 + -system-libpng 109 + -system-libjpeg 110 + -system-xcb 111 + -system-xkbcommon 112 + -openssl-linked 113 + -dbus-linked 114 + 115 + -system-sqlite 116 + -${if mysql != null then "plugin" else "no"}-sql-mysql 117 + -${if postgresql != null then "plugin" else "no"}-sql-psql 118 + 119 + -make libs 120 + -make tools 121 + -${optionalString (buildExamples == false) "no"}make examples 122 + -${optionalString (buildTests == false) "no"}make tests 123 + ''; 124 + 125 + propagatedBuildInputs = [ 126 + xlibs.libXcomposite libX11 libxcb libXext libXrender libXi 127 + fontconfig freetype openssl dbus.libs glib udev libxml2 libxslt pcre 128 + zlib libjpeg libpng libtiff sqlite icu 129 + libwebp alsaLib gstreamer gst_plugins_base pulseaudio 130 + xcbutil xcbutilimage xcbutilkeysyms xcbutilwm libxkbcommon 131 + ] 132 + # Qt doesn't directly need GLU (just GL), but many apps use, it's small and 133 + # doesn't remain a runtime-dep if not used 134 + ++ optionals mesaSupported [ mesa mesa_glu ] 135 + ++ optional (cups != null) cups 136 + ++ optional (mysql != null) mysql 137 + ++ optional (postgresql != null) postgresql; 138 + 139 + buildInputs = [ gdb bison flex gperf ruby ]; 140 + 141 + nativeBuildInputs = [ python perl pkgconfig ]; 142 + 143 + postInstall = 144 + '' 145 + ${optionalString buildDocs '' 146 + make docs && make install_docs 147 + ''} 148 + 149 + # Don't retain build-time dependencies like gdb and ruby. 150 + sed '/QMAKE_DEFAULT_.*DIRS/ d' -i $out/mkspecs/qconfig.pri 151 + ''; 152 + 153 + enableParallelBuilding = true; # often fails on Hydra, as well as qt4 154 + 155 + meta = { 156 + homepage = http://qt-project.org; 157 + description = "A cross-platform application framework for C++"; 158 + license = "GPL/LGPL"; 159 + maintainers = [ maintainers.bbenoist maintainers.qknight ]; 160 + platforms = platforms.linux; 161 + }; 162 + }
+30
pkgs/development/libraries/rabbitmq-java-client/default.nix
··· 1 + { fetchurl, stdenv, ant, jdk, jre, python, makeWrapper }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "rabbitmq-java-client-3.3.4"; 5 + 6 + src = fetchurl { 7 + url = "http://www.rabbitmq.com/releases/rabbitmq-java-client/v3.3.4/rabbitmq-java-client-3.3.4.tar.gz"; 8 + sha256 = "03kspkgzzjsbq6f8yl2zj5m30qwgxv3l58hrbf6gcgxb5rpfk6sh"; 9 + }; 10 + 11 + buildInputs = [ ant jdk python makeWrapper ]; 12 + 13 + buildPhase = "ant dist"; 14 + 15 + installPhase = '' 16 + mkdir -p $out/bin $out/share/java 17 + cp build/lib/*.jar lib/*.jar $out/share/java 18 + 19 + # There is a script in the source archive, but ours is cleaner 20 + makeWrapper ${jre}/bin/java $out/bin/PerfTest \ 21 + --add-flags "-Djava.awt.headless=true -cp $out/share/java/\* com.rabbitmq.examples.PerfTest" 22 + ''; 23 + 24 + meta = with stdenv.lib; { 25 + description = "RabbitMQ Java client library which allows Java code to interface to AMQP servers"; 26 + homepage = http://www.rabbitmq.com/java-client.html; 27 + license = [ "MPLv1.1" "GPLv2" ]; 28 + platforms = platforms.linux; 29 + }; 30 + }
+3
pkgs/development/python-modules/generic/wrap.sh
··· 26 26 # dont wrap EGG-INFO scripts since they are called from python 27 27 if echo "$i" | grep -v EGG-INFO/scripts; then 28 28 echo "wrapping \`$i'..." 29 + sed -i "$i" -e '1,/#!/ { /^#\!/,/^[^#]/ { 30 + /^[^#]/i import sys; sys.argv[0] = '"'$(basename "$i")'"' 31 + }}' 29 32 wrapProgram "$i" \ 30 33 --prefix PYTHONPATH ":" $program_PYTHONPATH \ 31 34 --prefix PATH ":" $program_PATH
+10 -23
pkgs/development/tools/analysis/sparse/default.nix
··· 1 - { fetchurl, stdenv, pkgconfig }: 1 + { fetchurl, stdenv, pkgconfig, libxml2, llvm }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "sparse-0.4.4"; 4 + name = "sparse-0.5.0"; 5 5 6 6 src = fetchurl { 7 - url = "mirror://kernel/software/devel/sparse/dist/${name}.tar.gz"; 8 - sha256 = "5ad02110130fd8f8d82f2b030de5f2db6f924fd805593a5b8be8072a620414c6"; 7 + url = "mirror://kernel/software/devel/sparse/dist/${name}.tar.xz"; 8 + sha256 = "1mc86jc5xdrdmv17nqj2cam2yqygnj6ar1iqkwsx2y37ij8wy7wj"; 9 9 }; 10 10 11 11 preConfigure = '' 12 - sed -i "Makefile" \ 13 - -e "s|^PREFIX *=.*$|PREFIX = $out|g" 12 + sed -i Makefile -e "s|^PREFIX=.*$|PREFIX=$out|g" 14 13 ''; 15 14 16 - buildInputs = [ pkgconfig ]; 17 - 15 + buildInputs = [ pkgconfig libxml2 llvm ]; 18 16 doCheck = true; 19 17 20 18 meta = { 21 19 description = "Sparse, a semantic parser for C"; 22 - 23 - longDescription = '' 24 - Sparse, the semantic parser, provides a compiler frontend 25 - capable of parsing most of ANSI C as well as many GCC 26 - extensions, and a collection of sample compiler backends, 27 - including a static analyzer also called "sparse". Sparse 28 - provides a set of annotations designed to convey semantic 29 - information about types, such as what address space pointers 30 - point to, or what locks a function acquires or releases. 31 - ''; 32 - 33 - homepage = http://www.kernel.org/pub/software/devel/sparse/; 34 - 35 - # See http://www.opensource.org/licenses/osl.php . 36 - license = "Open Software License v1.1"; 20 + homepage = "https://git.kernel.org/cgit/devel/sparse/sparse.git/"; 21 + license = stdenv.lib.licenses.mit; 22 + platforms = stdenv.lib.platforms.linux; 23 + maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; 37 24 }; 38 25 }
+2 -2
pkgs/development/tools/haskell/HaRe/default.nix
··· 9 9 10 10 cabal.mkDerivation (self: { 11 11 pname = "HaRe"; 12 - version = "0.7.2.5"; 13 - sha256 = "09v0z1r03bzazgjf26fv54q1jpmv14zyl6w9083xcf2cs3yy6vfh"; 12 + version = "0.7.2.6"; 13 + sha256 = "0fvnif75sjgi4388in8fdvgvaxb0s9cgnqf7i583rxlxjibx44ai"; 14 14 isLibrary = true; 15 15 isExecutable = true; 16 16 buildDepends = [
+2 -2
pkgs/development/tools/haskell/codex/default.nix
··· 6 6 7 7 cabal.mkDerivation (self: { 8 8 pname = "codex"; 9 - version = "0.1.0.2"; 10 - sha256 = "0dsc5dx5zcxf5wd2qf6gqzr8d613z1gkllmzzkbny3lxa512crsw"; 9 + version = "0.1.0.3"; 10 + sha256 = "0sbkri6y9f4wws120kbb93sv1z0z75hjw9pw5r3wadmmd0lygsn9"; 11 11 isLibrary = true; 12 12 isExecutable = true; 13 13 buildDepends = [
+2 -3
pkgs/development/tools/haskell/hlint/default.nix
··· 6 6 7 7 cabal.mkDerivation (self: { 8 8 pname = "hlint"; 9 - version = "1.9"; 10 - sha256 = "1c8qpfrivsxx6raqnrz40li73hng4z0ygc1hl70qixbmsmv2a830"; 9 + version = "1.9.2"; 10 + sha256 = "1pbcd4rzavhca3vydynasi3lk36pz948mqxp58rlb2j5dan9sw78"; 11 11 isLibrary = true; 12 12 isExecutable = true; 13 13 buildDepends = [ 14 14 cmdargs cpphs filepath haskellSrcExts hscolour transformers 15 15 uniplate 16 16 ]; 17 - jailbreak = true; 18 17 meta = { 19 18 homepage = "http://community.haskell.org/~ndm/hlint/"; 20 19 description = "Source code suggestions";
+11 -1
pkgs/development/web/nodejs/build-node-package.nix
··· 1 1 { stdenv, runCommand, nodejs, neededNatives}: 2 2 3 - args @ { name, src, deps ? [], peerDependencies ? [], flags ? [], ... }: 3 + args @ { name, src, deps ? [], peerDependencies ? [], flags ? [], preShellHook ? "", postShellHook ? "", ... }: 4 4 5 5 with stdenv.lib; 6 6 ··· 80 80 preFixup = concatStringsSep "\n" (map (src: '' 81 81 find $out -type f -print0 | xargs -0 sed -i 's|${src}|${src.name}|g' 82 82 '') src); 83 + 84 + shellHook = '' 85 + ${preShellHook} 86 + export PATH=${nodejs}/bin:$(pwd)/node_modules/.bin:$PATH 87 + mkdir -p node_modules 88 + ${concatStrings (concatMap (dep: map (name: '' 89 + ln -sfv ${dep}/lib/node_modules/${name} node_modules/ 90 + '') dep.names) deps)} 91 + ${postShellHook} 92 + ''; 83 93 } // args // { 84 94 # Run the node setup hook when this package is a build input 85 95 propagatedNativeBuildInputs = (args.propagatedNativeBuildInputs or []) ++ [ nodejs ];
-21
pkgs/games/exult/64bits.patch
··· 1 - diff -ru exult-1.2-orig/usecode/useval.cc exult-1.2/usecode/useval.cc 2 - --- exult-1.2-orig/usecode/useval.cc 2004-05-23 07:07:11.000000000 +0200 3 - +++ exult-1.2/usecode/useval.cc 2008-06-25 17:27:15.000000000 +0200 4 - @@ -464,7 +464,7 @@ 5 - if (buflen < 5) 6 - return -1; 7 - *ptr++ = type; 8 - - Write4(ptr, (int)value.ptr); 9 - + Write4(ptr, 0); 10 - break; 11 - case string_type: 12 - { 13 - @@ -525,7 +525,7 @@ 14 - case pointer_type: 15 - if (buflen < 5) 16 - return false; 17 - - value.ptr = (Game_object*)Read4(ptr); //DON'T dereference this pointer! 18 - + value.ptr = 0; //DON'T dereference this pointer! 19 - // Maybe add a new type "serialized_pointer" to prevent "accidents"? 20 - return true; 21 - case string_type:
+123
pkgs/games/exult/arch.patch
··· 1 + diff -aur exult-1.4.9rc1.orig/desktop/exult.desktop exult-1.4.9rc1/desktop/exult.desktop 2 + --- exult-1.4.9rc1.orig/desktop/exult.desktop 2008-07-11 05:41:06.000000000 +0600 3 + +++ exult-1.4.9rc1/desktop/exult.desktop 2012-05-19 13:15:30.616084585 +0600 4 + @@ -1,9 +1,8 @@ 5 + [Desktop Entry] 6 + -Encoding=UTF-8 7 + Name=Exult 8 + Comment=Exult Ultima 7 Engine 9 + Exec=exult 10 + -Icon=exult.png 11 + +Icon=exult 12 + Terminal=false 13 + Type=Application 14 + -Categories=Application;Game;RolePlaying; 15 + +Categories=Game;RolePlaying; 16 + diff -aur exult-1.4.9rc1.orig/files/databuf.h exult-1.4.9rc1/files/databuf.h 17 + --- exult-1.4.9rc1.orig/files/databuf.h 2010-03-10 09:07:05.000000000 +0500 18 + +++ exult-1.4.9rc1/files/databuf.h 2012-05-19 12:50:16.856076030 +0600 19 + @@ -18,6 +18,7 @@ 20 + #define DATA_H 21 + 22 + #include <cstdio> 23 + +#include <cstddef> 24 + #include <cstring> 25 + #include <cassert> 26 + #include <fstream> 27 + diff -aur exult-1.4.9rc1.orig/files/U7obj.h exult-1.4.9rc1/files/U7obj.h 28 + --- exult-1.4.9rc1.orig/files/U7obj.h 2010-02-25 07:52:07.000000000 +0500 29 + +++ exult-1.4.9rc1/files/U7obj.h 2012-05-19 12:50:35.916076137 +0600 30 + @@ -26,6 +26,7 @@ 31 + #include <string> 32 + #include <vector> 33 + #include <cstring> 34 + +#include <cstddef> 35 + #include "common_types.h" 36 + #include "utils.h" 37 + 38 + diff -aur exult-1.4.9rc1.orig/imagewin/manip.h exult-1.4.9rc1/imagewin/manip.h 39 + --- exult-1.4.9rc1.orig/imagewin/manip.h 2010-08-29 20:26:00.000000000 +0600 40 + +++ exult-1.4.9rc1/imagewin/manip.h 2012-05-19 13:02:45.159413596 +0600 41 + @@ -319,7 +319,7 @@ 42 + static uintD copy(uintS src) 43 + { 44 + unsigned int r, g, b; 45 + - split_source(src,r,g,b); 46 + + ManipBaseSrc<color_s,color_d>::split_source(src,r,g,b); 47 + return ManipBaseDest<color_d>::rgb(r,g,b); 48 + } 49 + static void copy(uintD& dest, uintS src) 50 + diff -aur exult-1.4.9rc1.orig/istring.h exult-1.4.9rc1/istring.h 51 + --- exult-1.4.9rc1.orig/istring.h 2005-06-07 15:55:39.000000000 +0600 52 + +++ exult-1.4.9rc1/istring.h 2012-05-19 13:01:14.886079750 +0600 53 + @@ -162,19 +162,19 @@ 54 + 55 + _Myt& operator+=(const _Myt& _Right) 56 + { // append _Right 57 + - append(_Right); 58 + + this->append(_Right); 59 + return (*this); 60 + } 61 + 62 + _Myt& operator+=(const _Elem *_Ptr) 63 + { // append [_Ptr, <null>) 64 + - append(_Ptr); 65 + + this->append(_Ptr); 66 + return (*this); 67 + } 68 + 69 + _Myt& operator+=(_Elem _Ch) 70 + { // append 1 * _Ch 71 + - append(static_cast<size_type>(1), _Ch); 72 + + this->append(static_cast<size_type>(1), _Ch); 73 + return (*this); 74 + } 75 + 76 + diff -aur exult-1.4.9rc1.orig/shapes/pngio.cc exult-1.4.9rc1/shapes/pngio.cc 77 + --- exult-1.4.9rc1.orig/shapes/pngio.cc 2010-02-15 18:48:11.000000000 -0200 78 + +++ exult-1.4.9rc1/shapes/pngio.cc 2013-09-22 20:56:37.809763588 -0300 79 + @@ -26,6 +26,7 @@ 80 + #ifdef HAVE_CONFIG_H 81 + # include <config.h> 82 + #endif 83 + +#include <string.h> 84 + 85 + #ifdef HAVE_PNG_H 86 + 87 + @@ -79,7 +80,7 @@ 88 + } 89 + // Allocate info. structure. 90 + png_infop info = png_create_info_struct(png); 91 + - if (setjmp(png->jmpbuf)) // Handle errors. 92 + + if (setjmp(png_jmpbuf(png))) // Handle errors. 93 + { 94 + png_destroy_read_struct(&png, &info, 0); 95 + fclose(fp); 96 + @@ -208,7 +209,7 @@ 97 + } 98 + // Allocate info. structure. 99 + png_infop info = png_create_info_struct(png); 100 + - if (setjmp(png->jmpbuf)) // Handle errors. 101 + + if (setjmp(png_jmpbuf(png))) // Handle errors. 102 + { 103 + png_destroy_write_struct(&png, &info); 104 + fclose(fp); 105 + @@ -306,7 +307,7 @@ 106 + } 107 + // Allocate info. structure. 108 + png_infop info = png_create_info_struct(png); 109 + - if (setjmp(png->jmpbuf)) // Handle errors. 110 + + if (setjmp(png_jmpbuf(png))) // Handle errors. 111 + { 112 + png_destroy_read_struct(&png, &info, 0); 113 + fclose(fp); 114 + @@ -395,7 +396,7 @@ 115 + } 116 + // Allocate info. structure. 117 + png_infop info = png_create_info_struct(png); 118 + - if (setjmp(png->jmpbuf)) // Handle errors. 119 + + if (setjmp(png_jmpbuf(png))) // Handle errors. 120 + { 121 + png_destroy_write_struct(&png, &info); 122 + fclose(fp); 123 +
+23 -34
pkgs/games/exult/default.nix
··· 1 - {stdenv, fetchurl, SDL, SDL_mixer, zlib, libpng, unzip}: 1 + { stdenv, fetchurl, pkgconfig, SDL, libogg, libvorbis, zlib, unzip }: 2 2 3 3 let 4 4 5 5 # Digital recordings of the music on an original Roland MT-32. So 6 6 # we don't need actual MIDI playback capability. 7 - musicFiles = 8 - [ (fetchurl { 9 - url = mirror://sourceforge/exult/U7MusicOGG_1of2.zip; 10 - md5 = "7746d1a9164fd67509107797496553bf"; 11 - }) 12 - (fetchurl { 13 - url = mirror://sourceforge/exult/U7MusicOGG_2of2.zip; 14 - md5 = "cdae5956d7c52f35e90317913a660123"; 15 - }) 16 - ]; 7 + audio = fetchurl { 8 + url = mirror://sourceforge/exult/exult_audio.zip; 9 + sha256 = "0s5wvgy9qja06v38g0qwzpaw76ff96vzd6gb1i3lb9k4hvx0xqbj"; 10 + }; 17 11 18 12 in 19 13 20 - stdenv.mkDerivation { 21 - name = "exult-1.2"; 22 - 14 + stdenv.mkDerivation rec { 15 + name = "exult-1.4.9rc1"; 16 + 23 17 src = fetchurl { 24 - url = mirror://sourceforge/exult/exult-1.2.tar.gz; 25 - md5 = "0fc88dee74a91724d25373ba0a8670ba"; 18 + url = "mirror://sourceforge/exult/${name}.tar.gz"; 19 + sha256 = "0a03a2l3ji6h48n106d4w55l8v6lni1axniafnvvv5c5n3nz5bgd"; 26 20 }; 27 21 28 - # Patches for building on x86_64 and gcc 4.x. 29 - patches = [ 30 - (fetchurl { 31 - url = "http://www.rocklinux.net/sources/package/stf/exult/exult-gcc4.patch"; 32 - sha256 = "1jlikxcpsi3yfchan3jbyi66fcyr18m7kfmsa946lwh3kzckszm7"; 33 - }) 22 + configureFlags = "--disable-tools"; 23 + 24 + patches = 25 + [ # Arch Linux patch set. 26 + ./arch.patch 27 + ]; 34 28 35 - # From http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/games-engines/exult/files/exult-1.2-64bits.patch?rev=1.1 36 - ./64bits.patch 37 - ]; 29 + buildInputs = [ pkgconfig SDL libogg libvorbis zlib unzip ]; 38 30 39 - buildInputs = [libpng SDL SDL_mixer zlib unzip]; 40 - 41 - NIX_CFLAGS_COMPILE = "-I${SDL_mixer}/include/SDL"; 31 + enableParallelBuilding = true; 42 32 43 33 postInstall = 44 34 '' 45 35 mkdir -p $out/share/exult/music 46 - for i in $musicFiles; do 47 - unzip -o -d $out/share/exult/music $i 48 - done 49 - ''; 50 - 36 + unzip -o -d $out/share/exult ${audio} 37 + chmod 644 $out/share/exult/*.flx 38 + ''; # */ 39 + 51 40 meta = { 52 41 homepage = http://exult.sourceforge.net/; 53 42 description = "A reimplementation of the Ultima VII game engine"; 54 - maintainers = [stdenv.lib.maintainers.eelco]; 43 + maintainers = [ stdenv.lib.maintainers.eelco ]; 55 44 }; 56 45 }
+3 -1
pkgs/games/minecraft/default.nix
··· 1 - {stdenv, fetchurl, jre, libX11, libXext, libXcursor, libXrandr, libXxf86vm 1 + { stdenv, fetchurl, jre, libX11, libXext, libXcursor, libXrandr, libXxf86vm 2 2 , mesa, openal, alsaOss }: 3 + 4 + assert jre ? architecture; 3 5 4 6 stdenv.mkDerivation { 5 7 name = "minecraft-2013.07.01";
+14 -7
pkgs/games/openra/default.nix
··· 1 - { stdenv, fetchurl, mono, makeWrapper 2 - , SDL2, freetype, openal, systemd 1 + { stdenv, fetchurl, mono, makeWrapper, lua 2 + , SDL2, freetype, openal, systemd, pkgconfig 3 3 }: 4 4 5 5 let 6 - version = "20131223"; 6 + version = "20140608"; 7 7 in stdenv.mkDerivation rec { 8 8 name = "openra-${version}"; 9 9 ··· 18 18 src = fetchurl { 19 19 name = "${name}.tar.gz"; 20 20 url = "https://github.com/OpenRA/OpenRA/archive/release-${version}.tar.gz"; 21 - sha256 = "1gfz6iiccajp86qc7xw5w843bng69k9zplvmipxxbspvr7byhw0c"; 21 + sha256 = "0k7siysxb2nk7zzrl7vz1cwky4nla46ixzgxgc8rq6ilmlidh96b"; 22 22 }; 23 23 24 24 dontStrip = true; 25 25 26 - nativeBuildInputs = [ mono makeWrapper ]; 26 + buildInputs = [ lua ]; 27 + nativeBuildInputs = [ mono makeWrapper lua pkgconfig ]; 27 28 28 29 patchPhase = '' 29 30 sed -i 's/^VERSION.*/VERSION = release-${version}/g' Makefile 31 + substituteInPlace configure --replace /bin/bash "$shell" --replace /usr/local/lib "${lua}/lib" 30 32 ''; 31 33 32 34 preConfigure = '' ··· 35 37 ''; 36 38 37 39 postInstall = with stdenv.lib; let 38 - runtime = makeLibraryPath [ SDL2 freetype openal systemd ]; 40 + runtime = makeLibraryPath [ SDL2 freetype openal systemd lua ]; 39 41 in '' 40 - wrapProgram $out/bin/openra \ 42 + wrapProgram $out/lib/openra/launch-game.sh \ 41 43 --prefix PATH : "${mono}/bin" \ 44 + --set PWD $out/lib/openra/ \ 42 45 --prefix LD_LIBRARY_PATH : "${runtime}" 46 + 47 + mkdir -p $out/bin 48 + echo "cd $out/lib/openra && $out/lib/openra/launch-game.sh" > $out/bin/openra 49 + chmod +x $out/bin/openra 43 50 ''; 44 51 }
+2 -2
pkgs/misc/emulators/mednafen/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig 2 2 , libX11, mesa, freeglut 3 - , jackaudio, libcdio, libsndfile, libsamplerate 3 + , jack2, libcdio, libsndfile, libsamplerate 4 4 , SDL, SDL_net, zlib 5 5 }: 6 6 ··· 15 15 }; 16 16 17 17 buildInputs = with stdenv.lib; 18 - [ libX11 mesa freeglut jackaudio libcdio libsndfile libsamplerate SDL SDL_net zlib ]; 18 + [ libX11 mesa freeglut jack2 libcdio libsndfile libsamplerate SDL SDL_net zlib ]; 19 19 20 20 nativeBuildInputs = [ pkgconfig ]; 21 21
+30
pkgs/misc/emulators/snes9x-gtk/default.nix
··· 1 + {stdenv, fetchurl, nasm, SDL, zlib, libpng, ncurses, mesa, intltool, gtk, pkgconfig, libxml2, x11, pulseaudio}: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "snes9x-gtk-${version}"; 5 + version = "1.53"; 6 + 7 + src = fetchurl { 8 + url = "http://files.ipherswipsite.com/snes9x/snes9x-${version}-src.tar.bz2"; 9 + sha256 = "9f7c5d2d0fa3fe753611cf94e8879b73b8bb3c0eab97cdbcb6ab7376efa78dc3"; 10 + }; 11 + 12 + buildInputs = [ nasm SDL zlib libpng ncurses mesa intltool gtk pkgconfig libxml2 x11 pulseaudio]; 13 + 14 + sourceRoot = "snes9x-${version}-src/gtk"; 15 + 16 + configureFlags = "--prefix=$out/ --with-opengl"; 17 + 18 + installPhase = '' 19 + mkdir -p $out/bin 20 + cp snes9x-gtk $out/bin 21 + ''; 22 + 23 + meta = { 24 + description = "a portable, freeware Super Nintendo Entertainment System (SNES) emulator"; 25 + longDescription = "Snes9x is a portable, freeware Super Nintendo Entertainment System (SNES) emulator. It basically allows you to play most games designed for the SNES and Super Famicom Nintendo game systems on your PC or Workstation; which includes some real gems that were only ever released in Japan."; 26 + license = stdenv.lib.licenses.lgpl2; 27 + maintainers = [ stdenv.lib.maintainers.qknight ]; 28 + homepage = http://www.snes9x.com/; 29 + }; 30 + }
+1 -1
pkgs/misc/jackaudio/default.nix
··· 5 5 assert firewireSupport -> ffado != null; 6 6 7 7 stdenv.mkDerivation rec { 8 - name = "jackdbus-${version}"; 8 + name = "jack2-${version}"; 9 9 version = "1.9.9.5"; 10 10 11 11 src = fetchurl {
+5 -5
pkgs/misc/jackaudio/jack1.nix
··· 1 - { stdenv, fetchurl, pkgconfig, alsaLib 1 + { stdenv, fetchurl, pkgconfig, alsaLib, db, libuuid 2 2 , firewireSupport ? false, ffado ? null }: 3 3 4 4 assert firewireSupport -> ffado != null; 5 5 6 6 stdenv.mkDerivation rec { 7 - name = "jack-${version}"; 8 - version = "0.121.3"; 7 + name = "jack1-${version}"; 8 + version = "0.124.1"; 9 9 10 10 src = fetchurl { 11 11 url = "http://jackaudio.org/downloads/jack-audio-connection-kit-${version}.tar.gz"; 12 - sha256 = "1ypa3gjwy4vmaskin0vczmmdwybckkl42wmkfabx3v5yx8yms2dp"; 12 + sha256 = "1mk1wnx33anp6haxfjjkfhwbaknfblsvj35nxvz0hvspcmhdyhpb"; 13 13 }; 14 14 15 15 preBuild = "echo ok"; ··· 19 19 ''; 20 20 21 21 buildInputs = 22 - [ pkgconfig alsaLib 22 + [ pkgconfig alsaLib db libuuid 23 23 ] ++ (stdenv.lib.optional firewireSupport ffado); 24 24 25 25 meta = {
+8 -6
pkgs/misc/vim-plugins/default.nix
··· 1 - { fetchurl, stdenv, python, cmake, vim, perl, ruby, unzip, which, fetchgit, clang }: 1 + { fetchurl, bash, stdenv, python, cmake, vim, perl, ruby, unzip, which, fetchgit, clang }: 2 2 3 3 /* 4 4 About Vim and plugins ··· 111 111 YouCompleteMe = stdenv.mkDerivation { 112 112 src = fetchgit { 113 113 url = "https://github.com/Valloric/YouCompleteMe.git"; 114 - rev = "abfc3ee36adab11c0c0b9d086a164a69006fec79"; 115 - sha256 = "1d25dp5kgqickl06hqvx4j3z51zblhsn3q3by2hayyj3g2zps4gm"; 114 + rev = "67288080ea7057ea3111cb4c863484e3b150e738"; 115 + sha256 = "1a3rwdl458z1yrp50jdwp629j4al0zld21n15sad28g51m8gw5ka"; 116 116 }; 117 117 118 - name = "youcompleteme-git-abfc3ee"; 118 + name = "youcompleteme-git-6728808"; 119 119 buildInputs = [ python cmake clang.clang ]; 120 120 121 121 configurePhase = ":"; ··· 125 125 mkdir -p $target 126 126 cp -a ./ $target 127 127 128 + 128 129 mkdir $target/build 129 130 cd $target/build 130 - cmake -G "Unix Makefiles" . $target/cpp -DPYTHON_LIBRARIES:PATH=${python}/lib/libpython2.7.so -DPYTHON_INCLUDE_DIR:PATH=${python}/include/python2.7 -DUSE_CLANG_COMPLETER=ON -DUSE_SYSTEM_LIBCLANG=ON 131 - make -j -j''${NIX_BUILD_CORES} -l''${NIX_BUILD_CORES}} 131 + cmake -G "Unix Makefiles" . $target/third_party/ycmd/cpp -DPYTHON_LIBRARIES:PATH=${python}/lib/libpython2.7.so -DPYTHON_INCLUDE_DIR:PATH=${python}/include/python2.7 -DUSE_CLANG_COMPLETER=ON -DUSE_SYSTEM_LIBCLANG=ON 132 + make ycm_support_libs -j''${NIX_BUILD_CORES} -l''${NIX_BUILD_CORES}} 133 + ${bash}/bin/bash $target/install.sh --clang-completer 132 134 133 135 ${vimHelpTags} 134 136 vimHelpTags $target
+2 -2
pkgs/os-specific/linux/alsa-plugins/default.nix
··· 1 - { stdenv, fetchurl, lib, pkgconfig, alsaLib, libogg, pulseaudio ? null, jackaudio ? null }: 1 + { stdenv, fetchurl, lib, pkgconfig, alsaLib, libogg, pulseaudio ? null, jack2 ? null }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "alsa-plugins-1.0.28"; ··· 15 15 buildInputs = 16 16 [ pkgconfig alsaLib libogg ] 17 17 ++ lib.optional (pulseaudio != null) pulseaudio 18 - ++ lib.optional (jackaudio != null) jackaudio; 18 + ++ lib.optional (jack2 != null) jack2; 19 19 20 20 meta = with lib; { 21 21 description = "Various plugins for ALSA";
+2 -2
pkgs/os-specific/linux/kernel/linux-3.12.nix
··· 1 1 { stdenv, fetchurl, ... } @ args: 2 2 3 3 import ./generic.nix (args // rec { 4 - version = "3.12.24"; 4 + version = "3.12.25"; 5 5 extraMeta.branch = "3.12"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 9 - sha256 = "01y9sz90d4l12m3f7gjmnasck85c2dqx74hwyccw5jk04r5pm2mx"; 9 + sha256 = "16jdqhhi7z6jkprz90cb48cd479zsqlrn9j3yp2xcyqp05nc7n2p"; 10 10 }; 11 11 12 12 features.iwlwifi = true;
+2 -2
pkgs/servers/amqp/rabbitmq-server/default.nix
··· 4 4 stdenv.mkDerivation rec { 5 5 name = "rabbitmq-server-${version}"; 6 6 7 - version = "3.2.4"; 7 + version = "3.3.4"; 8 8 9 9 src = fetchurl { 10 10 url = "http://www.rabbitmq.com/releases/rabbitmq-server/v${version}/${name}.tar.gz"; 11 - sha256 = "17rvqhzcb7rscp228vmgixk0rsqi42m820jzxj9g5wid6qmzjc59"; 11 + sha256 = "13nnsn34b44mz8w4b69bcpxmq4daqnxzd0lppg0f138pcssha43l"; 12 12 }; 13 13 14 14 buildInputs =
+2 -2
pkgs/servers/http/apache-httpd/2.4.nix
··· 14 14 assert ldapSupport -> aprutil.ldapSupport && openldap != null; 15 15 16 16 stdenv.mkDerivation rec { 17 - version = "2.4.9"; 17 + version = "2.4.10"; 18 18 name = "apache-httpd-${version}"; 19 19 20 20 src = fetchurl { 21 21 url = "mirror://apache/httpd/httpd-${version}.tar.bz2"; 22 - sha256 = "00vnhki0rdwlhl4cjgvkq5vpf8szx2sdd3yi7bcg7jj7z86wk37p"; 22 + sha256 = "0slwcqw9f7fnb3kyz27hlsgh8j4wiza4yzqyp6vhfpvl3an4sv0p"; 23 23 }; 24 24 25 25 buildInputs = [perl] ++
+3 -3
pkgs/servers/pulseaudio/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, gnum4, gdbm, libtool, glib, dbus, avahi 2 2 , gconf, gtk, intltool, gettext, alsaLib, libsamplerate, libsndfile, speex 3 3 , bluez, sbc, udev, libcap, json_c 4 - , jackaudioSupport ? false, jackaudio ? null 4 + , jackaudioSupport ? false, jack2 ? null 5 5 , x11Support ? false, xlibs 6 6 , useSystemd ? false, systemd ? null }: 7 7 8 - assert jackaudioSupport -> jackaudio != null; 8 + assert jackaudioSupport -> jack2 != null; 9 9 10 10 stdenv.mkDerivation rec { 11 11 name = "pulseaudio-5.0"; ··· 22 22 buildInputs = 23 23 [ pkgconfig gnum4 libtool intltool glib dbus avahi libsamplerate libsndfile 24 24 speex json_c ] 25 - ++ stdenv.lib.optional jackaudioSupport jackaudio 25 + ++ stdenv.lib.optional jackaudioSupport jack2 26 26 ++ stdenv.lib.optionals x11Support [ xlibs.xlibs xlibs.libXtst xlibs.libXi ] 27 27 ++ stdenv.lib.optional useSystemd systemd 28 28 ++ stdenv.lib.optionals stdenv.isLinux [ alsaLib bluez sbc udev ];
+1
pkgs/servers/search/elasticsearch/default.nix
··· 33 33 meta = { 34 34 description = "Open Source, Distributed, RESTful Search Engine"; 35 35 license = "ASL2.0"; 36 + platforms = platforms.unix; 36 37 }; 37 38 }
+53
pkgs/servers/search/elasticsearch/plugins.nix
··· 1 + { pkgs, stdenv, fetchurl, unzip, elasticsearch }: 2 + 3 + with pkgs.lib; 4 + 5 + let 6 + esPlugin = a@{ 7 + pluginName, 8 + installPhase ? '' 9 + mkdir -p $out 10 + ES_HOME=$out ${elasticsearch}/bin/elasticsearch-plugin --install ${pluginName} --url file://$src 11 + '', 12 + ... 13 + }: 14 + stdenv.mkDerivation (a // { 15 + inherit installPhase; 16 + unpackPhase = "true"; 17 + buildInputs = [ unzip ]; 18 + meta = a.meta // { 19 + platforms = elasticsearch.meta.platforms; 20 + maintainers = (a.meta.maintainers or []) ++ [ maintainers.offline ]; 21 + }; 22 + }); 23 + in { 24 + elasticsearch_river_jdbc = esPlugin rec { 25 + name = "elasticsearch-river-jdbc-${version}"; 26 + pluginName = "jdbc"; 27 + version = "1.2.1.1"; 28 + src = fetchurl { 29 + url = "http://xbib.org/repository/org/xbib/elasticsearch/plugin/elasticsearch-river-jdbc/${version}/${name}-plugin.zip"; 30 + sha1 = "68e7e1fdf45d0e5852b21610a84740595223ea11"; 31 + }; 32 + meta = { 33 + homepage = "https://github.com/jprante/elasticsearch-river-jdbc"; 34 + description = "Plugin to fetch data from JDBC sources for indexing into Elasticsearch"; 35 + license = licenses.asl20; 36 + }; 37 + }; 38 + 39 + elasticsearch_analisys_lemmagen = esPlugin rec { 40 + name = "elasticsearch-analysis-lemmagen-${version}"; 41 + pluginName = "elasticsearch-analysis-lemmagen"; 42 + version = "0.1"; 43 + src = fetchurl { 44 + url = "https://github.com/vhyza/elasticsearch-analysis-lemmagen/releases/download/v${version}/${name}-plugin.zip"; 45 + sha256 = "bf7bf5ce3ccdd3afecd0e18cd6fce1ef56f824e41f4ef50553ae598caa5c366d"; 46 + }; 47 + meta = { 48 + homepage = "https://github.com/vhyza/elasticsearch-analysis-lemmagen"; 49 + description = "LemmaGen Analysis plugin provides jLemmaGen lemmatizer as Elasticsearch token filter"; 50 + license = licenses.asl20; 51 + }; 52 + }; 53 + }
+1 -1
pkgs/servers/serfdom/default.nix
··· 1 1 { stdenv, lib, go, fetchurl, fetchgit, fetchhg, fetchbzr, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "0.6.2"; 4 + version = "0.6.3"; 5 5 name = "serfdom-${version}"; 6 6 7 7 src = import ./deps.nix {
+2 -2
pkgs/servers/serfdom/deps.nix
··· 77 77 src = fetchFromGitHub { 78 78 owner = "hashicorp"; 79 79 repo = "serf"; 80 - rev = "4232a3f7b52f755084caf6b2cc2789efa2948555"; 81 - sha256 = "1hxxqrjz08882d205ylakhvvwciahiqdzkwi2a7zwrmx6sxna7sr"; 80 + rev = "5e0771b8d61bee28986087a246f7611d6bd4a87a"; 81 + sha256 = "0ck77ji28bvm4ahzxyyi4sm17c3fxc16k0k5mihl1nlkgdd73m8y"; 82 82 }; 83 83 } 84 84 {
+5
pkgs/servers/sql/mysql/5.5.x.nix
··· 11 11 md5 = "bf1d80c66d4822ec6036300399a33c03"; 12 12 }; 13 13 14 + preConfigure = stdenv.lib.optional stdenv.isDarwin '' 15 + ln -s /bin/ps $TMPDIR/ps 16 + export PATH=$PATH:$TMPDIR 17 + ''; 18 + 14 19 buildInputs = [ cmake bison ncurses openssl readline zlib ] 15 20 ++ stdenv.lib.optional stdenv.isDarwin perl; 16 21
+19 -28
pkgs/servers/xmpp/openfire/default.nix
··· 1 - { stdenv, fetchurl, builderDefs, jre }: 1 + { stdenv, fetchurl, jre }: 2 2 3 - with builderDefs; 4 - let 5 - version="3_6_3"; 6 - localDefs = builderDefs.passthru.function (rec { 7 - src = /* put a fetchurl here */ 8 - fetchurl { 9 - url = "http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_${version}.tar.gz"; 10 - sha256 = "0ibzhmh9qw4lmx45ir1i280p30npgwnj7vrkl432kj3zi7hp79q2"; 11 - }; 3 + stdenv.mkDerivation rec { 4 + name = "openfire-${version}"; 5 + version = "3_6_3"; 12 6 13 - buildInputs = [jre]; 14 - configureFlags = []; 7 + src = fetchurl { 8 + url = "http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_${version}.tar.gz"; 9 + sha256 = "0ibzhmh9qw4lmx45ir1i280p30npgwnj7vrkl432kj3zi7hp79q2"; 10 + }; 11 + 12 + buildInputs = [ jre ]; 13 + 14 + installPhase = '' 15 + sed -e 's@\(common_jvm_locations\)=.*@\1${jre}@' -i bin/openfire 16 + cp -r . $out 17 + rm -r $out/logs 18 + mv $out/conf $out/conf.inst 19 + ln -s /var/log/openfire $out/logs 20 + ln -s /etc/openfire $out/conf 21 + ''; 15 22 16 - installPhase = fullDepEntry ('' 17 - sed -e 's@\(common_jvm_locations\)=.*@\1${jre}@' -i bin/openfire 18 - cp -r . $out 19 - rm -r $out/logs 20 - mv $out/conf $out/conf.inst 21 - ln -s /var/log/openfire $out/logs 22 - ln -s /etc/openfire $out/conf 23 - '') 24 - ["minInit" "doUnpack" "addInputs"]; 25 - }); 26 - in with localDefs; 27 - stdenv.mkDerivation rec { 28 - name = "openfire-"+version; 29 - builder = writeScript (name + "-builder") 30 - (textClosure localDefs 31 - [ installPhase doForceShare doPropagate]); 32 23 meta = { 33 24 description = "XMPP server in Java"; 34 25 };
+1 -1
pkgs/tools/X11/nitrogen/default.nix
··· 27 27 homepage = http://projects.l3ib.org/nitrogen/; 28 28 license = stdenv.lib.licenses.gpl2; 29 29 platforms = stdenv.lib.platforms.linux; 30 - maintainer = [ stdenv.lib.maintainers.auntie ]; 30 + maintainers = [ stdenv.lib.maintainers.auntie ]; 31 31 }; 32 32 }
+1 -1
pkgs/tools/admin/gtk-vnc/default.nix
··· 1 1 { stdenv, fetchurl, gobjectIntrospection 2 2 , python, gtk, pygtk, gnutls, cairo, libtool, glib, pkgconfig, libtasn1 3 - , libffi, cyrus_sasl, intltool, perl, perlPackages, firefoxPkgs, pulseaudio 3 + , libffi, cyrus_sasl, intltool, perl, perlPackages, pulseaudio 4 4 , kbproto, libX11, libXext, xextproto, pygobject, libgcrypt, gtk3, vala 5 5 , pygobject3, libogg, enableGTK3 ? false }: 6 6
+7 -3
pkgs/tools/graphics/gnuplot/default.nix
··· 13 13 , pkgconfig ? null 14 14 , fontconfig ? null 15 15 , gnused ? null 16 - , coreutils ? null }: 16 + , coreutils ? null 17 + , qt ? null }: 17 18 18 19 assert libX11 != null -> (fontconfig != null && gnused != null && coreutils != null); 19 20 let 20 21 withX = libX11 != null && !aquaterm; 22 + withQt = qt != null; 21 23 in 22 24 stdenv.mkDerivation rec { 23 - name = "gnuplot-4.6.3"; 25 + name = "gnuplot-4.6.5"; 24 26 25 27 src = fetchurl { 26 28 url = "mirror://sourceforge/gnuplot/${name}.tar.gz"; 27 - sha256 = "1xd7gqdhlk7k1p9yyqf9vkk811nadc7m4si0q3nb6cpv4pxglpyz"; 29 + sha256 = "0bcsa5b33msddjs6mj0rhi81cs19h9p3ykixkkl70ifhqwqg0l75"; 28 30 }; 29 31 30 32 buildInputs = 31 33 [ zlib gd texinfo readline emacs lua texLive 32 34 pango cairo pkgconfig makeWrapper ] 33 35 ++ stdenv.lib.optionals withX [ libX11 libXpm libXt libXaw ] 36 + ++ stdenv.lib.optional withQt [ qt ] 34 37 # compiling with wxGTK causes a malloc (double free) error on darwin 35 38 ++ stdenv.lib.optional (!stdenv.isDarwin) wxGTK; 36 39 37 40 configureFlags = 38 41 (if withX then ["--with-x"] else ["--without-x"]) 42 + ++ (if withQt then ["--enable-qt"] else ["--disable-qt"]) 39 43 ++ (if aquaterm then ["--with-aquaterm"] else ["--without-aquaterm"]) 40 44 ; 41 45
+25
pkgs/tools/misc/emv/default.nix
··· 1 + { stdenv, fetchurl }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "emv-${version}"; 5 + version = "1.95"; 6 + 7 + src = fetchurl { 8 + url = "http://www.i0i0.de/toolchest/emv"; 9 + sha256 = "7e0e12afa45ef5ed8025e5f2c6deea0ff5f512644a721f7b1b95b63406a8f7ce"; 10 + }; 11 + 12 + phases = [ "installPhase" ]; 13 + 14 + installPhase = '' 15 + mkdir -pv $out/bin 16 + cp $src $out/bin/emv 17 + chmod +x $out/bin/emv 18 + ''; 19 + 20 + meta = { 21 + homepage = "http://www.i0i0.de/toolchest/emv"; 22 + description = "Editor Move: Rename files with your favourite text editor"; 23 + license = stdenv.lib.licenses.publicDomain; 24 + }; 25 + }
+30
pkgs/tools/misc/kalibrate-rtl/default.nix
··· 1 + { stdenv, fetchgit, autoreconfHook, pkgconfig, fftw, rtl-sdr, libusb1 }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "kalibrate-rtl-20131214"; 5 + 6 + # There are no tags/releases, so use the latest commit from git master. 7 + # Currently, the latest commit is from 2013-12-14. 8 + src = fetchgit { 9 + url = "https://github.com/steve-m/kalibrate-rtl.git"; 10 + rev = "aae11c8a8dc79692a94ccfee39ba01e8c8c05d38"; 11 + sha256 = "1spbfflkqnw9s8317ppsf7b1nnkicqsmaqsnz1zf8i49ix70i6kn"; 12 + }; 13 + 14 + buildInputs = [ autoreconfHook pkgconfig fftw rtl-sdr libusb1 ]; 15 + 16 + meta = with stdenv.lib; { 17 + description = "Calculate local oscillator frequency offset in RTL-SDR devices"; 18 + longDescription = '' 19 + Kalibrate, or kal, can scan for GSM base stations in a given frequency 20 + band and can use those GSM base stations to calculate the local 21 + oscillator frequency offset. 22 + 23 + This package is for RTL-SDR devices. 24 + ''; 25 + homepage = https://github.com/steve-m/kalibrate-rtl; 26 + license = licenses.bsd2; 27 + platforms = platforms.linux; 28 + maintainers = [ maintainers.bjornfor ]; 29 + }; 30 + }
+19
pkgs/tools/misc/lrzsz/default.nix
··· 1 + { stdenv, fetchurl }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "lrzsz-0.12.20"; 5 + 6 + src = fetchurl { 7 + url = "https://ohse.de/uwe/releases/${name}.tar.gz"; 8 + sha256 = "1wcgfa9fsigf1gri74gq0pa7pyajk12m4z69x7ci9c6x9fqkd2y2"; 9 + }; 10 + 11 + configureFlags = [ "--program-transform-name=s/^l//" ]; 12 + 13 + meta = with stdenv.lib; { 14 + homepage = https://ohse.de/uwe/software/lrzsz.html; 15 + description = "Communication package providing the XMODEM, YMODEM ZMODEM file transfer protocols"; 16 + license = licenses.gpl2; 17 + platforms = platforms.unix; 18 + }; 19 + }
+6 -1
pkgs/tools/misc/picocom/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { stdenv, fetchurl, makeWrapper, lrzsz }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "picocom-1.7"; ··· 7 7 url = "http://picocom.googlecode.com/files/${name}.tar.gz"; 8 8 sha256 = "17hjq713naq02xar711aw24qqd52p591mj1h5n97cni1ga7irwyh"; 9 9 }; 10 + 11 + buildInputs = [ makeWrapper ]; 10 12 11 13 installPhase = '' 12 14 mkdir -p $out/bin $out/share/man/man8 13 15 cp picocom $out/bin 14 16 cp picocom.8 $out/share/man/man8 17 + 18 + wrapProgram $out/bin/picocom \ 19 + --prefix PATH ":" "${lrzsz}/bin" 15 20 ''; 16 21 17 22 meta = {
+3 -3
pkgs/tools/misc/timidity/default.nix
··· 1 - { composableDerivation, stdenv, fetchurl, alsaLib, jackaudio, ncurses }: 1 + { composableDerivation, stdenv, fetchurl, alsaLib, jack2, ncurses }: 2 2 3 3 let inherit (composableDerivation) edf; in 4 4 ··· 30 30 }; 31 31 jack = { 32 32 audioModes = "jack"; 33 - buildInputs = [jackaudio]; 34 - NIX_LDFLAGS = ["-ljack -L${jackaudio}/lib64"]; 33 + buildInputs = [jack2]; 34 + NIX_LDFLAGS = ["-ljack -L${jack2}/lib64"]; 35 35 }; 36 36 } // edf { name = "ncurses"; enable = { buildInputs = [ncurses]; };}; 37 37
+2 -2
pkgs/tools/misc/tmux/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "tmux"; 5 - version = "1.9"; 5 + version = "1.9a"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://sourceforge/${pname}/${name}.tar.gz"; 10 - sha256 = "09qykbcyvsspg6bfsdx2lp9b32dbybwn5k6kx4baib0k6l4wmriy"; 10 + sha256 = "1x9k4wfd4l5jg6fh7xkr3yyilizha6ka8m5b1nr0kw8wj0mv5qy5"; 11 11 }; 12 12 13 13 nativeBuildInputs = [ pkgconfig ];
+34
pkgs/tools/networking/bud/default.nix
··· 1 + { stdenv, lib, fetchgit, python, gyp, utillinux }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "bud-${version}"; 5 + 6 + version = "0.25.0"; 7 + 8 + src = fetchgit { 9 + url = "https://github.com/indutny/bud.git"; 10 + rev = "f65b9c3531dac1a5b3c962e01f3bed1d41ab5621"; 11 + sha256 = "000wwc88hsf6ccz8wxjn2af6l0nxm6a2fcad71xw35ymmdp9n5xg"; 12 + }; 13 + 14 + buildInputs = [ 15 + python gyp 16 + ] ++ lib.optional stdenv.isLinux utillinux; 17 + 18 + buildPhase = '' 19 + python ./gyp_bud -f make 20 + make -C out 21 + ''; 22 + 23 + installPhase = '' 24 + ensureDir $out/bin 25 + cp out/Release/bud $out/bin 26 + ''; 27 + 28 + meta = with lib; { 29 + description = "A TLS terminating proxy"; 30 + license = licenses.mit; 31 + platforms = with platforms; linux; 32 + maintainers = with maintainers; [ cstrahan ]; 33 + }; 34 + }
+3 -1
pkgs/tools/networking/socat/2.x.nix
··· 10 10 11 11 buildInputs = [ openssl ]; 12 12 13 + configureFlags = stdenv.lib.optionalString stdenv.isDarwin "--disable-ip6"; 14 + 13 15 meta = { 14 16 description = "A utility for bidirectional data transfer between two independent data channels"; 15 17 homepage = http://www.dest-unreach.org/socat/; 16 18 repositories.git = git://repo.or.cz/socat.git; 17 - platforms = stdenv.lib.platforms.linux; 19 + platforms = stdenv.lib.platforms.unix; 18 20 license = stdenv.lib.licenses.gpl2; 19 21 maintainers = stdenv.lib.maintainers.eelco; 20 22 };
+3 -3
pkgs/tools/package-management/nix/unstable.nix
··· 5 5 }: 6 6 7 7 stdenv.mkDerivation rec { 8 - name = "nix-1.8pre3679_f609eec"; 8 + name = "nix-1.8pre3705_71a20d4"; 9 9 10 10 src = fetchurl { 11 - url = "http://hydra.nixos.org/build/12606291/download/5/${name}.tar.xz"; 12 - sha256 = "d185c00db8c1ab977d37695da0130628290af8dc315b3e24aa24d3ee25cdf875"; 11 + url = "http://hydra.nixos.org/build/12722887/download/5/${name}.tar.xz"; 12 + sha256 = "832905be494280c8dcb377e389fb9c6c77993508bb457e11720ba2b53dd580ae"; 13 13 }; 14 14 15 15 nativeBuildInputs = [ perl pkgconfig ];
+3 -3
pkgs/tools/system/at/default.nix
··· 1 1 { fetchurl, stdenv, bison, flex, pam, ssmtp }: 2 2 3 3 stdenv.mkDerivation { 4 - name = "at-3.1.12"; 4 + name = "at-3.1.14"; 5 5 6 6 src = fetchurl { 7 7 # Debian is apparently the last location where it can be found. 8 - url = mirror://debian/pool/main/a/at/at_3.1.12.orig.tar.gz; 9 - sha256 = "1wqqrj4lg2ix79ib5kz7lk4hbs1zpw72n6zkd2gdv2my9ymwcmbw"; 8 + url = mirror://debian/pool/main/a/at/at_3.1.14.orig.tar.gz; 9 + sha256 = "cd092bf05d29c25b286f55a960ce8b8c3c5beb571d86ed8eb1dfb3b61291b3ae"; 10 10 }; 11 11 12 12 patches = [ ./install.patch ];
+8 -9
pkgs/tools/system/at/install.patch
··· 1 - --- at-3.1.10.1/Makefile.in 2005-08-29 10:08:28.000000000 +0200 2 - +++ at-3.1.10.1/Makefile.in 2008-04-01 11:05:38.000000000 +0200 3 - @@ -88,35 +88,28 @@ atrun: atrun.in 1 + --- at-3.1.14/Makefile.in 2013-09-08 14:43:53.000000000 +0200 2 + +++ at-3.1.14/Makefile.in 2014-07-27 20:42:04.017703443 +0200 3 + @@ -91,35 +91,28 @@ 4 4 $(CC) -c $(CFLAGS) $(DEFS) $*.c 5 5 6 6 install: all ··· 15 15 - chmod 600 $(IROOT)$(LFILE) 16 16 - chown $(DAEMON_USERNAME):$(DAEMON_GROUPNAME) $(IROOT)$(LFILE) 17 17 - test -f $(IROOT)$(etcdir)/at.allow || test -f $(IROOT)$(etcdir)/at.deny || $(INSTALL) -o root -g $(DAEMON_GROUPNAME) -m 640 at.deny $(IROOT)$(etcdir)/ 18 - - $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 6755 -s at $(IROOT)$(bindir) 18 + - $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 6755 at $(IROOT)$(bindir) 19 19 + $(INSTALL) -m 755 -d $(IROOT)$(bindir) 20 20 + $(INSTALL) -m 755 -d $(IROOT)$(sbindir) 21 21 + $(INSTALL) -m 755 -d $(IROOT)$(docdir) ··· 27 27 - $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man1dir) 28 28 - $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man5dir) 29 29 - $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man8dir) 30 - - $(INSTALL) -g root -o root -m 755 -s atd $(IROOT)$(sbindir) 30 + - $(INSTALL) -g root -o root -m 755 atd $(IROOT)$(sbindir) 31 31 - $(INSTALL) -g root -o root -m 755 atrun $(IROOT)$(sbindir) 32 32 - $(INSTALL) -g root -o root -m 644 at.1 $(IROOT)$(man1dir)/ 33 33 + $(INSTALL) -m 755 batch $(IROOT)$(bindir) ··· 44 44 - $(INSTALL) -g root -o root -m 644 tmpman $(IROOT)$(man8dir)/atrun.8 45 45 + $(INSTALL) -m 644 tmpman $(IROOT)$(man8dir)/atrun.8 46 46 rm -f tmpman 47 - - $(INSTALL) -g root -o root -m 644 at_allow.5 $(IROOT)$(man5dir)/ 48 - + $(INSTALL) -m 644 at_allow.5 $(IROOT)$(man5dir)/ 49 - cd $(IROOT)$(man5dir) && $(LN_S) -f at_allow.5 at_deny.5 47 + - $(INSTALL) -g root -o root -m 644 at.allow.5 $(IROOT)$(man5dir)/ 48 + + $(INSTALL) -m 644 at.allow.5 $(IROOT)$(man5dir)/ 49 + cd $(IROOT)$(man5dir) && $(LN_S) -f at.allow.5 at.deny.5 50 50 - $(INSTALL) -g root -o root -m 644 $(DOCS) $(IROOT)$(atdocdir) 51 51 + $(INSTALL) -m 644 $(DOCS) $(IROOT)$(atdocdir) 52 52 rm -f $(IROOT)$(mandir)/cat1/at.1* $(IROOT)$(mandir)/cat1/batch.1* \ 53 53 $(IROOT)$(mandir)/cat1/atq.1* 54 54 rm -f $(IROOT)$(mandir)/cat1/atd.8* 55 -
+37
pkgs/tools/system/evemu/default.nix
··· 1 + { stdenv, fetchgit, automake, autoconf, libtool, pkgconfig, pythonPackages 2 + , libevdev, linuxHeaders 3 + }: 4 + 5 + stdenv.mkDerivation rec { 6 + name = "evemu-${version}"; 7 + version = "2.0.0"; 8 + 9 + # We could have downloaded a release tarball from cgit, but it changes hash 10 + # each time it is downloaded :/ 11 + src = fetchgit { 12 + url = git://git.freedesktop.org/git/evemu; 13 + rev = "refs/tags/v${version}"; 14 + sha256 = "1509b524a2483054a45698c485968094dd8c0f857bba7333449e9d05acbfbd2c"; 15 + }; 16 + 17 + buildInputs = [ 18 + automake autoconf libtool pkgconfig pythonPackages.python 19 + pythonPackages.evdev libevdev 20 + ]; 21 + 22 + preConfigure = '' 23 + ./autogen.sh --prefix=$out 24 + ''; 25 + 26 + postPatch = '' 27 + substituteInPlace src/make-event-names.py --replace "/usr/include/linux/input.h" "${linuxHeaders}/include/linux/input.h" 28 + ''; 29 + 30 + meta = with stdenv.lib; { 31 + description = "Records and replays device descriptions and events to emulate input devices through the kernel's input system"; 32 + homepage = http://www.freedesktop.org/wiki/Evemu/; 33 + repositories.git = git://git.freedesktop.org/git/evemu; 34 + license = licenses.gpl2; 35 + maintainers = [ maintainers.amorsillo ]; 36 + }; 37 + }
+1 -1
pkgs/tools/system/monit/default.nix
··· 20 20 homepage = http://mmonit.com/monit/; 21 21 description = "Monitoring system"; 22 22 license = stdenv.lib.licenses.agpl3; 23 - maintainer = with stdenv.lib.maintainers; [ raskin wmertens ]; 23 + maintainers = with stdenv.lib.maintainers; [ raskin wmertens ]; 24 24 }; 25 25 }
+84 -101
pkgs/top-level/all-packages.nix
··· 689 689 690 690 btar = callPackage ../tools/backup/btar { }; 691 691 692 + bud = callPackage ../tools/networking/bud { 693 + inherit (pythonPackages) gyp; 694 + }; 695 + 692 696 bup = callPackage ../tools/backup/bup { 693 697 inherit (pythonPackages) pyxattr pylibacl setuptools fuse; 694 698 inherit (haskellPackages) pandoc; ··· 941 945 942 946 efivar = callPackage ../tools/system/efivar { }; 943 947 948 + evemu = callPackage ../tools/system/evemu { }; 949 + 944 950 elasticsearch = callPackage ../servers/search/elasticsearch { }; 945 951 952 + elasticsearchPlugins = recurseIntoAttrs ( 953 + callPackage ../servers/search/elasticsearch/plugins.nix { } 954 + ); 955 + 956 + emv = callPackage ../tools/misc/emv { }; 957 + 946 958 enblendenfuse = callPackage ../tools/graphics/enblend-enfuse { 947 959 boost = boost149; 948 960 }; ··· 1139 1151 then stdenvAdapters.overrideGCC stdenv gccApple 1140 1152 else stdenv; 1141 1153 }; 1154 + 1155 + gnuplot_qt = gnuplot.override { qt = qt4; }; 1142 1156 1143 1157 # must have AquaTerm installed separately 1144 1158 gnuplot_aquaterm = gnuplot.override { aquaterm = true; }; ··· 1337 1351 1338 1352 kazam = callPackage ../applications/video/kazam { }; 1339 1353 1354 + kalibrate-rtl = callPackage ../tools/misc/kalibrate-rtl { }; 1355 + 1340 1356 kexectools = callPackage ../os-specific/linux/kexectools { }; 1341 1357 1342 1358 keychain = callPackage ../tools/misc/keychain { }; ··· 1388 1404 libee = callPackage ../development/libraries/libee { }; 1389 1405 1390 1406 libestr = callPackage ../development/libraries/libestr { }; 1407 + 1408 + libevdev = callPackage ../development/libraries/libevdev { }; 1391 1409 1392 1410 liboauth = callPackage ../development/libraries/liboauth { }; 1393 1411 ··· 2531 2549 2532 2550 clang_34 = wrapClang llvmPackages_34.clang; 2533 2551 clang_33 = wrapClang (clangUnwrapped llvm_33 ../development/compilers/llvm/3.3/clang.nix); 2534 - clang_32 = wrapClang (clangUnwrapped llvm_32 ../development/compilers/llvm/3.2/clang.nix); 2535 - clang_31 = wrapClang (clangUnwrapped llvm_31 ../development/compilers/llvm/3.1/clang.nix); 2536 2552 2537 2553 clangAnalyzer = callPackage ../development/tools/analysis/clang-analyzer { 2538 2554 clang = clang_34; ··· 2601 2617 gcc34 = wrapGCC (import ../development/compilers/gcc/3.4 { 2602 2618 inherit fetchurl stdenv noSysDirs; 2603 2619 }); 2604 - 2605 - # XXX: GCC 4.2 (and possibly others) misdetects `makeinfo' when 2606 - # using Texinfo >= 4.10, just because it uses a stupid regexp that 2607 - # expects a single digit after the dot. As a workaround, we feed 2608 - # GCC with Texinfo 4.9. Stupid bug, hackish workaround. 2609 - 2610 - gcc42 = wrapGCC (makeOverridable (import ../development/compilers/gcc/4.2) { 2611 - inherit fetchurl stdenv noSysDirs; 2612 - profiledCompiler = false; 2613 - }); 2614 - 2615 - gcc43 = lowPrio (wrapGCC (makeOverridable (import ../development/compilers/gcc/4.3) { 2616 - inherit stdenv fetchurl gmp mpfr noSysDirs; 2617 - texinfo = texinfo4; 2618 - profiledCompiler = true; 2619 - })); 2620 2620 2621 2621 gcc48_realCross = lib.addMetaAttrs { hydraPlatforms = []; } 2622 2622 (callPackage ../development/compilers/gcc/4.8 { ··· 2780 2780 else null; 2781 2781 })); 2782 2782 2783 - gcc49_multi = 2784 - if system == "x86_64-linux" then lowPrio ( 2785 - wrapGCCWith (import ../build-support/gcc-wrapper) glibc_multi (gcc49.gcc.override { 2786 - stdenv = overrideGCC stdenv (wrapGCCWith (import ../build-support/gcc-wrapper) glibc_multi gcc.gcc); 2787 - profiledCompiler = false; 2788 - enableMultilib = true; 2789 - })) 2790 - else throw "Multilib gcc not supported on ‘${system}’"; 2791 - 2792 - gcc49_debug = lowPrio (wrapGCC (callPackage ../development/compilers/gcc/4.9 { 2793 - stripped = false; 2794 - 2795 - inherit noSysDirs; 2796 - cross = null; 2797 - libcCross = null; 2798 - binutilsCross = null; 2799 - })); 2800 - 2801 2783 gccApple = 2802 2784 assert stdenv.isDarwin; 2803 2785 wrapGCC (makeOverridable (import ../development/compilers/gcc/4.2-apple64) { ··· 3089 3071 3090 3072 llvm_34 = llvmPackages_34.llvm; 3091 3073 llvm_33 = llvm_v ../development/compilers/llvm/3.3/llvm.nix; 3092 - llvm_32 = llvm_v ../development/compilers/llvm/3.2; 3093 - llvm_31 = llvm_v ../development/compilers/llvm/3.1; 3094 3074 3095 3075 llvm_v = path: callPackage path { 3096 3076 stdenv = if stdenv.isDarwin ··· 3298 3278 3299 3279 ocamlnat = let callPackage = newScope pkgs.ocamlPackages_3_12_1; in callPackage ../development/ocaml-modules/ocamlnat { }; 3300 3280 3301 - opencxx = callPackage ../development/compilers/opencxx { 3302 - gcc = gcc33; 3303 - }; 3304 - 3305 3281 qcmm = callPackage ../development/compilers/qcmm { 3306 3282 lua = lua4; 3307 3283 ocaml = ocaml_3_08_0; ··· 3657 3633 3658 3634 tcl = callPackage ../development/interpreters/tcl { }; 3659 3635 3660 - xulrunnerWrapper = {application, launcher}: 3661 - import ../development/interpreters/xulrunner/wrapper { 3662 - inherit stdenv application launcher xulrunner; 3663 - }; 3664 - 3665 - xulrunner = pkgs.firefoxPkgs.xulrunner; 3636 + xulrunner = callPackage ../development/interpreters/xulrunner { 3637 + inherit (gnome) libIDL; 3638 + inherit (pythonPackages) pysqlite; 3639 + }; 3666 3640 3667 3641 3668 3642 ### DEVELOPMENT / MISC ··· 4443 4417 4444 4418 enginepkcs11 = callPackage ../development/libraries/enginepkcs11 { }; 4445 4419 4420 + epoxy = callPackage ../development/libraries/epoxy { 4421 + inherit (xorg) utilmacros libX11; 4422 + }; 4423 + 4446 4424 esdl = callPackage ../development/libraries/esdl { }; 4447 4425 4448 4426 exiv2 = callPackage ../development/libraries/exiv2 { }; ··· 4534 4512 callPackage ../development/libraries/freeglut { }; 4535 4513 4536 4514 freetype = callPackage ../development/libraries/freetype { }; 4515 + 4516 + frei0r = callPackage ../development/libraries/frei0r { }; 4537 4517 4538 4518 fribidi = callPackage ../development/libraries/fribidi { }; 4539 4519 ··· 5695 5675 5696 5676 mkvtoolnix = callPackage ../applications/video/mkvtoolnix { }; 5697 5677 5698 - mlt = callPackage ../development/libraries/mlt { }; 5678 + mlt-qt4 = callPackage ../development/libraries/mlt { 5679 + qt = qt4; 5680 + SDL = SDL_pulseaudio; 5681 + }; 5682 + 5683 + mlt-qt5 = callPackage ../development/libraries/mlt { 5684 + qt = qt5; 5685 + SDL = SDL_pulseaudio; 5686 + }; 5687 + 5688 + movit = callPackage ../development/libraries/movit { }; 5699 5689 5700 5690 mps = callPackage ../development/libraries/mps { }; 5701 5691 ··· 5958 5948 qtLib = qt48Full; 5959 5949 }; 5960 5950 5951 + qt53Full = qt53.override { 5952 + buildDocs = true; 5953 + buildExamples = true; 5954 + buildTests = true; 5955 + developerBuild = true; 5956 + }; 5957 + 5958 + qt53 = callPackage ../development/libraries/qt-5/qt-5.3.nix { 5959 + mesa = mesa_noglu; 5960 + cups = if stdenv.isLinux then cups else null; 5961 + # GNOME dependencies are not used unless gtkStyle == true 5962 + inherit (gnome) libgnomeui GConf gnome_vfs; 5963 + bison = bison2; # error: too few arguments to function 'int yylex(... 5964 + }; 5965 + 5961 5966 qt5 = callPackage ../development/libraries/qt-5 { 5962 5967 mesa = mesa_noglu; 5963 5968 cups = if stdenv.isLinux then cups else null; ··· 5991 5996 qwt6 = callPackage ../development/libraries/qwt/6.nix { }; 5992 5997 5993 5998 rabbitmq-c = callPackage ../development/libraries/rabbitmq-c {}; 5999 + 6000 + rabbitmq-java-client = callPackage ../development/libraries/rabbitmq-java-client {}; 5994 6001 5995 6002 raul = callPackage ../development/libraries/audio/raul { }; 5996 6003 ··· 6051 6058 then clangStdenv 6052 6059 else stdenv; 6053 6060 }; 6061 + 6062 + # Fixes major problems with choppy sound in MLT / Kdenlive / Shotcut 6063 + SDL_pulseaudio = SDL.override { pulseaudioSupport = true; }; 6054 6064 6055 6065 SDL_gfx = callPackage ../development/libraries/SDL_gfx { }; 6056 6066 ··· 7007 7017 alsaLib = callPackage ../os-specific/linux/alsa-lib { }; 7008 7018 7009 7019 alsaPlugins = callPackage ../os-specific/linux/alsa-plugins { 7010 - jackaudio = null; 7020 + jack2 = null; 7011 7021 }; 7012 7022 7013 7023 alsaPluginWrapper = callPackage ../os-specific/linux/alsa-plugins/wrapper.nix { }; ··· 7281 7291 ]; 7282 7292 }; 7283 7293 7284 - linux_3_10_tuxonice = linux_3_10.override (attrs: { 7285 - kernelPatches = attrs.kernelPatches ++ [ 7286 - kernelPatches.tuxonice_3_10 7287 - ]; 7288 - extraConfig = '' 7289 - TOI_CORE y 7290 - ''; 7291 - }); 7292 - 7293 7294 linux_3_12 = makeOverridable (import ../os-specific/linux/kernel/linux-3.12.nix) { 7294 7295 inherit fetchurl stdenv perl buildLinux; 7295 7296 kernelPatches = lib.optionals ((platform.kernelArch or null) == "mips") ··· 7951 7952 7952 7953 oldstandard = callPackage ../data/fonts/oldstandard { }; 7953 7954 7955 + opensans-ttf = callPackage ../data/fonts/opensans-ttf { }; 7956 + 7954 7957 poly = callPackage ../data/fonts/poly { }; 7955 7958 7956 7959 posix_man_pages = callPackage ../data/documentation/man-pages-posix { }; ··· 8326 8329 elvis = callPackage ../applications/editors/elvis { }; 8327 8330 8328 8331 emacs = emacs24; 8329 - 8330 - emacs23 = callPackage ../applications/editors/emacs-23 { 8331 - stdenv = 8332 - if stdenv.isDarwin 8333 - /* On Darwin, use Apple-GCC, otherwise: 8334 - configure: error: C preprocessor "cc -E -no-cpp-precomp" fails sanity check */ 8335 - then overrideGCC stdenv gccApple 8336 - else stdenv; 8337 - 8338 - # use override to select the appropriate gui toolkit 8339 - libXaw = if stdenv.isDarwin then xlibs.libXaw else null; 8340 - Xaw3d = null; 8341 - gtk = if stdenv.isDarwin then null else gtk; 8342 - # TODO: these packages don't build on Darwin. 8343 - gconf = null /* if stdenv.isDarwin then null else gnome.GConf */; 8344 - librsvg = null /* if stdenv.isDarwin then null else librsvg */; 8345 - texinfo = texinfo4; 8346 - }; 8347 8332 8348 8333 emacs24 = callPackage ../applications/editors/emacs-24 { 8349 8334 # use override to enable additional features ··· 8364 8349 withX = false; 8365 8350 })); 8366 8351 8367 - emacs24Macport = callPackage ../applications/editors/emacs-24/macport.nix { 8352 + emacs24Macport = lowPrio (callPackage ../applications/editors/emacs-24/macport.nix { 8368 8353 # resolve unrecognised flag '-fconstant-cfstrings' errors 8369 8354 stdenv = if stdenv.isDarwin 8370 8355 then clangStdenv 8371 8356 else stdenv; 8372 - }; 8357 + }); 8373 8358 8374 8359 emacsPackages = emacs: self: let callPackage = newScope self; in rec { 8375 8360 inherit emacs; ··· 8377 8362 autoComplete = callPackage ../applications/editors/emacs-modes/auto-complete { }; 8378 8363 8379 8364 bbdb = callPackage ../applications/editors/emacs-modes/bbdb { }; 8365 + 8366 + bbdb3 = callPackage ../applications/editors/emacs-modes/bbdb/3.nix {}; 8380 8367 8381 8368 cedet = callPackage ../applications/editors/emacs-modes/cedet { }; 8382 8369 ··· 8500 8487 xmlRpc = callPackage ../applications/editors/emacs-modes/xml-rpc { }; 8501 8488 }; 8502 8489 8503 - emacs23Packages = emacsPackages emacs23 pkgs.emacs23Packages; 8504 8490 emacs24Packages = recurseIntoAttrs (emacsPackages emacs24 pkgs.emacs24Packages); 8505 8491 8506 8492 inherit (gnome3) empathy; ··· 8611 8597 8612 8598 filezilla = callPackage ../applications/networking/ftp/filezilla { }; 8613 8599 8614 - firefox = pkgs.firefoxPkgs.firefox; 8615 - 8616 - firefox36Pkgs = callPackage ../applications/networking/browsers/firefox/3.6.nix { 8617 - inherit (gnome) libIDL; 8618 - }; 8619 - 8620 - firefox36Wrapper = wrapFirefox { browser = firefox36Pkgs.firefox; }; 8621 - 8622 8600 firefox13Pkgs = callPackage ../applications/networking/browsers/firefox/13.0.nix { 8623 8601 inherit (gnome) libIDL; 8624 8602 }; 8625 8603 8626 8604 firefox13Wrapper = wrapFirefox { browser = firefox13Pkgs.firefox; }; 8627 8605 8628 - firefoxPkgs = callPackage ../applications/networking/browsers/firefox { 8606 + firefox = callPackage ../applications/networking/browsers/firefox { 8629 8607 inherit (gnome) libIDL; 8630 8608 inherit (pythonPackages) pysqlite; 8631 - libpng = libpng.override { apngSupport = true; }; 8632 8609 }; 8633 8610 8634 - firefoxWrapper = wrapFirefox { browser = firefoxPkgs.firefox; }; 8611 + firefoxWrapper = wrapFirefox { browser = pkgs.firefox; }; 8635 8612 8636 8613 firefox-bin = callPackage ../applications/networking/browsers/firefox-bin { 8637 8614 gconf = pkgs.gnome.GConf; ··· 8644 8621 8645 8622 flashplayer = callPackage ../applications/networking/browsers/mozilla-plugins/flashplayer-11 { 8646 8623 debug = config.flashplayer.debug or false; 8647 - # !!! Fix the dependency on two different builds of nss. 8648 8624 }; 8649 8625 8650 8626 freecad = callPackage ../applications/graphics/freecad { ··· 8748 8724 gmu = callPackage ../applications/audio/gmu { }; 8749 8725 8750 8726 gnash = callPackage ../applications/video/gnash { 8751 - xulrunner = firefoxPkgs.xulrunner; 8752 8727 inherit (gnome) gtkglext; 8753 8728 }; 8754 8729 ··· 9069 9044 9070 9045 lmms = callPackage ../applications/audio/lmms { }; 9071 9046 9047 + lrzsz = callPackage ../tools/misc/lrzsz { }; 9048 + 9072 9049 lxdvdrip = callPackage ../applications/video/lxdvdrip { }; 9073 9050 9074 9051 handbrake = callPackage ../applications/video/handbrake { }; ··· 9243 9220 }; 9244 9221 9245 9222 ruby_ncursesw_sup = callPackage ../development/libraries/ruby_ncursesw_sup { }; 9223 + 9224 + shotcut = callPackage ../applications/video/shotcut { mlt = mlt-qt5; }; 9246 9225 9247 9226 smplayer = callPackage ../applications/video/smplayer { }; 9248 9227 ··· 9541 9520 9542 9521 slrn = callPackage ../applications/networking/newsreaders/slrn { }; 9543 9522 9523 + spideroak = callPackage ../applications/networking/spideroak { }; 9524 + 9544 9525 ssvnc = callPackage ../applications/networking/remote/ssvnc { }; 9545 9526 9546 9527 st = callPackage ../applications/misc/st { ··· 9831 9812 flags = [ "python" "X11" ]; # only flag "X11" by now 9832 9813 }); 9833 9814 9815 + vimpc = callPackage ../applications/audio/vimpc { }; 9816 + 9834 9817 virtviewer = callPackage ../applications/virtualization/virt-viewer { 9835 9818 gtkvnc = gtkvnc.override { enableGTK3 = true; }; 9836 9819 spice_gtk = spice_gtk.override { enableGTK3 = true; }; ··· 10074 10057 10075 10058 zathura = zathuraCollection.zathuraWrapper; 10076 10059 10060 + zed = callPackage ../applications/editors/zed { }; 10061 + 10077 10062 zeroc_ice = callPackage ../development/libraries/zeroc-ice { }; 10078 10063 10079 10064 girara = callPackage ../applications/misc/girara { ··· 10168 10153 10169 10154 egoboo = callPackage ../games/egoboo { }; 10170 10155 10171 - exult = callPackage ../games/exult { 10172 - stdenv = overrideGCC stdenv gcc42; 10173 - libpng = libpng12; 10174 - }; 10156 + exult = callPackage ../games/exult { }; 10175 10157 10176 10158 flightgear = callPackage ../games/flightgear { }; 10177 10159 ··· 10543 10525 10544 10526 kdeconnect = callPackage ../applications/misc/kdeconnect { }; 10545 10527 10546 - kdenlive = callPackage ../applications/video/kdenlive { }; 10528 + kdenlive = callPackage ../applications/video/kdenlive { mlt = mlt-qt4; }; 10547 10529 10548 10530 kdesvn = callPackage ../applications/version-management/kdesvn { }; 10549 10531 ··· 10677 10659 10678 10660 arb = callPackage ../applications/science/biology/arb { 10679 10661 lesstif = lesstif93; 10680 - stdenv = overrideGCC stdenv gcc42; 10681 10662 }; 10682 10663 10683 10664 archimedes = callPackage ../applications/science/electronics/archimedes { }; ··· 11035 11016 hplipWithPlugin = hplip.override { withPlugin = true; }; 11036 11017 11037 11018 # using the new configuration style proposal which is unstable 11038 - jack1d = callPackage ../misc/jackaudio/jack1.nix { }; 11019 + jack1 = callPackage ../misc/jackaudio/jack1.nix { }; 11039 11020 11040 - jackaudio = callPackage ../misc/jackaudio { }; 11021 + jack2 = callPackage ../misc/jackaudio { }; 11041 11022 11042 11023 keynav = callPackage ../tools/X11/keynav { }; 11043 11024 ··· 11355 11336 ); 11356 11337 11357 11338 zsnes = callPackage_i686 ../misc/emulators/zsnes { }; 11339 + 11340 + snes9x-gtk = callPackage ../misc/emulators/snes9x-gtk { }; 11358 11341 11359 11342 misc = import ../misc/misc.nix { inherit pkgs stdenv; }; 11360 11343
+3 -4
pkgs/top-level/haskell-packages.nix
··· 1048 1048 1049 1049 hasteCompiler = callPackage ../development/libraries/haskell/haste-compiler {}; 1050 1050 1051 - hastePerch = callPackage ../development/libraries/haskell/haste-perch {}; 1052 - 1053 1051 hcltest = callPackage ../development/libraries/haskell/hcltest {}; 1054 1052 1055 1053 hedis = callPackage ../development/libraries/haskell/hedis {}; ··· 1259 1257 HUnit_1_2_5_1 = callPackage ../development/libraries/haskell/HUnit/1.2.5.1.nix {}; 1260 1258 HUnit_1_2_5_2 = callPackage ../development/libraries/haskell/HUnit/1.2.5.2.nix {}; 1261 1259 HUnit = self.HUnit_1_2_5_2; 1260 + 1261 + HUnitApprox = callPackage ../development/libraries/haskell/HUnit-approx {}; 1262 1262 1263 1263 hweblib = callPackage ../development/libraries/haskell/hweblib/default.nix {}; 1264 1264 ··· 1745 1745 parsec = self.parsec_3_1_5; 1746 1746 1747 1747 parsers_0_10_3 = callPackage ../development/libraries/haskell/parsers/0.10.3.nix {}; 1748 - parsers_0_11_0_3 = callPackage ../development/libraries/haskell/parsers/0.11.0.3.nix {}; 1749 1748 parsers_0_12 = callPackage ../development/libraries/haskell/parsers/0.12.nix {}; 1750 - parsers = self.parsers_0_11_0_3; # the new version breaks trifecta 1749 + parsers = self.parsers_0_12; 1751 1750 1752 1751 parsimony = callPackage ../development/libraries/haskell/parsimony {}; 1753 1752
+83 -1
pkgs/top-level/python-packages.nix
··· 2654 2654 sed -i "/use_setuptools/d" setup.py 2655 2655 ''; 2656 2656 2657 - buildInputs = [ pkgs.alsaLib pkgs.jackaudio ]; 2657 + buildInputs = [ pkgs.alsaLib pkgs.jack2 ]; 2658 2658 2659 2659 meta = with stdenv.lib; { 2660 2660 description = "A Python wrapper for the RtMidi C++ library written with Cython"; ··· 4606 4606 }); 4607 4607 4608 4608 4609 + nbxmpp = buildPythonPackage rec { 4610 + name = "nbxmpp-0.5"; 4611 + 4612 + src = fetchurl { 4613 + name = "${name}.tar.gz"; 4614 + url = "https://python-nbxmpp.gajim.org/downloads/5"; 4615 + sha256 = "0y270c9v4i9n58p4ghlm18h50qcfichmfkgcpqd3bypx4fkmdx90"; 4616 + }; 4617 + 4618 + meta = { 4619 + homepage = "https://python-nbxmpp.gajim.org/"; 4620 + description = "Non-blocking Jabber/XMPP module"; 4621 + license = stdenv.lib.licenses.gpl3; 4622 + }; 4623 + }; 4624 + 4625 + 4609 4626 netaddr = buildPythonPackage rec { 4610 4627 name = "netaddr-0.7.5"; 4611 4628 ··· 5217 5234 }; 5218 5235 }; 5219 5236 5237 + pbr = buildPythonPackage rec { 5238 + name = "pbr-0.9.0"; 5239 + 5240 + src = fetchurl { 5241 + url = "https://pypi.python.org/packages/source/p/pbr/${name}.tar.gz"; 5242 + sha256 = "e5a57c434b1faa509a00bf458d2c7af965199d9cced3d05a547bff9880f7e8cb"; 5243 + }; 5244 + 5245 + # pip depend on $HOME setting 5246 + preConfigure = "export HOME=$TMPDIR"; 5247 + 5248 + doCheck = false; 5249 + 5250 + buildInputs = [ pip ]; 5251 + 5252 + meta = { 5253 + description = "Python Build Reasonableness"; 5254 + homepage = "http://docs.openstack.org/developer/pbr/"; 5255 + license = licenses.asl20; 5256 + }; 5257 + }; 5258 + 5220 5259 pep8 = buildPythonPackage rec { 5221 5260 name = "pep8-${version}"; 5222 5261 version = "1.5.7"; ··· 7135 7174 }; 7136 7175 }; 7137 7176 7177 + stevedore = buildPythonPackage rec { 7178 + name = "stevedore-0.15"; 7179 + 7180 + src = fetchurl { 7181 + url = "http://pypi.python.org/packages/source/s/stevedore/${name}.tar.gz"; 7182 + sha256 = "bec9269cbfa58de4f0849ec79bb7d54eeeed9df8b5fbfa1637fbc68062822847"; 7183 + }; 7184 + 7185 + buildInputs = [ pbr pip ]; 7186 + 7187 + meta = { 7188 + description = "Manage dynamic plugins for Python applications"; 7189 + homepage = "https://pypi.python.org/pypi/stevedore"; 7190 + license = licenses.asl20; 7191 + }; 7192 + }; 7193 + 7138 7194 pydns = buildPythonPackage rec { 7139 7195 name = "pydns-2.3.6"; 7140 7196 ··· 8092 8148 platforms = platforms.all; 8093 8149 }; 8094 8150 }; 8151 + 8152 + virtualenvwrapper = buildPythonPackage (rec { 8153 + name = "virtualenvwrapper-4.3"; 8154 + 8155 + src = fetchurl { 8156 + url = "https://pypi.python.org/packages/source/v/virtualenvwrapper/${name}.tar.gz"; 8157 + sha256 = "514cbc22218347bf7b54bdbe49e1a5f550d2d53b1ad2491c10e91ddf48fb528f"; 8158 + }; 8159 + 8160 + # pip depend on $HOME setting 8161 + preConfigure = "export HOME=$TMPDIR"; 8162 + 8163 + buildInputs = [ pbr pip pkgs.which ]; 8164 + propagatedBuildInputs = [ stevedore virtualenv virtualenv-clone ]; 8165 + 8166 + patchPhase = '' 8167 + substituteInPlace "virtualenvwrapper.sh" --replace "which" "${pkgs.which}/bin/which" 8168 + substituteInPlace "virtualenvwrapper_lazy.sh" --replace "which" "${pkgs.which}/bin/which" 8169 + ''; 8170 + 8171 + meta = { 8172 + description = "Enhancements to virtualenv"; 8173 + homepage = "https://pypi.python.org/pypi/virtualenvwrapper"; 8174 + license = licenses.mit; 8175 + }; 8176 + }); 8095 8177 8096 8178 waitress = buildPythonPackage rec { 8097 8179 name = "waitress-0.8.7";
-1
pkgs/top-level/release-small.nix
··· 48 48 gcc = all; 49 49 gcc33 = linux; 50 50 gcc34 = linux; 51 - gcc42 = linux; 52 51 gcc44 = linux; 53 52 gcj = linux; 54 53 ghdl = linux;
-13
pkgs/top-level/release.nix
··· 98 98 drgeo = linux; 99 99 ejabberd = linux; 100 100 elinks = linux; 101 - emacs23 = gtkSupported; 102 101 enscript = all; 103 102 eprover = linux; 104 103 evince = linux; ··· 116 115 gcc = linux; 117 116 gcc33 = linux; 118 117 gcc34 = linux; 119 - gcc42 = linux; 120 118 gcc44 = linux; 121 119 gcj = linux; 122 120 ghdl = linux; ··· 341 339 zip = all; 342 340 zsh = linux; 343 341 zsnes = ["i686-linux"]; 344 - 345 - emacs23Packages = { 346 - bbdb = linux; 347 - cedet = linux; 348 - emacsw3m = linux; 349 - emms = linux; 350 - jdee = linux; 351 - }; 352 - 353 - firefox36Pkgs.firefox = linux; 354 - firefoxPkgs.firefox = linux; 355 342 356 343 gnome = { 357 344 gnome_panel = linux;