lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

+2017 -322
+1
lib/maintainers.nix
··· 41 41 bodil = "Bodil Stokke <nix@bodil.org>"; 42 42 boothead = "Ben Ford <ben@perurbis.com>"; 43 43 bosu = "Boris Sukholitko <boriss@gmail.com>"; 44 + bramd = "Bram Duvigneau <bram@bramd.nl>"; 44 45 bstrik = "Berno Strik <dutchman55@gmx.com>"; 45 46 calrama = "Moritz Maxeiner <moritz@ucworks.org>"; 46 47 campadrenalin = "Philip Horger <campadrenalin@gmail.com>";
+3 -3
nixos/doc/manual/release-notes/rl-unstable.xml
··· 15 15 16 16 <para>Following new services were added since the last release: 17 17 18 - <!--<itemizedlist> 19 - 20 - </itemizedlist>--> 18 + <itemizedlist> 19 + <listitem><para><literal>brltty</literal></para></listitem> 20 + </itemizedlist> 21 21 </para> 22 22 23 23 <para>When upgrading from a previous release, please be aware of the
+1 -1
nixos/modules/installer/tools/nixos-install.sh
··· 263 263 264 264 265 265 # Ask the user to set a root password. 266 - if [ "$(chroot $mountPoint nix-instantiate --eval '<nixpkgs/nixos>' -A config.users.mutableUsers)" = true ] && [ -t 1 ] ; then 266 + if [ "$(chroot $mountPoint nix-instantiate --eval '<nixpkgs/nixos>' -A config.users.mutableUsers)" = true ] && [ -t 0 ] ; then 267 267 echo "setting root password..." 268 268 chroot $mountPoint /var/setuid-wrappers/passwd 269 269 fi
+2
nixos/modules/module-list.nix
··· 152 152 ./services/hardware/actkbd.nix 153 153 ./services/hardware/amd-hybrid-graphics.nix 154 154 ./services/hardware/bluetooth.nix 155 + ./services/hardware/brltty.nix 155 156 ./services/hardware/freefall.nix 156 157 ./services/hardware/nvidia-optimus.nix 157 158 ./services/hardware/pcscd.nix ··· 195 196 ./services/misc/gitolite.nix 196 197 ./services/misc/gpsd.nix 197 198 ./services/misc/ihaskell.nix 199 + ./services/misc/mbpfan.nix 198 200 ./services/misc/mediatomb.nix 199 201 ./services/misc/mesos-master.nix 200 202 ./services/misc/mesos-slave.nix
+42
nixos/modules/services/hardware/brltty.nix
··· 1 + { config, lib, pkgs, ... }: 2 + 3 + with lib; 4 + 5 + let 6 + cfg = config.services.brltty; 7 + 8 + stateDir = "/run/brltty"; 9 + 10 + pidFile = "${stateDir}/brltty.pid"; 11 + 12 + in { 13 + 14 + options = { 15 + 16 + services.brltty.enable = mkOption { 17 + type = types.bool; 18 + default = false; 19 + description = "Whether to enable the BRLTTY daemon."; 20 + }; 21 + 22 + }; 23 + 24 + config = mkIf cfg.enable { 25 + 26 + systemd.services.brltty = { 27 + description = "Braille console driver"; 28 + preStart = '' 29 + mkdir -p ${stateDir} 30 + ''; 31 + serviceConfig = { 32 + ExecStart = "${pkgs.brltty}/bin/brltty --pid-file=${pidFile}"; 33 + Type = "forking"; 34 + PIDFile = pidFile; 35 + }; 36 + before = [ "sysinit.target" ]; 37 + wantedBy = [ "sysinit.target" ]; 38 + }; 39 + 40 + }; 41 + 42 + }
+113
nixos/modules/services/misc/mbpfan.nix
··· 1 + { config, lib, pkgs, ... }: 2 + 3 + with lib; 4 + 5 + let 6 + cfg = config.services.mbpfan; 7 + verbose = if cfg.verbose then "v" else ""; 8 + 9 + in { 10 + options.services.mbpfan = { 11 + enable = mkOption { 12 + default = false; 13 + type = types.bool; 14 + description = '' 15 + Whether to enable the mbpfan daemon. 16 + ''; 17 + }; 18 + 19 + package = mkOption { 20 + default = pkgs.mbpfan; 21 + description = '' 22 + The package used for the mbpfan daemon. 23 + ''; 24 + }; 25 + 26 + minFanSpeed = mkOption { 27 + type = types.int; 28 + default = 2000; 29 + description = '' 30 + The minimum fan speed. 31 + ''; 32 + }; 33 + 34 + maxFanSpeed = mkOption { 35 + type = types.int; 36 + default = 6200; 37 + description = '' 38 + The maximum fan speed. 39 + ''; 40 + }; 41 + 42 + lowTemp = mkOption { 43 + type = types.int; 44 + default = 63; 45 + description = '' 46 + The low temperature. 47 + ''; 48 + }; 49 + 50 + highTemp = mkOption { 51 + type = types.int; 52 + default = 66; 53 + description = '' 54 + The high temperature. 55 + ''; 56 + }; 57 + 58 + maxTemp = mkOption { 59 + type = types.int; 60 + default = 86; 61 + description = '' 62 + The maximum temperature. 63 + ''; 64 + }; 65 + 66 + pollingInterval = mkOption { 67 + type = types.int; 68 + default = 7; 69 + description = '' 70 + The polling interval. 71 + ''; 72 + }; 73 + 74 + verbose = mkOption { 75 + type = types.bool; 76 + default = false; 77 + description = '' 78 + If true, sets the log level to verbose. 79 + ''; 80 + }; 81 + }; 82 + 83 + config = mkIf cfg.enable { 84 + boot.kernelModules = [ "coretemp" "applesmc" ]; 85 + 86 + environment = { 87 + etc."mbpfan.conf".text = '' 88 + [general] 89 + min_fan_speed = ${toString cfg.minFanSpeed} 90 + max_fan_speed = ${toString cfg.maxFanSpeed} 91 + low_temp = ${toString cfg.lowTemp} 92 + high_temp = ${toString cfg.highTemp} 93 + max_temp = ${toString cfg.maxTemp} 94 + polling_interval = ${toString cfg.pollingInterval} 95 + ''; 96 + systemPackages = [ cfg.package ]; 97 + }; 98 + 99 + systemd.services.mbpfan = { 100 + description = "A fan manager daemon for MacBook Pro"; 101 + wantedBy = [ "sysinit.target" ]; 102 + after = [ "syslog.target" "sysinit.target" ]; 103 + restartTriggers = [ config.environment.etc."mbpfan.conf".source ]; 104 + serviceConfig = { 105 + Type = "simple"; 106 + ExecStart = "${cfg.package}/bin/mbpfan -f${verbose}"; 107 + ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID"; 108 + PIDFile = "/var/run/mbpfan.pid"; 109 + Restart = "always"; 110 + }; 111 + }; 112 + }; 113 + }
+6 -1
nixos/modules/system/boot/networkd.nix
··· 132 132 commonNetworkOptions = { 133 133 134 134 enable = mkOption { 135 - default = false; 135 + default = true; 136 136 type = types.bool; 137 137 description = '' 138 138 Whether to manage network configuration using <command>systemd-network</command>. ··· 481 481 }; 482 482 }; 483 483 }; 484 + 485 + commonMatchText = def: '' 486 + [Match] 487 + ${attrsToSection def.matchConfig} 488 + ''; 484 489 485 490 linkToUnit = name: def: 486 491 { inherit (def) enable;
+63
nixos/modules/system/boot/systemd-lib.nix
··· 25 25 ln -s /dev/null $out/${shellEscape name} 26 26 ''; 27 27 28 + boolValues = [true false "yes" "no"]; 29 + 30 + digits = map toString (range 0 9); 31 + 32 + isByteFormat = s: 33 + let 34 + l = reverseList (stringToCharacters s); 35 + suffix = head l; 36 + nums = tail l; 37 + in elem suffix (["K" "M" "G" "T"] ++ digits) 38 + && all (num: elem num digits) nums; 39 + 40 + assertByteFormat = name: group: attr: 41 + optional (attr ? ${name} && ! isByteFormat attr.${name}) 42 + "Systemd ${group} field `${name}' must be in byte format [0-9]+[KMGT]."; 43 + 44 + hexChars = stringToCharacters "0123456789abcdefABCDEF"; 45 + 46 + isMacAddress = s: stringLength s == 17 47 + && flip all (splitString ":" s) (bytes: 48 + all (byte: elem byte hexChars) (stringToCharacters bytes) 49 + ); 50 + 51 + assertMacAddress = name: group: attr: 52 + optional (attr ? ${name} && ! isMacAddress attr.${name}) 53 + "Systemd ${group} field `${name}' must be a valid mac address."; 54 + 55 + 56 + assertValueOneOf = name: values: group: attr: 57 + optional (attr ? ${name} && !elem attr.${name} values) 58 + "Systemd ${group} field `${name}' cannot have value `${attr.${name}}'."; 59 + 60 + assertHasField = name: group: attr: 61 + optional (!(attr ? ${name})) 62 + "Systemd ${group} field `${name}' must exist."; 63 + 64 + assertRange = name: min: max: group: attr: 65 + optional (attr ? ${name} && !(min <= attr.${name} && max >= attr.${name})) 66 + "Systemd ${group} field `${name}' is outside the range [${toString min},${toString max}]"; 67 + 68 + assertOnlyFields = fields: group: attr: 69 + let badFields = filter (name: ! elem name fields) (attrNames attr); in 70 + optional (badFields != [ ]) 71 + "Systemd ${group} has extra fields [${concatStringsSep " " badFields}]."; 72 + 73 + checkUnitConfig = group: checks: v: 74 + let errors = concatMap (c: c group v) checks; in 75 + if errors == [] then true 76 + else builtins.trace (concatStringsSep "\n" errors) false; 77 + 78 + toOption = x: 79 + if x == true then "true" 80 + else if x == false then "false" 81 + else toString x; 82 + 83 + attrsToSection = as: 84 + concatStrings (concatLists (mapAttrsToList (name: value: 85 + map (x: '' 86 + ${name}=${toOption x} 87 + '') 88 + (if isList value then value else [value])) 89 + as)); 90 + 28 91 generateUnits = type: units: upstreamUnits: upstreamWants: 29 92 pkgs.runCommand "${type}-units" { preferLocalBuild = true; } '' 30 93 mkdir -p $out
+1 -50
nixos/modules/system/boot/systemd-unit-options.nix
··· 1 1 { config, lib }: 2 2 3 3 with lib; 4 + with import ./systemd-lib.nix { inherit config lib pkgs; }; 4 5 5 6 let 6 - 7 - boolValues = [true false "yes" "no"]; 8 - 9 - assertValueOneOf = name: values: group: attr: 10 - optional (attr ? ${name} && !elem attr.${name} values) 11 - "Systemd ${group} field `${name}' cannot have value `${attr.${name}}'."; 12 - 13 - assertHasField = name: group: attr: 14 - optional (!(attr ? ${name})) 15 - "Systemd ${group} field `${name}' must exist."; 16 - 17 - assertOnlyFields = fields: group: attr: 18 - let badFields = filter (name: ! elem name fields) (attrNames attr); in 19 - optional (badFields != [ ]) 20 - "Systemd ${group} has extra fields [${concatStringsSep " " badFields}]."; 21 - 22 - assertRange = name: min: max: group: attr: 23 - optional (attr ? ${name} && !(min <= attr.${name} && max >= attr.${name})) 24 - "Systemd ${group} field `${name}' is outside the range [${toString min},${toString max}]"; 25 - 26 - digits = map toString (range 0 9); 27 - 28 - isByteFormat = s: 29 - let 30 - l = reverseList (stringToCharacters s); 31 - suffix = head l; 32 - nums = tail l; 33 - in elem suffix (["K" "M" "G" "T"] ++ digits) 34 - && all (num: elem num digits) nums; 35 - 36 - assertByteFormat = name: group: attr: 37 - optional (attr ? ${name} && ! isByteFormat attr.${name}) 38 - "Systemd ${group} field `${name}' must be in byte format [0-9]+[KMGT]."; 39 - 40 - hexChars = stringToCharacters "0123456789abcdefABCDEF"; 41 - 42 - isMacAddress = s: stringLength s == 17 43 - && flip all (splitString ":" s) (bytes: 44 - all (byte: elem byte hexChars) (stringToCharacters bytes) 45 - ); 46 - 47 - assertMacAddress = name: group: attr: 48 - optional (attr ? ${name} && ! isMacAddress attr.${name}) 49 - "Systemd ${group} field `${name}' must be a valid mac address."; 50 - 51 - checkUnitConfig = group: checks: v: 52 - let errors = concatMap (c: c group v) checks; in 53 - if errors == [] then true 54 - else builtins.trace (concatStringsSep "\n" errors) false; 55 - 56 7 checkService = checkUnitConfig "Service" [ 57 8 (assertValueOneOf "Type" [ 58 9 "simple" "forking" "oneshot" "dbus" "notify" "idle"
-18
nixos/modules/system/boot/systemd.nix
··· 276 276 }; 277 277 }; 278 278 279 - toOption = x: 280 - if x == true then "true" 281 - else if x == false then "false" 282 - else toString x; 283 - 284 - attrsToSection = as: 285 - concatStrings (concatLists (mapAttrsToList (name: value: 286 - map (x: '' 287 - ${name}=${toOption x} 288 - '') 289 - (if isList value then value else [value])) 290 - as)); 291 - 292 279 commonUnitText = def: '' 293 280 [Unit] 294 281 ${attrsToSection def.unitConfig} ··· 368 355 ${attrsToSection def.automountConfig} 369 356 ''; 370 357 }; 371 - 372 - commonMatchText = def: '' 373 - [Match] 374 - ${attrsToSection def.matchConfig} 375 - ''; 376 358 377 359 in 378 360
+72 -44
pkgs/applications/audio/clementine/default.nix
··· 1 1 { stdenv, fetchurl, boost, cmake, gettext, gstreamer, gst_plugins_base 2 - , gst_plugins_good, gst_plugins_bad, gst_plugins_ugly, gst_ffmpeg 3 2 , liblastfm, qt4, taglib, fftw, glew, qjson, sqlite, libgpod, libplist 4 3 , usbmuxd, libmtp, gvfs, libcdio, protobuf, libspotify, qca2, pkgconfig 5 - , sparsehash, config, makeWrapper }: 4 + , sparsehash, config, makeWrapper, gst_plugins }: 5 + 6 + let 7 + version = "1.2.3"; 8 + 9 + withSpotify = config.clementine.spotify or false; 10 + 11 + wrappedExeName = "clementine"; 12 + 13 + wrapped = stdenv.mkDerivation { 14 + name = "clementine-wrapped-${version}"; 15 + 16 + src = fetchurl { 17 + url = https://github.com/clementine-player/Clementine/archive/1.2.3.tar.gz; 18 + sha256 = "1gx1109i4pylz6x7gvp4rdzc6dvh0w6in6hfbygw01d08l26bxbx"; 19 + }; 20 + 21 + patches = [ ./clementine-1.2.1-include-paths.patch ]; 6 22 7 - let withSpotify = config.clementine.spotify or false; 23 + buildInputs = [ 24 + boost 25 + cmake 26 + fftw 27 + gettext 28 + glew 29 + gst_plugins_base 30 + gstreamer 31 + gvfs 32 + libcdio 33 + libgpod 34 + liblastfm 35 + libmtp 36 + libplist 37 + pkgconfig 38 + protobuf 39 + qca2 40 + qjson 41 + qt4 42 + sparsehash 43 + sqlite 44 + taglib 45 + usbmuxd 46 + ]; 47 + 48 + enableParallelBuilding = true; 49 + }; 50 + 8 51 in 52 + 9 53 stdenv.mkDerivation { 10 - name = "clementine-1.2.3"; 54 + name = "clementine-${version}"; 11 55 12 - src = fetchurl { 13 - url = https://github.com/clementine-player/Clementine/archive/1.2.3.tar.gz; 14 - sha256 = "1gx1109i4pylz6x7gvp4rdzc6dvh0w6in6hfbygw01d08l26bxbx"; 15 - }; 56 + src = ./.; 16 57 17 - patches = 18 - [ 19 - ./clementine-1.2.1-include-paths.patch 20 - ./clementine-dbus-namespace.patch 21 - ]; 58 + patches = [ 59 + ./clementine-1.2.1-include-paths.patch 60 + ./clementine-dbus-namespace.patch 61 + ]; 22 62 23 63 buildInputs = [ 24 - boost 25 - cmake 26 - fftw 27 - gettext 28 - glew 29 - gst_plugins_base 30 - gst_plugins_good 31 - gst_plugins_ugly 32 - gst_ffmpeg 33 - gstreamer 34 - gvfs 35 - libcdio 36 - libgpod 37 - liblastfm 38 - libmtp 39 - libplist 64 + wrapped 40 65 makeWrapper 41 - pkgconfig 42 - protobuf 43 - qca2 44 - qjson 45 - qt4 46 - sparsehash 47 - sqlite 48 - taglib 49 - usbmuxd 50 - ] ++ stdenv.lib.optional withSpotify libspotify; 66 + ] ++ gst_plugins 67 + ++ stdenv.lib.optional withSpotify libspotify; 51 68 52 - enableParallelBuilding = true; 69 + installPhase = '' 70 + mkdir -p $out 71 + cp -a ${wrapped}/* $out 72 + chmod -R u+w-t $out 53 73 54 - postInstall = '' 55 - wrapProgram $out/bin/clementine \ 56 - --set GST_PLUGIN_SYSTEM_PATH "$GST_PLUGIN_SYSTEM_PATH" 74 + wrapProgram "$out/bin/${wrappedExeName}" \ 75 + --prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH" 57 76 ''; 77 + 78 + preferLocalBuild = true; 79 + dontPatchELF = true; 80 + dontStrip = true; 58 81 59 82 meta = with stdenv.lib; { 60 83 homepage = "http://www.clementine-player.org"; 61 - description = "A multiplatform music player"; 84 + description = "A multiplatform music player" 85 + + " (" 86 + + concatStrings (optionals (withSpotify) ["with spotify, "]) 87 + + "with gstreamer plugins: " 88 + + concatStrings (intersperse ", " (map (x: x.name) gst_plugins)) 89 + + ")"; 62 90 license = licenses.gpl3Plus; 63 91 platforms = platforms.linux; 64 92 maintainers = [ maintainers.ttuegel ];
+1 -1
pkgs/applications/editors/emacs-modes/rudel/default.nix
··· 22 22 23 23 meta = { 24 24 homepage = "http://rudel.sourceforge.net/"; 25 - description = "Rudel is a collaborative editing environment for GNU Emacs"; 25 + description = "A collaborative editing environment for GNU Emacs"; 26 26 license = "GPL"; 27 27 }; 28 28 }
+1 -1
pkgs/applications/editors/zed/default.nix
··· 79 79 ''; 80 80 81 81 meta = { 82 - description = "Zed is a fully offline-capable, open source, keyboard-focused, text and code editor for power users"; 82 + description = "A fully offline-capable, open source, keyboard-focused, text and code editor for power users"; 83 83 license = stdenv.lib.licenses.mit; 84 84 homepage = http://zedapp.org/; 85 85 maintainers = [ stdenv.lib.maintainers.matejc ];
+2 -2
pkgs/applications/misc/calibre/default.nix
··· 5 5 }: 6 6 7 7 stdenv.mkDerivation rec { 8 - name = "calibre-2.26.0"; 8 + name = "calibre-2.27.0"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://sourceforge/calibre/${name}.tar.xz"; 12 - sha256 = "0340cdxbdwvckmz3zygwx1wbn62wxap0545nsimpfq4ln7dcxrfw"; 12 + sha256 = "13id1r2q6alw4wzb4z0njkyr6lsmzs2fjp3cflqavx3qk25darv5"; 13 13 }; 14 14 15 15 inherit python;
+1 -1
pkgs/applications/misc/krename/default.nix
··· 12 12 13 13 meta = { 14 14 homepage = http://www.krename.net; 15 - description = "KRename is a powerful batch renamer for KDE"; 15 + description = "A powerful batch renamer for KDE"; 16 16 inherit (kdelibs.meta) platforms; 17 17 maintainers = [ stdenv.lib.maintainers.urkud ]; 18 18 };
+1 -1
pkgs/applications/misc/pwsafe/default.nix
··· 62 62 ''; 63 63 64 64 meta = with stdenv.lib; { 65 - description = "Password Safe is a password database utility"; 65 + description = "A password database utility"; 66 66 67 67 longDescription = '' 68 68 Password Safe is a password database utility. Like many other
+1 -1
pkgs/applications/networking/browsers/netsurf/libCSS.nix
··· 11 11 buildInputs = [pkgconfig libParserUtils libwapcaplet]; 12 12 13 13 meta = { 14 - description = "libCSS is a CSS parser and selection engine, written in C"; # used by netsurf 14 + description = "A CSS parser and selection engine, written in C"; # used by netsurf 15 15 homepage = http://www.netsurf-browser.org/projects/libcss/; 16 16 license = stdenv.lib.licenses.mit; 17 17 maintainers = [args.lib.maintainers.marcweber];
+1 -1
pkgs/applications/networking/browsers/netsurf/libParserUtils.nix
··· 11 11 buildInputs = [pkgconfig]; 12 12 13 13 meta = { 14 - description = "LibParserUtils is a library for building efficient parsers, written in C"; 14 + description = "A library for building efficient parsers, written in C"; 15 15 homepage = http://www.netsurf-browser.org/projects/libparserutils/; 16 16 license = stdenv.lib.licenses.mit; 17 17 maintainers = [args.lib.maintainers.marcweber];
+1 -1
pkgs/applications/networking/browsers/netsurf/libnsbmp.nix
··· 11 11 buildInputs = []; 12 12 13 13 meta = { 14 - description = "Libnsbmp is a decoding library for BMP and ICO image file formats"; # used by netsurf 14 + description = "A decoding library for BMP and ICO image file formats"; # used by netsurf 15 15 homepage = http://www.netsurf-browser.org/projects/libnsbmp/; 16 16 license = stdenv.lib.licenses.mit; 17 17 maintainers = [args.lib.maintainers.marcweber];
+1 -1
pkgs/applications/networking/browsers/netsurf/libnsgif.nix
··· 11 11 buildInputs = []; 12 12 13 13 meta = { 14 - description = "Libnsbmp is a decoding library for gif image file formats"; # used by netsurf 14 + description = "A decoding library for gif image file formats"; # used by netsurf 15 15 homepage = http://www.netsurf-browser.org/projects/libnsgif/; 16 16 license = stdenv.lib.licenses.mit; 17 17 maintainers = [args.lib.maintainers.marcweber];
+1 -1
pkgs/applications/networking/browsers/netsurf/libwapcaplet.nix
··· 13 13 buildInputs = []; 14 14 15 15 meta = { 16 - description = "LibWapcaplet is a string internment library, written in C"; 16 + description = "A string internment library, written in C"; 17 17 homepage = http://www.netsurf-browser.org/projects/libwapcaplet/; 18 18 license = stdenv.lib.licenses.mit; 19 19 maintainers = [args.lib.maintainers.marcweber];
+45
pkgs/applications/networking/cluster/pig/default.nix
··· 1 + { stdenv, fetchurl, makeWrapper, hadoop, jre, bash }: 2 + 3 + stdenv.mkDerivation rec { 4 + 5 + name = "pig-0.14.0"; 6 + 7 + src = fetchurl { 8 + url = "mirror://apache/pig/${name}/${name}.tar.gz"; 9 + sha256 = "183in34cj93ny3lhqyq76g9pjqgw1qlwakk5v6x847vrlkfndska"; 10 + 11 + }; 12 + 13 + buildInputs = [ makeWrapper ]; 14 + 15 + installPhase = '' 16 + mkdir -p $out 17 + mv * $out 18 + 19 + # no need for the windows batch script 20 + rm $out/bin/pig.cmd $out/bin/pig.py 21 + 22 + for n in $out/{bin,sbin}"/"*; do 23 + wrapProgram $n \ 24 + --prefix PATH : "${jre}/bin:${bash}/bin" \ 25 + --set JAVA_HOME "${jre}" --set HADOOP_PREFIX "${hadoop}" 26 + done 27 + ''; 28 + 29 + meta = with stdenv.lib; { 30 + homepage = "http://pig.apache.org/"; 31 + description = "High-level language for Apache Hadoop"; 32 + license = licenses.asl20; 33 + 34 + longDescription = '' 35 + Apache Pig is a platform for analyzing large data sets that consists of a 36 + high-level language for expressing data analysis programs, coupled with 37 + infrastructure for evaluating these programs. The salient property of Pig 38 + programs is that their structure is amenable to substantial parallelization, 39 + which in turns enables them to handle very large data sets. 40 + ''; 41 + 42 + platforms = platforms.linux; 43 + maintainers = [ maintainers.skeidel ]; 44 + }; 45 + }
+2 -2
pkgs/applications/networking/instant-messengers/blink/default.nix
··· 2 2 3 3 pythonPackages.buildPythonPackage rec { 4 4 name = "blink-${version}"; 5 - version = "1.2.2"; 5 + version = "1.3.0"; 6 6 7 7 src = fetchurl { 8 8 url = "http://download.ag-projects.com/BlinkQt/${name}.tar.gz"; 9 - sha256 = "0z7bhfz2775cm7c7s794s5ighp5q7fb6jn8dw025m49vlgqzr78c"; 9 + sha256 = "388a0ca72ad99087cd87b78a4c449f9c079117920bfc50d7843853b8f942d045"; 10 10 }; 11 11 12 12 patches = [ ./pythonpath.patch ];
+10 -1
pkgs/applications/office/calligra/default.nix
··· 32 32 NIX_CFLAGS_COMPILE = "-I${ilmbase}/include/OpenEXR"; 33 33 34 34 meta = { 35 - description = "Calligra Suite is a set of applications written to help you to accomplish your work. Calligra includes efficient and capable office components: Words for text processing, Sheets for computations, Stage for presentations, Plan for planning, Flow for flowcharts, Kexi for database creation, Krita for painting and raster drawing, and Karbon for vector graphics."; 35 + description = "A suite of productivity applications"; 36 + longDescription = '' 37 + Calligra Suite is a set of applications written to help 38 + you to accomplish your work. Calligra includes efficient 39 + and capable office components: Words for text processing, 40 + Sheets for computations, Stage for presentations, Plan for 41 + planning, Flow for flowcharts, Kexi for database creation, 42 + Krita for painting and raster drawing, and Karbon for 43 + vector graphics. 44 + ''; 36 45 homepage = http://calligra.org; 37 46 maintainers = with stdenv.lib.maintainers; [ urkud phreedom ]; 38 47 inherit (kdelibs.meta) platforms;
+1 -1
pkgs/applications/science/logic/yices/default.nix
··· 33 33 ''; 34 34 35 35 meta = { 36 - description = "Yices is a high-performance theorem prover and SMT solver"; 36 + description = "A high-performance theorem prover and SMT solver"; 37 37 homepage = "http://yices.csl.sri.com"; 38 38 license = stdenv.lib.licenses.unfreeRedistributable; 39 39 platforms = stdenv.lib.platforms.linux;
+1 -1
pkgs/applications/version-management/git-and-tools/stgit/default.nix
··· 25 25 26 26 meta = { 27 27 homepage = "http://procode.org/stgit/"; 28 - description = "StGit is a patch manager implemented on top of Git"; 28 + description = "A patch manager implemented on top of Git"; 29 29 license = "GPL"; 30 30 31 31 maintainers = with stdenv.lib.maintainers; [ simons the-kenny ];
+3 -3
pkgs/applications/version-management/git-and-tools/tig/default.nix
··· 3 3 }: 4 4 5 5 stdenv.mkDerivation rec { 6 - name = "tig-2.1"; 6 + name = "tig-2.1.1"; 7 7 8 8 src = fetchurl { 9 9 url = "http://jonas.nitro.dk/tig/releases/${name}.tar.gz"; 10 - sha256 = "1c1w6w39a1dwx4whrg0ga1mhrlz095hz875z7ajn6xgmhkv8fqih"; 10 + sha256 = "0bw5wivswwh7vx897q8xc2cqgkqhdzk8gh6fnav2kf34sngigiah"; 11 11 }; 12 12 13 13 buildInputs = [ ncurses asciidoc xmlto docbook_xsl readline git makeWrapper ]; ··· 31 31 meta = with stdenv.lib; { 32 32 homepage = "http://jonas.nitro.dk/tig/"; 33 33 description = "Text-mode interface for git"; 34 - maintainers = with maintainers; [ garbas bjornfor iElectric ]; 34 + maintainers = with maintainers; [ garbas bjornfor iElectric qknight ]; 35 35 license = licenses.gpl2; 36 36 platforms = platforms.unix; 37 37 };
+3 -3
pkgs/applications/version-management/smartgithg/default.nix
··· 7 7 }: 8 8 9 9 let 10 - the_version = "6_5_3"; 10 + the_version = "6_5_7"; 11 11 12 12 in 13 13 ··· 15 15 name = "smartgithg-${the_version}"; 16 16 17 17 src = fetchurl { 18 - url = "http://www.syntevo.com/download/smartgit/" + 18 + url = "http://www.syntevo.com/downloads/smartgit/" + 19 19 "smartgit-generic-${the_version}.tar.gz"; 20 - sha256 = "0hz1y29ipls58fizr27w6rbv7v7qbbc1h70xvjjd8c94k9ajmav9"; 20 + sha256 = "0db4dxp0dl173z9r8n25zdl1il240p751d2f77cw0nmyibik7q4l"; 21 21 }; 22 22 23 23 buildInputs = [
+1 -1
pkgs/applications/window-managers/i3/lock.nix
··· 20 20 ''; 21 21 22 22 meta = with stdenv.lib; { 23 - description = "i3lock is a simple screen locker like slock"; 23 + description = "A simple screen locker like slock"; 24 24 homepage = http://i3wm.org/i3lock/; 25 25 maintainers = with maintainers; [ garbas malyn ]; 26 26 license = licenses.bsd3;
+1 -1
pkgs/applications/window-managers/i3/status.nix
··· 15 15 installFlags = "PREFIX=\${out}"; 16 16 17 17 meta = { 18 - description = "i3 is a tiling window manager"; 18 + description = "A tiling window manager"; 19 19 homepage = http://i3wm.org; 20 20 maintainers = [ stdenv.lib.maintainers.garbas ]; 21 21 license = stdenv.lib.licenses.bsd3;
+1 -1
pkgs/data/documentation/zeal/default.nix
··· 36 36 enableParallelBuilding = true; 37 37 38 38 meta = { 39 - description = "Zeal is a simple offline API documentation browser"; 39 + description = "A simple offline API documentation browser"; 40 40 longDescription = '' 41 41 Zeal is a simple offline API documentation browser inspired by Dash (OS X 42 42 app), available for Linux and Windows.
+1 -1
pkgs/data/fonts/powerline-fonts/default.nix
··· 23 23 24 24 meta = with stdenv.lib; { 25 25 homepage = https://github.com/powerline/fonts; 26 - description = "Patched fonts for Powerline users."; 26 + description = "Patched fonts for Powerline users"; 27 27 longDescription = '' 28 28 Pre-patched and adjusted fonts for usage with the Powerline plugin. 29 29 '';
+2 -1
pkgs/data/misc/geolite-legacy/builder.sh
··· 16 16 cp "$src" "$dest" 17 17 done 18 18 19 - gunzip -v *.gz 19 + gzip -dv *.gz 20 + xz -dv *.xz
+9 -8
pkgs/data/misc/geolite-legacy/default.nix
··· 3 3 let 4 4 fetchDB = name: sha256: fetchurl { 5 5 inherit sha256; 6 - url = "https://geolite.maxmind.com/download/geoip/database/${name}.dat.gz"; 6 + url = "https://geolite.maxmind.com/download/geoip/database/${name}"; 7 7 }; 8 8 9 9 # Annoyingly, these files are updated without a change in URL. This means that ··· 13 13 stdenv.mkDerivation { 14 14 name = "geolite-legacy-${version}"; 15 15 16 - srcGeoIP = fetchDB "GeoLiteCountry/GeoIP" 16 + srcGeoIP = fetchDB "GeoLiteCountry/GeoIP.dat.gz" 17 17 "15c7j6yyjl0k42ij7smdz2j451y3hhfbmxwkx8kp5ja0afrlw41k"; 18 - srcGeoIPv6 = fetchDB "GeoIPv6" 18 + srcGeoIPv6 = fetchDB "GeoIPv6.dat.gz" 19 19 "0kz6yjprzqr2pi4rczbmw7489gdjzf957azahdqjai8fx0s5w93i"; 20 - srcGeoLiteCity = fetchDB "GeoLiteCity" 21 - "0lc696axcdgz7xrh9p6ac5aa7nlxfgngwyabjwqiwazz3wcmw05a"; 22 - srcGeoLiteCityv6 = fetchDB "GeoLiteCityv6-beta/GeoLiteCityv6" 20 + srcGeoLiteCity = fetchDB "GeoLiteCity.dat.xz" 21 + "1z40kfjwn90fln7nfnk5pwcn1wl9imw5jz6bcdy8yr552m2n31y7"; 22 + srcGeoLiteCityv6 = fetchDB "GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz" 23 23 "1k8sig8w43cdm19rpwndr1akj1d3mxl5sch60qbinjrb05l6xbgv"; 24 - srcGeoIPASNum = fetchDB "asnum/GeoIPASNum" 24 + srcGeoIPASNum = fetchDB "asnum/GeoIPASNum.dat.gz" 25 25 "0r4v2zs4alxb46kz679hw4w34s7n9pxw32wcfs5x4nhnq051y6ms"; 26 - srcGeoIPASNumv6 = fetchDB "asnum/GeoIPASNumv6" 26 + srcGeoIPASNumv6 = fetchDB "asnum/GeoIPASNumv6.dat.gz" 27 27 "04ciwh5gaxja4lzlsgbg1p7rkrhnn637m4nj9ld8sb36bl2ph6gc"; 28 28 29 29 meta = with stdenv.lib; { 30 + inherit version; 30 31 description = "GeoLite Legacy IP geolocation databases"; 31 32 homepage = https://geolite.maxmind.com/download/geoip; 32 33 license = with licenses; cc-by-sa-30;
+1 -1
pkgs/desktops/e19/econnman.nix
··· 14 14 ''; 15 15 16 16 meta = { 17 - description = "Econnman is a user interface for the connman network connection manager"; 17 + description = "A user interface for the connman network connection manager"; 18 18 homepage = http://enlightenment.org/; 19 19 maintainers = with stdenv.lib.maintainers; [ matejc tstrobel ]; 20 20 platforms = stdenv.lib.platforms.linux;
+1 -1
pkgs/desktops/kde-4.14/kdeedu/artikulate.nix
··· 3 3 buildInputs = [ kdelibs qt_gstreamer1 ]; 4 4 5 5 meta = { 6 - description = "Artikulate is a pronunciation learning program for KDE."; 6 + description = "A pronunciation learning program for KDE"; 7 7 }; 8 8 }
+35
pkgs/development/compilers/ats-extsolve/default.nix
··· 1 + { stdenv, fetchurl, ats2, python, z3, pkgconfig, json_c }: 2 + 3 + stdenv.mkDerivation { 4 + name = "ats-extsolve-0pre6a9b752"; 5 + 6 + buildInputs = [ python z3 ats2 pkgconfig json_c ]; 7 + 8 + src = fetchurl { 9 + url = "https://github.com/githwxi/ATS-Postiats-contrib/archive/6a9b752efb8af1e4f77213f9e81fc2b7fa050877.tar.gz"; 10 + sha256 = "1zz4fqjm1rdvpm0m0sdck6vx55iiqlk2p8z078fca2q9xyxqjkqd"; 11 + }; 12 + 13 + postUnpack = '' 14 + export PATSHOMERELOC="$PWD/$sourceRoot"; 15 + export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$PATSHOMERELOC" 16 + ''; 17 + 18 + patches = [ ./misc-fixes.patch ]; 19 + 20 + preBuild = "cd projects/MEDIUM/ATS-extsolve"; 21 + 22 + buildFlags = [ "setup" "patsolve" ]; 23 + 24 + installPhase = '' 25 + install -d -m755 $out/bin 26 + install -m755 patsolve $out/bin 27 + ''; 28 + 29 + meta = { 30 + platforms = ats2.meta.platforms; 31 + homepage = http://www.illtyped.com/projects/patsolve; 32 + description = "External Constraint-Solving for ATS2"; 33 + maintainer = [ stdenv.lib.maintainers.shlevy ]; 34 + }; 35 + }
+136
pkgs/development/compilers/ats-extsolve/misc-fixes.patch
··· 1 + From bfc7216250e666a59e304f3b7518f8b0bccccbae Mon Sep 17 00:00:00 2001 2 + From: Shea Levy <shea@shealevy.com> 3 + Date: Thu, 30 Apr 2015 16:50:47 -0400 4 + Subject: [PATCH] Add missing case in fprint_s2rt 5 + 6 + --- 7 + projects/MEDIUM/ATS-extsolve/constraint/constraint_s2rt.dats | 1 + 8 + 1 file changed, 1 insertion(+) 9 + 10 + diff --git a/projects/MEDIUM/ATS-extsolve/constraint/constraint_s2rt.dats b/projects/MEDIUM/ATS-extsolve/constraint/constraint_s2rt.dats 11 + index a841b5f..5bc28d7 100644 12 + --- a/projects/MEDIUM/ATS-extsolve/constraint/constraint_s2rt.dats 13 + +++ b/projects/MEDIUM/ATS-extsolve/constraint/constraint_s2rt.dats 14 + @@ -113,6 +113,7 @@ case+ s2t0 of 15 + | S2RTfun (args, ret) => fprint (out, "S2RTfun()") 16 + | S2RTtup () => fprint (out, "S2RTtup()") 17 + | S2RTerr () => fprint (out, "S2RTerr()") 18 + +| S2RTuninterp (str) => fprint! (out, "S2RTuninterp(", str, ")") 19 + // 20 + | S2RTignored () => fprint (out, "S2RTignored()") 21 + // 22 + From 9d4c7669d0d3bc8725648684391a2962ed5a922e Mon Sep 17 00:00:00 2001 23 + From: Shea Levy <shea@shealevy.com> 24 + Date: Thu, 30 Apr 2015 17:13:35 -0400 25 + Subject: [PATCH] ATS-extsolve: Get rid of verbose . overload 26 + 27 + --- 28 + projects/MEDIUM/ATS-extsolve/solving/solver.dats | 2 +- 29 + projects/MEDIUM/ATS-extsolve/solving/solver.sats | 6 ------ 30 + 2 files changed, 1 insertion(+), 7 deletions(-) 31 + 32 + diff --git a/projects/MEDIUM/ATS-extsolve/solving/solver.dats b/projects/MEDIUM/ATS-extsolve/solving/solver.dats 33 + index 8446cd5..f2f77b4 100644 34 + --- a/projects/MEDIUM/ATS-extsolve/solving/solver.dats 35 + +++ b/projects/MEDIUM/ATS-extsolve/solving/solver.dats 36 + @@ -250,7 +250,7 @@ end // end of [c3nstr_solve_main] 37 + implement c3nstr_solve (c3t, scripts, verbose) = let 38 + var env : smtenv 39 + val _ = smtenv_nil (env) 40 + - val () = env.verbose (verbose) 41 + + val () = smtenv_set_verbose(env, verbose) 42 + val () = 43 + case+ scripts of 44 + | list_nil () => () 45 + diff --git a/projects/MEDIUM/ATS-extsolve/solving/solver.sats b/projects/MEDIUM/ATS-extsolve/solving/solver.sats 46 + index e43a028..dae452c 100644 47 + --- a/projects/MEDIUM/ATS-extsolve/solving/solver.sats 48 + +++ b/projects/MEDIUM/ATS-extsolve/solving/solver.sats 49 + @@ -39,14 +39,8 @@ fun smtenv_load_scripts (env: &smtenv, scripts: List0(string)): void 50 + 51 + fun smtenv_get_solver (env: &smtenv): solver 52 + 53 + -fun smtenv_get_verbose (env: &smtenv): bool 54 + - 55 + -overload .verbose with smtenv_get_verbose 56 + - 57 + fun smtenv_set_verbose (env: &smtenv, verbose: bool): void 58 + 59 + -overload .verbose with smtenv_set_verbose 60 + - 61 + fun formula_cst (s2c: s2cst): formula 62 + 63 + (* ****** ****** *) 64 + From e3473a8d9dc7c56cda1111a439db7123254d00b4 Mon Sep 17 00:00:00 2001 65 + From: Shea Levy <shea@shealevy.com> 66 + Date: Thu, 30 Apr 2015 18:09:33 -0400 67 + Subject: [PATCH 1/2] solver_smt.dats: Don't use mapfree on linear list of 68 + non-linear values 69 + 70 + --- 71 + projects/MEDIUM/ATS-extsolve/solving/solver_smt.dats | 5 +++-- 72 + 1 file changed, 3 insertions(+), 2 deletions(-) 73 + 74 + diff --git a/projects/MEDIUM/ATS-extsolve/solving/solver_smt.dats b/projects/MEDIUM/ATS-extsolve/solving/solver_smt.dats 75 + index 04055b9..b49602d 100644 76 + --- a/projects/MEDIUM/ATS-extsolve/solving/solver_smt.dats 77 + +++ b/projects/MEDIUM/ATS-extsolve/solving/solver_smt.dats 78 + @@ -348,7 +348,7 @@ in 79 + // 80 + val () = assertloc (length(pairs) > 0) 81 + // 82 + - implement list_vt_mapfree$fopr<@(s2exp,s2exp)><formula>(x) = let 83 + + implement list_vt_map$fopr<@(s2exp,s2exp)><formula>(x) = let 84 + val (pf, fpf | Env) = $UN.ptr1_vtake{smtenv}(addr@ env) 85 + val met = formula_make (!Env, x.0) 86 + val bound = formula_make (!Env, x.1) 87 + @@ -362,7 +362,8 @@ in 88 + end 89 + // 90 + val assertions = 91 + - list_vt_mapfree<(s2exp,s2exp)><formula> (pairs) 92 + + list_vt_map<(s2exp,s2exp)><formula> (pairs) 93 + + val () = list_vt_free(pairs) 94 + // 95 + implement 96 + list_vt_fold$init<formula><formula> (x) = x 97 + 98 + From 50de956561e6bf43190d7efb385bb6da658f1637 Mon Sep 17 00:00:00 2001 99 + From: Shea Levy <shea@shealevy.com> 100 + Date: Thu, 30 Apr 2015 18:18:56 -0400 101 + Subject: [PATCH 2/2] ats-extsolve/main.dats: Don't use mapfree on linear list 102 + of non-linear values 103 + 104 + --- 105 + projects/MEDIUM/ATS-extsolve/main.dats | 7 ++++--- 106 + 1 file changed, 4 insertions(+), 3 deletions(-) 107 + 108 + diff --git a/projects/MEDIUM/ATS-extsolve/main.dats b/projects/MEDIUM/ATS-extsolve/main.dats 109 + index ac30ca0..930697d 100644 110 + --- a/projects/MEDIUM/ATS-extsolve/main.dats 111 + +++ b/projects/MEDIUM/ATS-extsolve/main.dats 112 + @@ -34,7 +34,7 @@ dynload "commarg.dats" 113 + 114 + (* ****** ****** *) 115 + 116 + -overload mapfree with list_vt_mapfree 117 + +overload map with list_vt_map 118 + overload filter with list_vt_filter 119 + 120 + (* ****** ****** *) 121 + @@ -56,12 +56,13 @@ implement main0 (argc, argv) = let 122 + | Script (s) => true 123 + | _ =>> false 124 + implement 125 + - list_vt_mapfree$fopr<commarg><string> (x) = 126 + + list_vt_map$fopr<commarg><string> (x) = 127 + case- x of 128 + | Script (s) => s 129 + // 130 + val scriptargs = filter (list_vt_copy (args)) 131 + - val scripts = mapfree<commarg><string> (scriptargs) 132 + + val scripts = map<commarg><string> (scriptargs) 133 + + val () = list_vt_free (scriptargs) 134 + // 135 + implement 136 + list_find$pred<commarg> (x) =
+2
pkgs/development/compilers/ats2/default.nix
··· 11 11 12 12 buildInputs = [ gmp ]; 13 13 14 + setupHook = ./setup-hook.sh; 15 + 14 16 meta = { 15 17 description = "Functional programming language with dependent types"; 16 18 homepage = "http://www.ats-lang.org";
+1
pkgs/development/compilers/ats2/setup-hook.sh
··· 1 + export PATSHOME=@out@/lib/ats2-postiats-@version@
+1 -1
pkgs/development/compilers/elm/elm-compiler.nix
··· 27 27 ]; 28 28 meta = { 29 29 homepage = "http://elm-lang.org"; 30 - description = "Values to help with elm-package, elm-make, and elm-lang.org."; 30 + description = "Values to help with elm-package, elm-make, and elm-lang.org"; 31 31 license = self.stdenv.lib.licenses.bsd3; 32 32 platforms = self.ghc.meta.platforms; 33 33 };
+255
pkgs/development/compilers/gcc/5.1/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 + if test "$staticCompiler" = "1"; then 9 + EXTRA_LDFLAGS="-static" 10 + else 11 + EXTRA_LDFLAGS="" 12 + fi 13 + 14 + # GCC interprets empty paths as ".", which we don't want. 15 + if test -z "$CPATH"; then unset CPATH; fi 16 + if test -z "$LIBRARY_PATH"; then unset LIBRARY_PATH; fi 17 + echo "\$CPATH is \`$CPATH'" 18 + echo "\$LIBRARY_PATH is \`$LIBRARY_PATH'" 19 + 20 + if test "$noSysDirs" = "1"; then 21 + 22 + if test -e $NIX_CC/nix-support/orig-libc; then 23 + 24 + # Figure out what extra flags to pass to the gcc compilers 25 + # being generated to make sure that they use our glibc. 26 + extraFlags="$(cat $NIX_CC/nix-support/libc-cflags)" 27 + extraLDFlags="$(cat $NIX_CC/nix-support/libc-ldflags) $(cat $NIX_CC/nix-support/libc-ldflags-before)" 28 + 29 + # Use *real* header files, otherwise a limits.h is generated 30 + # that does not include Glibc's limits.h (notably missing 31 + # SSIZE_MAX, which breaks the build). 32 + export NIX_FIXINC_DUMMY=$(cat $NIX_CC/nix-support/orig-libc)/include 33 + 34 + # The path to the Glibc binaries such as `crti.o'. 35 + glibc_libdir="$(cat $NIX_CC/nix-support/orig-libc)/lib" 36 + 37 + else 38 + # Hack: support impure environments. 39 + extraFlags="-isystem /usr/include" 40 + extraLDFlags="-L/usr/lib64 -L/usr/lib" 41 + glibc_libdir="/usr/lib" 42 + export NIX_FIXINC_DUMMY=/usr/include 43 + fi 44 + 45 + extraFlags="-I$NIX_FIXINC_DUMMY $extraFlags" 46 + extraLDFlags="-L$glibc_libdir -rpath $glibc_libdir $extraLDFlags" 47 + 48 + # BOOT_CFLAGS defaults to `-g -O2'; since we override it below, 49 + # make sure to explictly add them so that files compiled with the 50 + # bootstrap compiler are optimized and (optionally) contain 51 + # debugging information (info "(gccinstall) Building"). 52 + if test -n "$dontStrip"; then 53 + extraFlags="-O2 -g $extraFlags" 54 + else 55 + # Don't pass `-g' at all; this saves space while building. 56 + extraFlags="-O2 $extraFlags" 57 + fi 58 + 59 + EXTRA_FLAGS="$extraFlags" 60 + for i in $extraLDFlags; do 61 + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,$i" 62 + done 63 + 64 + if test -n "$targetConfig"; then 65 + # Cross-compiling, we need gcc not to read ./specs in order to build 66 + # the g++ compiler (after the specs for the cross-gcc are created). 67 + # Having LIBRARY_PATH= makes gcc read the specs from ., and the build 68 + # breaks. Having this variable comes from the default.nix code to bring 69 + # gcj in. 70 + unset LIBRARY_PATH 71 + unset CPATH 72 + if test -z "$crossStageStatic"; then 73 + EXTRA_TARGET_CFLAGS="-B${libcCross}/lib -idirafter ${libcCross}/include" 74 + EXTRA_TARGET_LDFLAGS="-Wl,-L${libcCross}/lib -Wl,-rpath,${libcCross}/lib -Wl,-rpath-link,${libcCross}/lib" 75 + fi 76 + else 77 + if test -z "$NIX_CC_CROSS"; then 78 + EXTRA_TARGET_CFLAGS="$EXTRA_FLAGS" 79 + EXTRA_TARGET_CXXFLAGS="$EXTRA_FLAGS" 80 + EXTRA_TARGET_LDFLAGS="$EXTRA_LDFLAGS" 81 + else 82 + # This the case of cross-building the gcc. 83 + # We need special flags for the target, different than those of the build 84 + # Assertion: 85 + test -e $NIX_CC_CROSS/nix-support/orig-libc 86 + 87 + # Figure out what extra flags to pass to the gcc compilers 88 + # being generated to make sure that they use our glibc. 89 + extraFlags="$(cat $NIX_CC_CROSS/nix-support/libc-cflags)" 90 + extraLDFlags="$(cat $NIX_CC_CROSS/nix-support/libc-ldflags) $(cat $NIX_CC_CROSS/nix-support/libc-ldflags-before)" 91 + 92 + # Use *real* header files, otherwise a limits.h is generated 93 + # that does not include Glibc's limits.h (notably missing 94 + # SSIZE_MAX, which breaks the build). 95 + NIX_FIXINC_DUMMY_CROSS=$(cat $NIX_CC_CROSS/nix-support/orig-libc)/include 96 + 97 + # The path to the Glibc binaries such as `crti.o'. 98 + glibc_dir="$(cat $NIX_CC_CROSS/nix-support/orig-libc)" 99 + glibc_libdir="$glibc_dir/lib" 100 + configureFlags="$configureFlags --with-native-system-header-dir=$glibc_dir/include" 101 + 102 + extraFlags="-I$NIX_FIXINC_DUMMY_CROSS $extraFlags" 103 + extraLDFlags="-L$glibc_libdir -rpath $glibc_libdir $extraLDFlags" 104 + 105 + EXTRA_TARGET_CFLAGS="$extraFlags" 106 + for i in $extraLDFlags; do 107 + EXTRA_TARGET_LDFLAGS="$EXTRA_TARGET_LDFLAGS -Wl,$i" 108 + done 109 + fi 110 + fi 111 + 112 + # CFLAGS_FOR_TARGET are needed for the libstdc++ configure script to find 113 + # the startfiles. 114 + # FLAGS_FOR_TARGET are needed for the target libraries to receive the -Bxxx 115 + # for the startfiles. 116 + makeFlagsArray+=( \ 117 + NATIVE_SYSTEM_HEADER_DIR="$NIX_FIXINC_DUMMY" \ 118 + SYSTEM_HEADER_DIR="$NIX_FIXINC_DUMMY" \ 119 + CFLAGS_FOR_BUILD="$EXTRA_FLAGS $EXTRA_LDFLAGS" \ 120 + CXXFLAGS_FOR_BUILD="$EXTRA_FLAGS $EXTRA_LDFLAGS" \ 121 + CFLAGS_FOR_TARGET="$EXTRA_TARGET_CFLAGS $EXTRA_TARGET_LDFLAGS" \ 122 + CXXFLAGS_FOR_TARGET="$EXTRA_TARGET_CFLAGS $EXTRA_TARGET_LDFLAGS" \ 123 + FLAGS_FOR_TARGET="$EXTRA_TARGET_CFLAGS $EXTRA_TARGET_LDFLAGS" \ 124 + LDFLAGS_FOR_BUILD="$EXTRA_FLAGS $EXTRA_LDFLAGS" \ 125 + LDFLAGS_FOR_TARGET="$EXTRA_TARGET_LDFLAGS $EXTRA_TARGET_LDFLAGS" \ 126 + ) 127 + 128 + if test -z "$targetConfig"; then 129 + makeFlagsArray+=( \ 130 + BOOT_CFLAGS="$EXTRA_FLAGS $EXTRA_LDFLAGS" \ 131 + BOOT_LDFLAGS="$EXTRA_TARGET_CFLAGS $EXTRA_TARGET_LDFLAGS" \ 132 + ) 133 + fi 134 + 135 + if test -n "$targetConfig" -a "$crossStageStatic" == 1; then 136 + # We don't want the gcc build to assume there will be a libc providing 137 + # limits.h in this stagae 138 + makeFlagsArray+=( \ 139 + LIMITS_H_TEST=false \ 140 + ) 141 + else 142 + makeFlagsArray+=( \ 143 + LIMITS_H_TEST=true \ 144 + ) 145 + fi 146 + fi 147 + 148 + if test -n "$targetConfig"; then 149 + # The host strip will destroy some important details of the objects 150 + dontStrip=1 151 + fi 152 + 153 + providedPreConfigure="$preConfigure"; 154 + preConfigure() { 155 + if test -n "$newlibSrc"; then 156 + tar xvf "$newlibSrc" -C .. 157 + ln -s ../newlib-*/newlib newlib 158 + # Patch to get armvt5el working: 159 + sed -i -e 's/ arm)/ arm*)/' newlib/configure.host 160 + fi 161 + 162 + # Bug - they packaged zlib 163 + if test -d "zlib"; then 164 + # This breaks the build without-headers, which should build only 165 + # the target libgcc as target libraries. 166 + # See 'configure:5370' 167 + rm -Rf zlib 168 + fi 169 + 170 + if test -f "$NIX_CC/nix-support/orig-libc"; then 171 + # Patch the configure script so it finds glibc headers. It's 172 + # important for example in order not to get libssp built, 173 + # because its functionality is in glibc already. 174 + glibc_headers="$(cat $NIX_CC/nix-support/orig-libc)/include" 175 + sed -i \ 176 + -e "s,glibc_header_dir=/usr/include,glibc_header_dir=$glibc_headers", \ 177 + gcc/configure 178 + fi 179 + 180 + if test -n "$crossMingw" -a -n "$crossStageStatic"; then 181 + mkdir -p ../mingw 182 + # --with-build-sysroot expects that: 183 + cp -R $libcCross/include ../mingw 184 + configureFlags="$configureFlags --with-build-sysroot=`pwd`/.." 185 + fi 186 + 187 + # Eval the preConfigure script from nix expression. 188 + eval "$providedPreConfigure" 189 + 190 + # Perform the build in a different directory. 191 + mkdir ../build 192 + cd ../build 193 + configureScript=../$sourceRoot/configure 194 + } 195 + 196 + 197 + postConfigure() { 198 + # Don't store the configure flags in the resulting executables. 199 + sed -e '/TOPLEVEL_CONFIGURE_ARGUMENTS=/d' -i Makefile 200 + } 201 + 202 + 203 + preInstall() { 204 + # Make ‘lib64’ a symlink to ‘lib’. 205 + if [ -n "$is64bit" -a -z "$enableMultilib" ]; then 206 + mkdir -p $out/lib 207 + ln -s lib $out/lib64 208 + fi 209 + } 210 + 211 + 212 + postInstall() { 213 + # Remove precompiled headers for now. They are very big and 214 + # probably not very useful yet. 215 + find $out/include -name "*.gch" -exec rm -rf {} \; -prune 216 + 217 + # Remove `fixincl' to prevent a retained dependency on the 218 + # previous gcc. 219 + rm -rf $out/libexec/gcc/*/*/install-tools 220 + rm -rf $out/lib/gcc/*/*/install-tools 221 + 222 + # More dependencies with the previous gcc or some libs (gccbug stores the build command line) 223 + rm -rf $out/bin/gccbug 224 + # Take out the bootstrap-tools from the rpath, as it's not needed at all having $out 225 + for i in $out/libexec/gcc/*/*/*; do 226 + if PREV_RPATH=`patchelf --print-rpath $i`; then 227 + patchelf --set-rpath `echo $PREV_RPATH | sed 's,:[^:]*bootstrap-tools/lib,,'` $i 228 + fi 229 + done 230 + 231 + # Get rid of some "fixed" header files 232 + rm -rf $out/lib/gcc/*/*/include/root 233 + 234 + # Replace hard links for i686-pc-linux-gnu-gcc etc. with symlinks. 235 + for i in $out/bin/*-gcc*; do 236 + if cmp -s $out/bin/gcc $i; then 237 + ln -sfn gcc $i 238 + fi 239 + done 240 + 241 + for i in $out/bin/c++ $out/bin/*-c++* $out/bin/*-g++*; do 242 + if cmp -s $out/bin/g++ $i; then 243 + ln -sfn g++ $i 244 + fi 245 + done 246 + 247 + # Disable RANDMMAP on grsec, which causes segfaults when using 248 + # precompiled headers. 249 + # See https://bugs.gentoo.org/show_bug.cgi?id=301299#c31 250 + paxmark r $out/libexec/gcc/*/*/{cc1,cc1plus} 251 + 252 + eval "$postInstallGhdl" 253 + } 254 + 255 + genericBuild
+526
pkgs/development/compilers/gcc/5.1/default.nix
··· 1 + { stdenv, fetchurl, noSysDirs 2 + , langC ? true, langCC ? true, langFortran ? false 3 + , langObjC ? stdenv.isDarwin 4 + , langObjCpp ? stdenv.isDarwin 5 + , langJava ? false 6 + , langAda ? false 7 + , langVhdl ? false 8 + , langGo ? false 9 + , profiledCompiler ? false 10 + , staticCompiler ? false 11 + , enableShared ? true 12 + , texinfo ? null 13 + , perl ? null # optional, for texi2pod (then pod2man); required for Java 14 + , gmp, mpfr, libmpc, gettext, which 15 + , libelf # optional, for link-time optimizations (LTO) 16 + , isl ? null # optional, for the Graphite optimization framework. 17 + , zlib ? null, boehmgc ? null 18 + , zip ? null, unzip ? null, pkgconfig ? null 19 + , gtk ? null, libart_lgpl ? null 20 + , libX11 ? null, libXt ? null, libSM ? null, libICE ? null, libXtst ? null 21 + , libXrender ? null, xproto ? null, renderproto ? null, xextproto ? null 22 + , libXrandr ? null, libXi ? null, inputproto ? null, randrproto ? null 23 + , x11Support ? langJava 24 + , gnatboot ? null 25 + , enableMultilib ? false 26 + , enablePlugin ? true # whether to support user-supplied plug-ins 27 + , name ? "gcc" 28 + , cross ? null 29 + , binutilsCross ? null 30 + , libcCross ? null 31 + , crossStageStatic ? true 32 + , gnat ? null 33 + , libpthread ? null, libpthreadCross ? null # required for GNU/Hurd 34 + , stripped ? true 35 + , gnused ? null 36 + }: 37 + 38 + assert langJava -> zip != null && unzip != null 39 + && zlib != null && boehmgc != null 40 + && perl != null; # for `--enable-java-home' 41 + assert langAda -> gnatboot != null; 42 + assert langVhdl -> gnat != null; 43 + 44 + # LTO needs libelf and zlib. 45 + assert libelf != null -> zlib != null; 46 + 47 + # Make sure we get GNU sed. 48 + assert stdenv.isDarwin -> gnused != null; 49 + 50 + # The go frontend is written in c++ 51 + assert langGo -> langCC; 52 + 53 + with stdenv.lib; 54 + with builtins; 55 + 56 + let version = "5.1.0"; 57 + 58 + # Whether building a cross-compiler for GNU/Hurd. 59 + crossGNU = cross != null && cross.config == "i586-pc-gnu"; 60 + 61 + enableParallelBuilding = true; 62 + 63 + patches = [ ] 64 + ++ optional (cross != null) ./libstdc++-target.patch 65 + ++ optional noSysDirs ./no-sys-dirs.patch 66 + # The GNAT Makefiles did not pay attention to CFLAGS_FOR_TARGET for its 67 + # target libraries and tools. 68 + ++ optional langAda ./gnat-cflags.patch 69 + ++ optional langFortran ./gfortran-driving.patch; 70 + 71 + javaEcj = fetchurl { 72 + # The `$(top_srcdir)/ecj.jar' file is automatically picked up at 73 + # `configure' time. 74 + 75 + # XXX: Eventually we might want to take it from upstream. 76 + url = "ftp://sourceware.org/pub/java/ecj-4.3.jar"; 77 + sha256 = "0jz7hvc0s6iydmhgh5h2m15yza7p2rlss2vkif30vm9y77m97qcx"; 78 + }; 79 + 80 + # Antlr (optional) allows the Java `gjdoc' tool to be built. We want a 81 + # binary distribution here to allow the whole chain to be bootstrapped. 82 + javaAntlr = fetchurl { 83 + url = http://www.antlr.org/download/antlr-4.4-complete.jar; 84 + sha256 = "02lda2imivsvsis8rnzmbrbp8rh1kb8vmq4i67pqhkwz7lf8y6dz"; 85 + }; 86 + 87 + xlibs = [ 88 + libX11 libXt libSM libICE libXtst libXrender libXrandr libXi 89 + xproto renderproto xextproto inputproto randrproto 90 + ]; 91 + 92 + javaAwtGtk = langJava && x11Support; 93 + 94 + /* Platform flags */ 95 + platformFlags = let 96 + gccArch = stdenv.platform.gcc.arch or null; 97 + gccCpu = stdenv.platform.gcc.cpu or null; 98 + gccAbi = stdenv.platform.gcc.abi or null; 99 + gccFpu = stdenv.platform.gcc.fpu or null; 100 + gccFloat = stdenv.platform.gcc.float or null; 101 + gccMode = stdenv.platform.gcc.mode or null; 102 + withArch = if gccArch != null then " --with-arch=${gccArch}" else ""; 103 + withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else ""; 104 + withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else ""; 105 + withFpu = if gccFpu != null then " --with-fpu=${gccFpu}" else ""; 106 + withFloat = if gccFloat != null then " --with-float=${gccFloat}" else ""; 107 + withMode = if gccMode != null then " --with-mode=${gccMode}" else ""; 108 + in 109 + withArch + 110 + withCpu + 111 + withAbi + 112 + withFpu + 113 + withFloat + 114 + withMode; 115 + 116 + /* Cross-gcc settings */ 117 + crossMingw = cross != null && cross.libc == "msvcrt"; 118 + crossDarwin = cross != null && cross.libc == "libSystem"; 119 + crossConfigureFlags = let 120 + gccArch = stdenv.cross.gcc.arch or null; 121 + gccCpu = stdenv.cross.gcc.cpu or null; 122 + gccAbi = stdenv.cross.gcc.abi or null; 123 + gccFpu = stdenv.cross.gcc.fpu or null; 124 + gccFloat = stdenv.cross.gcc.float or null; 125 + gccMode = stdenv.cross.gcc.mode or null; 126 + withArch = if gccArch != null then " --with-arch=${gccArch}" else ""; 127 + withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else ""; 128 + withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else ""; 129 + withFpu = if gccFpu != null then " --with-fpu=${gccFpu}" else ""; 130 + withFloat = if gccFloat != null then " --with-float=${gccFloat}" else ""; 131 + withMode = if gccMode != null then " --with-mode=${gccMode}" else ""; 132 + in 133 + "--target=${cross.config}" + 134 + withArch + 135 + withCpu + 136 + withAbi + 137 + withFpu + 138 + withFloat + 139 + withMode + 140 + (if crossMingw && crossStageStatic then 141 + " --with-headers=${libcCross}/include" + 142 + " --with-gcc" + 143 + " --with-gnu-as" + 144 + " --with-gnu-ld" + 145 + " --with-gnu-ld" + 146 + " --disable-shared" + 147 + " --disable-nls" + 148 + " --disable-debug" + 149 + " --enable-sjlj-exceptions" + 150 + " --enable-threads=win32" + 151 + " --disable-win32-registry" 152 + else if crossStageStatic then 153 + " --disable-libssp --disable-nls" + 154 + " --without-headers" + 155 + " --disable-threads " + 156 + " --disable-libmudflap " + 157 + " --disable-libgomp " + 158 + " --disable-libquadmath" + 159 + " --disable-shared" + 160 + " --disable-libatomic " + # libatomic requires libc 161 + " --disable-decimal-float" # libdecnumber requires libc 162 + else 163 + (if crossDarwin then " --with-sysroot=${libcCross}/share/sysroot" 164 + else " --with-headers=${libcCross}/include") + 165 + # Ensure that -print-prog-name is able to find the correct programs. 166 + (stdenv.lib.optionalString (crossMingw || crossDarwin) ( 167 + " --with-as=${binutilsCross}/bin/${cross.config}-as" + 168 + " --with-ld=${binutilsCross}/bin/${cross.config}-ld" 169 + )) + 170 + " --enable-__cxa_atexit" + 171 + " --enable-long-long" + 172 + (if crossMingw then 173 + " --enable-threads=win32" + 174 + " --enable-sjlj-exceptions" + 175 + " --enable-hash-synchronization" + 176 + " --disable-libssp" + 177 + " --disable-nls" + 178 + " --with-dwarf2" + 179 + # I think noone uses shared gcc libs in mingw, so we better do the same. 180 + # In any case, mingw32 g++ linking is broken by default with shared libs, 181 + # unless adding "-lsupc++" to any linking command. I don't know why. 182 + " --disable-shared" + 183 + # To keep ABI compatibility with upstream mingw-w64 184 + " --enable-fully-dynamic-string" 185 + else (if cross.libc == "uclibc" then 186 + # In uclibc cases, libgomp needs an additional '-ldl' 187 + # and as I don't know how to pass it, I disable libgomp. 188 + " --disable-libgomp" else "") + 189 + " --enable-threads=posix" + 190 + " --enable-nls" + 191 + " --disable-decimal-float") # No final libdecnumber (it may work only in 386) 192 + ); 193 + stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final"; 194 + crossNameAddon = if cross != null then "-${cross.config}" + stageNameAddon else ""; 195 + 196 + bootstrap = cross == null && !stdenv.isArm && !stdenv.isMips; 197 + 198 + in 199 + 200 + # We need all these X libraries when building AWT with GTK+. 201 + assert x11Support -> (filter (x: x == null) ([ gtk libart_lgpl ] ++ xlibs)) == []; 202 + 203 + stdenv.mkDerivation ({ 204 + name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon; 205 + 206 + builder = ./builder.sh; 207 + 208 + src = fetchurl { 209 + url = "mirror://gnu/gcc/gcc-${version}/gcc-${version}.tar.bz2"; 210 + sha256 = "1bd5vj4px3s8nlakbgrh38ynxq4s654m6nxz7lrj03mvkkwgvnmp"; 211 + }; 212 + 213 + inherit patches; 214 + 215 + postPatch = 216 + if (stdenv.isGNU 217 + || (libcCross != null # e.g., building `gcc.crossDrv' 218 + && libcCross ? crossConfig 219 + && libcCross.crossConfig == "i586-pc-gnu") 220 + || (crossGNU && libcCross != null)) 221 + then 222 + # On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not 223 + # in glibc, so add the right `-I' flags to the default spec string. 224 + assert libcCross != null -> libpthreadCross != null; 225 + let 226 + libc = if libcCross != null then libcCross else stdenv.glibc; 227 + gnu_h = "gcc/config/gnu.h"; 228 + extraCPPDeps = 229 + libc.propagatedBuildInputs 230 + ++ stdenv.lib.optional (libpthreadCross != null) libpthreadCross 231 + ++ stdenv.lib.optional (libpthread != null) libpthread; 232 + extraCPPSpec = 233 + concatStrings (intersperse " " 234 + (map (x: "-I${x}/include") extraCPPDeps)); 235 + extraLibSpec = 236 + if libpthreadCross != null 237 + then "-L${libpthreadCross}/lib ${libpthreadCross.TARGET_LDFLAGS}" 238 + else "-L${libpthread}/lib"; 239 + in 240 + '' echo "augmenting \`CPP_SPEC' in \`${gnu_h}' with \`${extraCPPSpec}'..." 241 + sed -i "${gnu_h}" \ 242 + -es'|CPP_SPEC *"\(.*\)$|CPP_SPEC "${extraCPPSpec} \1|g' 243 + 244 + echo "augmenting \`LIB_SPEC' in \`${gnu_h}' with \`${extraLibSpec}'..." 245 + sed -i "${gnu_h}" \ 246 + -es'|LIB_SPEC *"\(.*\)$|LIB_SPEC "${extraLibSpec} \1|g' 247 + 248 + echo "setting \`NATIVE_SYSTEM_HEADER_DIR' and \`STANDARD_INCLUDE_DIR' to \`${libc}/include'..." 249 + sed -i "${gnu_h}" \ 250 + -es'|#define STANDARD_INCLUDE_DIR.*$|#define STANDARD_INCLUDE_DIR "${libc}/include"|g' 251 + '' 252 + else if cross != null || stdenv.cc.libc != null then 253 + # On NixOS, use the right path to the dynamic linker instead of 254 + # `/lib/ld*.so'. 255 + let 256 + libc = if libcCross != null then libcCross else stdenv.cc.libc; 257 + in 258 + '' echo "fixing the \`GLIBC_DYNAMIC_LINKER' and \`UCLIBC_DYNAMIC_LINKER' macros..." 259 + for header in "gcc/config/"*-gnu.h "gcc/config/"*"/"*.h 260 + do 261 + grep -q LIBC_DYNAMIC_LINKER "$header" || continue 262 + echo " fixing \`$header'..." 263 + sed -i "$header" \ 264 + -e 's|define[[:blank:]]*\([UCG]\+\)LIBC_DYNAMIC_LINKER\([0-9]*\)[[:blank:]]"\([^\"]\+\)"$|define \1LIBC_DYNAMIC_LINKER\2 "${libc}\3"|g' 265 + done 266 + '' 267 + else null; 268 + 269 + inherit noSysDirs staticCompiler langJava crossStageStatic 270 + libcCross crossMingw; 271 + 272 + nativeBuildInputs = [ texinfo which gettext ] 273 + ++ (optional (perl != null) perl) 274 + ++ (optional javaAwtGtk pkgconfig); 275 + 276 + buildInputs = [ gmp mpfr libmpc libelf ] 277 + ++ (optional (isl != null) isl) 278 + ++ (optional (zlib != null) zlib) 279 + ++ (optionals langJava [ boehmgc zip unzip ]) 280 + ++ (optionals javaAwtGtk ([ gtk libart_lgpl ] ++ xlibs)) 281 + ++ (optionals (cross != null) [binutilsCross]) 282 + ++ (optionals langAda [gnatboot]) 283 + ++ (optionals langVhdl [gnat]) 284 + 285 + # The builder relies on GNU sed (for instance, Darwin's `sed' fails with 286 + # "-i may not be used with stdin"), and `stdenvNative' doesn't provide it. 287 + ++ (optional stdenv.isDarwin gnused) 288 + ; 289 + 290 + NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isSunOS "-lm -ldl"; 291 + 292 + preConfigure = stdenv.lib.optionalString (stdenv.isSunOS && stdenv.is64bit) '' 293 + export NIX_LDFLAGS=`echo $NIX_LDFLAGS | sed -e s~$prefix/lib~$prefix/lib/amd64~g` 294 + export LDFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $LDFLAGS_FOR_TARGET" 295 + export CXXFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CXXFLAGS_FOR_TARGET" 296 + export CFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CFLAGS_FOR_TARGET" 297 + '' + stdenv.lib.optionalString stdenv.isDarwin '' 298 + if SDKROOT=$(/usr/bin/xcrun --show-sdk-path); then 299 + configureFlagsArray+=(--with-native-system-header-dir=$SDKROOT/usr/include) 300 + makeFlagsArray+=( \ 301 + CFLAGS_FOR_BUILD=-F$SDKROOT/System/Library/Frameworks \ 302 + CFLAGS_FOR_TARGET=-F$SDKROOT/System/Library/Frameworks \ 303 + FLAGS_FOR_TARGET=-F$SDKROOT/System/Library/Frameworks \ 304 + ) 305 + fi 306 + ''; 307 + 308 + dontDisableStatic = true; 309 + 310 + configureFlags = " 311 + ${if stdenv.isSunOS then 312 + " --enable-long-long --enable-libssp --enable-threads=posix --disable-nls --enable-__cxa_atexit " + 313 + # On Illumos/Solaris GNU as is preferred 314 + " --with-gnu-as --without-gnu-ld " 315 + else ""} 316 + --enable-lto 317 + ${if enableMultilib then "--disable-libquadmath" else "--disable-multilib"} 318 + ${if enableShared then "" else "--disable-shared"} 319 + ${if enablePlugin then "--enable-plugin" else "--disable-plugin"} 320 + ${optionalString (isl != null) "--with-isl=${isl}"} 321 + ${if langJava then 322 + "--with-ecj-jar=${javaEcj} " + 323 + 324 + # Follow Sun's layout for the convenience of IcedTea/OpenJDK. See 325 + # <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-April/008888.html>. 326 + "--enable-java-home --with-java-home=\${prefix}/lib/jvm/jre " 327 + else ""} 328 + ${if javaAwtGtk then "--enable-java-awt=gtk" else ""} 329 + ${if langJava && javaAntlr != null then "--with-antlr-jar=${javaAntlr}" else ""} 330 + --with-gmp=${gmp} 331 + --with-mpfr=${mpfr} 332 + --with-mpc=${libmpc} 333 + ${if libelf != null then "--with-libelf=${libelf}" else ""} 334 + --disable-libstdcxx-pch 335 + --without-included-gettext 336 + --with-system-zlib 337 + --enable-static 338 + --enable-languages=${ 339 + concatStrings (intersperse "," 340 + ( optional langC "c" 341 + ++ optional langCC "c++" 342 + ++ optional langFortran "fortran" 343 + ++ optional langJava "java" 344 + ++ optional langAda "ada" 345 + ++ optional langVhdl "vhdl" 346 + ++ optional langGo "go" 347 + ++ optional langObjC "objc" 348 + ++ optional langObjCpp "obj-c++" 349 + ++ optionals crossDarwin [ "objc" "obj-c++" ] 350 + ) 351 + ) 352 + } 353 + ${if (stdenv ? glibc && cross == null) 354 + then " --with-native-system-header-dir=${stdenv.glibc}/include" 355 + else ""} 356 + ${if langAda then " --enable-libada" else ""} 357 + ${if cross == null && stdenv.isi686 then "--with-arch=i686" else ""} 358 + ${if cross != null then crossConfigureFlags else ""} 359 + ${if !bootstrap then "--disable-bootstrap" else ""} 360 + ${if cross == null then platformFlags else ""} 361 + "; 362 + 363 + targetConfig = if cross != null then cross.config else null; 364 + 365 + buildFlags = if bootstrap then 366 + (if profiledCompiler then "profiledbootstrap" else "bootstrap") 367 + else ""; 368 + 369 + installTargets = 370 + if stripped 371 + then "install-strip" 372 + else "install"; 373 + 374 + crossAttrs = let 375 + xgccArch = stdenv.cross.gcc.arch or null; 376 + xgccCpu = stdenv.cross.gcc.cpu or null; 377 + xgccAbi = stdenv.cross.gcc.abi or null; 378 + xgccFpu = stdenv.cross.gcc.fpu or null; 379 + xgccFloat = stdenv.cross.gcc.float or null; 380 + xwithArch = if xgccArch != null then " --with-arch=${xgccArch}" else ""; 381 + xwithCpu = if xgccCpu != null then " --with-cpu=${xgccCpu}" else ""; 382 + xwithAbi = if xgccAbi != null then " --with-abi=${xgccAbi}" else ""; 383 + xwithFpu = if xgccFpu != null then " --with-fpu=${xgccFpu}" else ""; 384 + xwithFloat = if xgccFloat != null then " --with-float=${xgccFloat}" else ""; 385 + in { 386 + AR = "${stdenv.cross.config}-ar"; 387 + LD = "${stdenv.cross.config}-ld"; 388 + CC = "${stdenv.cross.config}-gcc"; 389 + CXX = "${stdenv.cross.config}-gcc"; 390 + AR_FOR_TARGET = "${stdenv.cross.config}-ar"; 391 + LD_FOR_TARGET = "${stdenv.cross.config}-ld"; 392 + CC_FOR_TARGET = "${stdenv.cross.config}-gcc"; 393 + NM_FOR_TARGET = "${stdenv.cross.config}-nm"; 394 + CXX_FOR_TARGET = "${stdenv.cross.config}-g++"; 395 + # If we are making a cross compiler, cross != null 396 + NIX_CC_CROSS = if cross == null then "${stdenv.ccCross}" else ""; 397 + dontStrip = true; 398 + configureFlags = '' 399 + ${if enableMultilib then "" else "--disable-multilib"} 400 + ${if enableShared then "" else "--disable-shared"} 401 + ${if langJava then "--with-ecj-jar=${javaEcj.crossDrv}" else ""} 402 + ${if javaAwtGtk then "--enable-java-awt=gtk" else ""} 403 + ${if langJava && javaAntlr != null then "--with-antlr-jar=${javaAntlr.crossDrv}" else ""} 404 + --with-gmp=${gmp.crossDrv} 405 + --with-mpfr=${mpfr.crossDrv} 406 + --disable-libstdcxx-pch 407 + --without-included-gettext 408 + --with-system-zlib 409 + --enable-languages=${ 410 + concatStrings (intersperse "," 411 + ( optional langC "c" 412 + ++ optional langCC "c++" 413 + ++ optional langFortran "fortran" 414 + ++ optional langJava "java" 415 + ++ optional langAda "ada" 416 + ++ optional langVhdl "vhdl" 417 + ++ optional langGo "go" 418 + ) 419 + ) 420 + } 421 + ${if langAda then " --enable-libada" else ""} 422 + --target=${stdenv.cross.config} 423 + ${xwithArch} 424 + ${xwithCpu} 425 + ${xwithAbi} 426 + ${xwithFpu} 427 + ${xwithFloat} 428 + ''; 429 + buildFlags = ""; 430 + }; 431 + 432 + 433 + # Needed for the cross compilation to work 434 + AR = "ar"; 435 + LD = "ld"; 436 + # http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210 437 + CC = if stdenv.system == "x86_64-solaris" then "gcc -m64" else "gcc"; 438 + 439 + # Setting $CPATH and $LIBRARY_PATH to make sure both `gcc' and `xgcc' find 440 + # the library headers and binaries, regarless of the language being 441 + # compiled. 442 + 443 + # Note: When building the Java AWT GTK+ peer, the build system doesn't 444 + # honor `--with-gmp' et al., e.g., when building 445 + # `libjava/classpath/native/jni/java-math/gnu_java_math_GMP.c', so we just 446 + # add them to $CPATH and $LIBRARY_PATH in this case. 447 + # 448 + # Likewise, the LTO code doesn't find zlib. 449 + 450 + CPATH = concatStrings 451 + (intersperse ":" (map (x: x + "/include") 452 + (optionals (zlib != null) [ zlib ] 453 + ++ optionals langJava [ boehmgc ] 454 + ++ optionals javaAwtGtk xlibs 455 + ++ optionals javaAwtGtk [ gmp mpfr ] 456 + ++ optional (libpthread != null) libpthread 457 + ++ optional (libpthreadCross != null) libpthreadCross 458 + 459 + # On GNU/Hurd glibc refers to Mach & Hurd 460 + # headers. 461 + ++ optionals (libcCross != null && libcCross ? "propagatedBuildInputs" ) 462 + libcCross.propagatedBuildInputs))); 463 + 464 + LIBRARY_PATH = concatStrings 465 + (intersperse ":" (map (x: x + "/lib") 466 + (optionals (zlib != null) [ zlib ] 467 + ++ optionals langJava [ boehmgc ] 468 + ++ optionals javaAwtGtk xlibs 469 + ++ optionals javaAwtGtk [ gmp mpfr ] 470 + ++ optional (libpthread != null) libpthread))); 471 + 472 + EXTRA_TARGET_CFLAGS = 473 + if cross != null && libcCross != null 474 + then "-idirafter ${libcCross}/include" 475 + else null; 476 + 477 + EXTRA_TARGET_LDFLAGS = 478 + if cross != null && libcCross != null 479 + then "-B${libcCross}/lib -Wl,-L${libcCross}/lib" + 480 + (optionalString (libpthreadCross != null) 481 + " -L${libpthreadCross}/lib -Wl,${libpthreadCross.TARGET_LDFLAGS}") 482 + else null; 483 + 484 + passthru = 485 + { inherit langC langCC langObjC langObjCpp langAda langFortran langVhdl langGo version; isGNU = true; }; 486 + 487 + inherit enableParallelBuilding enableMultilib; 488 + 489 + inherit (stdenv) is64bit; 490 + 491 + meta = { 492 + homepage = http://gcc.gnu.org/; 493 + license = stdenv.lib.licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+ 494 + description = "GNU Compiler Collection, version ${version}" 495 + + (if stripped then "" else " (with debugging info)"); 496 + 497 + longDescription = '' 498 + The GNU Compiler Collection includes compiler front ends for C, C++, 499 + Objective-C, Fortran, OpenMP for C/C++/Fortran, Java, and Ada, as well 500 + as libraries for these languages (libstdc++, libgcj, libgomp,...). 501 + 502 + GCC development is a part of the GNU Project, aiming to improve the 503 + compiler used in the GNU system including the GNU/Linux variant. 504 + ''; 505 + 506 + maintainers = with stdenv.lib.maintainers; [ viric shlevy simons ]; 507 + 508 + # gnatboot is not available out of linux platforms, so we disable the darwin build 509 + # for the gnat (ada compiler). 510 + platforms = 511 + stdenv.lib.platforms.linux ++ 512 + stdenv.lib.platforms.freebsd ++ 513 + optionals (langAda == false) stdenv.lib.platforms.darwin; 514 + }; 515 + } 516 + 517 + // optionalAttrs (cross != null && cross.libc == "msvcrt" && crossStageStatic) { 518 + makeFlags = [ "all-gcc" "all-target-libgcc" ]; 519 + installTargets = "install-gcc install-target-libgcc"; 520 + } 521 + 522 + # Strip kills static libs of other archs (hence cross != null) 523 + // optionalAttrs (!stripped || cross != null) { dontStrip = true; NIX_STRIP_DEBUG = 0; } 524 + 525 + // optionalAttrs (enableMultilib) { dontMoveLib64 = true; } 526 + )
+20
pkgs/development/compilers/gcc/5.1/gfortran-driving.patch
··· 1 + This patch fixes interaction with Libtool. 2 + See <http://thread.gmane.org/gmane.comp.gcc.patches/258777>, for details. 3 + 4 + --- a/gcc/fortran/gfortranspec.c 5 + +++ b/gcc/fortran/gfortranspec.c 6 + @@ -461,8 +461,15 @@ For more information about these matters, see the file named COPYING\n\n")); 7 + { 8 + fprintf (stderr, _("Driving:")); 9 + for (i = 0; i < g77_newargc; i++) 10 + + { 11 + + if (g77_new_decoded_options[i].opt_index == OPT_l) 12 + + /* Make sure no white space is inserted after `-l'. */ 13 + + fprintf (stderr, " -l%s", 14 + + g77_new_decoded_options[i].canonical_option[1]); 15 + + else 16 + fprintf (stderr, " %s", 17 + g77_new_decoded_options[i].orig_option_with_args_text); 18 + + } 19 + fprintf (stderr, "\n"); 20 + }
+33
pkgs/development/compilers/gcc/5.1/gnat-cflags.patch
··· 1 + diff --git a/libada/Makefile.in b/libada/Makefile.in 2 + index f5057a0..337e0c6 100644 3 + --- a/libada/Makefile.in 4 + +++ b/libada/Makefile.in 5 + @@ -55,7 +55,7 @@ GCC_WARN_CFLAGS = $(LOOSE_WARN) 6 + WARN_CFLAGS = @warn_cflags@ 7 + 8 + TARGET_LIBGCC2_CFLAGS= 9 + -GNATLIBCFLAGS= -g -O2 10 + +GNATLIBCFLAGS= -g -O2 $(CFLAGS) 11 + GNATLIBCFLAGS_FOR_C = $(GNATLIBCFLAGS) $(TARGET_LIBGCC2_CFLAGS) -fexceptions \ 12 + -DIN_RTS @have_getipinfo@ 13 + 14 + --- a/gcc/ada/gcc-interface/Makefile.in 15 + +++ b/gcc/ada/gcc-interface/Makefile.in 16 + @@ -105,7 +105,7 @@ ADAFLAGS = -W -Wall -gnatpg -gnata 17 + SOME_ADAFLAGS =-gnata 18 + FORCE_DEBUG_ADAFLAGS = -g 19 + GNATLIBFLAGS = -gnatpg -nostdinc 20 + -GNATLIBCFLAGS = -g -O2 21 + +GNATLIBCFLAGS = -g -O2 $(CFLAGS_FOR_TARGET) 22 + # Pretend that _Unwind_GetIPInfo is available for the target by default. This 23 + # should be autodetected during the configuration of libada and passed down to 24 + # here, but we need something for --disable-libada and hope for the best. 25 + @@ -193,7 +193,7 @@ RTSDIR = rts$(subst /,_,$(MULTISUBDIR)) 26 + # Link flags used to build gnat tools. By default we prefer to statically 27 + # link with libgcc to avoid a dependency on shared libgcc (which is tricky 28 + # to deal with as it may conflict with the libgcc provided by the system). 29 + -GCC_LINK_FLAGS=-static-libgcc 30 + +GCC_LINK_FLAGS=-static-libgcc $(CFLAGS_FOR_TARGET) 31 + 32 + # End of variables for you to override. 33 +
+17
pkgs/development/compilers/gcc/5.1/java-jvgenmain-link.patch
··· 1 + The `jvgenmain' executable must be linked against `vec.o', among others, 2 + since it uses its vector API. 3 + 4 + --- gcc-4.3.3/gcc/java/Make-lang.in 2008-12-05 00:00:19.000000000 +0100 5 + +++ gcc-4.3.3/gcc/java/Make-lang.in 2009-07-03 16:11:41.000000000 +0200 6 + @@ -109,9 +109,9 @@ jcf-dump$(exeext): $(JCFDUMP_OBJS) $(LIB 7 + $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(JCFDUMP_OBJS) \ 8 + $(CPPLIBS) $(ZLIB) $(LDEXP_LIB) $(LIBS) 9 + 10 + -jvgenmain$(exeext): $(JVGENMAIN_OBJS) $(LIBDEPS) 11 + +jvgenmain$(exeext): $(JVGENMAIN_OBJS) $(LIBDEPS) $(BUILD_RTL) 12 + rm -f $@ 13 + - $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(JVGENMAIN_OBJS) $(LIBS) 14 + + $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(JVGENMAIN_OBJS) $(BUILD_RTL) $(LIBS) 15 + 16 + # 17 + # Build hooks:
+32
pkgs/development/compilers/gcc/5.1/libstdc++-target.patch
··· 1 + Patch to make the target libraries 'configure' scripts find the proper CPP. 2 + I noticed that building the mingw32 cross compiler. 3 + Looking at the build script for mingw in archlinux, I think that only nixos 4 + needs this patch. I don't know why. 5 + diff --git a/Makefile.in b/Makefile.in 6 + index 93f66b6..d691917 100644 7 + --- a/Makefile.in 8 + +++ b/Makefile.in 9 + @@ -266,6 +266,7 @@ BASE_TARGET_EXPORTS = \ 10 + AR="$(AR_FOR_TARGET)"; export AR; \ 11 + AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \ 12 + CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \ 13 + + CPP="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS -E"; export CC; \ 14 + CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 15 + CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \ 16 + CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \ 17 + @@ -291,11 +292,13 @@ BASE_TARGET_EXPORTS = \ 18 + RAW_CXX_TARGET_EXPORTS = \ 19 + $(BASE_TARGET_EXPORTS) \ 20 + CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \ 21 + - CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX; 22 + + CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX; \ 23 + + CXXCPP="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS -E"; export CXX; 24 + 25 + NORMAL_TARGET_EXPORTS = \ 26 + $(BASE_TARGET_EXPORTS) \ 27 + - CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX; 28 + + CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX; \ 29 + + CXXCPP="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS -E"; export CXX; 30 + 31 + # Where to find GMP 32 + HOST_GMPLIBS = @gmplibs@
+28
pkgs/development/compilers/gcc/5.1/no-sys-dirs.patch
··· 1 + diff -ru -x '*~' gcc-4.8.3-orig/gcc/cppdefault.c gcc-4.8.3/gcc/cppdefault.c 2 + --- gcc-4.8.3-orig/gcc/cppdefault.c 2013-01-10 21:38:27.000000000 +0100 3 + +++ gcc-4.8.3/gcc/cppdefault.c 2014-08-18 16:20:32.893944536 +0200 4 + @@ -35,6 +35,8 @@ 5 + # undef CROSS_INCLUDE_DIR 6 + #endif 7 + 8 + +#undef LOCAL_INCLUDE_DIR 9 + + 10 + const struct default_include cpp_include_defaults[] 11 + #ifdef INCLUDE_DEFAULTS 12 + = INCLUDE_DEFAULTS; 13 + diff -ru -x '*~' gcc-4.8.3-orig/gcc/gcc.c gcc-4.8.3/gcc/gcc.c 14 + --- gcc-4.8.3-orig/gcc/gcc.c 2014-03-23 12:30:57.000000000 +0100 15 + +++ gcc-4.8.3/gcc/gcc.c 2014-08-18 13:19:32.689201690 +0200 16 + @@ -1162,10 +1162,10 @@ 17 + /* Default prefixes to attach to command names. */ 18 + 19 + #ifndef STANDARD_STARTFILE_PREFIX_1 20 + -#define STANDARD_STARTFILE_PREFIX_1 "/lib/" 21 + +#define STANDARD_STARTFILE_PREFIX_1 "" 22 + #endif 23 + #ifndef STANDARD_STARTFILE_PREFIX_2 24 + -#define STANDARD_STARTFILE_PREFIX_2 "/usr/lib/" 25 + +#define STANDARD_STARTFILE_PREFIX_2 "" 26 + #endif 27 + 28 + #ifdef CROSS_DIRECTORY_STRUCTURE /* Don't use these prefixes for a cross compiler. */
+1 -1
pkgs/development/compilers/ghcjs/default.nix
··· 122 122 }; 123 123 124 124 homepage = "https://github.com/ghcjs/ghcjs"; 125 - description = "GHCJS is a Haskell to JavaScript compiler that uses the GHC API"; 125 + description = "A Haskell to JavaScript compiler that uses the GHC API"; 126 126 license = stdenv.lib.licenses.bsd3; 127 127 platforms = ghc.meta.platforms; 128 128 maintainers = with stdenv.lib.maintainers; [ jwiegley cstrahan ];
+1 -1
pkgs/development/compilers/gwt/2.4.0.nix
··· 18 18 19 19 meta = { 20 20 homepage = http://code.google.com/webtoolkit/; 21 - description = "Google Web Toolkit (GWT) is a development toolkit for building and optimizing complex browser-based applications"; 21 + description = "A development toolkit for building and optimizing complex browser-based applications"; 22 22 }; 23 23 }
+1 -1
pkgs/development/compilers/scala/2.10.nix
··· 21 21 ''; 22 22 23 23 meta = { 24 - description = "Scala is a general purpose programming language"; 24 + description = "A general purpose programming language"; 25 25 longDescription = '' 26 26 Scala is a general purpose programming language designed to express 27 27 common programming patterns in a concise, elegant, and type-safe way.
+1 -1
pkgs/development/compilers/scala/2.9.nix
··· 18 18 ''; 19 19 20 20 meta = { 21 - description = "Scala is a general purpose programming language"; 21 + description = "A general purpose programming language"; 22 22 longDescription = '' 23 23 Scala is a general purpose programming language designed to express 24 24 common programming patterns in a concise, elegant, and type-safe way.
+1 -1
pkgs/development/compilers/yap/default.nix
··· 15 15 16 16 meta = { 17 17 homepage = "http://www.dcc.fc.up.pt/~vsc/Yap/"; 18 - description = "Yap Prolog System is a ISO-compatible high-performance Prolog compiler"; 18 + description = "A ISO-compatible high-performance Prolog compiler"; 19 19 license = stdenv.lib.licenses.artistic2; 20 20 21 21 maintainers = [ stdenv.lib.maintainers.simons ];
+1 -1
pkgs/development/coq-modules/bedrock/default.nix
··· 28 28 29 29 meta = with stdenv.lib; { 30 30 homepage = http://plv.csail.mit.edu/bedrock/; 31 - description = "Bedrock is a library that turns Coq into a tool much like classical verification systems"; 31 + description = "A library that turns Coq into a tool much like classical verification systems"; 32 32 maintainers = with maintainers; [ jwiegley ]; 33 33 platforms = coq.meta.platforms; 34 34 };
+1 -1
pkgs/development/coq-modules/fiat/default.nix
··· 33 33 34 34 meta = with stdenv.lib; { 35 35 homepage = http://plv.csail.mit.edu/fiat/; 36 - description = "Fiat is a library for the Coq proof assistant for synthesizing efficient correct-by-construction programs from declarative specifications"; 36 + description = "A library for the Coq proof assistant for synthesizing efficient correct-by-construction programs from declarative specifications"; 37 37 maintainers = with maintainers; [ jwiegley ]; 38 38 platforms = coq.meta.platforms; 39 39 };
+1 -1
pkgs/development/coq-modules/flocq/default.nix
··· 25 25 26 26 meta = with stdenv.lib; { 27 27 homepage = http://flocq.gforge.inria.fr/; 28 - description = "Flocq (Floats for Coq) is a floating-point formalization for the Coq system"; 28 + description = "A floating-point formalization for the Coq system"; 29 29 license = licenses.lgpl3; 30 30 maintainers = with maintainers; [ jwiegley ]; 31 31 platforms = coq.meta.platforms;
+1 -1
pkgs/development/coq-modules/paco/default.nix
··· 23 23 24 24 meta = with stdenv.lib; { 25 25 homepage = http://plv.mpi-sws.org/paco/; 26 - description = "Paco is a Coq library implementing parameterized coinduction"; 26 + description = "A Coq library implementing parameterized coinduction"; 27 27 maintainers = with maintainers; [ jwiegley ]; 28 28 platforms = coq.meta.platforms; 29 29 };
+1 -1
pkgs/development/coq-modules/tlc/default.nix
··· 21 21 22 22 meta = with stdenv.lib; { 23 23 homepage = http://www.chargueraud.org/softs/tlc/; 24 - description = "TLC is a general purpose Coq library that provides an alternative to Coq's standard library"; 24 + description = "A general purpose Coq library that provides an alternative to Coq's standard library"; 25 25 maintainers = with maintainers; [ jwiegley ]; 26 26 platforms = coq.meta.platforms; 27 27 };
+1 -1
pkgs/development/coq-modules/ynot/default.nix
··· 24 24 25 25 meta = with stdenv.lib; { 26 26 homepage = http://ynot.cs.harvard.edu/; 27 - description = "Ynot is a library for writing and verifying imperative programs"; 27 + description = "A library for writing and verifying imperative programs"; 28 28 maintainers = with maintainers; [ jwiegley ]; 29 29 platforms = coq.meta.platforms; 30 30 };
+2 -2
pkgs/development/libraries/apr/default.nix
··· 1 1 { stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "apr-1.5.1"; 4 + name = "apr-1.5.2"; 5 5 6 6 src = fetchurl { 7 7 url = "mirror://apache/apr/${name}.tar.bz2"; 8 - sha256 = "1b4qw686bwjn19iyb0lg918q23xxd6s2gnyczhjq992d3m1vwjp9"; 8 + sha256 = "0ypn51xblix5ys9xy7da3ngdydip0qqh9rdq8nz54w9aq8lys0vx"; 9 9 }; 10 10 11 11 patches = stdenv.lib.optionals stdenv.isDarwin [ ./is-this-a-compiler-bug.patch ];
+1 -1
pkgs/development/libraries/assimp/default.nix
··· 17 17 buildInputs = [ unzip cmake boost ]; 18 18 19 19 meta = with stdenv.lib; { 20 - description = "Open Asset Import Library is a library to import various 3D model formats"; 20 + description = "A library to import various 3D model formats"; 21 21 homepage = http://assimp.sourceforge.net/; 22 22 license = licenses.bsd3; 23 23 maintainers = with maintainers; [ emery ];
+4 -6
pkgs/development/libraries/c-ares/default.nix
··· 8 8 sha256 = "1nyka87yf2jfd0y6sspll0yxwb8zi7kyvajrdbjmh4axc5s1cw1x"; 9 9 }; 10 10 11 - meta = { 11 + meta = with stdenv.lib; { 12 12 description = "A C library for asynchronous DNS requests"; 13 - 14 13 homepage = http://c-ares.haxx.se; 15 - 16 - license = stdenv.lib.licenses.mit; 17 - 18 - maintainers = [ stdenv.lib.maintainers.shlevy ]; 14 + license = licenses.mit; 15 + platforms = platforms.all; 16 + maintainers = with maintainers; [ shlevy ]; 19 17 }; 20 18 }
+1 -1
pkgs/development/libraries/fcgi/default.nix
··· 13 13 postInstall = "ln -s . $out/include/fastcgi"; 14 14 15 15 meta = with stdenv.lib; { 16 - description = "FastCGI is a language independent, scalable, open extension to CG"; 16 + description = "A language independent, scalable, open extension to CG"; 17 17 homepage = http://www.fastcgi.com/; 18 18 license = "FastCGI see LICENSE.TERMS"; 19 19 platforms = platforms.all;
+1 -1
pkgs/development/libraries/fox/fox-1.6.nix
··· 22 22 23 23 meta = { 24 24 branch = "1.6"; 25 - description = "FOX is a C++ based class library for building Graphical User Interfaces"; 25 + description = "A C++ based class library for building Graphical User Interfaces"; 26 26 longDescription = '' 27 27 FOX stands for Free Objects for X. 28 28 It is a C++ based class library for building Graphical User Interfaces.
+1 -1
pkgs/development/libraries/giflib/5.0.nix
··· 9 9 10 10 buildInputs = [ xmlto docbook_xml_dtd_412 docbook_xsl libxml2 ]; 11 11 meta = { 12 - description = "giflib is a library for reading and writing gif images"; 12 + description = "A library for reading and writing gif images"; 13 13 platforms = stdenv.lib.platforms.unix; 14 14 license = stdenv.lib.licenses.mit; 15 15 maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
+1 -1
pkgs/development/libraries/giflib/5.1.nix
··· 9 9 10 10 buildInputs = [ xmlto docbook_xml_dtd_412 docbook_xsl libxml2 ]; 11 11 meta = { 12 - description = "giflib is a library for reading and writing gif images"; 12 + description = "A library for reading and writing gif images"; 13 13 platforms = stdenv.lib.platforms.unix; 14 14 license = stdenv.lib.licenses.mit; 15 15 maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
+22
pkgs/development/libraries/isl/0.14.1.nix
··· 1 + { stdenv, fetchurl, gmp }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "isl-0.14.1"; 5 + 6 + src = fetchurl { 7 + url = "http://isl.gforge.inria.fr/${name}.tar.xz"; 8 + sha256 = "0xa6xagah5rywkywn19rzvbvhfvkmylhcxr6z9z7bz29cpiwk0l8"; 9 + }; 10 + 11 + buildInputs = [ gmp ]; 12 + 13 + enableParallelBuilding = true; 14 + 15 + meta = { 16 + homepage = http://www.kotnet.org/~skimo/isl/; 17 + license = stdenv.lib.licenses.lgpl21; 18 + description = "A library for manipulating sets and relations of integer points bounded by linear constraints"; 19 + maintainers = [ stdenv.lib.maintainers.shlevy ]; 20 + platforms = stdenv.lib.platforms.all; 21 + }; 22 + }
+4 -2
pkgs/development/libraries/jansson/default.nix
··· 8 8 sha256 = "1mvq9p85khsl818i4vbszyfab0fd45mdrwrxjkzw05mk1xcyc1br"; 9 9 }; 10 10 11 - meta = { 11 + meta = with stdenv.lib; { 12 12 homepage = "http://www.digip.org/jansson/"; 13 13 description = "C library for encoding, decoding and manipulating JSON data"; 14 - license = stdenv.lib.licenses.mit; 14 + license = licenses.mit; 15 + platforms = platforms.all; 16 + maintainers = with maintainers; [ wkennington ]; 15 17 }; 16 18 }
+1 -1
pkgs/development/libraries/lame/default.nix
··· 53 53 ]; 54 54 55 55 meta = { 56 - description = "LAME is a high quality MPEG Audio Layer III (MP3) encoder"; 56 + description = "A high quality MPEG Audio Layer III (MP3) encoder"; 57 57 homepage = http://lame.sourceforge.net; 58 58 license = licenses.lgpl2; 59 59 maintainers = with maintainers; [ codyopel ];
+1 -1
pkgs/development/libraries/libtomcrypt/default.nix
··· 21 21 22 22 meta = { 23 23 homepage = "http://libtom.org/?page=features&newsitems=5&whatfile=crypt"; 24 - description = "LibTomCrypt is a fairly comprehensive, modular and portable cryptographic toolkit"; 24 + description = "A fairly comprehensive, modular and portable cryptographic toolkit"; 25 25 }; 26 26 }
+72
pkgs/development/libraries/nghttp2/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig 2 + 3 + # Optinal Dependencies 4 + , openssl ? null, libev ? null, zlib ? null, jansson ? null, boost ? null 5 + , libxml2 ? null, jemalloc ? null 6 + 7 + # Extra argument 8 + , prefix ? "" 9 + }: 10 + 11 + let 12 + mkFlag = trueStr: falseStr: cond: name: val: 13 + if cond == null then null else 14 + "--${if cond != false then trueStr else falseStr}${name}${if val != null && cond != false then "=${val}" else ""}"; 15 + mkEnable = mkFlag "enable-" "disable-"; 16 + mkWith = mkFlag "with-" "without-"; 17 + mkOther = mkFlag "" "" true; 18 + 19 + shouldUsePkg = pkg: if pkg != null && stdenv.lib.any (x: x == stdenv.system) pkg.meta.platforms then pkg else null; 20 + 21 + isLib = prefix == "lib"; 22 + 23 + optOpenssl = if isLib then null else shouldUsePkg openssl; 24 + optLibev = if isLib then null else shouldUsePkg libev; 25 + optZlib = if isLib then null else shouldUsePkg zlib; 26 + 27 + hasApp = optOpenssl != null && optLibev != null && optZlib != null; 28 + 29 + optJansson = if isLib then null else shouldUsePkg jansson; 30 + #optBoost = if isLib then null else shouldUsePkg boost; 31 + optBoost = null; # Currently detection is broken 32 + optLibxml2 = if !hasApp then null else shouldUsePkg libxml2; 33 + optJemalloc = if !hasApp then null else shouldUsePkg jemalloc; 34 + in 35 + stdenv.mkDerivation rec { 36 + name = "${prefix}nghttp2-${version}"; 37 + version = "0.7.13"; 38 + 39 + # Don't use fetchFromGitHub since this needs a bootstrap curl 40 + src = fetchurl { 41 + url = "http://pub.wak.io/nixos/tarballs/nghttp2-0.7.13.tar.xz"; 42 + sha256 = "1nz14hmfhsxljmf7f3763q9kpn9prfdivrvdr7c74x72s75bzwli"; 43 + }; 44 + 45 + nativeBuildInputs = [ pkgconfig ]; 46 + buildInputs = [ optJansson optBoost optLibxml2 optJemalloc ] 47 + ++ stdenv.lib.optionals hasApp [ optOpenssl optLibev optZlib ]; 48 + 49 + configureFlags = [ 50 + (mkEnable false "werror" null) 51 + (mkEnable false "debug" null) 52 + (mkEnable true "threads" null) 53 + (mkEnable hasApp "app" null) 54 + (mkEnable (optJansson != null) "hpack-tools" null) 55 + (mkEnable (optBoost != null) "asio-lib" null) 56 + (mkEnable false "examples" null) 57 + (mkEnable false "python-bindings" null) 58 + (mkEnable false "failmalloc" null) 59 + (mkWith (optLibxml2 != null) "libxml2" null) 60 + (mkWith (optJemalloc != null) "jemalloc" null) 61 + (mkWith false "spdylay" null) 62 + (mkWith false "cython" null) 63 + ]; 64 + 65 + meta = with stdenv.lib; { 66 + homepage = http://nghttp2.org/; 67 + description = "an implementation of HTTP/2 in C"; 68 + license = licenses.mit; 69 + platforms = platforms.all; 70 + maintainers = with maintainers; [ wkennington ]; 71 + }; 72 + }
+1 -1
pkgs/development/libraries/npapi-sdk/default.nix
··· 12 12 }; 13 13 14 14 meta = with stdenv.lib; { 15 - description = "NPAPI-SDK is a bundle of NPAPI headers by Mozilla"; 15 + description = "A bundle of NPAPI headers by Mozilla"; 16 16 17 17 homepage = https://code.google.com/p/npapi-sdk/; 18 18 license = licenses.bsd3;
+2 -2
pkgs/development/libraries/physics/geant4/default.nix
··· 92 92 ''; 93 93 94 94 meta = { 95 - description = "A toolkit for the simulation of the passage of particles through matter."; 95 + description = "A toolkit for the simulation of the passage of particles through matter"; 96 96 longDescription = '' 97 97 Geant4 is a toolkit for the simulation of the passage of particles through matter. 98 98 Its areas of application include high energy, nuclear and accelerator physics, as well as studies in medical and space science. ··· 129 129 ''; 130 130 131 131 meta = { 132 - description = "Data files for the Geant4 toolkit."; 132 + description = "Data files for the Geant4 toolkit"; 133 133 homepage = http://www.geant4.org; 134 134 license = stdenv.lib.licenses.g4sl; 135 135 maintainers = [ ];
+1 -1
pkgs/development/libraries/physics/geant4/g4py/default.nix
··· 45 45 ''; 46 46 47 47 meta = { 48 - description = "Python bindings and utilities for Geant4."; 48 + description = "Python bindings and utilities for Geant4"; 49 49 longDescription = '' 50 50 Geant4 is a toolkit for the simulation of the passage of particles through matter. 51 51 Its areas of application include high energy, nuclear and accelerator physics, as well as studies in medical and space science.
+1 -1
pkgs/development/libraries/qmltermwidget/default.nix
··· 24 24 enableParallelBuilding = true; 25 25 26 26 meta = { 27 - description = "This project is a QML port of qtermwidget"; 27 + description = "A QML port of qtermwidget"; 28 28 homepage = "https://github.com/Swordifish90/qmltermwidget"; 29 29 license = with stdenv.lib.licenses; [ gpl2 ]; 30 30 platforms = stdenv.lib.platforms.linux;
+1 -1
pkgs/development/libraries/urt/default.nix
··· 56 56 57 57 meta = { 58 58 homepage = http://www.cs.utah.edu/gdc/projects/urt/; 59 - description = "The Utah Raster Toolkit is a library for dealing with raster images"; 59 + description = "A library for dealing with raster images"; 60 60 }; 61 61 }
+1 -1
pkgs/development/lisp-modules/lisp-packages.nix
··· 98 98 clx-truetype = buildLispPackage rec { 99 99 baseName = "clx-truetype"; 100 100 version = "git-20141112"; 101 - description = "clx-truetype is pure common lisp solution for antialiased TrueType font rendering using CLX and XRender extension"; 101 + description = "A pure Common Lisp solution for antialiased TrueType font rendering using CLX and the XRender extension"; 102 102 deps = [cl-fad cl-store cl-vectors clx trivial-features zpb-ttf]; 103 103 # Source type: git 104 104 src = pkgs.fetchgit {
+1 -1
pkgs/development/ocaml-modules/gmetadom/default.nix
··· 29 29 30 30 meta = { 31 31 homepage = http://gmetadom.sourceforge.net/; 32 - description = "GMetaDOM is a collection of librares, each library providing a DOM implementation"; 32 + description = "A collection of librares, each library providing a DOM implementation"; 33 33 license = stdenv.lib.licenses.lgpl21Plus; 34 34 maintainers = [ stdenv.lib.maintainers.roconnor ]; 35 35 };
+1 -1
pkgs/development/ocaml-modules/ocaml-text/default.nix
··· 17 17 18 18 meta = { 19 19 homepage = "http://ocaml-text.forge.ocamlcore.org/"; 20 - description = "OCaml-Text is a library for dealing with ``text'', i.e. sequence of unicode characters, in a convenient way. "; 20 + description = "A library for convenient text manipulation"; 21 21 license = stdenv.lib.licenses.bsd3; 22 22 platforms = ocaml.meta.platforms; 23 23 };
+1 -1
pkgs/development/ocaml-modules/ulex/0.8/default.nix
··· 27 27 28 28 meta = { 29 29 homepage = http://www.cduce.org/download.html; 30 - description = "ulex is a lexer generator for Unicode and OCaml"; 30 + description = "A lexer generator for Unicode and OCaml"; 31 31 license = stdenv.lib.licenses.mit; 32 32 maintainers = [ stdenv.lib.maintainers.roconnor ]; 33 33 };
+1 -1
pkgs/development/ocaml-modules/ulex/default.nix
··· 23 23 24 24 meta = { 25 25 homepage = http://www.cduce.org/download.html; 26 - description = "ulex is a lexer generator for Unicode and OCaml"; 26 + description = "A lexer generator for Unicode and OCaml"; 27 27 license = stdenv.lib.licenses.mit; 28 28 platforms = stdenv.lib.platforms.linux; 29 29 maintainers = [ stdenv.lib.maintainers.roconnor ];
+1 -1
pkgs/development/tools/misc/checkbashisms/default.nix
··· 12 12 13 13 meta = { 14 14 homepage = http://sourceforge.net/projects/checkbaskisms/; 15 - description = "Performs basic checks on shell scripts for the presence of non portable syntax"; 15 + description = "Check shell scripts for non-portable syntax"; 16 16 license = stdenv.lib.licenses.gpl2; 17 17 }; 18 18
+1 -1
pkgs/development/tools/ocaml/camlidl/default.nix
··· 37 37 ''; 38 38 39 39 meta = { 40 - description = "CamlIDL is a stub code generator and COM binding for Objective Caml"; 40 + description = "A stub code generator and COM binding for Objective Caml"; 41 41 homepage = "${webpage}"; 42 42 license = "LGPL"; 43 43 maintainers = [ stdenv.lib.maintainers.roconnor ];
+9 -7
pkgs/development/tools/parsing/hammer/default.nix
··· 15 15 installPhase = "scons prefix=$out install"; 16 16 17 17 meta = with stdenv.lib; { 18 - description = "Hammer is a parsing library"; 19 - longDescription = "Hammer is a parsing library. Like many modern parsing libraries, 20 - it provides a parser combinator interface for writing grammars 21 - as inline domain-specific languages, but Hammer also provides a 22 - variety of parsing backends. It's also bit-oriented rather than 23 - character-oriented, making it ideal for parsing binary data such 24 - as images, network packets, audio, and executables."; 18 + description = "A bit-oriented parser combinator library"; 19 + longDescription = '' 20 + Hammer is a parsing library. Like many modern parsing libraries, 21 + it provides a parser combinator interface for writing grammars 22 + as inline domain-specific languages, but Hammer also provides a 23 + variety of parsing backends. It's also bit-oriented rather than 24 + character-oriented, making it ideal for parsing binary data such 25 + as images, network packets, audio, and executables. 26 + ''; 25 27 homepage = https://github.com/UpstandingHackers/hammer; 26 28 license = licenses.gpl2; 27 29 platforms = platforms.linux;
+19
pkgs/development/tools/profiling/gprof2dot/default.nix
··· 1 + { stdenv, fetchFromGitHub, pythonPackages }: 2 + 3 + pythonPackages.buildPythonPackage { 4 + name = "gprof2dot-2015-04-27"; 5 + 6 + src = fetchFromGitHub { 7 + owner = "jrfonseca"; 8 + repo = "gprof2dot"; 9 + rev = "6fbb81559609c12e7c64ae5dce7d102a414a7514"; 10 + sha256 = "1fff7w6dm6lld11hp2ij97f85ma1154h62dvchq19c5jja3zjw3c"; 11 + }; 12 + 13 + meta = with stdenv.lib; { 14 + homepage = "https://github.com/jrfonseca/gprof2dot"; 15 + description = "Python script to convert the output from many profilers into a dot graph"; 16 + license = licenses.lgpl3Plus; 17 + platforms = platforms.linux; 18 + }; 19 + }
+35 -33
pkgs/games/eduke32/default.nix
··· 1 - {stdenv, fetchurl, SDL, SDL_mixer, libvorbis, mesa, gtk, pkgconfig, nasm, libvpx, flac, makeDesktopItem}: 1 + { stdenv, fetchurl, flac, gtk, libvorbis, libvpx, makeDesktopItem, mesa, nasm 2 + , pkgconfig, SDL2, SDL2_mixer }: 2 3 3 - stdenv.mkDerivation rec { 4 - name = "eduke32-20130303-3542"; 4 + let 5 + date = "20150420"; 6 + rev = "5160"; 7 + version = "${date}-${rev}"; 8 + in stdenv.mkDerivation rec { 9 + name = "eduke32-${version}"; 5 10 6 11 src = fetchurl { 7 - url = http://dukeworld.duke4.net/eduke32/synthesis/20130303-3542/eduke32_src_20130303-3542.tar.bz2; 8 - sha256 = "0v1q2bkmpnac5l9x97nnlhrrb95518vmhxx48zv3ncvmpafl1mqc"; 12 + url = "http://dukeworld.duke4.net/eduke32/synthesis/${version}/eduke32_src_${version}.tar.xz"; 13 + sha256 = "1nlq5jbglg00c1z1vsyl627fh0mqfxvk5qyxav5vzla2b4svik2v"; 9 14 }; 10 15 11 - buildInputs = [ SDL SDL_mixer libvorbis mesa gtk pkgconfig libvpx flac ] 16 + buildInputs = [ flac gtk libvorbis libvpx mesa pkgconfig SDL2 SDL2_mixer ] 12 17 ++ stdenv.lib.optional (stdenv.system == "i686-linux") nasm; 13 18 14 - NIX_CFLAGS_COMPILE = "-I${SDL}/include/SDL"; 15 - NIX_LDFLAGS = "-L${SDL}/lib -lgcc_s"; 19 + postPatch = '' 20 + substituteInPlace build/src/glbuild.c \ 21 + --replace libGL.so ${mesa}/lib/libGL.so \ 22 + --replace libGLU.so ${mesa}/lib/libGLU.so 23 + ''; 24 + 25 + NIX_CFLAGS_COMPILE = "-I${SDL2}/include/SDL"; 26 + NIX_LDFLAGS = "-L${SDL2}/lib"; 27 + 28 + makeFlags = "LINKED_GTK=1 SDLCONFIG=${SDL2}/bin/sdl2-config VC_REV=${rev}"; 16 29 17 30 desktopItem = makeDesktopItem { 18 31 name = "eduke32"; 19 32 exec = "eduke32-wrapper"; 20 33 comment = "Duke Nukem 3D port"; 21 - desktopName = "EDuke32"; 34 + desktopName = "Enhanced Duke Nukem 3D"; 22 35 genericName = "Duke Nukem 3D port"; 23 36 categories = "Application;Game;"; 24 37 }; 25 38 26 - preConfigure = '' 27 - sed -i -e "s|/usr/bin/sdl-config|${SDL}/bin/sdl-config|" build/Makefile.shared 28 - ''; 29 - 30 - buildPhase = '' 31 - make OPTLEVEL=0 USE_LIBPNG=0 32 - ''; 33 - 34 39 installPhase = '' 35 - # Install binaries 36 - mkdir -p $out/bin 37 - cp eduke32 mapster32 $out/bin 38 - 39 40 # Make wrapper script 40 - cat > $out/bin/eduke32-wrapper <<EOF 41 + cat > eduke32-wrapper <<EOF 41 42 #!/bin/sh 42 43 43 - if [ "$EDUKE32_DATA_DIR" = "" ] 44 - then 44 + if [ "$EDUKE32_DATA_DIR" = "" ]; then 45 45 EDUKE32_DATA_DIR=/var/lib/games/eduke32 46 46 fi 47 - if [ "$EDUKE32_GRP_FILE" = "" ] 48 - then 47 + if [ "$EDUKE32_GRP_FILE" = "" ]; then 49 48 EDUKE32_GRP_FILE=\$EDUKE32_DATA_DIR/DUKE3D.GRP 50 49 fi 51 50 52 51 cd \$EDUKE32_DATA_DIR 53 - eduke32 -g \$EDUKE32_GRP_FILE 52 + exec $out/bin/eduke32 -g \$EDUKE32_GRP_FILE 54 53 EOF 55 - chmod 755 $out/bin/eduke32-wrapper 54 + 55 + # Install binaries 56 + mkdir -p $out/bin 57 + install -Dm755 eduke32{,-wrapper} mapster32 $out/bin 56 58 57 59 # Install desktop item 58 - mkdir -p $out/share/applications 59 - cp ${desktopItem}/share/applications/* $out/share/applications 60 + cp -rv ${desktopItem}/share $out 60 61 ''; 61 62 62 - meta = { 63 + meta = with stdenv.lib; { 64 + inherit version; 63 65 description = "Enhanched port of Duke Nukem 3D for various platforms"; 64 - license = stdenv.lib.licenses.gpl2Plus; 66 + license = with licenses; gpl2Plus; 65 67 homepage = http://eduke32.com; 66 - maintainers = [ stdenv.lib.maintainers.sander ]; 68 + maintainers = with maintainers; [ nckx sander ]; 67 69 }; 68 70 }
+1 -1
pkgs/games/super-tux-kart/default.nix
··· 27 27 ''; 28 28 29 29 meta = { 30 - description = "SuperTuxKart is a Free 3D kart racing game"; 30 + description = "A Free 3D kart racing game"; 31 31 longDescription = '' 32 32 SuperTuxKart is a Free 3D kart racing game, with many tracks, 33 33 characters and items for you to try, similar in spirit to Mario
+5 -5
pkgs/misc/emulators/cdemu/base.nix
··· 16 16 configurePhase = '' 17 17 cmake ../${name} -DCMAKE_INSTALL_PREFIX=$out -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_RPATH=ON 18 18 ''; 19 - meta = { 20 - description = "A Software suite designed to emulate an optical drive and disc (including CD-ROMs and DVD-ROMs) on the Linux operating system"; 19 + meta = with stdenv.lib; { 20 + description = "A suite of tools for emulating optical drives and discs"; 21 21 longDescription = '' 22 22 CDEmu consists of: 23 23 ··· 29 29 30 30 Optical media emulated by CDemu can be mounted within Linux. Automounting is also allowed. 31 31 ''; 32 - homepage = "http://cdemu.sourceforge.net/"; 33 - license = stdenv.lib.licenses.gpl2Plus; 34 - platforms = stdenv.lib.platforms.linux; 32 + homepage = http://cdemu.sourceforge.net/; 33 + license = licenses.gpl2Plus; 34 + platforms = platforms.linux; 35 35 maintainers = [ "Rok Mandeljc <mrok AT users DOT sourceforge DOT net>" ]; 36 36 }; 37 37 } // drvParams)
+30
pkgs/misc/vim-plugins/default.nix
··· 439 439 }; 440 440 }; 441 441 442 + vim-buffergator = buildVimPlugin { 443 + name = "vim-buffergator-2015-03-31"; 444 + src = fetchFromGitHub { 445 + owner = "jeetsukumaran"; 446 + repo = "vim-buffergator"; 447 + rev = "77cfdd127f"; 448 + sha256 = "11r9845kplwahf2d41whs2lg3bzy0dahs0mvmdbckp7ckq3gd3y4"; 449 + }; 450 + meta = with stdenv.lib; { 451 + description = "Vim plugin to list, select and switch between buffers"; 452 + license = licenses.gpl3; 453 + maintainers = with maintainers; [ hbunke ]; 454 + }; 455 + }; 456 + 442 457 vim-jinja = buildVimPlugin { 443 458 name = "vim-jinja-git-2014-06-11"; 444 459 src = fetchFromGitHub { ··· 450 465 meta = { 451 466 homepage = "https://github.com/lepture/vim-jinja"; 452 467 maintainers = [ stdenv.lib.maintainers.hbunke ]; 468 + }; 469 + }; 470 + 471 + vim-nerdtree-tabs = buildVimPlugin { 472 + name = "vim-nerdtree-tabs-2014-09-25"; 473 + src = fetchFromGitHub { 474 + owner = "jistr"; 475 + repo = "vim-nerdtree-tabs"; 476 + rev = "0decec122e"; 477 + sha256 = "0m51vpxq0d3mxy9i18hczsbqsqi7vlzwgjnpryb8gb5wmy999d6l"; 478 + }; 479 + meta = with stdenv.lib; { 480 + description = "NERDTree and tabs together in Vim, painlessly"; 481 + license = licenses.asl20; 482 + maintainers = with maintainers; [ hbunke ]; 453 483 }; 454 484 }; 455 485
+11 -5
pkgs/os-specific/linux/fatrace/default.nix
··· 1 - {stdenv, fetchurl, python3}: 1 + { stdenv, fetchurl, python3, which }: 2 2 3 + let version = "0.10"; in 3 4 stdenv.mkDerivation rec { 4 - version = "0.9"; 5 5 name = "fatrace-${version}"; 6 6 7 7 src = fetchurl { 8 - url = "https://launchpad.net/fatrace/trunk/${version}/+download/${name}.tar.bz2"; 9 - sha256 = "c028d822ffde68805e5d1f62c4e2d0f4b3d4ae565802cc9468c82b25b92e68cd"; 8 + url = "http://launchpad.net/fatrace/trunk/${version}/+download/${name}.tar.bz2"; 9 + sha256 = "0q0cv2bsgf76wypz18v2acgj1crcdqhrhlsij3r53glsyv86xyra"; 10 10 }; 11 11 12 - buildInputs = [ python3 ]; 12 + buildInputs = [ python3 which ]; 13 + 14 + postPatch = '' 15 + substituteInPlace power-usage-report \ 16 + --replace "'which'" "'${which}/bin/which'" 17 + ''; 13 18 14 19 makeFlagsArray = "PREFIX=$(out)"; 15 20 16 21 meta = with stdenv.lib; { 22 + inherit version; 17 23 description = "Report system-wide file access events"; 18 24 homepage = https://launchpad.net/fatrace/; 19 25 license = with licenses; gpl3Plus;
+1 -1
pkgs/os-specific/linux/fusionio/util.nix
··· 36 36 37 37 meta = with stdenv.lib; { 38 38 homepage = http://fusionio.com; 39 - description = "Fusionio command line utilities."; 39 + description = "Fusionio command line utilities"; 40 40 license = licenses.unfree; 41 41 platforms = [ "x86_64-linux" ]; 42 42 broken = stdenv.system != "x86_64-linux";
+1 -1
pkgs/os-specific/linux/hal-flash/default.nix
··· 14 14 15 15 meta = with stdenv.lib; { 16 16 homepage = https://github.com/cshorler/hal-flash; 17 - description = "libhal stub library to satisfy the Flash Player DRM requirements."; 17 + description = "libhal stub library to satisfy the Flash Player DRM requirements"; 18 18 longDescription = 19 19 '' 20 20 Stub library based loosely upon libhal.[ch] from the hal-0.5.14
+2 -2
pkgs/os-specific/linux/iproute/default.nix
··· 1 1 { fetchurl, stdenv, flex, bison, db, iptables, pkgconfig }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "iproute2-3.19.0"; 4 + name = "iproute2-4.0.0"; 5 5 6 6 src = fetchurl { 7 7 url = "mirror://kernel/linux/utils/net/iproute2/${name}.tar.xz"; 8 - sha256 = "1c6pgysxfqs5qkd4kpwkbdhw3xydhjnskrz1q2k2nvqndv1ziyg2"; 8 + sha256 = "0616cg6liyysfddf6d8i4vyndd9b0hjmfw35icq8p18b0nqnxl2w"; 9 9 }; 10 10 11 11 patch = [ ./vpnc.patch ];
+2 -2
pkgs/os-specific/linux/kernel/linux-3.10.nix
··· 1 1 { stdenv, fetchurl, ... } @ args: 2 2 3 3 import ./generic.nix (args // rec { 4 - version = "3.10.75"; 4 + version = "3.10.76"; 5 5 extraMeta.branch = "3.10"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 9 - sha256 = "00wqcmya2ky9f1djlq99mcq8fyvpabnjnp5cn61japlgk8p7r60q"; 9 + sha256 = "0v4blm026fg4hk5ddh25b1fjhnk2yak2hpj4cz4wiq7yr84dr8p5"; 10 10 }; 11 11 12 12 features.iwlwifi = true;
+2 -2
pkgs/os-specific/linux/kernel/linux-3.14.nix
··· 1 1 { stdenv, fetchurl, ... } @ args: 2 2 3 3 import ./generic.nix (args // rec { 4 - version = "3.14.39"; 4 + version = "3.14.40"; 5 5 # Remember to update grsecurity! 6 6 extraMeta.branch = "3.14"; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 10 - sha256 = "0zgfiqlvmprbn55k9ijf6db027mxlcww76y47g4g7vcj5qrpq6rd"; 10 + sha256 = "1w5j53ny5vahp1ipj16x0ahjb5yj6q859jsdshblymvwrbkcr29a"; 11 11 }; 12 12 13 13 features.iwlwifi = true;
+2 -2
pkgs/os-specific/linux/kernel/linux-3.19.nix
··· 1 1 { stdenv, fetchurl, ... } @ args: 2 2 3 3 import ./generic.nix (args // rec { 4 - version = "3.19.5"; 4 + version = "3.19.6"; 5 5 # Remember to update grsecurity! 6 6 extraMeta.branch = "3.19"; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 10 - sha256 = "0s2yiyk1ks0z2fj8a8g56hkp6mfyvh9c34m1jpixhg9zck9xjdix"; 10 + sha256 = "1kqn796vwkmhj2qkv56nj7anpmxx1hxv47cf44fcmx9n1afry8j4"; 11 11 }; 12 12 13 13 features.iwlwifi = true;
+2 -3
pkgs/os-specific/linux/kernel/linux-4.0.nix
··· 1 1 { stdenv, fetchurl, ... } @ args: 2 2 3 3 import ./generic.nix (args // rec { 4 - version = "4.0"; 5 - modDirVersion = "4.0.0"; 4 + version = "4.0.1"; 6 5 extraMeta.branch = "4.0"; 7 6 8 7 src = fetchurl { 9 8 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 10 - sha256 = "14argl6ywkggdvgiycfx4jl2d7290f631ly59wfggj4vjx27sbqg"; 9 + sha256 = "1ggj26p1bm5v5kaviz6brfkjk32f8rib1mh61ns77gjlx5vsvc7z"; 11 10 }; 12 11 13 12 features.iwlwifi = true;
+6 -6
pkgs/os-specific/linux/kernel/patches.nix
··· 65 65 }; 66 66 67 67 grsecurity_stable = grsecPatch 68 - { kversion = "3.14.39"; 69 - revision = "201504190814"; 68 + { kversion = "3.14.40"; 69 + revision = "201504290821"; 70 70 branch = "stable"; 71 - sha256 = "0pjq0ggifh6hp5y62dl0ydskpmsmzj1cxxjaaqs6fpwn5ndsdji7"; 71 + sha256 = "0382ydr1dshjmwggx5a6ywrdr7qv52w178ify60qw59lrphbdkls"; 72 72 }; 73 73 74 74 grsecurity_unstable = grsecPatch 75 - { kversion = "3.19.5"; 76 - revision = "201504190814"; 75 + { kversion = "3.19.6"; 76 + revision = "201504290821"; 77 77 branch = "test"; 78 - sha256 = "0wj9bximhs41b11hh113mishmc1ya8bncc0v91cbrivx5y5hjpz0"; 78 + sha256 = "0nya84cpj2cgncchywfysvmzx5m3wl034f6p7zfxj9l6jhjdcd6q"; 79 79 }; 80 80 81 81 grsec_fix_path =
+30
pkgs/os-specific/linux/mbpfan/default.nix
··· 1 + { stdenv, lib, fetchFromGitHub, gnugrep, kmod }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "mbpfan-${version}"; 5 + version = "1.9.0"; 6 + src = fetchFromGitHub { 7 + owner = "dgraziotin"; 8 + repo = "mbpfan"; 9 + rev = "v${version}"; 10 + sha256 = "15nm1d0a0c0lzxqngrpn2qpsydsmglnn6d20djl7brpsq26j24h9"; 11 + }; 12 + patches = [ ./fixes.patch ]; 13 + postPatch = '' 14 + substituteInPlace src/main.c \ 15 + --replace '@GREP@' '${gnugrep}/bin/grep' \ 16 + --replace '@LSMOD@' '${kmod}/bin/lsmod' 17 + ''; 18 + installPhase = '' 19 + mkdir -p $out/bin $out/etc 20 + cp bin/mbpfan $out/bin 21 + cp mbpfan.conf $out/etc 22 + ''; 23 + meta = with lib; { 24 + description = "Daemon that uses input from coretemp module and sets the fan speed using the applesmc module"; 25 + homepage = "https://github.com/dgraziotin/mbpfan"; 26 + license = licenses.gpl3; 27 + platforms = platforms.linux; 28 + maintainers = with maintainers; [ cstrahan ]; 29 + }; 30 + }
+29
pkgs/os-specific/linux/mbpfan/fixes.patch
··· 1 + diff --git a/src/main.c b/src/main.c 2 + index e8af708..6cfee17 100644 3 + --- a/src/main.c 4 + +++ b/src/main.c 5 + @@ -71,7 +71,7 @@ void check_requirements() 6 + * Check for coretemp and applesmc modules 7 + * Credits: -http://stackoverflow.com/questions/12978794 8 + */ 9 + - FILE *fd = popen("lsmod | grep coretemp", "r"); 10 + + FILE *fd = popen("@LSMOD@ | @GREP@ coretemp", "r"); 11 + char buf[16]; 12 + 13 + if (!(fread (buf, 1, sizeof (buf), fd) > 0)) { 14 + @@ -87,7 +87,7 @@ void check_requirements() 15 + 16 + pclose(fd); 17 + 18 + - fd = popen("lsmod | grep applesmc", "r"); 19 + + fd = popen("@LSMOD@ | @GREP@ applesmc", "r"); 20 + 21 + if (!(fread (buf, 1, sizeof (buf), fd) > 0)) { 22 + DIR* dir = opendir(APPLESMC_PATH); 23 + @@ -145,4 +145,4 @@ int main(int argc, char *argv[]) 24 + void (*fan_control)() = mbpfan; 25 + go_daemon(fan_control); 26 + exit(EXIT_SUCCESS); 27 + -} 28 + \ No newline at end of file 29 + +}
+2 -2
pkgs/os-specific/linux/mcelog/default.nix
··· 1 1 { stdenv, fetchFromGitHub }: 2 2 3 - let version = "116"; in 3 + let version = "117"; in 4 4 stdenv.mkDerivation { 5 5 name = "mcelog-${version}"; 6 6 7 7 src = fetchFromGitHub { 8 - sha256 = "0nr3b924ardz9c1skna8finrjq22ac2vihp3zck9jixc9d5mvrmf"; 8 + sha256 = "0szc5s0bag16ypna336spwb5fagwbxaparn0h78w73wv05kcvwqw"; 9 9 rev = "v${version}"; 10 10 repo = "mcelog"; 11 11 owner = "andikleen";
+2 -2
pkgs/servers/mail/exim/default.nix
··· 54 54 ''; 55 55 56 56 meta = { 57 - homepage = "http://exim.org/"; 58 - description = "A mail transfer agent (MTA) for hosts that are running Unix or Unix-like operating systems"; 57 + homepage = http://exim.org/; 58 + description = "A mail transfer agent (MTA)"; 59 59 license = stdenv.lib.licenses.gpl3; 60 60 platforms = stdenv.lib.platforms.linux; 61 61 maintainers = [ stdenv.lib.maintainers.tv ];
+1 -1
pkgs/servers/nosql/hyperdex/busybee.nix
··· 21 21 preConfigure = "autoreconf -i"; 22 22 23 23 meta = with stdenv.lib; { 24 - description = "BusyBee is a high-performance messaging layer."; 24 + description = "A high-performance messaging layer"; 25 25 homepage = https://github.com/rescrv/busybee; 26 26 license = licenses.bsd3; 27 27 };
+1 -1
pkgs/servers/nosql/hyperdex/default.nix
··· 50 50 preConfigure = "autoreconf -fi"; 51 51 52 52 meta = with stdenv.lib; { 53 - description = "HyperDex is a scalable, searchable key-value store"; 53 + description = "A scalable, searchable key-value store"; 54 54 homepage = http://hyperdex.org; 55 55 license = licenses.bsd3; 56 56 };
+1 -1
pkgs/servers/nosql/hyperdex/replicant.nix
··· 25 25 preConfigure = "autoreconf -i"; 26 26 27 27 meta = with stdenv.lib; { 28 - description = "A system for maintaining replicated state machines."; 28 + description = "A system for maintaining replicated state machines"; 29 29 homepage = https://github.com/rescrv/Replicant; 30 30 license = licenses.bsd3; 31 31 };
+1 -1
pkgs/servers/sql/monetdb/default.nix
··· 34 34 ''; 35 35 36 36 meta = { 37 - description = "MonetDB is a open-source database system for high-performance applications in data mining, OLAP, GIS, XML Query, text and multimedia retrieval"; 37 + description = "A open-source database system for high-performance applications in data mining, OLAP, GIS, XML Query, text and multimedia retrieval"; 38 38 homepage = http://monetdb.cwi.nl/; 39 39 license = "MonetDB Public License"; # very similar to Mozilla public license (MPL) Version see 1.1 http://monetdb.cwi.nl/Legal/MonetDBLicense-1.1.html 40 40 };
+1 -1
pkgs/shells/mksh/default.nix
··· 41 41 systems. 42 42 ''; 43 43 homepage = "https://www.mirbsd.org/mksh.htm"; 44 - license = "custom"; 44 + license = with stdenv.lib.licenses; free; 45 45 maintainers = [ maintainers.AndersonTorres ]; 46 46 platforms = platforms.unix; 47 47 };
+1 -1
pkgs/tools/backup/store-backup/default.nix
··· 100 100 ''; 101 101 102 102 meta = { 103 - description = "Storebackup is a backup suite that stores files on other disks"; 103 + description = "A backup suite that stores files on other disks"; 104 104 homepage = http://savannah.nongnu.org/projects/storebackup; 105 105 license = stdenv.lib.licenses.gpl3Plus; 106 106 maintainers = [stdenv.lib.maintainers.marcweber];
+28 -5
pkgs/tools/cd-dvd/dvdisaster/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, which, gettext, intltool 2 2 , glib, gtk2 3 + , enableSoftening ? true 3 4 }: 4 5 5 6 stdenv.mkDerivation rec { ··· 10 11 sha256 = "e9787dea39aeafa38b26604752561bc895083c17b588489d857ac05c58be196b"; 11 12 }; 12 13 14 + patches = stdenv.lib.optional enableSoftening [ 15 + ./encryption.patch 16 + ./dvdrom.patch 17 + ]; 18 + 13 19 postPatch = '' 14 20 patchShebangs ./ 21 + sed -i 's/dvdisaster48.png/dvdisaster/' contrib/dvdisaster.desktop 15 22 ''; 16 23 17 24 # Explicit --docdir= is required for on-line help to work: ··· 22 29 glib gtk2 23 30 ]; 24 31 25 - meta = { 32 + postInstall = '' 33 + mkdir -pv $out/share/applications 34 + cp contrib/dvdisaster.desktop $out/share/applications/ 35 + 36 + for size in 16 24 32 48 64; do 37 + mkdir -pv $out/share/icons/hicolor/"$size"x"$size"/apps/ 38 + cp contrib/dvdisaster"$size".png $out/share/icons/hicolor/"$size"x"$size"/apps/dvdisaster.png 39 + done 40 + ''; 41 + 42 + meta = with stdenv.lib; { 26 43 homepage = http://dvdisaster.net/; 27 - description = 28 - "Stores data on CD/DVD/BD in a way that it is fully recoverable even " + 29 - "after some read errors have developed"; 30 - license = stdenv.lib.licenses.gpl2; 44 + description = "Data loss/scratch/aging protection for CD/DVD media"; 45 + longDescription = '' 46 + Dvdisaster provides a margin of safety against data loss on CD and 47 + DVD media caused by scratches or aging media. It creates error correction 48 + data which is used to recover unreadable sectors if the disc becomes 49 + damaged at a later time. 50 + ''; 51 + license = licenses.gpl2; 52 + platforms = platforms.linux; 53 + maintainers = with maintainers; [ jgeerds ]; 31 54 }; 32 55 }
+19
pkgs/tools/cd-dvd/dvdisaster/dvdrom.patch
··· 1 + Author: Corey Wright <undefined@pobox.com> 2 + Description: Adds support for DVD-ROM medium-type. 3 + 4 + Index: dvdisaster/scsi-layer.c 5 + =================================================================== 6 + --- dvdisaster.orig/scsi-layer.c 2012-03-06 11:10:17.147044691 +0900 7 + +++ dvdisaster/scsi-layer.c 2012-03-06 11:10:30.927044292 +0900 8 + @@ -913,6 +913,11 @@ 9 + break; 10 + } 11 + 12 + + if(layer_type & 0x01) 13 + + { dh->typeDescr = g_strdup("DVD-ROM"); 14 + + break; 15 + + } 16 + + 17 + if(layer_type & 0x06) /* strange thing: (re-)writeable but neither plus nor dash */ 18 + { dh->typeDescr = g_strdup("DVD-ROM (fake)"); 19 + dh->subType = DVD;
+21
pkgs/tools/cd-dvd/dvdisaster/encryption.patch
··· 1 + Author: n/a 2 + Description: Disables to skip on encrypted disks (e.g. DVD with CSS-Encryption). 3 + 4 + Index: dvdisaster/scsi-layer.c 5 + =================================================================== 6 + --- dvdisaster.orig/scsi-layer.c 2012-04-08 21:51:10.995588783 +0900 7 + +++ dvdisaster/scsi-layer.c 2012-04-08 21:51:29.259678075 +0900 8 + @@ -2693,11 +2693,12 @@ 9 + return NULL; 10 + } 11 + } 12 + - 13 + +/* 14 + if(dh->mainType == DVD && query_copyright(dh)) 15 + { CloseDevice(dh); 16 + Stop(_("This software does not support encrypted media.\n")); 17 + } 18 + +*/ 19 + 20 + /* Create the bitmap of simulated defects */ 21 +
+2 -2
pkgs/tools/filesystems/btrfsprogs/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, attr, acl, zlib, libuuid, e2fsprogs, lzo 2 2 , asciidoc, xmlto, docbook_xml_dtd_45, docbook_xsl, libxslt }: 3 3 4 - let version = "3.19.1"; in 4 + let version = "4.0"; in 5 5 6 6 stdenv.mkDerivation rec { 7 7 name = "btrfs-progs-${version}"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://kernel/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${version}.tar.xz"; 11 - sha256 = "1nw8rsc0dc5k6hrg03m1c65n4d0f7rfs1fjv96xqhqg0wykn5214"; 11 + sha256 = "07ss0spfkb6dkvcwmkljy6bbyf437abwzngip141a1mhq6ng370p"; 12 12 }; 13 13 14 14 buildInputs = [
+1 -1
pkgs/tools/filesystems/yandex-disk/default.nix
··· 49 49 50 50 meta = { 51 51 homepage = http://help.yandex.com/disk/cli-clients.xml; 52 - description = "Yandex.Disk is a free cloud file storage service"; 52 + description = "A free cloud file storage service"; 53 53 maintainers = with stdenv.lib.maintainers; [smironov]; 54 54 platforms = ["i686-linux" "x86_64-linux"]; 55 55 license = stdenv.lib.licenses.unfree;
+33
pkgs/tools/misc/brltty/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, alsaSupport, alsaLib ? null, bluez }: 2 + 3 + assert alsaSupport -> alsaLib != null; 4 + 5 + stdenv.mkDerivation rec { 6 + name = "brltty-5.2"; 7 + 8 + src = fetchurl { 9 + url = "http://brltty.com/archive/${name}.tar.gz"; 10 + sha256 = "1zaab5pxkqrv081n23p3am445d30gk0km4azqdirvcpw9z15q0cz"; 11 + }; 12 + 13 + buildInputs = [ pkgconfig alsaLib bluez ] 14 + ++ stdenv.lib.optional alsaSupport alsaLib; 15 + 16 + meta = { 17 + description = "Access software for a blind person using a braille display"; 18 + longDescription = '' 19 + BRLTTY is a background process (daemon) which provides access to the Linux/Unix 20 + console (when in text mode) for a blind person using a refreshable braille display. 21 + It drives the braille display, and provides complete screen review functionality. 22 + Some speech capability has also been incorporated. 23 + ''; 24 + homepage = http://www.brltty.com/; 25 + license = stdenv.lib.licenses.gpl2; 26 + maintainers = [ stdenv.lib.maintainers.bramd ]; 27 + platforms = stdenv.lib.platforms.all; 28 + }; 29 + 30 + patchPhase = '' 31 + substituteInPlace configure --replace /sbin/ldconfig ldconfig 32 + ''; 33 + }
+1 -1
pkgs/tools/networking/airfield/default.nix
··· 29 29 passthru.names = ["Airfield"]; 30 30 31 31 meta = { 32 - description = "Airfield is a web-interface for hipache-proxy"; 32 + description = "A web-interface for hipache-proxy"; 33 33 license = licenses.mit; 34 34 homepage = https://github.com/emblica/airfield; 35 35 maintainers = with maintainers; [offline];
+1 -1
pkgs/tools/networking/bwm-ng/default.nix
··· 11 11 buildInputs = [ ncurses ]; 12 12 13 13 meta = with stdenv.lib; { 14 - description = "Bandwidth Monitor NG is a small and simple console-based live network and disk io bandwidth monitor"; 14 + description = "A small and simple console-based live network and disk io bandwidth monitor"; 15 15 homepage = "http://www.gropp.org/?id=projects&sub=bwm-ng"; 16 16 license = licenses.gpl2; 17 17 platforms = platforms.unix;
+2 -2
pkgs/tools/networking/curl/default.nix
··· 16 16 assert c-aresSupport -> c-ares != null; 17 17 18 18 stdenv.mkDerivation rec { 19 - name = "curl-7.42.0"; 19 + name = "curl-7.42.1"; 20 20 21 21 src = fetchurl { 22 22 url = "http://curl.haxx.se/download/${name}.tar.bz2"; 23 - sha256 = "13yhcqfksy2vwc4sjv97nv3cbd2pb2a8lnvv8g46qp1gail7sm9j"; 23 + sha256 = "11y8racpj6m4j9w7wa9sifmqvdgf22nk901sfkbxzhhy75rmk472"; 24 24 }; 25 25 26 26 # Zlib and OpenSSL must be propagated because `libcurl.la' contains
+1 -1
pkgs/tools/security/aide/default.nix
··· 19 19 20 20 meta = with stdenv.lib; { 21 21 homepage = "http://aide.sourceforge.net/"; 22 - description = "Advanced Intrusion Detection Environment (AIDE) is a file and directory integrity checker"; 22 + description = "A file and directory integrity checker"; 23 23 license = licenses.free; 24 24 maintainers = [ maintainers.tstrobel ]; 25 25 platforms = platforms.linux;
+1 -1
pkgs/tools/text/html2text/default.nix
··· 21 21 ''; 22 22 23 23 meta = { 24 - description = "A command line utility, written in C++, that converts HTML documents into plain text"; 24 + description = "Convert HTML to plain text"; 25 25 homepage = http://www.mbayer.de/html2text/; 26 26 license = stdenv.lib.licenses.gpl2Plus; 27 27 platforms = stdenv.lib.platforms.linux;
+2 -2
pkgs/tools/video/rtmpdump/default.nix
··· 1 1 { stdenv, fetchgit, zlib 2 - , gnutlsSupport ? true, gnutls ? null 3 - , opensslSupport ? false, openssl ? null 2 + , gnutlsSupport ? false, gnutls ? null 3 + , opensslSupport ? true, openssl ? null 4 4 }: 5 5 6 6 # Must have an ssl library enabled
+40
pkgs/top-level/all-packages.nix
··· 715 715 716 716 brasero = callPackage ../tools/cd-dvd/brasero { }; 717 717 718 + brltty = callPackage ../tools/misc/brltty { 719 + alsaSupport = (!stdenv.isDarwin); 720 + }; 718 721 bro = callPackage ../applications/networking/ids/bro { }; 719 722 720 723 bsod = callPackage ../misc/emulators/bsod { }; ··· 995 998 996 999 clementine = callPackage ../applications/audio/clementine { 997 1000 boost = boost156; 1001 + gst_plugins = [ gst_plugins_base gst_plugins_good gst_plugins_ugly gst_ffmpeg ]; 998 1002 }; 999 1003 1000 1004 ciopfs = callPackage ../tools/filesystems/ciopfs { }; ··· 1557 1561 1558 1562 grails = callPackage ../development/web/grails { jdk = null; }; 1559 1563 1564 + gprof2dot = callPackage ../development/tools/profiling/gprof2dot { 1565 + # Using pypy provides significant performance improvements (~2x) 1566 + pythonPackages = pypyPackages; 1567 + }; 1568 + 1560 1569 graphviz = callPackage ../tools/graphics/graphviz { }; 1561 1570 1562 1571 graphviz-nox = callPackage ../tools/graphics/graphviz { ··· 1769 1778 1770 1779 isl = callPackage ../development/libraries/isl { }; 1771 1780 isl_0_12 = callPackage ../development/libraries/isl/0.12.2.nix { }; 1781 + isl_0_14 = callPackage ../development/libraries/isl/0.14.1.nix { }; 1772 1782 1773 1783 isync = callPackage ../tools/networking/isync { }; 1774 1784 ··· 3369 3379 3370 3380 ats = callPackage ../development/compilers/ats { }; 3371 3381 ats2 = callPackage ../development/compilers/ats2 { }; 3382 + ats-extsolve = callPackage ../development/compilers/ats-extsolve { }; 3372 3383 3373 3384 avra = callPackage ../development/compilers/avra { }; 3374 3385 ··· 3615 3626 else null; 3616 3627 })); 3617 3628 3629 + gcc51 = lowPrio (wrapCC (callPackage ../development/compilers/gcc/5.1 { 3630 + inherit noSysDirs; 3631 + 3632 + # PGO seems to speed up compilation by gcc by ~10%, see #445 discussion 3633 + profiledCompiler = with stdenv; (!isDarwin && (isi686 || isx86_64)); 3634 + 3635 + # When building `gcc.crossDrv' (a "Canadian cross", with host == target 3636 + # and host != build), `cross' must be null but the cross-libc must still 3637 + # be passed. 3638 + cross = null; 3639 + libcCross = if crossSystem != null then libcCross else null; 3640 + libpthreadCross = 3641 + if crossSystem != null && crossSystem.config == "i586-pc-gnu" 3642 + then gnu.libpthreadCross 3643 + else null; 3644 + 3645 + isl = isl_0_14; 3646 + })); 3647 + 3618 3648 gfortran = gfortran48; 3619 3649 3620 3650 gfortran48 = wrapCC (gcc48.cc.override { ··· 7238 7268 7239 7269 newt = callPackage ../development/libraries/newt { }; 7240 7270 7271 + nghttp2 = callPackage ../development/libraries/nghttp2 { }; 7272 + libnghttp2 = nghttp2.override { 7273 + prefix = "lib"; 7274 + fetchurl = fetchurlBoot; 7275 + }; 7276 + 7241 7277 nix-plugins = callPackage ../development/libraries/nix-plugins { 7242 7278 nix = pkgs.nixUnstable; 7243 7279 }; ··· 9531 9567 9532 9568 lvm2 = callPackage ../os-specific/linux/lvm2 { }; 9533 9569 9570 + mbpfan = callPackage ../os-specific/linux/mbpfan { }; 9571 + 9534 9572 mdadm = callPackage ../os-specific/linux/mdadm { }; 9535 9573 9536 9574 mingetty = callPackage ../os-specific/linux/mingetty { }; ··· 11592 11630 }; 11593 11631 11594 11632 pcmanfm = callPackage ../applications/misc/pcmanfm { }; 11633 + 11634 + pig = callPackage ../applications/networking/cluster/pig { }; 11595 11635 11596 11636 shotcut = callPackage ../applications/video/shotcut { mlt = mlt-qt5; }; 11597 11637
+50 -30
pkgs/top-level/python-packages.nix
··· 493 493 494 494 application = buildPythonPackage rec { 495 495 name = "python-application-${version}"; 496 - version = "1.4.1"; 496 + version = "1.5.0"; 497 497 498 498 src = pkgs.fetchurl { 499 499 url = "https://pypi.python.org/packages/source/p/python-application/${name}.tar.gz"; 500 - sha256 = "3ae188e9dfd4bd63c9b43aebbf1d9de5df03fb5ac01e72f3bff5b41007570275"; 500 + sha256 = "9bc00c2c639bf633e2c5e08d4bf1bb5d7edaad6ccdd473692f0362df08f8aafc"; 501 501 }; 502 502 }; 503 503 ··· 534 534 }; 535 535 536 536 meta = with pkgs.stdenv.lib; { 537 - description = "Advanced Python Scheduler (APScheduler) is a Python library that lets you schedule your Python code to be executed"; 537 + description = "A Python library that lets you schedule your Python code to be executed"; 538 538 homepage = http://pypi.python.org/pypi/APScheduler/; 539 539 license = licenses.mit; 540 540 }; ··· 777 777 buildInputs = [ pkgs.lzma ]; 778 778 779 779 meta = { 780 - describe = "Backport of Python 3.3's 'lzma' module for XZ/LZMA compressed files."; 780 + describe = "Backport of Python 3.3's 'lzma' module for XZ/LZMA compressed files"; 781 781 homepage = https://github.com/peterjc/backports.lzma; 782 782 license = stdenv.lib.licenses.bsd3; 783 783 }; ··· 915 915 }; 916 916 917 917 meta = { 918 - description = "CalDAVCLientLibrary is a Python library and tool for CalDAV"; 918 + description = "A Python library and tool for CalDAV"; 919 919 920 920 longDescription = '' 921 921 CalDAVCLientLibrary is a Python library and tool for CalDAV. ··· 1688 1688 }; 1689 1689 1690 1690 meta = with stdenv.lib; { 1691 - description = "This module implements a very fast JSON encoder/decoder for Python."; 1691 + description = "A very fast JSON encoder/decoder for Python"; 1692 1692 homepage = "http://ag-projects.com/"; 1693 1693 license = licenses.lgpl2; 1694 1694 platforms = platforms.all; ··· 2920 2920 2921 2921 eventlib = buildPythonPackage rec { 2922 2922 name = "python-eventlib-${version}"; 2923 - version = "0.2.0"; 2923 + version = "0.2.1"; 2924 2924 2925 2925 src = pkgs.fetchurl { 2926 2926 url = "http://download.ag-projects.com/SipClient/${name}.tar.gz"; 2927 - sha256 = "0fld5lb85ql4a5bgc38sdxi5pgzqljysp1p8f7abxnd6vymh4rgi"; 2927 + sha256 = "25224794420f430946fe46932718b521a6264903fe8c0ed3563dfdb844c623e7"; 2928 2928 }; 2929 2929 2930 2930 propagatedBuildInputs = with self; [ greenlet ]; 2931 2931 2932 2932 meta = with stdenv.lib; { 2933 - description = "Eventlib bindings for python."; 2933 + description = "Eventlib bindings for python"; 2934 2934 homepage = "http://ag-projects.com/"; 2935 2935 license = licenses.lgpl2; 2936 2936 platforms = platforms.all; ··· 4685 4685 buildInputs = with self; [ pkgs.git gevent geventhttpclient mock fastimport ]; 4686 4686 4687 4687 meta = with stdenv.lib; { 4688 - description = "Simple Python implementation of the Git file formats and protocols."; 4688 + description = "Simple Python implementation of the Git file formats and protocols"; 4689 4689 homepage = http://samba.org/~jelmer/dulwich/; 4690 4690 license = licenses.gpl2Plus; 4691 4691 maintainers = [ maintainers.koral ]; ··· 4705 4705 propagatedBuildInputs = with self; [ pkgs.mercurial dulwich ]; 4706 4706 4707 4707 meta = with stdenv.lib; { 4708 - description = "Push and pull from a Git server using Mercurial."; 4708 + description = "Push and pull from a Git server using Mercurial"; 4709 4709 homepage = http://hg-git.github.com/; 4710 4710 maintainers = [ maintainers.koral ]; 4711 4711 }; ··· 6337 6337 }; 6338 6338 6339 6339 6340 + le = buildPythonPackage rec { 6341 + name = "le-${version}"; 6342 + version = "1.4.13"; 6343 + 6344 + src = pkgs.fetchFromGitHub { 6345 + owner = "logentries"; 6346 + repo = "le"; 6347 + rev = "v${version}"; 6348 + sha256 = "12l6fqavykjinq286i9pgbbbrv5lq2mmiji91g0m05lfdx9pg4y1"; 6349 + }; 6350 + 6351 + propagatedBuildInputs = with self; [ simplejson ]; 6352 + 6353 + meta = { 6354 + homepage = "https://github.com/logentries/le"; 6355 + description = "Logentries agent"; 6356 + }; 6357 + }; 6358 + 6359 + 6340 6360 libcloud = buildPythonPackage (rec { 6341 6361 name = "libcloud-0.14.1"; 6342 6362 ··· 6527 6547 #''; 6528 6548 6529 6549 meta = { 6530 - description = "python-magic is a python interface to the libmagic file type identification library"; 6550 + description = "A python interface to the libmagic file type identification library"; 6531 6551 homepage = https://github.com/ahupp/python-magic; 6532 6552 }; 6533 6553 }; ··· 7059 7079 7060 7080 msrplib = buildPythonPackage rec { 7061 7081 name = "python-msrplib-${version}"; 7062 - version = "0.15.0"; 7082 + version = "0.17.0"; 7063 7083 7064 7084 src = pkgs.fetchurl { 7065 - url = "http://download.ag-projects.com/SipClient/${name}.tar.gz"; 7066 - sha256 = "1sm03jcz663xkbhfmrk7rr5l3wlkydn8xs56fvqjxyapx0m5sw6f"; 7085 + url = "http://download.ag-projects.com/MSRP/${name}.tar.gz"; 7086 + sha256 = "fe6ee541fbb4380a5708d08f378724dbc93438ff35c0cd0400e31b070fce73c4"; 7067 7087 }; 7068 7088 7069 7089 propagatedBuildInputs = with self; [ eventlib application gnutls ]; ··· 9266 9286 9267 9287 meta = { 9268 9288 homepage = "https://launchpad.net/pygpgme"; 9269 - description = "A Python wrapper for the GPGME library."; 9289 + description = "A Python wrapper for the GPGME library"; 9270 9290 license = licenses.lgpl21; 9271 9291 maintainers = [ stdenv.lib.maintainers.garbas ]; 9272 9292 }; ··· 9418 9438 9419 9439 meta = with stdenv.lib; { 9420 9440 description = "JSON Web Token implementation in Python"; 9421 - longDescription = "A Python implementation of JSON Web Token draft 01."; 9441 + longDescription = "A Python implementation of JSON Web Token draft 01"; 9422 9442 homepage = https://github.com/progrium/pyjwt; 9423 9443 downloadPage = https://github.com/progrium/pyjwt/releases; 9424 9444 license = licenses.mit; ··· 9506 9526 9507 9527 meta = { 9508 9528 homepage = http://pyparsing.wikispaces.com/; 9509 - description = "The pyparsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions."; 9529 + description = "An alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions"; 9510 9530 }; 9511 9531 }; 9512 9532 ··· 11080 11100 }; 11081 11101 11082 11102 meta = { 11083 - description = "simplejson is a simple, fast, extensible JSON encoder/decoder for Python"; 11103 + description = "A simple, fast, extensible JSON encoder/decoder for Python"; 11084 11104 11085 11105 longDescription = '' 11086 11106 simplejson is compatible with Python 2.4 and later with no ··· 11451 11471 11452 11472 sipsimple = buildPythonPackage rec { 11453 11473 name = "sipsimple-${version}"; 11454 - version = "2.3.1"; 11474 + version = "2.4.0"; 11455 11475 disabled = isPy3k; 11456 11476 11457 11477 configurePhase = "find -name 'configure' -exec chmod a+x {} \\; ; find -name 'aconfigure' -exec chmod a+x {} \\; ; ${python}/bin/${python.executable} setup.py build_ext --pjsip-clean-compile"; 11458 11478 11459 11479 src = pkgs.fetchurl { 11460 11480 url = "http://download.ag-projects.com/SipClient/python-${name}.tar.gz"; 11461 - sha256 = "1n3g1zg3zgdybikdla0qdqvpa06vn1ka2asr61lb8kk6xbvqkljv"; 11481 + sha256 = "f66543c680f22aa3cf86f55373a01a2bb699366a1be5e257c417d018696b6840"; 11462 11482 }; 11463 11483 11464 11484 propagatedBuildInputs = with self; [ cython pkgs.openssl dns dateutil xcaplib msrplib lxml ]; ··· 13060 13080 13061 13081 xcaplib = buildPythonPackage rec { 13062 13082 name = "python-xcaplib-${version}"; 13063 - version = "1.0.17"; 13083 + version = "1.1.0"; 13064 13084 13065 13085 src = pkgs.fetchurl { 13066 - url = "http://download.ag-projects.com/SipClient/${name}.tar.gz"; 13067 - sha256 = "1bf8n9ghmgxz8kjgnwy4y7ajijy5hi7viabgh0pvzkhz9gfvck86"; 13086 + url = "http://download.ag-projects.com/XCAP/${name}.tar.gz"; 13087 + sha256 = "2f8ea6fe7d005104ef1d854aa87bd8ee85ca242a70cde42f409f8e5557f864b3"; 13068 13088 }; 13069 13089 13070 13090 propagatedBuildInputs = with self; [ eventlib application ]; ··· 14351 14371 LD_LIBRARY_PATH = "${pkgs.cairo}/lib"; 14352 14372 14353 14373 meta = { 14354 - description = "Graphite-web, without the interface. Just the rendering HTTP API."; 14374 + description = "Graphite-web, without the interface. Just the rendering HTTP API"; 14355 14375 homepage = https://github.com/brutasse/graphite-api; 14356 14376 license = licenses.asl20; 14357 14377 }; ··· 14604 14624 buildInputs = with self; [ requests gevent ]; 14605 14625 14606 14626 meta = { 14607 - description = "GRequests allows you to use Requests with Gevent to make asynchronous HTTP Requests easily."; 14627 + description = "Asynchronous HTTP requests"; 14608 14628 homepage = https://github.com/kennethreitz/grequests; 14609 14629 license = "bsd"; 14610 14630 maintainers = [ stdenv.lib.maintainers.matejc ]; ··· 14715 14735 ''; 14716 14736 buildInputs = with self; [ pkgs.pkgconfig pkgs.e19.efl pkgs.e19.elementary ]; 14717 14737 meta = { 14718 - description = "Python bindings for EFL and Elementary."; 14738 + description = "Python bindings for EFL and Elementary"; 14719 14739 homepage = http://enlightenment.org/; 14720 14740 maintainers = [ stdenv.lib.maintainers.matejc stdenv.lib.maintainers.tstrobel ]; 14721 14741 platforms = stdenv.lib.platforms.linux; ··· 14996 15016 }; 14997 15017 14998 15018 meta = { 14999 - description = "Thumbor is a smart imaging service. It enables on-demand crop, resizing and flipping of images."; 15019 + description = "A smart imaging service"; 15000 15020 homepage = https://github.com/globocom/thumbor/wiki; 15001 15021 license = licenses.mit; 15002 15022 }; ··· 15145 15165 15146 15166 meta = { 15147 15167 homepage = "https://github.com/erikrose/parsimonious"; 15148 - description = "Fast arbitrary-lookahead packrat parser written in pure Python."; 15168 + description = "Fast arbitrary-lookahead packrat parser written in pure Python"; 15149 15169 license = licenses.mit; 15150 15170 }; 15151 15171 }; ··· 15163 15183 15164 15184 meta = { 15165 15185 homepage = "https://networkx.github.io/"; 15166 - description = "Library for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks."; 15186 + description = "Library for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks"; 15167 15187 license = licenses.bsd3; 15168 15188 }; 15169 15189 };