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

Conflicts:
	pkgs/build-support/cc-wrapper/default.nix
	pkgs/build-support/gcc-wrapper-old/builder.sh
	pkgs/build-support/trivial-builders.nix
	pkgs/desktops/kde-4.14/kde-package/default.nix
	pkgs/development/compilers/openjdk-darwin/8.nix
	pkgs/development/compilers/openjdk-darwin/default.nix
	pkgs/development/compilers/openjdk/7.nix
	pkgs/development/compilers/openjdk/8.nix
	pkgs/development/compilers/oraclejdk/jdk-linux-base.nix
	pkgs/development/compilers/zulu/default.nix
	pkgs/development/haskell-modules/generic-builder.nix
	pkgs/misc/misc.nix
	pkgs/stdenv/generic/builder.sh
	pkgs/stdenv/generic/setup.sh
This commit is contained in:
John Ericson 2017-07-26 13:46:04 -04:00
commit 9be40841ea
113 changed files with 5447 additions and 2300 deletions

View File

@ -698,33 +698,6 @@ rm /nix/var/nix/manifests/*
rm /nix/var/nix/channel-cache/*
```
### How to use the Haste Haskell-to-Javascript transpiler
Open a shell with `haste-compiler` and `haste-cabal-install` (you don't actually need
`node`, but it can be useful to test stuff):
```shell
nix-shell \
-p "haskellPackages.ghcWithPackages (self: with self; [haste-cabal-install haste-compiler])" \
-p nodejs
```
You may not need the following step but if `haste-boot` fails to compile all the
packages it needs, this might do the trick
```shell
haste-cabal update
```
`haste-boot` builds a set of core libraries so that they can be used from Javascript
transpiled programs:
```shell
haste-boot
```
Transpile and run a "Hello world" program:
```
$ echo 'module Main where main = putStrLn "Hello world"' > hello-world.hs
$ hastec --onexec hello-world.hs
$ node hello-world.js
Hello world
```
### Builds on Darwin fail with `math.h` not found
Users of GHC on Darwin have occasionally reported that builds fail, because the

View File

@ -2,7 +2,7 @@
set -o pipefail
GNOME_FTP="ftp.gnome.org/pub/GNOME/sources"
GNOME_FTP=ftp.gnome.org/pub/GNOME/sources
# projects that don't follow the GNOME major versioning, or that we don't want to
# programmatically update
@ -18,10 +18,10 @@ if [ "$#" -lt 2 ]; then
usage
fi
GNOME_TOP="$1"
GNOME_TOP=$1
shift
action="$1"
action=$1
# curl -l ftp://... doesn't work from my office in HSE, and I don't want to have
# any conversations with sysadmin. Somehow lftp works.
@ -36,18 +36,18 @@ else
fi
find_project() {
exec find "$GNOME_TOP" -mindepth 2 -maxdepth 2 -type d $@
exec find "$GNOME_TOP" -mindepth 2 -maxdepth 2 -type d "$@"
}
show_project() {
local project="$1"
local majorVersion="$2"
local version=""
local project=$1
local majorVersion=$2
local version=
if [ -z "$majorVersion" ]; then
echo "Looking for available versions..." >&2
local available_baseversions=( `ls_ftp ftp://${GNOME_FTP}/${project} | grep '[0-9]\.[0-9]' | sort -t. -k1,1n -k 2,2n` )
if [ "$?" -ne "0" ]; then
local available_baseversions=$(ls_ftp ftp://${GNOME_FTP}/${project} | grep '[0-9]\.[0-9]' | sort -t. -k1,1n -k 2,2n)
if [ "$?" -ne 0 ]; then
echo "Project $project not found" >&2
return 1
fi
@ -59,11 +59,11 @@ show_project() {
if echo "$majorVersion" | grep -q "[0-9]\+\.[0-9]\+\.[0-9]\+"; then
# not a major version
version="$majorVersion"
version=$majorVersion
majorVersion=$(echo "$majorVersion" | cut -d '.' -f 1,2)
fi
local FTPDIR="${GNOME_FTP}/${project}/${majorVersion}"
local FTPDIR=${GNOME_FTP}/${project}/${majorVersion}
#version=`curl -l ${FTPDIR}/ 2>/dev/null | grep LATEST-IS | sed -e s/LATEST-IS-//`
# gnome's LATEST-IS is broken. Do not trust it.
@ -92,7 +92,7 @@ show_project() {
esac
done
echo "Found versions ${!versions[@]}" >&2
version=`echo ${!versions[@]} | sed -e 's/ /\n/g' | sort -t. -k1,1n -k 2,2n -k 3,3n | tail -n1`
version=$(echo ${!versions[@]} | sed -e 's/ /\n/g' | sort -t. -k1,1n -k 2,2n -k 3,3n | tail -n1)
if [ -z "$version" ]; then
echo "No version available for major $majorVersion" >&2
return 1
@ -103,7 +103,7 @@ show_project() {
local name=${project}-${version}
echo "Fetching .sha256 file" >&2
local sha256out=$(curl -s -f http://${FTPDIR}/${name}.sha256sum)
local sha256out=$(curl -s -f http://"${FTPDIR}"/"${name}".sha256sum)
if [ "$?" -ne "0" ]; then
echo "Version not found" >&2
@ -136,8 +136,8 @@ fetchurl: {
}
update_project() {
local project="$1"
local majorVersion="$2"
local project=$1
local majorVersion=$2
# find project in nixpkgs tree
projectPath=$(find_project -name "$project" -print)
@ -150,14 +150,14 @@ update_project() {
if [ "$?" -eq "0" ]; then
echo "Updating $projectPath/src.nix" >&2
echo -e "$src" > "$projectPath/src.nix"
echo -e "$src" > "$projectPath"/src.nix
fi
return 0
}
if [ "$action" == "update-all" ]; then
majorVersion="$2"
if [ "$action" = "update-all" ]; then
majorVersion=$2
if [ -z "$majorVersion" ]; then
echo "No major version specified" >&2
usage
@ -170,23 +170,23 @@ if [ "$action" == "update-all" ]; then
echo "Skipping $project"
else
echo "= Updating $project to $majorVersion" >&2
update_project $project $majorVersion
update_project "$project" "$majorVersion"
echo >&2
fi
done
else
project="$2"
majorVersion="$3"
project=$2
majorVersion=$3
if [ -z "$project" ]; then
echo "No project specified, exiting" >&2
usage
fi
if [ "$action" == "show" ]; then
show_project $project $majorVersion
elif [ "$action" == "update" ]; then
update_project $project $majorVersion
if [ "$action" = show ]; then
show_project "$project" "$majorVersion"
elif [ "$action" = update ]; then
update_project "$project" "$majorVersion"
else
echo "Unknown action $action" >&2
usage

View File

@ -26,7 +26,15 @@ with lib;
fonts.fontconfig.enable = false;
nixpkgs.config.packageOverrides = pkgs:
{ dbus = pkgs.dbus.override { x11Support = false; }; };
nixpkgs.config.packageOverrides = pkgs: {
dbus = pkgs.dbus.override { x11Support = false; };
networkmanager_fortisslvpn = pkgs.networkmanager_fortisslvpn.override { withGnome = false; };
networkmanager_l2tp = pkgs.networkmanager_l2tp.override { withGnome = false; };
networkmanager_openconnect = pkgs.networkmanager_openconnect.override { withGnome = false; };
networkmanager_openvpn = pkgs.networkmanager_openvpn.override { withGnome = false; };
networkmanager_pptp = pkgs.networkmanager_pptp.override { withGnome = false; };
networkmanager_vpnc = pkgs.networkmanager_vpnc.override { withGnome = false; };
pinentry = pkgs.pinentry.override { gtk2 = null; qt4 = null; };
};
};
}

View File

@ -149,9 +149,7 @@ in
fi
''}
${optionalString sw.randomEncryption ''
echo "secretkey" | cryptsetup luksFormat --batch-mode ${sw.device}
echo "secretkey" | cryptsetup luksOpen ${sw.device} ${sw.deviceName}
cryptsetup luksErase --batch-mode ${sw.device}
cryptsetup open ${sw.device} ${sw.deviceName} --type plain --key-file /dev/urandom
mkswap ${sw.realDevice}
''}
'';

View File

@ -356,6 +356,7 @@
./services/monitoring/munin.nix
./services/monitoring/nagios.nix
./services/monitoring/netdata.nix
./services/monitoring/osquery.nix
./services/monitoring/prometheus/default.nix
./services/monitoring/prometheus/alertmanager.nix
./services/monitoring/prometheus/blackbox-exporter.nix

View File

@ -26,6 +26,6 @@ with lib;
###### implementation
config = mkIf config.programs.qt5ct.enable {
environment.variables.QT_QPA_PLATFORMTHEME = "qt5ct";
environment.systemPackages = [ pkgs.qt5ct ];
environment.systemPackages = with pkgs; [ qt5ct libsForQt5.qtstyleplugins ];
};
}

View File

@ -20,10 +20,10 @@ in
enable = mkOption {
default = false;
description = "
description = ''
Mount filesystems on demand. Unmount them automatically.
You may also be interested in afuse.
";
'';
};
autoMaster = mkOption {
@ -45,10 +45,9 @@ in
/auto file:''${mapConf}
'''
'';
description = "
file contents of /etc/auto.master. See man auto.master
See man 5 auto.master and man 5 autofs.
";
description = ''
Contents of <literal>/etc/auto.master</literal> file. See <command>auto.master(5)</command> and <command>autofs(5)</command>.
'';
};
timeout = mkOption {
@ -58,9 +57,9 @@ in
debug = mkOption {
default = false;
description = "
pass -d and -7 to automount and write log to /var/log/autofs
";
description = ''
Pass -d and -7 to automount and write log to the system journal.
'';
};
};

View File

@ -30,4 +30,5 @@ in {
};
meta.maintainers = with maintainers; [ gnidorah ];
}

View File

@ -42,4 +42,5 @@ in {
};
meta.maintainers = with maintainers; [ gnidorah ];
}

View File

@ -4,7 +4,7 @@ with lib;
let
cfg = config.services.zookeeper;
zookeeperConfig = ''
dataDir=${cfg.dataDir}
clientPort=${toString cfg.port}
@ -49,7 +49,7 @@ in {
default = 1;
type = types.int;
};
extraConf = mkOption {
description = "Extra configuration for Zookeeper.";
type = types.lines;
@ -119,7 +119,7 @@ in {
ExecStart = ''
${pkgs.jre}/bin/java \
-cp "${pkgs.zookeeper}/lib/*:${pkgs.zookeeper}/${pkgs.zookeeper.name}.jar:${configDir}" \
${toString cfg.extraCmdLineOptions} \
${escapeShellArgs cfg.extraCmdLineOptions} \
-Dzookeeper.datadir.autocreate=false \
${optionalString cfg.preferIPv4 "-Djava.net.preferIPv4Stack=true"} \
org.apache.zookeeper.server.quorum.QuorumPeerMain \

View File

@ -0,0 +1,91 @@
{ config, lib, pkgs, ... }:
with builtins;
with lib;
let
cfg = config.services.osquery;
in
{
options = {
services.osquery = {
enable = mkEnableOption "osquery";
loggerPath = mkOption {
type = types.path;
description = "Base directory used for logging.";
default = "/var/log/osquery";
};
pidfile = mkOption {
type = types.path;
description = "Path used for pid file.";
default = "/var/osquery/osqueryd.pidfile";
};
utc = mkOption {
type = types.bool;
description = "Attempt to convert all UNIX calendar times to UTC.";
default = true;
};
databasePath = mkOption {
type = types.path;
description = "Path used for database file.";
default = "/var/osquery/osquery.db";
};
extraConfig = mkOption {
type = types.attrs // {
merge = loc: foldl' (res: def: recursiveUpdate res def.value) {};
};
description = "Extra config to be recursively merged into the JSON config file.";
default = { };
};
};
};
config = mkIf cfg.enable {
environment.systemPackages = [ pkgs.osquery ];
environment.etc."osquery/osquery.conf".text = toJSON (
recursiveUpdate {
options = {
config_plugin = "filesystem";
logger_plugin = "filesystem";
logger_path = cfg.loggerPath;
database_path = cfg.databasePath;
utc = cfg.utc;
};
} cfg.extraConfig
);
systemd.services.osqueryd = {
description = "The osquery Daemon";
after = [ "network.target" "syslog.service" ];
wantedBy = [ "multi-user.target" ];
path = [ pkgs.osquery ];
preStart = ''
mkdir -p ${escapeShellArg cfg.loggerPath}
mkdir -p "$(dirname ${escapeShellArg cfg.pidfile})"
mkdir -p "$(dirname ${escapeShellArg cfg.databasePath})"
'';
serviceConfig = {
TimeoutStartSec = 0;
ExecStart = "${pkgs.osquery}/bin/osqueryd --logger_path ${escapeShellArg cfg.loggerPath} --pidfile ${escapeShellArg cfg.pidfile} --database_path ${escapeShellArg cfg.databasePath}";
KillMode = "process";
KillSignal = "SIGTERM";
Restart = "on-failure";
};
};
};
}

View File

@ -237,13 +237,13 @@ in
# arguments to $(tahoe start). The node directory must come first,
# and arguments which alter Twisted's behavior come afterwards.
ExecStart = ''
${settings.package}/bin/tahoe start ${nodedir} -n -l- --pidfile=${pidfile}
${settings.package}/bin/tahoe start ${lib.escapeShellArg nodedir} -n -l- --pidfile=${lib.escapeShellArg pidfile}
'';
};
preStart = ''
if [ \! -d ${nodedir} ]; then
if [ ! -d ${lib.escapeShellArg nodedir} ]; then
mkdir -p /var/db/tahoe-lafs
tahoe create-introducer ${nodedir}
tahoe create-introducer "${lib.escapeShellArg nodedir}
fi
# Tahoe has created a predefined tahoe.cfg which we must now
@ -252,7 +252,7 @@ in
# we must do this on every prestart. Fixes welcome.
# rm ${nodedir}/tahoe.cfg
# ln -s /etc/tahoe-lafs/introducer-${node}.cfg ${nodedir}/tahoe.cfg
cp /etc/tahoe-lafs/introducer-${node}.cfg ${nodedir}/tahoe.cfg
cp /etc/tahoe-lafs/introducer-"${node}".cfg ${lib.escapeShellArg nodedir}/tahoe.cfg
'';
});
users.extraUsers = flip mapAttrs' cfg.introducers (node: _:
@ -337,13 +337,13 @@ in
# arguments to $(tahoe start). The node directory must come first,
# and arguments which alter Twisted's behavior come afterwards.
ExecStart = ''
${settings.package}/bin/tahoe start ${nodedir} -n -l- --pidfile=${pidfile}
${settings.package}/bin/tahoe start ${lib.escapeShellArg nodedir} -n -l- --pidfile=${lib.escapeShellArg pidfile}
'';
};
preStart = ''
if [ \! -d ${nodedir} ]; then
if [ ! -d ${lib.escapeShellArg nodedir} ]; then
mkdir -p /var/db/tahoe-lafs
tahoe create-node --hostname=localhost ${nodedir}
tahoe create-node --hostname=localhost ${lib.escapeShellArg nodedir}
fi
# Tahoe has created a predefined tahoe.cfg which we must now
@ -351,8 +351,8 @@ in
# XXX I thought that a symlink would work here, but it doesn't, so
# we must do this on every prestart. Fixes welcome.
# rm ${nodedir}/tahoe.cfg
# ln -s /etc/tahoe-lafs/${node}.cfg ${nodedir}/tahoe.cfg
cp /etc/tahoe-lafs/${node}.cfg ${nodedir}/tahoe.cfg
# ln -s /etc/tahoe-lafs/${lib.escapeShellArg node}.cfg ${nodedir}/tahoe.cfg
cp /etc/tahoe-lafs/${lib.escapeShellArg node}.cfg ${lib.escapeShellArg nodedir}/tahoe.cfg
'';
});
users.extraUsers = flip mapAttrs' cfg.nodes (node: _:

View File

@ -320,6 +320,14 @@ in {
RuntimeDirectory = "turnserver";
User = "turnserver";
Group = "turnserver";
AmbientCapabilities =
mkIf (
cfg.listening-port < 1024 ||
cfg.alt-listening-port < 1024 ||
cfg.tls-listening-port < 1024 ||
cfg.alt-tls-listening-port < 1024 ||
cfg.min-port < 1024
) "cap_net_bind_service";
Restart = "on-abort";
};
};

View File

@ -194,6 +194,19 @@ in
})
);
environment.systemPackages = let
cli-wrappers = pkgs.stdenv.mkDerivation {
name = "tinc-cli-wrappers";
buildInputs = [ pkgs.makeWrapper ];
buildCommand = ''
mkdir -p $out/bin
${concatStringsSep "\n" (mapAttrsToList (network: data: ''
makeWrapper ${data.package}/bin/tinc "$out/bin/tinc.${network}" --add-flags "--pidfile=/run/tinc.${network}.pid"
'') cfg.networks)}
'';
};
in [ cli-wrappers ];
users.extraUsers = flip mapAttrs' cfg.networks (network: _:
nameValuePair ("tinc.${network}") ({
description = "Tinc daemon user for ${network}";

View File

@ -208,7 +208,7 @@ let
"${ipCommand} link set up dev ${name}"
(map (peer: (map (ip:
"${ipCommand} route add ${ip} dev ${name}"
"${ipCommand} route replace ${ip} dev ${name}"
) peer.allowedIPs)) values.peers)
values.postSetup

View File

@ -4,11 +4,11 @@
}:
stdenv.mkDerivation rec {
name = "mpg123-1.23.8";
name = "mpg123-1.25.4";
src = fetchurl {
url = "mirror://sourceforge/mpg123/${name}.tar.bz2";
sha256 = "13ngfzk84k4ks7ymanmq8f6707yrybra5h0mk3ir6mdnxk4068yy";
sha256 = "1rxknrnl3ji5hi5rbckpzhbl1k5r8i53kcys4xdgg0xbi8765dfd";
};
buildInputs = stdenv.lib.optional (!stdenv.isDarwin) alsaLib;

View File

@ -8,7 +8,8 @@ let
# Please update the stable branch!
# Latest version number can be found at:
# http://repository-origin.spotify.com/pool/non-free/s/spotify-client/
version = "1.0.57.474.gca9c9538-30";
# Be careful not to pick the testing version.
version = "1.0.49.125.g72ee7853-111";
deps = [
alsaLib
@ -53,7 +54,7 @@ stdenv.mkDerivation {
src = fetchurl {
url = "https://repository-origin.spotify.com/pool/non-free/s/spotify-client/spotify-client_${version}_amd64.deb";
sha256 = "fe46f2084c45c756bee366f744d2821d79e82866b19942e30bb2a20c1e597437";
sha256 = "0l008x06d257vcw6gq3q90hvv93cq6mxpj11by1np6bzzg61qv8x";
};
buildInputs = [ dpkg makeWrapper ];

View File

@ -17,16 +17,16 @@
with rustPlatform;
buildRustPackage rec {
name = "alacritty-unstable-2017-07-08";
name = "alacritty-unstable-2017-07-25";
src = fetchFromGitHub {
owner = "jwilm";
repo = "alacritty";
rev = "94849c4f2a19bd49337f5cf090f94ac6a940c414";
sha256 = "0cawrq0787pcfifn5awccq29a1ag85wfbmx1ccz7m33prk3ry9jp";
rev = "49c73f6d55e5a681a0e0f836cd3e9fe6af30788f";
sha256 = "0h5hrb2g0fpc6xn94hmvxjj21cqbj4vgqkznvd64jl84qbyh1xjl";
};
depsSha256 = "0lb83aan6lgdsdcrd6zdrxhz5bi96cw4ygqqlpm43w42chwzz0xj";
depsSha256 = "1pbb0swgpsbd6x3avxz6fv3q31dg801li47jibz721a4n9c0rssx";
buildInputs = [
cmake

View File

@ -0,0 +1,67 @@
{ stdenv, fetchFromGitHub
, armadillo
, boost
, cmake
, glog
, gmock
, openssl
, google-gflags
, gnuradio
, orc
, pkgconfig
, pythonPackages
, uhd
}:
stdenv.mkDerivation rec {
name = "gnss-sdr-${version}";
version = "0.0.9";
src = fetchFromGitHub {
owner = "gnss-sdr";
repo = "gnss-sdr";
rev = "v${version}";
sha256 = "0gis932ly3vk7d5qvznffp54pkmbw3m6v60mxjfdj5dd3r7vf975";
};
buildInputs = [
armadillo
boost.dev
cmake
glog
gmock
openssl.dev
google-gflags
gnuradio
orc
pkgconfig
pythonPackages.Mako
# UHD support is optional, but gnuradio is built with it, so there's
# nothing to be gained by leaving it out.
uhd
];
enableParallelBuilding = true;
cmakeFlags = [
"-DGFlags_ROOT_DIR=${google-gflags}/lib"
"-DGLOG_INCLUDE_DIR=${glog}/include"
# gnss-sdr doesn't truly depend on BLAS or LAPACK, as long as
# armadillo is built using both, so skip checking for them.
"-DBLAS=YES"
"-DLAPACK=YES"
# Similarly, it doesn't actually use gfortran despite checking for
# its presence.
"-DGFORTRAN=YES"
];
meta = with stdenv.lib; {
description = "An open source Global Navigation Satellite Systems software-defined receiver";
homepage = http://gnss-sdr.org/;
license = licenses.gpl3Plus;
platforms = platforms.linux;
};
}

View File

@ -1,14 +1,14 @@
{ lib, stdenv, fetchurl, fetchpatch, zlib, qt4, which, IOKit }:
{ lib, stdenv, fetchFromGitHub, fetchpatch, zlib, which, IOKit, qtbase }:
stdenv.mkDerivation rec {
name = "gpsbabel-${version}";
version = "1.5.3";
version = "1.5.4";
src = fetchurl {
# gpgbabel.org makes it hard to get the source tarball automatically, so
# get it from elsewhere.
url = "mirror://debian/pool/main/g/gpsbabel/gpsbabel_${version}.orig.tar.gz";
sha256 = "0l6c8911f7i5bbdzah9irhqf127ib0b7lv53rb8r9z8g439mznq1";
src = fetchFromGitHub {
owner = "gpsbabel";
repo = "gpsbabel";
rev = "gpsbabel_${lib.replaceStrings ["."] ["_"] version}";
sha256 = "0v6wpp14zkfbarmksf9dn3wmpj1araxd7xi5xp7gpl7kafb9aiwi";
};
patches = [
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
})
];
buildInputs = [ zlib qt4 which ]
buildInputs = [ zlib qtbase which ]
++ lib.optionals stdenv.isDarwin [ IOKit ];
/* FIXME: Building the documentation, with "make doc", requires this:
@ -46,7 +46,9 @@ stdenv.mkDerivation rec {
# The raymarine and gtm tests fail on i686 despite -ffloat-store.
+ lib.optionalString stdenv.isi686 "rm -v testo.d/raymarine.test testo.d/gtm.test;"
# The gtm, kml and tomtom asc tests fail on darwin, see PR #23572.
+ lib.optionalString stdenv.isDarwin "rm -v testo.d/gtm.test testo.d/kml.test testo.d/tomtom_asc.test";
+ lib.optionalString stdenv.isDarwin "rm -v testo.d/gtm.test testo.d/kml.test testo.d/tomtom_asc.test testo.d/classic-2.test"
# The arc-project test fails on aarch64.
+ lib.optionalString stdenv.isAarch64 "rm -v testo.d/arc-project.test";
meta = with stdenv.lib; {
description = "Convert, upload and download data from GPS and Map programs";

View File

@ -3,7 +3,7 @@
buildGoPackage rec {
name = "machine-${version}";
version = "0.10.0";
version = "0.12.0";
goPackagePath = "github.com/docker/machine";
@ -11,7 +11,7 @@ buildGoPackage rec {
rev = "v${version}";
owner = "docker";
repo = "machine";
sha256 = "1ik0jbp8zqzmg8w1fnf82gdlwrvw4nl40lmins7h8y0q6psrp6gc";
sha256 = "08y87d0whag9sy1q5s84xrz95k12c9crh3zmdcr1ylrwqnszrn2y";
};
postInstall = ''

View File

@ -119,14 +119,14 @@ let
};
gitSource = rec {
version = "2017-04-16";
version = "2017-05-25";
qtVersion = 5;
# Needs submodules
src = fetchgit {
url = "https://github.com/mumble-voip/mumble";
rev = "eb63d0b14a7bc19bfdf34f80921798f0a67cdedf";
sha256 = "1nirbx0fnvi1nl6s5hrm4b0v7s2i22yshkmqnfjhxyr0y272s7lh";
rev = "3754898ac94ed3f1e86408114917d1b4c06f17b3";
sha256 = "1qh49x3y7m0c0h0gcs6amkf8nb75p6g611zwn19mbplwmi7h9y8f";
};
};
in {

View File

@ -1,18 +1,17 @@
{ stdenv, fetchFromGitHub, fetchpatch, cmake, python, vim }:
{ stdenv, fetchFromGitHub, fetchpatch, cmake, python, xxd }:
stdenv.mkDerivation rec {
name = "cryptominisat-${version}";
version = "5.0.1";
src = fetchFromGitHub {
owner = "msoos";
repo = "cryptominisat";
rev = version;
owner = "msoos";
repo = "cryptominisat";
rev = version;
sha256 = "0cpw5d9vplxvv3aaplhnga55gz1hy29p7s4pkw1306knkbhlzvkb";
};
# vim for xxd binary
buildInputs = [ python vim ];
buildInputs = [ python xxd ];
nativeBuildInputs = [ cmake ];
patches = [(fetchpatch rec {
@ -23,9 +22,9 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "An advanced SAT Solver";
homepage = https://github.com/msoos/cryptominisat;
license = licenses.mit;
maintainers = with maintainers; [ mic92 ];
platforms = platforms.unix;
license = licenses.mit;
homepage = https://github.com/msoos/cryptominisat;
platforms = platforms.unix;
};
}

View File

@ -9,11 +9,11 @@ with stdenv.lib;
stdenv.mkDerivation rec {
name = "gitkraken-${version}";
version = "2.6.0";
version = "2.7.0";
src = fetchurl {
url = "https://release.gitkraken.com/linux/v${version}.deb";
sha256 = "1msdwqp20pwaxv1a6maqb7wmaq00m8jpdga7fmbjcnpvkcdz49l7";
sha256 = "0088vdn47563f0v9zhk1vggn3c2cfg8rhmifc6nw4zbss49si5gp";
};
libPath = makeLibraryPath [

View File

@ -18,10 +18,10 @@ with stdenv.lib;
let
python = python2;
buildType = "release";
extpack = "244e6f450cba64e0b025711050db3c43e6ce77e12cd80bcd08796315a90c8aaf";
extpackRev = "115126";
main = "fcc918000b8c5ece553541ec10a9182410a742b7266257c76dda895dcd389899";
version = "5.1.22";
extpack = "1952ikz4xsjgdd0pzdx1riwaingyhkxp0ind31yzqc4d0hp8l6b5";
extpackRev = "117012";
main = "0q5vjsih4ndn1b0s9l1ppxng6dljld5bin5nqfrhvgr2ldlv2bgf";
version = "5.1.24";
# See https://github.com/NixOS/nixpkgs/issues/672 for details
extensionPack = requireFile rec {
@ -88,7 +88,7 @@ in stdenv.mkDerivation {
'';
patches = optional enableHardening ./hardened.patch
++ [ ./qtx11extras.patch ./linux-4.12.patch ];
++ [ ./qtx11extras.patch ];
postPatch = ''
sed -i -e 's|/sbin/ifconfig|${nettools}/bin/ifconfig|' \

View File

@ -19,7 +19,7 @@ stdenv.mkDerivation {
src = fetchurl {
url = "http://download.virtualbox.org/virtualbox/${version}/VBoxGuestAdditions_${version}.iso";
sha256 = "54df14f234b6aa484b94939ab0f435b5dd859417612b65a399ecc34a62060380";
sha256 = "0hxxv2707fb6x34m5cmjhj73sxwgmy2dgir7mbbdh9wivw07b9q1";
};
KERN_DIR = "${kernel.dev}/lib/modules/*/build";
@ -62,9 +62,6 @@ stdenv.mkDerivation {
for i in *
do
cd $i
# Files within the guest additions ISO are using DOS line endings
sed -re '/^(@@|---|\+\+\+)/!s/$/\r/' ${../linux-4.12.patch} \
| patch -d vboxguest -p4
find . -type f | xargs sed 's/depmod -a/true/' -i
make
cd ..

View File

@ -1,80 +0,0 @@
commit 47fee9325e3b5feed0dbc4ba9e2de77c6d55e3bb
Author: vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>
Date: Wed May 17 09:42:23 2017 +0000
Runtime/r0drv: Linux 4.12 5-level page table adaptions
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@66927 cfe28804-0f27-0410-a406-dd0f0b0b656f
diff --git a/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c b/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
index 28dc33f963..41ed058860 100644
--- a/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
+++ b/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
@@ -902,6 +902,9 @@ static struct page *rtR0MemObjLinuxVirtToPage(void *pv)
union
{
pgd_t Global;
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
+ p4d_t Four;
+#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 11)
pud_t Upper;
#endif
@@ -917,12 +920,26 @@ static struct page *rtR0MemObjLinuxVirtToPage(void *pv)
u.Global = *pgd_offset(current->active_mm, ulAddr);
if (RT_UNLIKELY(pgd_none(u.Global)))
return NULL;
-
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 11)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
+ u.Four = *p4d_offset(&u.Global, ulAddr);
+ if (RT_UNLIKELY(p4d_none(u.Four)))
+ return NULL;
+ if (p4d_large(u.Four))
+ {
+ pPage = p4d_page(u.Four);
+ AssertReturn(pPage, NULL);
+ pfn = page_to_pfn(pPage); /* doing the safe way... */
+ AssertCompile(P4D_SHIFT - PAGE_SHIFT < 31);
+ pfn += (ulAddr >> PAGE_SHIFT) & ((UINT32_C(1) << (P4D_SHIFT - PAGE_SHIFT)) - 1);
+ return pfn_to_page(pfn);
+ }
+ u.Upper = *pud_offset(&u.Four, ulAddr);
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 11)
u.Upper = *pud_offset(&u.Global, ulAddr);
+#endif
if (RT_UNLIKELY(pud_none(u.Upper)))
return NULL;
-# if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 25)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 25)
if (pud_large(u.Upper))
{
pPage = pud_page(u.Upper);
@@ -931,8 +948,8 @@ static struct page *rtR0MemObjLinuxVirtToPage(void *pv)
pfn += (ulAddr >> PAGE_SHIFT) & ((UINT32_C(1) << (PUD_SHIFT - PAGE_SHIFT)) - 1);
return pfn_to_page(pfn);
}
-# endif
-
+#endif
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 11)
u.Middle = *pmd_offset(&u.Upper, ulAddr);
#else /* < 2.6.11 */
u.Middle = *pmd_offset(&u.Global, ulAddr);
diff --git a/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h b/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
index 5afdee9e71..20aab0817f 100644
--- a/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
+++ b/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
@@ -159,6 +159,11 @@
# include <asm/tlbflush.h>
#endif
+/* for set_pages_x() */
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
+# include <asm/set_memory.h>
+#endif
+
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 7, 0)
# include <asm/smap.h>
#else

View File

@ -5,13 +5,13 @@
stdenv.mkDerivation rec {
name = "jwm-${version}";
version = "1594";
version = "1600";
src = fetchFromGitHub {
owner = "joewing";
repo = "jwm";
rev = "s${version}";
sha256 = "1608ws3867xipcbdl2gw6ybcxzk14vq24sr62m9l65m4g4m3wbd2";
sha256 = "0rfb67r6g873alvcbn9531415qlfmvfrdfm4xrsyhdgdwj7dv5kv";
};
nativeBuildInputs = [ pkgconfig automake autoconf libtool gettext which ];

View File

@ -409,8 +409,9 @@ rec {
};
result = runCommand "docker-image-${baseName}.tar.gz" {
buildInputs = [ jshon pigz coreutils findutils ];
imageName = name;
imageTag = tag;
# Image name and tag must be lowercase
imageName = lib.toLower name;
imageTag = lib.toLower tag;
inherit fromImage baseJson;
layerClosure = writeReferencesToFile layer;
passthru.buildArgs = args;

View File

@ -5,7 +5,7 @@
# stripLen acts as the -p parameter when applying a patch.
{ lib, fetchurl, patchutils }:
{ stripLen ? 0, addPrefixes ? false, ... }@args:
{ stripLen ? 0, addPrefixes ? false, excludes ? [], ... }@args:
fetchurl ({
postFetch = ''
@ -21,7 +21,10 @@ fetchurl ({
--addnewprefix=b/ \
''} \
--clean "$out" > "$tmpfile"
mv "$tmpfile" "$out"
${patchutils}/bin/filterdiff \
-p1 \
${builtins.toString (builtins.map (x: "-x ${x}") excludes)} \
"$tmpfile" > "$out"
${args.postFetch or ""}
'';
} // builtins.removeAttrs args ["stripLen" "addPrefixes"])
} // builtins.removeAttrs args ["stripLen" "addPrefixes" "excludes"])

View File

@ -202,7 +202,7 @@ _multioutPropagateDev() {
mkdir -p "${!propagaterOutput}"/nix-support
for output in $propagatedBuildOutputs; do
echo "${!output}" >> "${!propagaterOutput}"/nix-support/$propagatedBuildInputsFile
echo -n " ${!output}" >> "${!propagaterOutput}"/nix-support/$propagatedBuildInputsFile
done
}

View File

@ -37,9 +37,9 @@ let
buildMix = callPackage ./build-mix.nix {};
# BEAM-based languages.
elixir = elixir_1_4;
elixir = elixir_1_5;
elixir_1_5_rc = lib.callElixir ../interpreters/elixir/1.5.nix {
elixir_1_5 = lib.callElixir ../interpreters/elixir/1.5.nix {
inherit rebar erlang;
debugInfo = true;
};

View File

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
sha256 = "1c8qc4fhkycynk4g1f9hvk53dj6a1vvqi6bklqznns6hw59m8qhi";
};
patches = []
patches = [ ./ghc-gold-linker.patch ]
++ stdenv.lib.optional stdenv.isLinux ./ghc-no-madv-free.patch
++ stdenv.lib.optional stdenv.isDarwin ./ghc-8.0.2-no-cpp-warnings.patch;

View File

@ -9,8 +9,8 @@
let
inherit (bootPkgs) ghc;
version = "8.2.1-rc3";
preReleaseName = "ghc-8.2.0.20170704";
version = "8.2.1";
preReleaseName = "ghc-8.2.1";
commonBuildInputs = [ alex autoconf automake ghc happy hscolour perl python3 sphinx ];
commonPreConfigure = ''
sed -i -e 's|-isysroot /Developer/SDKs/MacOSX10.5.sdk||' configure
@ -27,11 +27,13 @@ in stdenv.mkDerivation (rec {
src = fetchurl {
url = "https://downloads.haskell.org/~ghc/${version}/${preReleaseName}-src.tar.xz";
sha256 = "0ccfybbjrmd8yzqbfdqvb6clz2kd005wi8sx3mfjmbkmxv0l4jry";
sha256 = "1w4k0n23b9fg8kmarqhfamzpmf91p6jcdr6xlwzfmb4df2bd9hng";
};
postPatch = "patchShebangs .";
patches = [ ./ghc-gold-linker.patch ];
preConfigure = commonPreConfigure;
buildInputs = commonBuildInputs;

View File

@ -0,0 +1,54 @@
From 46fe80ab7c0013a929d0934e61429820042a70a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= <mail@nh2.me>
Date: Fri, 21 Jul 2017 20:09:11 +0200
Subject: [PATCH 1/2] base: Add `extra-libraries: m` because base uses libm
functions.
Linking with gold needs this because in contrast to ld, gold
doesn't implicitly link libm.
Found by Michael Bishop <cleverca22@gmail.com>.
---
libraries/base/base.cabal | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libraries/base/base.cabal b/libraries/base/base.cabal
index f00fb8768e5..fd91f268ffe 100644
--- a/libraries/base/base.cabal
+++ b/libraries/base/base.cabal
@@ -342,6 +342,10 @@ Library
WCsubst.h
consUtils.h
+ -- Base uses libm functions. ld.bfd links libm implicitly when necessary.
+ -- Other linkers, like gold, don't, so we have to declare it explicitly.
+ extra-libraries: m
+
-- OS Specific
if os(windows)
-- Windows requires some extra libraries for linking because the RTS
From 900a8f4931e9bc6d3219d9263cfecfc6af8fc766 Mon Sep 17 00:00:00 2001
From: michael bishop <cleverca22@gmail.com>
Date: Sat, 22 Jul 2017 13:12:39 -0300
Subject: [PATCH 2/2] also add -lm to ghc-prim
---
libraries/ghc-prim/ghc-prim.cabal | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libraries/ghc-prim/ghc-prim.cabal b/libraries/ghc-prim/ghc-prim.cabal
index 00a029efedf..6db85dd69fc 100644
--- a/libraries/ghc-prim/ghc-prim.cabal
+++ b/libraries/ghc-prim/ghc-prim.cabal
@@ -42,6 +42,10 @@ Library
UnliftedFFITypes
build-depends: rts == 1.0.*
+
+ -- Base uses libm functions. ld.bfd links libm implicitly when necessary.
+ -- Other linkers, like gold, don't, so we have to declare it explicitly.
+ extra-libraries: m
exposed-modules:
GHC.CString

View File

@ -1,4 +1,4 @@
{ stdenv, fetchgit, fetchurl
{ stdenv, fetchgit, fetchurl, fetchzip
# build tools
, gfortran, m4, makeWrapper, patchelf, perl, which, python2
, runCommand
@ -54,12 +54,12 @@ in
stdenv.mkDerivation rec {
pname = "julia";
version = "0.5.1";
version = "0.5.2";
name = "${pname}-${version}";
src = fetchurl {
src = fetchzip {
url = "https://github.com/JuliaLang/${pname}/releases/download/v${version}/${name}.tar.gz";
sha256 = "1a9m7hzzrwk71gvwwrd1p45s64yid61i41n95gm5pzbry6p9fpl0";
sha256 = "1616f53dj7xc0g2iys8qfbzal6dx55nswnws5g5r44dlbf4hcl0h";
};
prePatch = ''
mkdir deps/srccache
@ -166,6 +166,7 @@ stdenv.mkDerivation rec {
preBuild = ''
sed -e '/^install:/s@[^ ]*/doc/[^ ]*@@' -i Makefile
sed -e '/[$](DESTDIR)[$](docdir)/d' -i Makefile
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}
'';
postInstall = ''

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "nim-${version}";
version = "0.16.0";
version = "0.17.0";
src = fetchurl {
url = "http://nim-lang.org/download/${name}.tar.xz";
sha256 = "0rsibhkc5n548bn9yyb9ycrdgaph5kq84sfxc9gabjs7pqirh6cy";
sha256 = "16vsmk4rqnkg9lc9h9jk62ps0x778cdqg6qrs3k6fv2g73cqvq9n";
};
doCheck = true;

View File

@ -15,10 +15,17 @@ with import ./lib.nix { inherit pkgs; };
self: super: {
# This used to be a core package provided by GHC, but then the compiler
# dropped it. We define the name here to make sure that old packages which
# depend on this library still evaluate (even though they won't compile
# successfully with recent versions of the compiler).
bin-package-db = null;
# Some Hackage packages reference this attribute, which exists only in the
# GHCJS package set. We provide a dummy version here to fix potential
# evaluation errors.
ghcjs-base = null;
ghcjs-prim = null;
# Some packages need a non-core version of Cabal.
cabal-install = super.cabal-install.overrideScope (self: super: { Cabal = self.Cabal_1_24_2_0; });
@ -664,11 +671,6 @@ self: super: {
# We get lots of strange compiler errors during the test suite run.
jsaddle = dontCheck super.jsaddle;
# Haste stuff
haste-Cabal = markBroken (self.callPackage ../tools/haskell/haste/haste-Cabal.nix {});
haste-cabal-install = markBroken (self.callPackage ../tools/haskell/haste/haste-cabal-install.nix { Cabal = self.haste-Cabal; });
haste-compiler = markBroken (self.callPackage ../tools/haskell/haste/haste-compiler.nix { inherit overrideCabal; super-haste-compiler = super.haste-compiler; });
# tinc is a new build driver a la Stack that's not yet available from Hackage.
tinc = self.callPackage ../tools/haskell/tinc { inherit (pkgs) cabal-install cabal2nix; };
@ -680,14 +682,6 @@ self: super: {
then appendConfigureFlag super.gtk "-fhave-quartz-gtk"
else super.gtk;
# The stack people don't bother making their own code compile in an LTS-based
# environment: https://github.com/commercialhaskell/stack/issues/3001.
stack = super.stack.overrideScope (self: super: {
store-core = self.store-core_0_3;
store = self.store_0_3_1;
hpack = self.hpack_0_17_1;
});
# It makes no sense to have intero-nix-shim in Hackage, so we publish it here only.
intero-nix-shim = self.callPackage ../tools/haskell/intero-nix-shim {};
@ -877,4 +871,7 @@ self: super: {
# Has a dependency on outdated versions of directory.
cautious-file = doJailbreak (dontCheck super.cautious-file);
# https://github.com/diagrams/diagrams-solve/issues/4
diagrams-solve = dontCheck super.diagrams-solve;
}

View File

@ -2446,6 +2446,7 @@ extra-packages:
- binary > 0.8 && < 0.9 # keep a 8.x major release around for older compilers
- Cabal == 1.18.* # required for cabal-install et al on old GHC versions
- Cabal == 1.20.* # required for cabal-install et al on old GHC versions
- Cabal == 1.24.* # required for jailbreak-cabal etc.
- containers < 0.5 # required to build alex with GHC 6.12.3
- control-monad-free < 0.6 # newer versions don't compile with anything but GHC 7.8.x
- deepseq == 1.3.0.1 # required to build Cabal with GHC 6.12.3
@ -2456,7 +2457,6 @@ extra-packages:
- haddock-api == 2.16.* # required on GHC 7.10.x
- haddock-library == 1.2.* # required for haddock-api-2.16.x
- haskell-src-exts == 1.18.* # required by hoogle-5.0.4
- hpack < 0.18 # required by stack-1.4.0
- mtl < 2.2 # newer versions require transformers > 0.4.x, which we cannot provide in GHC 7.8.x
- mtl-prelude < 2 # required for to build postgrest on mtl 2.1.x platforms
- network == 2.6.3.1 # newer versions don't compile with GHC 7.4.x and below
@ -2466,12 +2466,9 @@ extra-packages:
- seqid < 0.2 # newer versions depend on transformers 0.4.x which we cannot provide in GHC 7.8.x
- seqid-streams < 0.2 # newer versions depend on transformers 0.4.x which we cannot provide in GHC 7.8.x
- split < 0.2 # newer versions don't work with GHC 6.12.3
- store < 0.4 # needed by stack 1.4.0
- store-core < 0.4 # needed by stack 1.4.0
- tar < 0.4.2.0 # later versions don't work with GHC < 7.6.x
- transformers == 0.4.3.* # the latest version isn't supported by mtl yet
- vector < 0.10.10 # newer versions don't work with GHC 6.12.3
- zlib < 0.6 # newer versions break cabal-install
package-maintainers:
peti:
@ -2704,6 +2701,7 @@ dont-distribute-packages:
alex-meta: [ i686-linux, x86_64-linux, x86_64-darwin ]
alfred: [ i686-linux, x86_64-linux, x86_64-darwin ]
alga: [ i686-linux, x86_64-linux, x86_64-darwin ]
algebraic-classes: [ i686-linux, x86_64-linux, x86_64-darwin ]
algebraic: [ i686-linux, x86_64-linux, x86_64-darwin ]
algebra-sql: [ i686-linux, x86_64-linux, x86_64-darwin ]
AlgorithmW: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -3056,6 +3054,7 @@ dont-distribute-packages:
bits-conduit: [ i686-linux, x86_64-linux, x86_64-darwin ]
bitset: [ i686-linux, x86_64-linux, x86_64-darwin ]
bitspeak: [ i686-linux, x86_64-linux, x86_64-darwin ]
bit-stream: [ i686-linux, x86_64-linux, x86_64-darwin ]
bitstream: [ i686-linux, x86_64-linux, x86_64-darwin ]
bittorrent: [ i686-linux, x86_64-linux, x86_64-darwin ]
bit-vector: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -3096,6 +3095,7 @@ dont-distribute-packages:
bluetileutils: [ i686-linux, x86_64-linux, x86_64-darwin ]
blunt: [ i686-linux, x86_64-linux, x86_64-darwin ]
BNFC-meta: [ i686-linux, x86_64-linux, x86_64-darwin ]
bno055-haskell: [ i686-linux, x86_64-linux, x86_64-darwin ]
board-games: [ i686-linux, x86_64-linux, x86_64-darwin ]
bogre-banana: [ i686-linux, x86_64-linux, x86_64-darwin ]
bond-haskell-compiler: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -3297,6 +3297,7 @@ dont-distribute-packages:
chatty: [ i686-linux, x86_64-linux, x86_64-darwin ]
chatty-text: [ i686-linux, x86_64-linux, x86_64-darwin ]
chatty-utils: [ i686-linux, x86_64-linux, x86_64-darwin ]
chatwork: [ i686-linux, x86_64-linux, x86_64-darwin ]
cheapskate-terminal: [ i686-linux, x86_64-linux, x86_64-darwin ]
checked: [ i686-linux, x86_64-linux, x86_64-darwin ]
Checked: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -3411,6 +3412,7 @@ dont-distribute-packages:
Codec-Image-DevIL: [ i686-linux, x86_64-linux, x86_64-darwin ]
codec-libevent: [ i686-linux, x86_64-linux, x86_64-darwin ]
codecov-haskell: [ i686-linux, x86_64-linux, x86_64-darwin ]
codec-rpm: [ i686-linux, x86_64-linux, x86_64-darwin ]
codemonitor: [ i686-linux, x86_64-linux, x86_64-darwin ]
codepad: [ i686-linux, x86_64-linux, x86_64-darwin ]
codeworld-api: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -3451,7 +3453,9 @@ dont-distribute-packages:
comonad-random: [ i686-linux, x86_64-linux, x86_64-darwin ]
ComonadSheet: [ i686-linux, x86_64-linux, x86_64-darwin ]
compactable: [ i686-linux, x86_64-linux, x86_64-darwin ]
compact: [ i686-linux, x86_64-linux, x86_64-darwin ]
compact-map: [ i686-linux, x86_64-linux, x86_64-darwin ]
compact-mutable: [ i686-linux, x86_64-linux, x86_64-darwin ]
compact-socket: [ i686-linux, x86_64-linux, x86_64-darwin ]
compact-string: [ i686-linux, x86_64-linux, x86_64-darwin ]
compdata-automata: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -3479,6 +3483,7 @@ dont-distribute-packages:
concraft-hr: [ i686-linux, x86_64-linux, x86_64-darwin ]
concraft: [ i686-linux, x86_64-linux, x86_64-darwin ]
concraft-pl: [ i686-linux, x86_64-linux, x86_64-darwin ]
concrete-haskell-autogen: [ i686-linux, x86_64-linux, x86_64-darwin ]
concrete-haskell: [ i686-linux, x86_64-linux, x86_64-darwin ]
concrete-typerep: [ i686-linux, x86_64-linux, x86_64-darwin ]
Concurrential: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -3542,6 +3547,7 @@ dont-distribute-packages:
copilot: [ i686-linux, x86_64-linux, x86_64-darwin ]
copilot-language: [ i686-linux, x86_64-linux, x86_64-darwin ]
copilot-libraries: [ i686-linux, x86_64-linux, x86_64-darwin ]
copilot-sbv: [ i686-linux, x86_64-linux, x86_64-darwin ]
copilot-theorem: [ i686-linux, x86_64-linux, x86_64-darwin ]
copr: [ i686-linux, x86_64-linux, x86_64-darwin ]
COrdering: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -3600,12 +3606,14 @@ dont-distribute-packages:
criterion-to-html: [ i686-linux, x86_64-linux, x86_64-darwin ]
criu-rpc: [ i686-linux, x86_64-linux, x86_64-darwin ]
criu-rpc-types: [ i686-linux, x86_64-linux, x86_64-darwin ]
crjdt-haskell: [ i686-linux, x86_64-linux, x86_64-darwin ]
crocodile: [ i686-linux, x86_64-linux, x86_64-darwin ]
cron-compat: [ i686-linux, x86_64-linux, x86_64-darwin ]
cruncher-types: [ i686-linux, x86_64-linux, x86_64-darwin ]
crunghc: [ i686-linux, x86_64-linux, x86_64-darwin ]
crypto-cipher-benchmarks: [ i686-linux, x86_64-linux, x86_64-darwin ]
crypto-classical: [ i686-linux, x86_64-linux, x86_64-darwin ]
cryptoconditions: [ i686-linux, x86_64-linux, x86_64-darwin ]
crypto-conduit: [ i686-linux, x86_64-linux, x86_64-darwin ]
crypto-enigma: [ i686-linux, x86_64-linux, x86_64-darwin ]
crypto-multihash: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -3752,6 +3760,7 @@ dont-distribute-packages:
debug-me: [ i686-linux, x86_64-linux, x86_64-darwin ]
decepticons: [ i686-linux, x86_64-linux, x86_64-darwin ]
decimal-arithmetic: [ i686-linux, x86_64-linux, x86_64-darwin ]
decimal-literals: [ i686-linux, x86_64-linux, x86_64-darwin ]
DecisionTree: [ i686-linux, x86_64-linux, x86_64-darwin ]
decoder-conduit: [ i686-linux, x86_64-linux, x86_64-darwin ]
dedukti: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -3837,6 +3846,7 @@ dont-distribute-packages:
digitalocean-kzs: [ i686-linux, x86_64-linux, x86_64-darwin ]
dimensional-codata: [ i686-linux, x86_64-linux, x86_64-darwin ]
DimensionalHash: [ i686-linux, x86_64-linux, x86_64-darwin ]
dimensions: [ i686-linux, x86_64-linux, x86_64-darwin ]
dingo-core: [ i686-linux, x86_64-linux, x86_64-darwin ]
dingo-example: [ i686-linux, x86_64-linux, x86_64-darwin ]
dingo-widgets: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -3938,6 +3948,7 @@ dont-distribute-packages:
dtd: [ i686-linux, x86_64-linux, x86_64-darwin ]
dtd-text: [ i686-linux, x86_64-linux, x86_64-darwin ]
dtd-types: [ i686-linux, x86_64-linux, x86_64-darwin ]
dumb-cas: [ i686-linux, x86_64-linux, x86_64-darwin ]
duplo: [ i686-linux, x86_64-linux, x86_64-darwin ]
Dust-crypto: [ i686-linux, x86_64-linux, x86_64-darwin ]
Dust: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -3967,6 +3978,7 @@ dont-distribute-packages:
easyplot: [ i686-linux, x86_64-linux, x86_64-darwin ]
easyrender: [ i686-linux, x86_64-linux, x86_64-darwin ]
easytensor: [ i686-linux ]
easytensor: [ i686-linux, x86_64-linux, x86_64-darwin ]
ebeats: [ i686-linux, x86_64-linux, x86_64-darwin ]
ebnf-bff: [ i686-linux, x86_64-linux, x86_64-darwin ]
ec2-unikernel: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -3999,6 +4011,7 @@ dont-distribute-packages:
ekg-rrd: [ i686-linux, x86_64-linux, x86_64-darwin ]
electrum-mnemonic: [ i686-linux, x86_64-linux, x86_64-darwin ]
elevator: [ i686-linux, x86_64-linux, x86_64-darwin ]
eliminators: [ i686-linux, x86_64-linux, x86_64-darwin ]
elision: [ i686-linux, x86_64-linux, x86_64-darwin ]
elocrypt: [ i686-linux, x86_64-linux, x86_64-darwin ]
elsa: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -4194,6 +4207,7 @@ dont-distribute-packages:
fishfood: [ i686-linux, x86_64-linux, x86_64-darwin ]
fit: [ i686-linux, x86_64-linux, x86_64-darwin ]
fitsio: [ i686-linux, x86_64-linux, x86_64-darwin ]
fitspec: [ i686-linux, x86_64-linux, x86_64-darwin ]
fixed-point: [ i686-linux, x86_64-linux, x86_64-darwin ]
fixed-point-vector: [ i686-linux, x86_64-linux, x86_64-darwin ]
fixed-point-vector-space: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -4405,6 +4419,7 @@ dont-distribute-packages:
getflag: [ i686-linux, x86_64-linux, x86_64-darwin ]
GGg: [ i686-linux, x86_64-linux, x86_64-darwin ]
ggtsTC: [ i686-linux, x86_64-linux, x86_64-darwin ]
ghc-compact: [ i686-linux, x86_64-linux, x86_64-darwin ]
ghc-dump-tree: [ i686-linux, x86_64-linux, x86_64-darwin ]
ghc-dup: [ i686-linux, x86_64-linux, x86_64-darwin ]
ghc-events-analyze: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -4563,12 +4578,14 @@ dont-distribute-packages:
GoogleDirections: [ i686-linux, x86_64-linux, x86_64-darwin ]
google-drive: [ i686-linux, x86_64-linux, x86_64-darwin ]
google-html5-slide: [ i686-linux, x86_64-linux, x86_64-darwin ]
google-maps-geocoding: [ i686-linux, x86_64-linux, x86_64-darwin ]
google-oauth2-for-cli: [ i686-linux, x86_64-linux, x86_64-darwin ]
google-oauth2: [ i686-linux, x86_64-linux, x86_64-darwin ]
google-oauth2-jwt: [ i686-linux, x86_64-linux, x86_64-darwin ]
googleplus: [ i686-linux, x86_64-linux, x86_64-darwin ]
googlepolyline: [ i686-linux, x86_64-linux, x86_64-darwin ]
GoogleSB: [ i686-linux, x86_64-linux, x86_64-darwin ]
google-static-maps: [ i686-linux, x86_64-linux, x86_64-darwin ]
GoogleSuggest: [ i686-linux, x86_64-linux, x86_64-darwin ]
google-translate: [ i686-linux, x86_64-linux, x86_64-darwin ]
GoogleTranslate: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -4684,6 +4701,7 @@ dont-distribute-packages:
gulcii: [ i686-linux, x86_64-linux, x86_64-darwin ]
gyah-bin: [ i686-linux, x86_64-linux, x86_64-darwin ]
h2048: [ i686-linux, x86_64-linux, x86_64-darwin ]
h2c: [ i686-linux, x86_64-linux, x86_64-darwin ]
haar: [ i686-linux, x86_64-linux, x86_64-darwin ]
habit: [ i686-linux, x86_64-linux, x86_64-darwin ]
hablog: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -4722,6 +4740,7 @@ dont-distribute-packages:
hack-middleware-jsonp: [ i686-linux, x86_64-linux, x86_64-darwin ]
hactor: [ i686-linux, x86_64-linux, x86_64-darwin ]
hactors: [ i686-linux, x86_64-linux, x86_64-darwin ]
haddock: [ i686-linux, x86_64-linux, x86_64-darwin ]
haddock-leksah: [ i686-linux, x86_64-linux, x86_64-darwin ]
haddocset: [ i686-linux, x86_64-linux, x86_64-darwin ]
hadoop-formats: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -4883,6 +4902,7 @@ dont-distribute-packages:
haskell-import-graph: [ i686-linux, x86_64-linux, x86_64-darwin ]
haskell-kubernetes: [ i686-linux, x86_64-linux, x86_64-darwin ]
HaskellLM: [ i686-linux, x86_64-linux, x86_64-darwin ]
haskell-lsp: [ i686-linux, x86_64-linux, x86_64-darwin ]
haskell-mpfr: [ i686-linux, x86_64-linux, x86_64-darwin ]
haskell-names: [ i686-linux, x86_64-linux, x86_64-darwin ]
haskell-neo4j-client: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -5003,6 +5023,7 @@ dont-distribute-packages:
HCL: [ i686-linux, x86_64-linux, x86_64-darwin ]
hcltest: [ i686-linux, x86_64-linux, x86_64-darwin ]
hcoap: [ i686-linux, x86_64-linux, x86_64-darwin ]
hcom: [ i686-linux, x86_64-linux, x86_64-darwin ]
hcoord: [ i686-linux, x86_64-linux, x86_64-darwin ]
hcron: [ i686-linux, x86_64-linux, x86_64-darwin ]
hCsound: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -5190,6 +5211,7 @@ dont-distribute-packages:
HLearn-distributions: [ i686-linux, x86_64-linux, x86_64-darwin ]
hledger-api: [ i686-linux, x86_64-linux, x86_64-darwin ]
hledger-chart: [ i686-linux, x86_64-linux, x86_64-darwin ]
hledger-iadd: [ i686-linux, x86_64-linux, x86_64-darwin ]
hledger-irr: [ i686-linux, x86_64-linux, x86_64-darwin ]
hledger-vty: [ i686-linux, x86_64-linux, x86_64-darwin ]
hlibBladeRF: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -5660,6 +5682,8 @@ dont-distribute-packages:
incremental-computing: [ i686-linux, x86_64-linux, x86_64-darwin ]
incremental-maps: [ i686-linux, x86_64-linux, x86_64-darwin ]
increments: [ i686-linux, x86_64-linux, x86_64-darwin ]
indentation: [ i686-linux, x86_64-linux, x86_64-darwin ]
indentation-trifecta: [ i686-linux, x86_64-linux, x86_64-darwin ]
indexed-extras: [ i686-linux, x86_64-linux, x86_64-darwin ]
IndexedList: [ i686-linux, x86_64-linux, x86_64-darwin ]
indices: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -5974,6 +5998,7 @@ dont-distribute-packages:
language-lua2: [ i686-linux, x86_64-linux, x86_64-darwin ]
language-lua-qq: [ i686-linux, x86_64-linux, x86_64-darwin ]
language-mixal: [ i686-linux, x86_64-linux, x86_64-darwin ]
language-ninja: [ i686-linux, x86_64-linux, x86_64-darwin ]
language-objc: [ i686-linux, x86_64-linux, x86_64-darwin ]
language-pig: [ i686-linux, x86_64-linux, x86_64-darwin ]
language-puppet: [ i686-linux, x86_64-darwin ]
@ -6421,6 +6446,7 @@ dont-distribute-packages:
monad-classes: [ i686-linux, x86_64-linux, x86_64-darwin ]
monad-classes-logging: [ i686-linux, x86_64-linux, x86_64-darwin ]
MonadCompose: [ i686-linux, x86_64-linux, x86_64-darwin ]
monad-dijkstra: [ i686-linux, x86_64-linux, x86_64-darwin ]
monad-exception: [ i686-linux, x86_64-linux, x86_64-darwin ]
monad-fork: [ i686-linux, x86_64-linux, x86_64-darwin ]
monadiccp-gecode: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -6674,6 +6700,7 @@ dont-distribute-packages:
n-m: [ i686-linux, x86_64-linux, x86_64-darwin ]
nm: [ i686-linux, x86_64-linux, x86_64-darwin ]
nntp: [ i686-linux, x86_64-linux, x86_64-darwin ]
noether: [ i686-linux, x86_64-linux, x86_64-darwin ]
nofib-analyze: [ i686-linux, x86_64-linux, x86_64-darwin ]
noise: [ i686-linux, x86_64-linux, x86_64-darwin ]
nomyx-api: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -6709,6 +6736,7 @@ dont-distribute-packages:
NumberTheory: [ i686-linux, x86_64-linux, x86_64-darwin ]
numerals-base: [ i686-linux, x86_64-linux, x86_64-darwin ]
numerals: [ i686-linux, x86_64-linux, x86_64-darwin ]
numeric-ode: [ i686-linux, x86_64-linux, x86_64-darwin ]
numeric-ranges: [ i686-linux, x86_64-linux, x86_64-darwin ]
numhask: [ i686-linux, x86_64-linux, x86_64-darwin ]
numhask-range: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -6751,6 +6779,7 @@ dont-distribute-packages:
onama: [ i686-linux, x86_64-linux, x86_64-darwin ]
one-liner: [ i686-linux, x86_64-linux, x86_64-darwin ]
oneormore: [ i686-linux, x86_64-linux, x86_64-darwin ]
online: [ i686-linux, x86_64-linux, x86_64-darwin ]
OnRmt: [ i686-linux, x86_64-linux, x86_64-darwin ]
onu-course: [ i686-linux, x86_64-linux, x86_64-darwin ]
opaleye-classy: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -6890,6 +6919,7 @@ dont-distribute-packages:
PCLT-DB: [ i686-linux, x86_64-linux, x86_64-darwin ]
PCLT: [ i686-linux, x86_64-linux, x86_64-darwin ]
pcre-light-extra: [ i686-linux, x86_64-linux, x86_64-darwin ]
pdfname: [ i686-linux, x86_64-linux, x86_64-darwin ]
pdf-slave: [ i686-linux, x86_64-linux, x86_64-darwin ]
pdf-slave-template: [ i686-linux, x86_64-linux, x86_64-darwin ]
pdfsplit: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -6904,12 +6934,14 @@ dont-distribute-packages:
penny-bin: [ i686-linux, x86_64-linux, x86_64-darwin ]
penny: [ i686-linux, x86_64-linux, x86_64-darwin ]
penny-lib: [ i686-linux, x86_64-linux, x86_64-darwin ]
penrose: [ i686-linux, x86_64-linux, x86_64-darwin ]
peparser: [ i686-linux, x86_64-linux, x86_64-darwin ]
perceptron: [ i686-linux, x86_64-linux, x86_64-darwin ]
perdure: [ i686-linux, x86_64-linux, x86_64-darwin ]
peregrin: [ i686-linux, x86_64-linux, x86_64-darwin ]
perfecthash: [ i686-linux, x86_64-linux, x86_64-darwin ]
PerfectHash: [ i686-linux, x86_64-linux, x86_64-darwin ]
perf: [ i686-linux, x86_64-linux, x86_64-darwin ]
period: [ i686-linux, x86_64-linux, x86_64-darwin ]
periodic: [ i686-linux, x86_64-linux, x86_64-darwin ]
perm: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -6937,6 +6969,7 @@ dont-distribute-packages:
pgdl: [ i686-linux, x86_64-linux, x86_64-darwin ]
pg-harness: [ i686-linux, x86_64-linux, x86_64-darwin ]
pg-harness-server: [ i686-linux, x86_64-linux, x86_64-darwin ]
pg-recorder: [ i686-linux, x86_64-linux, x86_64-darwin ]
pgsql-simple: [ i686-linux, x86_64-linux, x86_64-darwin ]
pg-store: [ i686-linux, x86_64-linux, x86_64-darwin ]
pgstream: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -6996,6 +7029,7 @@ dont-distribute-packages:
plailude: [ i686-linux, x86_64-linux, x86_64-darwin ]
planar-graph: [ i686-linux, x86_64-linux, x86_64-darwin ]
plat: [ i686-linux, x86_64-linux, x86_64-darwin ]
platinum-parsing: [ i686-linux, x86_64-linux, x86_64-darwin ]
PlayingCards: [ i686-linux, x86_64-linux, x86_64-darwin ]
playlists: [ i686-linux, x86_64-linux, x86_64-darwin ]
plist-buddy: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -7018,6 +7052,7 @@ dont-distribute-packages:
pointless-rewrite: [ i686-linux, x86_64-linux, x86_64-darwin ]
point-octree: [ i686-linux, x86_64-linux, x86_64-darwin ]
pokemon-go-protobuf-types: [ i686-linux, x86_64-linux, x86_64-darwin ]
poker-eval: [ i686-linux, x86_64-linux, x86_64-darwin ]
pokitdok: [ i686-linux, x86_64-linux, x86_64-darwin ]
polar-configfile: [ i686-linux, x86_64-linux, x86_64-darwin ]
polar-shader: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -7122,6 +7157,7 @@ dont-distribute-packages:
progression: [ i686-linux, x86_64-linux, x86_64-darwin ]
progressive: [ i686-linux, x86_64-linux, x86_64-darwin ]
proj4-hs-bindings: [ i686-linux, x86_64-linux, x86_64-darwin ]
project-m36: [ i686-linux, x86_64-linux, x86_64-darwin ]
prolog-graph: [ i686-linux, x86_64-linux, x86_64-darwin ]
prolog-graph-lib: [ i686-linux, x86_64-linux, x86_64-darwin ]
prolog: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -7430,6 +7466,7 @@ dont-distribute-packages:
req: [ i686-linux, x86_64-linux, x86_64-darwin ]
request-monad: [ i686-linux, x86_64-linux, x86_64-darwin ]
rerebase: [ i686-linux, x86_64-linux, x86_64-darwin ]
resin: [ i686-linux, x86_64-linux, x86_64-darwin ]
resistor-cube: [ i686-linux, x86_64-linux, x86_64-darwin ]
resource-effect: [ i686-linux, x86_64-linux, x86_64-darwin ]
resource-embed: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -7771,6 +7808,7 @@ dont-distribute-packages:
simpleirc: [ i686-linux, x86_64-linux, x86_64-darwin ]
simpleirc-lens: [ i686-linux, x86_64-linux, x86_64-darwin ]
simple-logger: [ i686-linux, x86_64-linux, x86_64-darwin ]
simple-logging: [ i686-linux, x86_64-linux, x86_64-darwin ]
SimpleLog: [ i686-linux, x86_64-linux, x86_64-darwin ]
simple-log-syslog: [ i686-linux, x86_64-linux, x86_64-darwin ]
simple-neural-networks: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -7977,6 +8015,7 @@ dont-distribute-packages:
ssh: [ i686-linux, x86_64-linux, x86_64-darwin ]
sssp: [ i686-linux, x86_64-linux, x86_64-darwin ]
sstable: [ i686-linux, x86_64-linux, x86_64-darwin ]
SSTG: [ i686-linux, x86_64-linux, x86_64-darwin ]
stable-heap: [ i686-linux, x86_64-linux, x86_64-darwin ]
stable-maps: [ i686-linux, x86_64-linux, x86_64-darwin ]
stable-marriage: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -7987,6 +8026,7 @@ dont-distribute-packages:
stackage-curator: [ i686-linux, x86_64-linux, x86_64-darwin ]
stackage: [ i686-linux, x86_64-linux, x86_64-darwin ]
stackage-setup: [ i686-linux, x86_64-linux, x86_64-darwin ]
stack-bump: [ i686-linux, x86_64-linux, x86_64-darwin ]
stack-hpc-coveralls: [ i686-linux, x86_64-linux, x86_64-darwin ]
stack-prism: [ i686-linux, x86_64-linux, x86_64-darwin ]
standalone-derive-topdown: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -8036,6 +8076,7 @@ dont-distribute-packages:
streamed: [ i686-linux, x86_64-linux, x86_64-darwin ]
stream-fusion: [ i686-linux, x86_64-linux, x86_64-darwin ]
stream: [ i686-linux, x86_64-linux, x86_64-darwin ]
streaming-cassava: [ i686-linux, x86_64-linux, x86_64-darwin ]
streaming-eversion: [ i686-linux, x86_64-linux, x86_64-darwin ]
streaming-utils: [ i686-linux, x86_64-linux, x86_64-darwin ]
stream-monad: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -8125,6 +8166,7 @@ dont-distribute-packages:
system-canonicalpath: [ i686-linux, x86_64-linux, x86_64-darwin ]
system-info: [ i686-linux, x86_64-linux, x86_64-darwin ]
system-lifted: [ i686-linux, x86_64-linux, x86_64-darwin ]
system-linux-proc: [ i686-linux, x86_64-linux, x86_64-darwin ]
system-locale: [ i686-linux, x86_64-linux, x86_64-darwin ]
system-random-effect: [ i686-linux, x86_64-linux, x86_64-darwin ]
systemstats: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -8215,6 +8257,7 @@ dont-distribute-packages:
terntup: [ i686-linux, x86_64-linux, x86_64-darwin ]
terrahs: [ i686-linux, x86_64-linux, x86_64-darwin ]
tersmu: [ i686-linux, x86_64-linux, x86_64-darwin ]
testbench: [ i686-linux, x86_64-linux, x86_64-darwin ]
TestExplode: [ i686-linux, x86_64-linux, x86_64-darwin ]
test-framework-doctest: [ i686-linux, x86_64-linux, x86_64-darwin ]
test-framework-quickcheck: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -8234,6 +8277,7 @@ dont-distribute-packages:
test-shouldbe: [ i686-linux, x86_64-linux, x86_64-darwin ]
test-simple: [ i686-linux, x86_64-linux, x86_64-darwin ]
tex2txt: [ i686-linux, x86_64-linux, x86_64-darwin ]
TeX-my-math: [ i686-linux, x86_64-linux, x86_64-darwin ]
texrunner: [ i686-linux, x86_64-linux, x86_64-darwin ]
text-all: [ i686-linux, x86_64-linux, x86_64-darwin ]
text-and-plots: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -8278,6 +8322,7 @@ dont-distribute-packages:
th-kinds-fork: [ i686-linux, x86_64-linux, x86_64-darwin ]
th-kinds: [ i686-linux, x86_64-linux, x86_64-darwin ]
thorn: [ i686-linux, x86_64-linux, x86_64-darwin ]
threadscope: [ i686-linux, x86_64-linux, x86_64-darwin ]
threads-extras: [ i686-linux, x86_64-linux, x86_64-darwin ]
threepenny-gui-contextmenu: [ i686-linux, x86_64-linux, x86_64-darwin ]
threepenny-gui-flexbox: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -8426,6 +8471,7 @@ dont-distribute-packages:
turing-machines: [ i686-linux, x86_64-linux, x86_64-darwin ]
tweak: [ i686-linux, x86_64-linux, x86_64-darwin ]
twee: [ i686-linux, x86_64-linux, x86_64-darwin ]
tweet-hs: [ i686-linux, x86_64-linux, x86_64-darwin ]
twentefp-eventloop-graphics: [ i686-linux, x86_64-linux, x86_64-darwin ]
twentefp-eventloop-trees: [ i686-linux, x86_64-linux, x86_64-darwin ]
twentefp-graphs: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -8543,6 +8589,7 @@ dont-distribute-packages:
url-generic: [ i686-linux, x86_64-linux, x86_64-darwin ]
URLT: [ i686-linux, x86_64-linux, x86_64-darwin ]
urn: [ i686-linux, x86_64-linux, x86_64-darwin ]
urn-random: [ i686-linux, x86_64-linux, x86_64-darwin ]
urxml: [ i686-linux, x86_64-linux, x86_64-darwin ]
usb-enumerator: [ i686-linux, x86_64-linux, x86_64-darwin ]
usb-hid: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -8657,6 +8704,7 @@ dont-distribute-packages:
wai-middleware-route: [ i686-linux, x86_64-linux, x86_64-darwin ]
wai-middleware-static-caching: [ i686-linux, x86_64-linux, x86_64-darwin ]
wai-middleware-static: [ i686-linux, x86_64-linux, x86_64-darwin ]
wai-middleware-verbs: [ i686-linux, x86_64-linux, x86_64-darwin ]
wai-responsible: [ i686-linux, x86_64-linux, x86_64-darwin ]
wai-router: [ i686-linux, x86_64-linux, x86_64-darwin ]
wai-routes: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -8758,6 +8806,7 @@ dont-distribute-packages:
WordNet-ghc74: [ i686-linux, x86_64-linux, x86_64-darwin ]
WordNet: [ i686-linux, x86_64-linux, x86_64-darwin ]
wordsearch: [ i686-linux, x86_64-linux, x86_64-darwin ]
word-wrap: [ i686-linux, x86_64-linux, x86_64-darwin ]
workdays: [ i686-linux, x86_64-linux, x86_64-darwin ]
workflow-osx: [ i686-linux, x86_64-linux, x86_64-darwin ]
workflow-pure: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -8794,6 +8843,7 @@ dont-distribute-packages:
X11-xdamage: [ i686-linux, x86_64-linux, x86_64-darwin ]
X11-xfixes: [ i686-linux, x86_64-linux, x86_64-darwin ]
x11-xinput: [ i686-linux, x86_64-linux, x86_64-darwin ]
x509-util: [ i686-linux, x86_64-linux, x86_64-darwin ]
x86-64bit: [ i686-linux, x86_64-linux, x86_64-darwin ]
xcffib: [ i686-linux, x86_64-linux, x86_64-darwin ]
xchat-plugin: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -8873,6 +8923,7 @@ dont-distribute-packages:
yampa2048: [ i686-linux, x86_64-linux, x86_64-darwin ]
yampa-canvas: [ i686-linux, x86_64-linux, x86_64-darwin ]
yampa-glfw: [ i686-linux, x86_64-linux, x86_64-darwin ]
yampa-glut: [ i686-linux, x86_64-linux, x86_64-darwin ]
Yampa: [ i686-linux, x86_64-linux, x86_64-darwin ]
YampaSynth: [ i686-linux, x86_64-linux, x86_64-darwin ]
yaop: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -8896,6 +8947,7 @@ dont-distribute-packages:
yesod-auth-kerberos: [ i686-linux, x86_64-linux, x86_64-darwin ]
yesod-auth-ldap: [ i686-linux, x86_64-linux, x86_64-darwin ]
yesod-auth-ldap-mediocre: [ i686-linux, x86_64-linux, x86_64-darwin ]
yesod-auth-ldap-native: [ i686-linux, x86_64-linux, x86_64-darwin ]
yesod-auth-oauth2: [ i686-linux, x86_64-linux, x86_64-darwin ]
yesod-auth-oauth: [ i686-linux, x86_64-linux, x86_64-darwin ]
yesod-auth-pam: [ i686-linux, x86_64-linux, x86_64-darwin ]

View File

@ -144,9 +144,9 @@ let
allPkgconfigDepends = pkgconfigDepends ++ libraryPkgconfigDepends ++ executablePkgconfigDepends ++
optionals doCheck testPkgconfigDepends ++ optionals withBenchmarkDepends benchmarkPkgconfigDepends;
nativeBuildInputs = setupHaskellDepends ++ buildTools ++ libraryToolDepends ++ executableToolDepends;
nativeBuildInputs = buildTools ++ libraryToolDepends ++ executableToolDepends;
propagatedBuildInputs = buildDepends ++ libraryHaskellDepends ++ executableHaskellDepends;
otherBuildInputs = extraLibraries ++ librarySystemDepends ++ executableSystemDepends ++
otherBuildInputs = setupHaskellDepends ++ extraLibraries ++ librarySystemDepends ++ executableSystemDepends ++
optionals (allPkgconfigDepends != []) ([pkgconfig] ++ allPkgconfigDepends) ++
optionals doCheck (testDepends ++ testHaskellDepends ++ testSystemDepends ++ testToolDepends) ++
# ghcjs's hsc2hs calls out to the native hsc2hs
@ -231,11 +231,11 @@ stdenv.mkDerivation ({
# libraries) from all the dependencies.
local dynamicLinksDir="$out/lib/links"
mkdir -p $dynamicLinksDir
for d in $(grep dynamic-library-dirs $packageConfDir/*|awk '{print $2}'); do
ln -s $d/*.dylib $dynamicLinksDir
for d in $(grep dynamic-library-dirs "$packageConfDir/"*|awk '{print $2}'); do
ln -s "$d/"*.dylib $dynamicLinksDir
done
# Edit the local package DB to reference the links directory.
for f in $packageConfDir/*.conf; do
for f in "$packageConfDir/"*.conf; do
sed -i "s,dynamic-library-dirs: .*,dynamic-library-dirs: $dynamicLinksDir," $f
done
'') + ''

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
{ mkDerivation }:
mkDerivation rec {
version = "1.5.0-rc.2";
sha256 = "0wfxsfz1qbb6iapg8j1qskva6j4mccxqvv79xbz08fzzb6n1wvxa";
version = "1.5.0";
sha256 = "1y8c0s0wfgv444vhpnz9v8z8rc39kqhzzzkzqjxsh576vd868pbz";
minimumOTPVersion = "18";
}

View File

@ -1,64 +0,0 @@
{ stdenv, fetchFromGitHub, autoreconfHook, libibverbs, librdmacm, libevent
# Linux only deps
, numactl, kernel ? null
}:
stdenv.mkDerivation rec {
name = "accelio-${version}${stdenv.lib.optionalString (kernel != null) "-kernel"}";
version = "1.5";
src = fetchFromGitHub {
owner = "accelio";
repo = "accelio";
rev = "v1.5";
sha256 = "172frqk2n43g0arhazgcwfvj0syf861vdzdpxl7idr142bb0ykf7";
};
hardeningDisable = [ "format" "pic" ];
patches = [ ./fix-printfs.patch ];
postPatch = ''
# Don't build broken examples
sed -i '/AC_CONFIG_SUBDIRS(\[\(examples\|tests\).*\/kernel/d' configure.ac
# Allow the installation of xio kernel headers
sed -i 's,/opt/xio,''${out},g' src/kernel/xio/Makefile.in
# Don't install ldconfig entries
sed -i '\,/etc/ld.so.conf.d/libxio.conf,d' src/usr/Makefile.am
sed -i '\,/sbin/ldconfig,d' src/usr/Makefile.am
'';
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ libevent ];
propagatedBuildInputs = [ libibverbs librdmacm ]
++ stdenv.lib.optional stdenv.isLinux numactl;
configureFlags = [
"--enable-rdma"
"--disable-raio-build"
] ++ stdenv.lib.optionals (kernel != null) [
"--enable-kernel-module"
"--with-kernel=${kernel.dev}/lib/modules/${kernel.modDirVersion}/source"
"--with-kernel-build=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
];
INSTALL_MOD_PATH = "\${out}";
meta = with stdenv.lib; {
homepage = http://www.accelio.org/;
description = "High-performance messaging and RPC library";
longDescription = ''
A high-performance asynchronous reliable messaging and RPC library
optimized for hardware acceleration.
'';
license = licenses.bsd3;
platforms = with platforms; linux ++ freebsd;
maintainers = with maintainers; [ wkennington ];
# kernel 4.2 is the most recent supported kernel
broken = kernel != null &&
(builtins.compareVersions kernel.version "4.2" == 1);
};
}

View File

@ -1,615 +0,0 @@
diff -rup accelio/benchmarks/usr/xio_perftest/xio_perftest_client.c accelio.new/benchmarks/usr/xio_perftest/xio_perftest_client.c
--- accelio/benchmarks/usr/xio_perftest/xio_perftest_client.c 2015-09-03 19:36:25.610337514 -0400
+++ accelio.new/benchmarks/usr/xio_perftest/xio_perftest_client.c 2015-09-03 19:59:13.258697472 -0400
@@ -246,7 +246,7 @@ static void *worker_thread(void *data)
} else {
vmsg_sglist_set_nents(&msg->out, 0);
}
- msg->user_context = (void *)get_cycles();
+ msg->user_context = (void *)(intptr_t)get_cycles();
/* send first message */
if (xio_send_request(tdata->conn, msg) == -1) {
if (xio_errno() != EAGAIN)
@@ -330,7 +330,7 @@ static int on_response(struct xio_sessio
{
struct thread_data *tdata = (struct thread_data *)cb_user_context;
- cycles_t rtt = (get_cycles()-(cycles_t)msg->user_context);
+ cycles_t rtt = (get_cycles()-(cycles_t)(intptr_t)msg->user_context);
if (tdata->do_stat) {
if (rtt > tdata->stat.max_rtt)
@@ -358,7 +358,7 @@ static int on_response(struct xio_sessio
msg->in.header.iov_len = 0;
vmsg_sglist_set_nents(&msg->in, 0);
- msg->user_context = (void *)get_cycles();
+ msg->user_context = (void *)(intptr_t)get_cycles();
if (xio_send_request(tdata->conn, msg) == -1) {
if (xio_errno() != EAGAIN)
printf("**** [%p] Error - xio_send_request " \
@@ -559,7 +559,7 @@ int run_client_test(struct perf_paramete
sess_data.min_lat_us,
sess_data.max_lat_us);
if (fd)
- fprintf(fd, "%lu, %d, %lu, %.2lf, %.2lf\n",
+ fprintf(fd, "%" PRIu64 ", %d, %" PRIu64 ", %.2lf, %.2lf\n",
data_len,
threads_iter,
sess_data.tps,
diff -rup accelio/benchmarks/usr/xio_perftest/xio_perftest_parameters.h accelio.new/benchmarks/usr/xio_perftest/xio_perftest_parameters.h
--- accelio/benchmarks/usr/xio_perftest/xio_perftest_parameters.h 2015-09-03 19:36:25.610337514 -0400
+++ accelio.new/benchmarks/usr/xio_perftest/xio_perftest_parameters.h 2015-09-03 19:57:30.856215123 -0400
@@ -90,7 +90,7 @@ typedef enum { READ, WRITE} Verb;
/* The format of the results */
#define RESULT_FMT " #bytes #threads #TPS BW average[MBps] Latency average[usecs] Latency low[usecs] Latency peak[usecs]\n"
/* Result print format */
-#define REPORT_FMT " %-7lu %-2d %-9.2lu %-9.2lf %-9.2lf %-9.2lf %-9.2lf\n"
+#define REPORT_FMT " %-7" PRIu64 " %-2d %-9.2" PRIu64 " %-9.2lf %-9.2lf %-9.2lf %-9.2lf\n"
struct perf_parameters {
diff -rup accelio/examples/usr/hello_world_iov/xio_client.c accelio.new/examples/usr/hello_world_iov/xio_client.c
--- accelio/examples/usr/hello_world_iov/xio_client.c 2015-09-03 19:36:25.611337519 -0400
+++ accelio.new/examples/usr/hello_world_iov/xio_client.c 2015-09-03 19:42:19.983984370 -0400
@@ -224,7 +224,7 @@ static void process_response(struct sess
len = 64;
tmp = str[len];
str[len] = '\0';
- printf("message header : [%lu] - %s\n",
+ printf("message header : [%" PRIu64 "] - %s\n",
(rsp->request->sn + 1), str);
str[len] = tmp;
}
@@ -236,7 +236,7 @@ static void process_response(struct sess
len = 64;
tmp = str[len];
str[len] = '\0';
- printf("message data: [%lu][%d][%zd] - %s\n",
+ printf("message data: [%" PRIu64 "][%d][%zd] - %s\n",
(rsp->request->sn + 1), i, sglist[i].iov_len, str);
str[len] = tmp;
}
diff -rup accelio/examples/usr/hello_world_iov/xio_server.c accelio.new/examples/usr/hello_world_iov/xio_server.c
--- accelio/examples/usr/hello_world_iov/xio_server.c 2015-09-03 19:36:25.611337519 -0400
+++ accelio.new/examples/usr/hello_world_iov/xio_server.c 2015-09-03 19:43:07.353204184 -0400
@@ -203,7 +203,7 @@ static void process_request(struct serve
len = 64;
tmp = str[len];
str[len] = '\0';
- printf("message header : [%lu] - %s\n",
+ printf("message header : [%" PRIu64 "] - %s\n",
(req->sn + 1), str);
str[len] = tmp;
}
@@ -215,7 +215,7 @@ static void process_request(struct serve
len = 64;
tmp = str[len];
str[len] = '\0';
- printf("message data: [%lu][%d][%zd] - %s\n",
+ printf("message data: [%" PRIu64 "][%d][%zd] - %s\n",
(req->sn + 1), i, sglist[i].iov_len, str);
str[len] = tmp;
}
@@ -360,11 +360,11 @@ static int on_msg_error(struct xio_sessi
struct server_data *sdata = (struct server_data *)cb_user_context;
if (direction == XIO_MSG_DIRECTION_OUT) {
- printf("**** [%p] message %lu failed. reason: %s\n",
+ printf("**** [%p] message %" PRIu64 " failed. reason: %s\n",
session, msg->sn, xio_strerror(error));
} else {
xio_release_response(msg);
- printf("**** [%p] message %lu failed. reason: %s\n",
+ printf("**** [%p] message %" PRIu64 " failed. reason: %s\n",
session, msg->request->sn, xio_strerror(error));
}
diff -rup accelio/examples/usr/hello_world_libevent/xio_client.c accelio.new/examples/usr/hello_world_libevent/xio_client.c
--- accelio/examples/usr/hello_world_libevent/xio_client.c 2015-09-03 19:36:25.612337524 -0400
+++ accelio.new/examples/usr/hello_world_libevent/xio_client.c 2015-09-03 19:43:32.748322028 -0400
@@ -87,7 +87,7 @@ static void process_response(struct sess
{
if (++session_data->cnt == PRINT_COUNTER) {
((char *)(rsp->in.header.iov_base))[rsp->in.header.iov_len] = 0;
- printf("message: [%lu] - %s\n",
+ printf("message: [%" PRIu64 "] - %s\n",
(rsp->request->sn + 1), (char *)rsp->in.header.iov_base);
session_data->cnt = 0;
}
diff -rup accelio/examples/usr/hello_world_libevent/xio_server.c accelio.new/examples/usr/hello_world_libevent/xio_server.c
--- accelio/examples/usr/hello_world_libevent/xio_server.c 2015-09-03 19:36:25.612337524 -0400
+++ accelio.new/examples/usr/hello_world_libevent/xio_server.c 2015-09-03 19:43:50.556404665 -0400
@@ -82,7 +82,7 @@ static void process_request(struct serve
len = 64;
tmp = str[len];
str[len] = '\0';
- printf("message header : [%lu] - %s\n",
+ printf("message header : [%" PRIu64 "] - %s\n",
(req->sn + 1), str);
str[len] = tmp;
}
@@ -94,7 +94,7 @@ static void process_request(struct serve
len = 64;
tmp = str[len];
str[len] = '\0';
- printf("message data: [%lu][%d][%d] - %s\n",
+ printf("message data: [%" PRIu64 "][%d][%d] - %s\n",
(req->sn + 1), i, len, str);
str[len] = tmp;
}
diff -rup accelio/examples/usr/hello_world_mt/xio_mt_client.c accelio.new/examples/usr/hello_world_mt/xio_mt_client.c
--- accelio/examples/usr/hello_world_mt/xio_mt_client.c 2015-09-03 19:36:25.611337519 -0400
+++ accelio.new/examples/usr/hello_world_mt/xio_mt_client.c 2015-09-03 19:41:13.493675827 -0400
@@ -40,6 +40,7 @@
#include <string.h>
#include <inttypes.h>
#include <sched.h>
+#include <inttypes.h>
#include "libxio.h"
@@ -133,7 +134,7 @@ static void process_response(struct thre
{
if (++tdata->cnt == PRINT_COUNTER) {
((char *)(rsp->in.header.iov_base))[rsp->in.header.iov_len] = 0;
- printf("thread [%d] - tid:%p - message: [%lu] - %s\n",
+ printf("thread [%d] - tid:%p - message: [%" PRIu64 "] - %s\n",
tdata->affinity,
(void *)pthread_self(),
(rsp->request->sn + 1), (char *)rsp->in.header.iov_base);
diff -rup accelio/examples/usr/hello_world_mt/xio_mt_server.c accelio.new/examples/usr/hello_world_mt/xio_mt_server.c
--- accelio/examples/usr/hello_world_mt/xio_mt_server.c 2015-09-03 19:36:25.611337519 -0400
+++ accelio.new/examples/usr/hello_world_mt/xio_mt_server.c 2015-09-03 19:41:31.730760455 -0400
@@ -104,7 +104,7 @@ static void process_request(struct threa
struct xio_msg *req)
{
if (++tdata->cnt == PRINT_COUNTER) {
- printf("thread [%d] tid:%p - message: [%lu] - %s\n",
+ printf("thread [%d] tid:%p - message: [%" PRIu64 "] - %s\n",
tdata->affinity,
(void *)pthread_self(),
(req->sn + 1), (char *)req->in.header.iov_base);
diff -rup accelio/regression/usr/reg_basic_mt/reg_basic_mt_client.c accelio.new/regression/usr/reg_basic_mt/reg_basic_mt_client.c
--- accelio/regression/usr/reg_basic_mt/reg_basic_mt_client.c 2015-09-03 19:36:25.603337482 -0400
+++ accelio.new/regression/usr/reg_basic_mt/reg_basic_mt_client.c 2015-09-03 20:00:15.169989095 -0400
@@ -416,11 +416,11 @@ static int on_msg_error(struct xio_sessi
struct thread_data *tdata = conn_entry->tdata;
if (direction == XIO_MSG_DIRECTION_OUT) {
- DEBUG("**** [%p] message %lu failed. reason: %s\n",
+ DEBUG("**** [%p] message %" PRIu64 " failed. reason: %s\n",
session, req->sn, xio_strerror(error));
} else {
xio_release_response(req);
- DEBUG("**** [%p] message %lu failed. reason: %s\n",
+ DEBUG("**** [%p] message %" PRIu64 " failed. reason: %s\n",
session, req->request->sn, xio_strerror(error));
}
obj_pool_put(tdata->req_pool, req);
diff -rup accelio/src/tools/usr/xio_if_numa_cpus.c accelio.new/src/tools/usr/xio_if_numa_cpus.c
--- accelio/src/tools/usr/xio_if_numa_cpus.c 2015-09-03 19:36:25.603337482 -0400
+++ accelio.new/src/tools/usr/xio_if_numa_cpus.c 2015-09-03 19:40:06.398364476 -0400
@@ -43,6 +43,7 @@
#include <net/if.h>
#include <stdio.h>
#include <numa.h>
+#include <inttypes.h>
#define cpusmask_test_bit(nr, addr) (*(addr) & (1ULL << (nr)))
#define cpusmask_set_bit(nr, addr) (*(addr) |= (1ULL << (nr)))
@@ -244,7 +245,7 @@ int main(int argc, char *argv[])
}
intf_cpusmask_str(cpusmask, cpusnum, cpus_str);
- printf("%-10s %-16s %-30s %-5d 0x%-8lx %-4s[%d] - %s\n",
+ printf("%-10s %-16s %-30s %-5d 0x%-8" PRIx64 " %-4s[%d] - %s\n",
ifa->ifa_name, host, flags, numa_node, cpusmask,
"cpus", cpusnum, cpus_str);
}
diff -rup accelio/src/tools/usr/xio_mem_usage.c accelio.new/src/tools/usr/xio_mem_usage.c
--- accelio/src/tools/usr/xio_mem_usage.c 2015-09-03 19:36:25.603337482 -0400
+++ accelio.new/src/tools/usr/xio_mem_usage.c 2015-09-03 19:38:57.596044838 -0400
@@ -73,7 +73,7 @@
while (i++ < 48) { \
printf("."); \
} \
- printf(" %6lu\n", sizeof(type)); \
+ printf(" %zu\n", sizeof(type)); \
}
int main(int argc, char **argv)
diff -rup accelio/tests/portable/direct_rdma_test/xio_rdma_common.c accelio.new/tests/portable/direct_rdma_test/xio_rdma_common.c
--- accelio/tests/portable/direct_rdma_test/xio_rdma_common.c 2015-09-03 19:36:25.610337514 -0400
+++ accelio.new/tests/portable/direct_rdma_test/xio_rdma_common.c 2015-09-03 19:56:25.521908028 -0400
@@ -90,7 +90,7 @@ static int publish_our_buffer(struct xio
* this flag must be on */
rsp->flags = XIO_MSG_FLAG_IMM_SEND_COMP;
- rdma_test_buf.addr = (uint64_t)rdma_reg_mem.addr;
+ rdma_test_buf.addr = (intptr_t)rdma_reg_mem.addr;
rdma_test_buf.length = rdma_reg_mem.length;
rdma_test_buf.rkey = xio_lookup_rkey_by_response(&rdma_reg_mem, rsp);
diff -rup accelio/tests/usr/hello_test/xio_client.c accelio.new/tests/usr/hello_test/xio_client.c
--- accelio/tests/usr/hello_test/xio_client.c 2015-09-03 19:36:25.608337505 -0400
+++ accelio.new/tests/usr/hello_test/xio_client.c 2015-09-03 19:45:43.055926711 -0400
@@ -181,13 +181,13 @@ static void process_response(struct test
double txbw = (1.0*pps*test_params->stat.txlen/ONE_MB);
double rxbw = (1.0*pps*test_params->stat.rxlen/ONE_MB);
- printf("transactions per second: %lu, bandwidth: " \
+ printf("transactions per second: %" PRIu64 ", bandwidth: " \
"TX %.2f MB/s, RX: %.2f MB/s, length: TX: %zd B, RX: %zd B\n",
pps, txbw, rxbw,
test_params->stat.txlen, test_params->stat.rxlen);
get_time(timeb, 40);
- printf("**** [%s] - message [%zd] %s - %s\n",
+ printf("**** [%s] - message [%" PRIu64 "] %s - %s\n",
timeb, (rsp->request->sn + 1),
(char *)rsp->in.header.iov_base,
(char *)(inents > 0 ? isglist[0].iov_base : NULL));
@@ -212,8 +212,8 @@ static int on_session_event(struct xio_s
switch (event_data->event) {
case XIO_SESSION_CONNECTION_TEARDOWN_EVENT:
- printf("nsent:%lu, nrecv:%lu, " \
- "delta:%lu\n",
+ printf("nsent:%" PRIu64 ", nrecv:%" PRIu64 ", " \
+ "delta:%" PRIu64 "\n",
test_params->nsent, test_params->nrecv,
test_params->nsent-test_params->nrecv);
@@ -370,11 +370,11 @@ static int on_msg_error(struct xio_sessi
struct test_params *test_params = (struct test_params *)cb_user_context;
if (direction == XIO_MSG_DIRECTION_OUT) {
- printf("**** [%p] message %lu failed. reason: %s\n",
+ printf("**** [%p] message %" PRIu64 " failed. reason: %s\n",
session, msg->sn, xio_strerror(error));
} else {
xio_release_response(msg);
- printf("**** [%p] message %lu failed. reason: %s\n",
+ printf("**** [%p] message %" PRIu64 " failed. reason: %s\n",
session, msg->request->sn, xio_strerror(error));
}
diff -rup accelio/tests/usr/hello_test/xio_server.c accelio.new/tests/usr/hello_test/xio_server.c
--- accelio/tests/usr/hello_test/xio_server.c 2015-09-03 19:36:25.608337505 -0400
+++ accelio.new/tests/usr/hello_test/xio_server.c 2015-09-03 19:46:35.777171360 -0400
@@ -112,7 +112,7 @@ static void process_request(struct xio_m
if (++cnt == PRINT_COUNTER) {
struct xio_iovec_ex *sglist = vmsg_sglist(&msg->in);
- printf("**** message [%lu] %s - %s\n",
+ printf("**** message [%" PRIu64 "] %s - %s\n",
(msg->sn+1),
(char *)msg->in.header.iov_base,
(char *)sglist[0].iov_base);
@@ -146,8 +146,8 @@ static int on_session_event(struct xio_s
break;
case XIO_SESSION_CONNECTION_TEARDOWN_EVENT:
if (event_data->reason != XIO_E_SESSION_REJECTED) {
- printf("last sent:%lu, last comp:%lu, " \
- "delta:%lu\n",
+ printf("last sent:%" PRIu64 ", last comp:%" PRIu64 ", " \
+ "delta:%" PRIu64 "\n",
test_params->nsent, test_params->ncomp,
test_params->nsent-test_params->ncomp);
test_params->connection = NULL;
@@ -257,7 +257,7 @@ static int on_msg_error(struct xio_sessi
{
struct test_params *test_params = (struct test_params *)cb_user_context;
- printf("**** [%p] message [%lu] failed. reason: %s\n",
+ printf("**** [%p] message [%" PRIu64 "] failed. reason: %s\n",
session, msg->request->sn, xio_strerror(error));
msg_pool_put(test_params->pool, msg);
diff -rup accelio/tests/usr/hello_test_bidi/xio_bidi_client.c accelio.new/tests/usr/hello_test_bidi/xio_bidi_client.c
--- accelio/tests/usr/hello_test_bidi/xio_bidi_client.c 2015-09-03 19:36:25.608337505 -0400
+++ accelio.new/tests/usr/hello_test_bidi/xio_bidi_client.c 2015-09-03 19:49:10.164887785 -0400
@@ -114,7 +114,7 @@ static void process_request(struct xio_m
if (++cnt == print_counter) {
struct xio_iovec_ex *sglist = vmsg_sglist(&req->in);
- printf("**** request [%lu] %s - %s\n",
+ printf("**** request [%" PRIu64 "] %s - %s\n",
(req->sn+1),
(char *)req->in.header.iov_base,
(char *)sglist[0].iov_base);
@@ -171,11 +171,11 @@ static void process_response(struct xio_
double txbw = (1.0*pps*txlen/ONE_MB);
double rxbw = (1.0*pps*rxlen/ONE_MB);
- printf("transactions per second: %lu, bandwidth: " \
+ printf("transactions per second: %" PRIu64 ", bandwidth: " \
"TX %.2f MB/s, RX: %.2f MB/s, length: TX: %zd B, RX: %zd B\n",
pps, txbw, rxbw, txlen, rxlen);
get_time(timeb, 40);
- printf("**** [%s] - response [%lu] %s - %s\n",
+ printf("**** [%s] - response [%" PRIu64 "] %s - %s\n",
timeb, (rsp->request->sn + 1),
(char *)rsp->in.header.iov_base,
(char *)(inents > 0 ? isglist[0].iov_base : NULL));
@@ -357,7 +357,7 @@ static int on_msg_error(struct xio_sessi
{
switch (msg->type) {
case XIO_MSG_TYPE_REQ:
- printf("**** [%p] message [%lu] failed. reason: %s\n",
+ printf("**** [%p] message [%" PRIu64 "] failed. reason: %s\n",
session, msg->sn, xio_strerror(error));
msg_pool_put(pool, msg);
switch (error) {
@@ -369,7 +369,7 @@ static int on_msg_error(struct xio_sessi
};
break;
case XIO_MSG_TYPE_RSP:
- printf("**** [%p] message [%lu] failed. reason: %s\n",
+ printf("**** [%p] message [%" PRIu64 "] failed. reason: %s\n",
session, msg->request->sn, xio_strerror(error));
/* message is no longer needed */
switch (error) {
diff -rup accelio/tests/usr/hello_test_bidi/xio_bidi_server.c accelio.new/tests/usr/hello_test_bidi/xio_bidi_server.c
--- accelio/tests/usr/hello_test_bidi/xio_bidi_server.c 2015-09-03 19:36:25.608337505 -0400
+++ accelio.new/tests/usr/hello_test_bidi/xio_bidi_server.c 2015-09-03 19:49:52.860085909 -0400
@@ -143,11 +143,11 @@ static void process_response(struct xio_
double txbw = (1.0*pps*txlen/ONE_MB);
double rxbw = (1.0*pps*rxlen/ONE_MB);
- printf("transactions per second: %lu, bandwidth: " \
+ printf("transactions per second: %" PRIu64 ", bandwidth: " \
"TX %.2f MB/s, RX: %.2f MB/s, length: TX: %zd B, RX: %zd B\n",
pps, txbw, rxbw, txlen, rxlen);
get_time(timeb, 40);
- printf("**** [%s] - response complete [%lu] %s - %s\n",
+ printf("**** [%s] - response complete [%" PRIu64 "] %s - %s\n",
timeb, (rsp->request->sn + 1),
(char *)rsp->in.header.iov_base,
(char *)(inents > 0 ? isglist[0].iov_base : NULL));
@@ -171,7 +171,7 @@ static void process_request(struct xio_m
if (++cnt == print_counter) {
struct xio_iovec_ex *sglist = vmsg_sglist(&req->in);
- printf("**** request complete [%lu] %s - %s [%zd]\n",
+ printf("**** request complete [%" PRIu64 "] %s - %s [%zd]\n",
(req->sn+1),
(char *)req->in.header.iov_base,
(char *)sglist[0].iov_base,
@@ -409,7 +409,7 @@ static int on_msg_error(struct xio_sessi
{
switch (msg->type) {
case XIO_MSG_TYPE_REQ:
- printf("**** [%p] message [%lu] failed. reason: %s\n",
+ printf("**** [%p] message [%" PRIu64 "] failed. reason: %s\n",
session, msg->sn, xio_strerror(error));
msg_pool_put(pool, msg);
switch (error) {
@@ -422,7 +422,7 @@ static int on_msg_error(struct xio_sessi
};
break;
case XIO_MSG_TYPE_RSP:
- printf("**** [%p] message [%lu] failed. reason: %s\n",
+ printf("**** [%p] message [%" PRIu64 "] failed. reason: %s\n",
session, msg->request->sn, xio_strerror(error));
/* message is no longer needed */
switch (error) {
diff -rup accelio/tests/usr/hello_test_lat/xio_lat_client.c accelio.new/tests/usr/hello_test_lat/xio_lat_client.c
--- accelio/tests/usr/hello_test_lat/xio_lat_client.c 2015-09-03 19:36:25.608337505 -0400
+++ accelio.new/tests/usr/hello_test_lat/xio_lat_client.c 2015-09-03 19:50:51.111356220 -0400
@@ -139,7 +139,7 @@ static void process_response(struct xio_
double rxbw = (1.0*pps*rxlen/ONE_MB);
double lat = (1000000.0/pps);
- printf("transactions per second: %lu, lat: %.2f us, bandwidth: " \
+ printf("transactions per second: %" PRIu64 ", lat: %.2f us, bandwidth: " \
"TX %.2f MB/s, RX: %.2f MB/s, length: TX: %zd B, RX: %zd B\n",
pps, lat, txbw, rxbw, txlen, rxlen);
get_time(timeb, 40);
@@ -312,7 +312,7 @@ static int on_msg_error(struct xio_sessi
struct xio_msg *msg,
void *cb_user_context)
{
- printf("**** [%p] message [%lu] failed. reason: %s\n",
+ printf("**** [%p] message [%" PRIu64 "] failed. reason: %s\n",
session, msg->sn, xio_strerror(error));
msg_pool_put(pool, msg);
diff -rup accelio/tests/usr/hello_test_lat/xio_lat_server.c accelio.new/tests/usr/hello_test_lat/xio_lat_server.c
--- accelio/tests/usr/hello_test_lat/xio_lat_server.c 2015-09-03 19:36:25.608337505 -0400
+++ accelio.new/tests/usr/hello_test_lat/xio_lat_server.c 2015-09-03 19:51:16.803475442 -0400
@@ -103,7 +103,7 @@ static void process_request(struct xio_m
if (++cnt == PRINT_COUNTER) {
struct xio_iovec_ex *sglist = vmsg_sglist(&msg->in);
- printf("**** message [%lu] %s - %s\n",
+ printf("**** message [%" PRIu64 "] %s - %s\n",
(msg->sn+1),
(char *)msg->in.header.iov_base,
(char *)sglist[0].iov_base);
@@ -209,7 +209,7 @@ static int on_msg_error(struct xio_sessi
struct xio_msg *msg,
void *cb_user_context)
{
- printf("**** [%p] message [%lu] failed. reason: %s\n",
+ printf("**** [%p] message [%" PRIu64 "] failed. reason: %s\n",
session, msg->sn, xio_strerror(error));
msg_pool_put(pool, msg);
diff -rup accelio/tests/usr/hello_test_mt/xio_mt_client.c accelio.new/tests/usr/hello_test_mt/xio_mt_client.c
--- accelio/tests/usr/hello_test_mt/xio_mt_client.c 2015-09-03 19:36:25.608337505 -0400
+++ accelio.new/tests/usr/hello_test_mt/xio_mt_client.c 2015-09-03 19:47:39.218465755 -0400
@@ -179,12 +179,12 @@ static void process_response(struct thre
double txbw = (1.0*pps*tdata->stat.txlen/ONE_MB);
double rxbw = (1.0*pps*tdata->stat.rxlen/ONE_MB);
- printf("transactions per second: %lu, bandwidth: " \
+ printf("transactions per second: %" PRIu64 ", bandwidth: " \
"TX %.2f MB/s, RX: %.2f MB/s, length: TX: %zd B, " \
"RX: %zd B\n",
pps, txbw, rxbw, tdata->stat.txlen, tdata->stat.rxlen);
get_time(timeb, 40);
- printf("[%s] thread [%d] - tid:%p - message [%lu] " \
+ printf("[%s] thread [%d] - tid:%p - message [%" PRIu64 "] " \
"%s - %s\n",
timeb,
tdata->affinity,
@@ -416,11 +416,11 @@ static int on_msg_error(struct xio_sessi
struct thread_data *tdata = (struct thread_data *)cb_user_context;
if (direction == XIO_MSG_DIRECTION_OUT) {
- printf("**** [%p] message %lu failed. reason: %s\n",
+ printf("**** [%p] message %" PRIu64 " failed. reason: %s\n",
session, msg->sn, xio_strerror(error));
} else {
xio_release_response(msg);
- printf("**** [%p] message %lu failed. reason: %s\n",
+ printf("**** [%p] message %" PRIu64 " failed. reason: %s\n",
session, msg->request->sn, xio_strerror(error));
}
diff -rup accelio/tests/usr/hello_test_mt/xio_mt_server.c accelio.new/tests/usr/hello_test_mt/xio_mt_server.c
--- accelio/tests/usr/hello_test_mt/xio_mt_server.c 2015-09-03 19:36:25.608337505 -0400
+++ accelio.new/tests/usr/hello_test_mt/xio_mt_server.c 2015-09-03 19:48:02.876575538 -0400
@@ -171,7 +171,7 @@ static void process_request(struct threa
if (++tdata->stat.cnt == PRINT_COUNTER) {
struct xio_iovec_ex *sglist = vmsg_sglist(&msg->in);
- printf("thread [%d] - message [%lu] %s - %s\n",
+ printf("thread [%d] - message [%" PRIu64 "] %s - %s\n",
tdata->affinity,
(msg->sn+1),
(char *)msg->in.header.iov_base,
@@ -260,7 +260,7 @@ static int on_msg_error(struct xio_sessi
{
struct thread_data *tdata = (struct thread_data *)cb_user_context;
- printf("**** [%p] message [%lu] failed. reason: %s\n",
+ printf("**** [%p] message [%" PRIu64 "] failed. reason: %s\n",
session, msg->request->sn, xio_strerror(error));
msg_pool_put(tdata->pool, msg);
diff -rup accelio/tests/usr/hello_test_oneway/xio_oneway_client.c accelio.new/tests/usr/hello_test_oneway/xio_oneway_client.c
--- accelio/tests/usr/hello_test_oneway/xio_oneway_client.c 2015-09-03 19:36:25.609337510 -0400
+++ accelio.new/tests/usr/hello_test_oneway/xio_oneway_client.c 2015-09-03 19:54:18.142316932 -0400
@@ -150,11 +150,11 @@ static void process_rx_message(struct ow
double rxbw = (1.0*pps*ow_params->rx_stat.xlen/ONE_MB);
- printf("transactions per second: %lu, bandwidth: " \
+ printf("transactions per second: %" PRIu64 ", bandwidth: " \
"RX: %.2f MB/s, RX: %zd B\n",
pps, rxbw, ow_params->rx_stat.xlen);
get_time(timeb, 40);
- printf("**** [%s] - message [%lu] %s - %s\n",
+ printf("**** [%s] - message [%" PRIu64 "] %s - %s\n",
timeb, (msg->sn + 1),
(char *)msg->in.header.iov_base,
(char *)(inents > 0 ? isglist[0].iov_base : NULL));
@@ -202,11 +202,11 @@ static void process_tx_message(struct ow
double txbw = (1.0*pps*ow_params->tx_stat.xlen/ONE_MB);
- printf("transactions per second: %lu, bandwidth: " \
+ printf("transactions per second: %" PRIu64 ", bandwidth: " \
"TX %.2f MB/s,length: TX: %zd B\n",
pps, txbw, ow_params->tx_stat.xlen);
get_time(timeb, 40);
- printf("**** [%s] - message [%lu] %s - %s\n",
+ printf("**** [%s] - message [%" PRIu64 "] %s - %s\n",
timeb, (msg->sn + 1),
(char *)msg->out.header.iov_base,
(char *)(onents > 0 ? osglist[0].iov_base : NULL));
@@ -349,7 +349,7 @@ static int on_msg_error(struct xio_sessi
struct ow_test_params *ow_params =
(struct ow_test_params *)cb_user_context;
- printf("**** [%p] message [%lu] failed. reason: %s\n",
+ printf("**** [%p] message [%" PRIu64 "] failed. reason: %s\n",
session, msg->sn, xio_strerror(error));
msg_pool_put(ow_params->pool, msg);
diff -rup accelio/tests/usr/hello_test_oneway/xio_oneway_server.c accelio.new/tests/usr/hello_test_oneway/xio_oneway_server.c
--- accelio/tests/usr/hello_test_oneway/xio_oneway_server.c 2015-09-03 19:36:25.609337510 -0400
+++ accelio.new/tests/usr/hello_test_oneway/xio_oneway_server.c 2015-09-03 19:54:32.797384938 -0400
@@ -112,7 +112,7 @@ static void process_request(struct xio_m
if (++cnt == PRINT_COUNTER) {
struct xio_iovec_ex *sglist = vmsg_sglist(&msg->in);
- printf("**** message [%lu] %s - %s\n",
+ printf("**** message [%" PRIu64 "] %s - %s\n",
(msg->sn+1),
(char *)msg->in.header.iov_base,
(char *)sglist[0].iov_base);
@@ -299,7 +299,7 @@ static int on_msg_error(struct xio_sessi
struct ow_test_params *ow_params =
(struct ow_test_params *)cb_user_context;
- printf("**** [%p] message [%lu] failed. reason: %s\n",
+ printf("**** [%p] message [%" PRIu64 "] failed. reason: %s\n",
session, msg->sn, xio_strerror(error));
msg_pool_put(ow_params->pool, msg);
diff -rup accelio/tests/usr/hello_test_ow/xio_ow_client.c accelio.new/tests/usr/hello_test_ow/xio_ow_client.c
--- accelio/tests/usr/hello_test_ow/xio_ow_client.c 2015-09-03 19:36:25.609337510 -0400
+++ accelio.new/tests/usr/hello_test_ow/xio_ow_client.c 2015-09-03 19:52:24.905791466 -0400
@@ -152,7 +152,7 @@ for (i = 0; i < onents; i++)
double txbw = (1.0*pps*test_params->stat.txlen/ONE_MB);
- printf("transactions per second: %lu, bandwidth: " \
+ printf("transactions per second: %" PRIu64 ", bandwidth: " \
"TX %.2f MB/s, length: TX: %zd B\n",
pps, txbw,
test_params->stat.txlen);
@@ -181,8 +181,8 @@ static int on_session_event(struct xio_s
test_params->closed = 1;
break;
case XIO_SESSION_CONNECTION_TEARDOWN_EVENT:
- printf("nsent:%lu, ncomp:%lu, " \
- "delta:%lu\n",
+ printf("nsent:%" PRIu64 ", ncomp:%" PRIu64 ", " \
+ "delta:%" PRIu64 "\n",
test_params->nsent, test_params->ncomp,
test_params->nsent-test_params->ncomp);
@@ -357,7 +357,7 @@ static int on_msg_error(struct xio_sessi
{
struct test_params *test_params = (struct test_params *)cb_user_context;
- printf("**** [%p] message [%lu] failed. reason: %s\n",
+ printf("**** [%p] message [%" PRIu64 "] failed. reason: %s\n",
session, msg->sn, xio_strerror(error));
msg_pool_put(test_params->pool, msg);
diff -rup accelio/tests/usr/hello_test_ow/xio_ow_server.c accelio.new/tests/usr/hello_test_ow/xio_ow_server.c
--- accelio/tests/usr/hello_test_ow/xio_ow_server.c 2015-09-03 19:36:25.609337510 -0400
+++ accelio.new/tests/usr/hello_test_ow/xio_ow_server.c 2015-09-03 19:52:57.947944796 -0400
@@ -110,7 +110,7 @@ static void process_request(struct xio_m
if (++cnt == PRINT_COUNTER) {
struct xio_iovec_ex *sglist = vmsg_sglist(&msg->in);
- printf("**** message [%lu] %s - %s\n",
+ printf("**** message [%" PRIu64 "] %s - %s\n",
(msg->sn+1),
(char *)msg->in.header.iov_base,
(char *)sglist[0].iov_base);
@@ -145,7 +145,7 @@ static int on_session_event(struct xio_s
xio_disconnect(event_data->conn);
break;
case XIO_SESSION_CONNECTION_TEARDOWN_EVENT:
- printf("last recv:%lu\n",
+ printf("last recv:%" PRIu64 "\n",
test_params->nrecv);
xio_connection_destroy(event_data->conn);
@@ -215,7 +215,7 @@ static int on_msg_error(struct xio_sessi
struct xio_msg *msg,
void *cb_user_context)
{
- printf("**** [%p] message [%lu] failed. reason: %s\n",
+ printf("**** [%p] message [%" PRIu64 "] failed. reason: %s\n",
session, msg->request->sn, xio_strerror(error));
return 0;

View File

@ -0,0 +1,12 @@
{ stdenv, callPackage, fetchurl, ... } @ args:
callPackage ./generic.nix (args // rec {
version = "1.64.0";
src = fetchurl {
url = "mirror://sourceforge/boost/boost_1_64_0.tar.bz2";
# SHA256 from http://www.boost.org/users/history/version_1_64_0.html
sha256 = "7bcc5caace97baa948931d712ea5f37038dbb1c5d89b43ad4def4ed7cb683332";
};
})

View File

@ -1,11 +1,11 @@
{ fetchurl, stdenv }:
stdenv.mkDerivation rec {
name = "glpk-4.62";
name = "glpk-4.63";
src = fetchurl {
url = "mirror://gnu/glpk/${name}.tar.gz";
sha256 = "0w7s3869ybwyq9a4490dikpib1qp3jnn5nqz1vvwqy1qz3ilnvh9";
sha256 = "1xp7nclmp8inp20968bvvfcwmz3mz03sbm0v3yjz8aqwlpqjfkci";
};
doCheck = true;

View File

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://gstreamer.freedesktop.org";
license = stdenv.lib.licenses.lgpl2Plus;
platforms = stdenv.lib.platforms.linux;
platforms = stdenv.lib.platforms.unix;
};
src = fetchurl {

View File

@ -7,11 +7,11 @@ assert gtkSupport -> glib != null && gtk3 != null;
assert videoSupport -> ffmpeg != null && libmpeg2 != null;
stdenv.mkDerivation rec {
name = "libextractor-1.3";
name = "libextractor-1.4";
src = fetchurl {
url = "mirror://gnu/libextractor/${name}.tar.gz";
sha256 = "0zvv7wd011npcx7yphw9bpgivyxz6mlp87a57n96nv85k96dd2l6";
sha256 = "0v7ns5jhsyp1wzvbaydfgxnva5zd63gkzm9djhckmam9liq824l4";
};
preConfigure =

View File

@ -1,21 +1,21 @@
{ fetchurl, stdenv, libiconv, libunistring, help2man }:
{ fetchurl, stdenv, libiconv, libunistring, help2man, ronn }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "libidn2-${version}";
version = "2.0.2";
version = "2.0.3";
src = fetchurl {
url = "mirror://gnu/gnu/libidn/${name}.tar.gz";
sha256 = "1azfhz8zj1c27a5k2cspnkzkyfhcsqx2yc2sygh720dbn8l2imlc";
sha256 = "1k88acdf242a6lbznr0h6f02frsqyqw4smw1nznibim5wyf18da3";
};
outputs = [ "bin" "dev" "out" "info" "devdoc" ];
patches = optional stdenv.isDarwin ./fix-error-darwin.patch;
buildInputs = [ libunistring ]
buildInputs = [ libunistring ronn ]
++ optionals stdenv.isDarwin [ libiconv help2man ];
meta = {

View File

@ -0,0 +1,23 @@
{ stdenv, lib, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
name = "linenoise-ng-${version}";
version = "1.0.1";
src = fetchFromGitHub {
owner = "arangodb";
repo = "linenoise-ng";
rev = "v${version}";
sha256 = "176iz0kj0p8d8i3jqps4z8xkxwl3f1986q88i9xg5fvqgpzsxp20";
};
nativeBuildInputs = [ cmake ];
meta = {
homepage = "https://github.com/arangodb/linenoise-ng";
description = "A small, portable GNU readline replacement for Linux, Windows and MacOS which is capable of handling UTF-8 characters";
maintainers = with stdenv.lib.maintainers; [ cstrahan ];
platforms = stdenv.lib.platforms.all;
license = stdenv.lib.licenses.bsd3;
};
}

View File

@ -6,6 +6,8 @@
# Malloc implementation
, jemalloc ? null, gperftools ? null
, enableLite ? false
}:
let
@ -35,6 +37,9 @@ stdenv.mkDerivation rec {
CMAKE_CXX_FLAGS = "-std=gnu++11";
JEMALLOC_LIB = stdenv.lib.optionalString (malloc == jemalloc) "-ljemalloc";
${if enableLite then "LIBNAME" else null} = "librocksdb_lite";
${if enableLite then "CXXFLAGS" else null} = "-DROCKSDB_LITE=1";
buildFlags = [
"DEBUG_LEVEL=0"
"shared_lib"

View File

@ -6,13 +6,13 @@ else
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-ocaml-migrate-parsetree-${version}";
version = "0.7";
version = "1.0";
src = fetchFromGitHub {
owner = "let-def";
repo = "ocaml-migrate-parsetree";
rev = "v${version}";
sha256 = "142svvixhz153argd3khk7sr38dhiy4w6sck4766f8b48p41pp3m";
sha256 = "0j1d3scakny2b656gyz5z2h8987b5aqw7iwssxgfbhwcszn6sps4";
};
buildInputs = [ ocaml findlib ocamlbuild jbuilder ];

View File

@ -0,0 +1,33 @@
{ stdenv, lib, buildPythonPackage, fetchFromGitHub, augeas, cffi }:
buildPythonPackage rec {
name = "augeas-${version}";
version = "1.0.2";
src = fetchFromGitHub {
owner = "hercules-team";
repo = "python-augeas";
rev = "v${version}";
sha256 = "1xk51m58ym3qpf0z5y98kzxb5jw7s92rca0v1yflj422977najxh";
};
# TODO: not very nice!
postPatch =
let libname = if stdenv.isDarwin then "libaugeas.dylib" else "libaugeas.so";
in
''
substituteInPlace augeas/ffi.py \
--replace 'ffi.dlopen("augeas")' \
'ffi.dlopen("${lib.makeLibraryPath [augeas]}/${libname}")'
'';
propagatedBuildInputs = [ cffi augeas ];
doCheck = false;
meta = with lib; {
description = "Pure python bindings for augeas";
homepage = https://github.com/hercules-team/python-augeas;
license = licenses.lgpl2Plus;
platforms = platforms.unix;
};
}

View File

@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "yapf";
version = "0.11.0";
version = "0.16.3";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "14kb9gxw39zhvrijhp066b4bm6bgv35iw56c394y4dyczpha0dij";
sha256 = "1qxq41y65saljw0jk5fzinvynr9fhwzqcjsxxs8bn78in073x7a2";
};
meta = with stdenv.lib; {

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "tup-${version}";
version = "0.7.3";
version = "0.7.5";
src = fetchFromGitHub {
owner = "gittup";
repo = "tup";
rev = "v${version}";
sha256 = "1x2grwmlf2izip4djb8cjwgl8p3x0bmfqwzjsc017mqi17qkijy8";
sha256 = "0jzp1llq6635ldb7j9qb29j2k0x5mblimdqg3179dvva1hv0ia23";
};
buildInputs = [ fuse pkgconfig ];

View File

@ -2,14 +2,19 @@
buildGoPackage rec {
name = "gocode-${version}";
version = "20170219-${stdenv.lib.strings.substring 0 7 rev}";
rev = "f54790e5d4386b60b80d0c6f9e59db345839d7cc";
version = "20170530-${stdenv.lib.strings.substring 0 7 rev}";
rev = "f1eef9a6ba005abb145d7b58fdd225e83a3c6a05";
goPackagePath = "github.com/nsf/gocode";
# we must allow references to the original `go` package,
# because `gocode` needs to dig into $GOROOT to provide completions for the
# standard packages.
allowGoReference = true;
src = fetchgit {
inherit rev;
url = "https://github.com/nsf/gocode";
sha256 = "1x9wdahpdkqwqkipxl5m0sh8d59i389rdvrsyz57slpfd0hapkks";
sha256 = "1hkr46ikrprx203i2yr6xds1bzxggblh7bg026m2cda6dxgpnsgw";
};
}

View File

@ -1,35 +0,0 @@
# Haste requires its own patched up version of Cabal that's not on hackage
{ mkDerivation, array, base, binary, bytestring, containers
, deepseq, directory, extensible-exceptions, filepath, old-time
, pretty, process, QuickCheck, regex-posix, stdenv, tasty
, tasty-hunit, tasty-quickcheck, time, unix
, fetchFromGitHub
}:
mkDerivation {
pname = "Cabal";
version = "1.23.0.0";
src = fetchFromGitHub {
owner = "valderman";
repo = "cabal";
rev = "a1962987ba32d5e20090830f50c6afdc78dae005";
sha256 = "1gjmscfsikcvgkv6zricpfxvj23wxahndm784lg9cpxrc3pn5hvh";
};
libraryHaskellDepends = [
array base binary bytestring containers deepseq directory filepath
pretty process time unix
];
testHaskellDepends = [
base bytestring containers directory extensible-exceptions filepath
old-time pretty process QuickCheck regex-posix tasty tasty-hunit
tasty-quickcheck unix
];
prePatch = ''
rm -rf cabal-install
cd Cabal
'';
doCheck = false;
homepage = "http://www.haskell.org/cabal/";
description = "A framework for packaging Haskell software";
license = stdenv.lib.licenses.bsd3;
}

View File

@ -1,46 +0,0 @@
# Haste requires its own patched up version of cabal-install that's not on hackage
{ mkDerivation, array, base, bytestring, Cabal, containers
, directory, extensible-exceptions, filepath, HTTP, mtl, network
, network-uri, pretty, process, QuickCheck, random, regex-posix
, stdenv, stm, tagged, tasty, tasty-hunit, tasty-quickcheck, time
, unix, zlib
, fetchFromGitHub
}:
mkDerivation {
pname = "cabal-install";
version = "1.23.0.0";
src = fetchFromGitHub {
owner = "valderman";
repo = "cabal";
rev = "a1962987ba32d5e20090830f50c6afdc78dae005";
sha256 = "1gjmscfsikcvgkv6zricpfxvj23wxahndm784lg9cpxrc3pn5hvh";
};
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
array base bytestring Cabal containers directory filepath HTTP mtl
network network-uri pretty process random stm time unix zlib
];
testHaskellDepends = [
array base bytestring Cabal containers directory
extensible-exceptions filepath HTTP mtl network network-uri pretty
process QuickCheck random regex-posix stm tagged tasty tasty-hunit
tasty-quickcheck time unix zlib
];
prePatch = ''
rm -rf Cabal
cd cabal-install
'';
postInstall = ''
mkdir $out/etc
mv bash-completion $out/etc/bash_completion.d
# Manually added by Nix maintainer
mv -v $out/etc/bash_completion.d/cabal $out/etc/bash_completion.d/haste-cabal
'';
doCheck = false;
homepage = "http://www.haskell.org/cabal/";
description = "The command-line interface for Cabal and Hackage";
license = stdenv.lib.licenses.bsd3;
}

View File

@ -1,33 +0,0 @@
{ mkDerivation
, overrideCabal
, super-haste-compiler
}:
overrideCabal super-haste-compiler (drv: {
configureFlags = [ "-f-portable" ];
prePatch = ''
# Get ghc libdir by invoking ghc and point to haste-cabal binary
substituteInPlace src/Haste/Environment.hs \
--replace \
'hasteGhcLibDir = hasteSysDir' \
'hasteGhcLibDir = head $ lines $ either (error . show) id $ unsafePerformIO $ shell $ run "ghc" ["--print-libdir"] ""' \
--replace \
'hasteCabalBinary = hasteBinDir </> "haste-cabal" ++ binaryExt' \
'hasteCabalBinary = "haste-cabal" ++ binaryExt'
# Don't try to download/install haste-cabal in haste-boot:
patch src/haste-boot.hs << EOF
@@ -178,10 +178,6 @@
pkgSysLibDir, jsmodSysDir, pkgSysDir]
mkdir True (hasteCabalRootDir portableHaste)
- case getHasteCabal cfg of
- Download -> installHasteCabal portableHaste tmpdir
- Prebuilt fp -> copyHasteCabal portableHaste fp
- Source mdir -> buildHasteCabal portableHaste (maybe "../cabal" id mdir)
-- Spawn off closure download in the background.
dir <- pwd -- use absolute path for closure to avoid dir changing race
EOF
'';
})

View File

@ -2,15 +2,15 @@
stdenv.mkDerivation rec {
name = "multi-ghc-travis-${version}";
version = "git-2017-07-26";
version = "git-2017-07-27";
buildInputs = [ ghc ];
src = fetchFromGitHub {
owner = "hvr";
repo = "multi-ghc-travis";
rev = "800980d76f7a74f3cdfd76b3dff351d52d2c84ee";
sha256 = "03y8b4iz5ly9vkjc551c1bxalg1vl4k2sic327s3vh00jmjgvhz6";
rev = "f21804164cf646d682d7da668a625cdbd8baf05a";
sha256 = "07l3qzlc2hl7g5wbgqh8ld8ynl004i6m7p903667gbhs7sw03nbl";
};
installPhase = ''

View File

@ -62,15 +62,15 @@ let
};
in releaseTools.nixBuild rec {
name = "hydra-${version}";
version = "2017-06-22";
version = "2017-07-24";
inherit stdenv;
src = fetchFromGitHub {
owner = "NixOS";
repo = "hydra";
rev = "803833aba77e1082c14857aa26933fc7fe5ae190";
sha256 = "1cnxpsan8l6fnbr73n0qxxq1szlda1n3qfkk9k9ic8ijk7md4pvs";
rev = "a6d9201947aa1468d31ef5c2651251ceeefceb5c";
sha256 = "0hk5pxzn94ip3nyccxl91zc5n6wd1h2zcbhdq9p38wa4lrnnm5zv";
};
buildInputs =

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "swig-${version}";
version = "3.0.10";
version = "3.0.12";
src = fetchFromGitHub {
owner = "swig";
repo = "swig";
rev = "rel-${version}";
sha256 = "049rj883r9mf2bgabj3b03p7cnmqgl5939lmh8v5nnia24zb51jg";
sha256 = "1wyffskbkzj5zyhjnnpip80xzsjcr3p0q5486z3wdwabnysnhn8n";
};
nativeBuildInputs = [ autoconf automake libtool bison ];

View File

@ -1,22 +1,24 @@
{ stdenv, fetchurl, python35Packages }:
python35Packages.buildPythonApplication rec {
name = "mypy-${version}";
version = "0.501";
{ stdenv, fetchPypi, buildPythonApplication, lxml, typed-ast }:
buildPythonApplication rec {
name = "${pname}-${version}";
pname = "mypy";
version = "0.511";
# Tests not included in pip package.
doCheck = false;
src = fetchurl {
url = "mirror://pypi/m/mypy/${name}.tar.gz";
sha256 = "164g3dq2vzxa53n9lgvmbapg41qiwcxk1w9mvzmnqksvql5vm60h";
src = fetchPypi {
inherit pname version;
sha256 = "1vmfyi6zh49mi7rmns5hjgpqshq7islxwsgp80j1izf82r8xgx1z";
};
propagatedBuildInputs = with python35Packages; [ lxml typed-ast ];
propagatedBuildInputs = [ lxml typed-ast ];
meta = with stdenv.lib; {
description = "Optional static typing for Python";
homepage = "http://www.mypy-lang.org";
license = licenses.mit;
maintainers = with maintainers; [ martingms ];
maintainers = with maintainers; [ martingms lnl7 ];
};
}

View File

@ -6,7 +6,7 @@
let
ghc = ghcWithPackages (pkgs: with pkgs; [
network vector utf8-string bytestring-show random hslogger
dataenc SHA entropy zlib_0_5_4_2
dataenc SHA entropy pkgs.zlib
]);
in
stdenv.mkDerivation rec {

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgsi686Linux, dpkg, makeWrapper, coreutils, gnused, gawk, file, cups, patchelf, utillinux, vimNox
{ stdenv, fetchurl, pkgsi686Linux, dpkg, makeWrapper, coreutils, gnused, gawk, file, cups, patchelf, utillinux, xxd
, ghostscript, a2ps }:
# Why:
@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
${utillinux}/bin/hexdump -ve '1/1 "%.2X"' $out/usr/bin/brprintconf_mfcj6510dw | \
sed 's.2F6F70742F62726F746865722F5072696E746572732F25732F696E662F6272257366756E63.62726d66636a36353130647766756e63000000000000000000000000000000000000000000.' | \
sed 's.2F6F70742F62726F746865722F5072696E746572732F25732F696E662F627225737263.62726D66636A3635313064777263000000000000000000000000000000000000000000.' | \
${vimNox}/bin/xxd -r -p > $out/usr/bin/brprintconf_mfcj6510dw_patched
${xxd}/bin/xxd -r -p > $out/usr/bin/brprintconf_mfcj6510dw_patched
chmod +x $out/usr/bin/brprintconf_mfcj6510dw_patched
#executing from current dir. segfaults if it's not r\w.
mkdir -p $out/bin
@ -79,11 +79,11 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
homepage = http://www.brother.com/;
description = "Brother MFC-J6510DW LPR driver";
license = with licenses; unfree;
platforms = with platforms; linux;
description = "Brother MFC-J6510DW LPR driver";
downloadPage = http://support.brother.com/g/b/downloadlist.aspx?c=us&lang=en&prod=mfcj6510dw_all&os=128;
maintainers = with maintainers; [ ramkromberg ];
homepage = http://www.brother.com/;
license = with licenses; unfree;
maintainers = with maintainers; [ ramkromberg ];
platforms = with platforms; linux;
};
}

View File

@ -9,11 +9,11 @@ let
in stdenv.mkDerivation rec {
name = "cups-filters-${version}";
version = "1.14.0";
version = "1.15.0";
src = fetchurl {
url = "http://openprinting.org/download/cups-filters/${name}.tar.xz";
sha256 = "1v553wvr8qdwb1g04if7cw1mfm42vs6xfyg0cvzvbng6yr6jg93s";
sha256 = "0g6jmbzgvsq4dq6jaczr6fslpv3692v8yvvmqgw08sb3aly7kgd3";
};
nativeBuildInputs = [ pkgconfig makeWrapper ];

View File

@ -1,8 +1,8 @@
{ callPackage, gtk3, glib, libxml2, gnuplot, makeWrapper, stdenv, gnome3, gdk_pixbuf, librsvg, intltool }:
let pkg = import ./base.nix {
version = "3.0.1";
version = "3.1.0";
pkgName = "image-analyzer";
pkgSha256 = "19x5hx991pl55ddm2wjd2ylm2hiz9yvzgrwmpnsqr9zqc4lja682";
pkgSha256 = "1pr23kxx83xp83h27fkdv86f3bxclkx056f9jx8jhnpn113xp7r2";
};
in callPackage pkg {
buildInputs = [ glib gtk3 libxml2 gnuplot (callPackage ./libmirage.nix {}) makeWrapper

View File

@ -1,11 +1,12 @@
{ callPackage, pythonPackages, intltool, makeWrapper }:
let pkg = import ./base.nix {
version = "3.0.3";
version = "3.1.0";
pkgName = "cdemu-client";
pkgSha256 = "1bfj7bc10z20isdg0h8sfdvnwbn6c49494mrmq6jwrfbqvby25x9";
pkgSha256 = "0s6q923g5vkahw5fki6c7a25f68y78zfx4pfsy0xww0z1f5hfsik";
};
in callPackage pkg {
buildInputs = [ pythonPackages.python pythonPackages.dbus-python intltool makeWrapper ];
buildInputs = [ pythonPackages.python pythonPackages.dbus-python pythonPackages.pygobject3
intltool makeWrapper ];
drvParams = {
postFixup = ''
wrapProgram $out/bin/cdemu \

View File

@ -1,9 +1,9 @@
{ callPackage, glib, libao }:
{ callPackage, glib, libao, intltool }:
let pkg = import ./base.nix {
version = "3.0.5";
version = "3.1.0";
pkgName = "cdemu-daemon";
pkgSha256 = "1cc0yxf1y5dxinv7md1cqhdjsbqb69v9jygrdq5c20mrkqaajz1i";
pkgSha256 = "0kxwhwjvcr40sjlrvln9gasjwkkfc3wxpcz0rxmffp92w8phz3s9";
};
in callPackage pkg {
buildInputs = [ glib libao (callPackage ./libmirage.nix {}) ];
buildInputs = [ glib libao (callPackage ./libmirage.nix {}) intltool ];
}

View File

@ -1,9 +1,9 @@
{ callPackage, pythonPackages, gtk3, glib, libnotify, intltool, makeWrapper, gobjectIntrospection, gnome3, gdk_pixbuf, librsvg }:
let
pkg = import ./base.nix {
version = "3.0.2";
version = "3.1.0";
pkgName = "gcdemu";
pkgSha256 = "1kmcr2a0inaddx8wrjh3l1v5ymgwv3r6nv2w05lia51r1yzvb44p";
pkgSha256 = "0rmnw302fk9vli22v54qx19lqxy23syxi154klxz2vma009q0p02";
};
inherit (pythonPackages) python pygobject3;
in callPackage pkg {

View File

@ -1,9 +1,9 @@
{ callPackage, glib, libsndfile, zlib, bzip2, lzma, libsamplerate }:
{ callPackage, glib, libsndfile, zlib, bzip2, lzma, libsamplerate, intltool }:
let pkg = import ./base.nix {
version = "3.0.5";
version = "3.1.0";
pkgName = "libmirage";
pkgSha256 = "01wfxlyviank7k3p27grl1r40rzm744rr80zr9lcjk3y8i5g8ni2";
pkgSha256 = "0qvkvnvxqx8hqzcqzh7sqjzgbc1nrd91lzv33lr8c6fgaq8cqzmn";
};
in callPackage pkg {
buildInputs = [ glib libsndfile zlib bzip2 lzma libsamplerate ];
buildInputs = [ glib libsndfile zlib bzip2 lzma libsamplerate intltool ];
}

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "vhba-${version}";
version = "20161009";
version = "20170610";
src = fetchurl {
url = "mirror://sourceforge/cdemu/vhba-module-${version}.tar.bz2";
sha256 = "1n9k3z8hppnl5b5vrn41b69wqwdpml6pm0rgc8vq3jqwss5js1nd";
sha256 = "1v6r0bgx0a65vlh36b1l2965xybngbpga6rp54k4z74xk0zwjw3r";
};
makeFlags = [ "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" "INSTALL_MOD_PATH=$(out)" ];

View File

@ -224,11 +224,11 @@ rec {
};
The_NERD_tree = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "The_NERD_tree-2017-06-30";
name = "The_NERD_tree-2017-07-17";
src = fetchgit {
url = "git://github.com/scrooloose/nerdtree";
rev = "2e43ad074bb3b7fafc77b9eea5098047d6fe6e90";
sha256 = "1mbj0qcjmrc4n0p9i96rm29qpi5j1shp69iv5kcv8sxiqgfrlqlm";
rev = "e2a9929bbea0ec2050f2ea44b7e7bae3ccac66e6";
sha256 = "03mygl8ic4awx4js04x0nw2l96kjv4vsldkgrdx0n43sh5i4z7nk";
};
dependencies = [];
@ -284,11 +284,11 @@ rec {
};
clang_complete = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "clang_complete-2017-06-03";
name = "clang_complete-2017-07-15";
src = fetchgit {
url = "git://github.com/Rip-Rip/clang_complete";
rev = "c963df1cd10463166e1245445bff27f28e89f9f7";
sha256 = "1y7zx3ywir86mxgg86kb8z7xmxadcmv8ycc2i1y8s7jz6pv2v40l";
rev = "c41eea05317526a4ddd3bd389f3723390b196d4d";
sha256 = "0bfalbzhy3n1k8bsvnh6aykgj6d17n6qgi9ahp0d8plvbjjvfw6j";
};
dependencies = [];
# In addition to the arguments you pass to your compiler, you also need to
@ -363,23 +363,12 @@ rec {
};
forms = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "forms-2012-11-28";
src = fetchgit {
url = "git://github.com/megaannum/forms";
rev = "b601e03fe0a3b8a43766231f4a6217e4492b4f75";
sha256 = "19kp1i5c6jmnpbsap9giayqbzlv7vh02mp4mjvicqj9n0nfyay74";
};
dependencies = ["self"];
};
fugitive = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "fugitive-2017-06-08";
name = "fugitive-2017-07-12";
src = fetchgit {
url = "git://github.com/tpope/vim-fugitive";
rev = "be2ff98db543990d7e59a90189733d7a779788fd";
sha256 = "1lkdypibsw2p45wrdcc8ambynszdcwiqyh50zhflf2slpd98iz3m";
rev = "913fff1cea3aa1a08a360a494fa05555e59147f5";
sha256 = "1qxzxk5szm25r7wi39n5s91fjnjgz5xib67risjcwhk6jdv0vzyd";
};
dependencies = [];
@ -441,11 +430,11 @@ rec {
};
deoplete-nvim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "deoplete-nvim-2017-07-05";
name = "deoplete-nvim-2017-07-22";
src = fetchgit {
url = "https://github.com/Shougo/deoplete.nvim";
rev = "376b0c9bbdd30e51a253319ff63762165f30d41a";
sha256 = "0r6bwwsl9r40nv02hca1h00wgakmrjqzamz3whf7xnb0vx9p29n9";
rev = "5cef0e6b607d3acb742d1de07a4ddd3a5bfa3036";
sha256 = "0mh8zjaw369djffi1vzy124pwnrcxg4pbyjnhy3pq2j6k579znc2";
};
dependencies = [];
@ -474,11 +463,11 @@ rec {
};
vim-closetag = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-closetag-2017-07-04";
name = "vim-closetag-2017-07-24";
src = fetchgit {
url = "https://github.com/alvan/vim-closetag";
rev = "e15684e10eb456399fc496467cc9ece1e18a7ec8";
sha256 = "1rs1dlnn5syxny3qrgggyz8rc6anr8gkhkn19i72nmrvcbb40w0k";
rev = "2cacc501df30586c0f96f40f24d1a1239529198c";
sha256 = "00fayl6bnrf8b80xk73r1009z6hpzfc2jaih042hmnybx8k70byg";
};
dependencies = [];
@ -496,11 +485,11 @@ rec {
};
clighter8 = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "clighter8-2017-07-08";
name = "clighter8-2017-07-23";
src = fetchgit {
url = "https://github.com/bbchung/clighter8";
rev = "83ebf9e3961fcf1a4ccc557ab5f8c55cb813bc3b";
sha256 = "0rv16fbg0ga5csk9p2zczh100i55j1h70s0rcvdbgzfmbbmgsda7";
rev = "a75644681c3a25f9441c482fd0b1c983d12da7e1";
sha256 = "0hl14l8d0c0rwh7pv1d9bxkrvh1wjxdgjyi7cnhn75m7x9fd3ijh";
};
dependencies = [];
preFixup = ''
@ -510,11 +499,11 @@ rec {
};
neomake = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "neomake-2017-07-07";
name = "neomake-2017-07-25";
src = fetchgit {
url = "https://github.com/benekastah/neomake";
rev = "79c7dba684e3b179d7416d84fc86fac38f8190fe";
sha256 = "039b76n7d2nbbzrd83y4j8g103dvnrmk1pa84is5r5qv33hdpc0x";
rev = "0d1f1508ce2c9cfcffbf74a6bdea9c5766301fd6";
sha256 = "0wc9b63s4j80f6irf2g6dmk2nx8w9il4dccbgmzirchmymndw4vh";
};
dependencies = [];
@ -554,11 +543,11 @@ rec {
};
vim-tmux-navigator = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-tmux-navigator-2017-06-20";
name = "vim-tmux-navigator-2017-07-07";
src = fetchgit {
url = "https://github.com/christoomey/vim-tmux-navigator";
rev = "3e83ddc509c66ac86b0c2961613076f74f34a2b6";
sha256 = "0zp81qkaahcl85s60cphqh7rsw3hpvnlr98p5lwzp5dsbxxh0iby";
rev = "d724094e7128acd7375cc758008f1e1688130877";
sha256 = "1n0n26lx056a0f8nmzbjpf8a48971g4d0fzv8xmq8yy505gbq9iw";
};
dependencies = [];
@ -576,22 +565,22 @@ rec {
};
ctrlp-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "ctrlp-vim-2017-07-04";
name = "ctrlp-vim-2017-07-18";
src = fetchgit {
url = "https://github.com/ctrlpvim/ctrlp.vim";
rev = "b9b334b7ee07f03bbbc46193bb544124bd430148";
sha256 = "1pzhffbbmw45x6izdhyi7zp6wy2x2r93g6jz03fdj0qmja0wk1b4";
rev = "3a048e85d3c2f72b1564e2dc43ed5b1d67bd59a9";
sha256 = "10i2lwjizd74b3zi1ahinz2h8qbd18jzw93xrpw0iswrynfsprjv";
};
dependencies = [];
};
agda-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "agda-vim-2017-03-18";
name = "agda-vim-2017-07-18";
src = fetchgit {
url = "https://github.com/derekelkins/agda-vim";
rev = "7f00093e485f07aa1daafa71e85306397c059402";
sha256 = "1yc1lhzir440jmv5aivhvn3bgxncz7p0vydla6mrf14gw6fqbp12";
rev = "d82c5da78780e866e1afd8eecba1aa9c661c2aa8";
sha256 = "1aq7wyi1an6znql814w3v30p96yzyd5xnypblzxvsi62jahysfwa";
};
dependencies = [];
@ -642,11 +631,11 @@ rec {
};
neco-ghc = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "neco-ghc-2017-06-17";
name = "neco-ghc-2017-07-22";
src = fetchgit {
url = "https://github.com/eagletmt/neco-ghc";
rev = "ea515ae60a0523539fe75680f07aa2a588de9a99";
sha256 = "1pj5a5v3x8vnkck60kc25ph9b5xx0d8ipa4f4llxpc0q8d2xzk6w";
rev = "1c7bf1b544f295d066863b9f193de709aec5bbad";
sha256 = "1vbl75s0zvbw6zvs790yla06rl8akpamm0p98s5mbj7mdnivkqhb";
};
dependencies = [];
@ -675,22 +664,22 @@ rec {
};
vim-elixir = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-elixir-2017-05-18";
name = "vim-elixir-2017-07-19";
src = fetchgit {
url = "https://github.com/elixir-lang/vim-elixir";
rev = "fe7daaaff030e217dffedf53cb5f426099281e3e";
sha256 = "09jqbymwf1m0c0wdsq93nryapzjw0fx0hwzzwxvwxygvnx3nvf22";
rev = "7c16ab889d12a32a7d15c54c36c0f47809b06e06";
sha256 = "0h9gqxqyl6p6ckknn8838wz71xz5v2jqkc2swjdkfbff2n9k1gwb";
};
dependencies = [];
};
elm-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "elm-vim-2017-02-27";
name = "elm-vim-2017-07-09";
src = fetchgit {
url = "https://github.com/elmcast/elm-vim";
rev = "b47d013d1fdfecc9e19df8034439b8e379813696";
sha256 = "0ibmb02qal7q29brmq0jkd3rcnwp6yba9agza3av1x1ixvb61mlw";
rev = "ae5315396cd0f3958750f10a5f3ad9d34d33f40d";
sha256 = "0a85l0mcxgha4s5c9lzdv9y2c1ff942y9a5sfjihz6sph21c77xp";
};
dependencies = [];
@ -741,11 +730,11 @@ rec {
};
vim-go = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-go-2017-07-06";
name = "vim-go-2017-07-25";
src = fetchgit {
url = "https://github.com/fatih/vim-go";
rev = "f08fcab5c51bee18174340405b773a950446e9f5";
sha256 = "1hsfaca9mhp7829b6kl7bmrwm03kjjhz9grmjzgr7v3arlpcv9sa";
rev = "76cd99db6a88e825f361df0043cbff777c4a14fb";
sha256 = "1pda9dmaacnzwm92a7vsly053dq2c1bcsqx99rwr41mkpzsk649l";
};
dependencies = [];
@ -763,22 +752,22 @@ rec {
};
floobits-neovim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "floobits-neovim-2017-02-08";
name = "floobits-neovim-2017-07-25";
src = fetchgit {
url = "https://github.com/floobits/floobits-neovim";
rev = "9755412fcd68cfc76a36aa000682a84d96013650";
sha256 = "1mn6kikygk86xblxg8kklkrrxagil4az76z0mzid847g4jw4hfd1";
rev = "5b83fc75e4241911649782fd5b87ac7da30e77bd";
sha256 = "05jrybkhg39v3z295l55aasb074wvm3pnyp7l38jqk7z4432gdc4";
};
dependencies = [];
};
psc-ide-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "psc-ide-vim-2017-07-05";
name = "psc-ide-vim-2017-07-14";
src = fetchgit {
url = "https://github.com/frigoeu/psc-ide-vim";
rev = "22813d6222766d773e77fadf36ee5eed4162ece4";
sha256 = "0261nkzj7412f55l6yxsr9xh2ynvnm5zb6ciasj809ynqapqvx2i";
rev = "0ff0c0a4e4087cb4444d0a19f2b2e436e723b186";
sha256 = "0kq8iqhv8flyc12m9ajmbrfk7k6zl3gnnxg5j8sw69aqy6pqvd0p";
};
dependencies = [];
@ -829,11 +818,11 @@ rec {
};
calendar-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "calendar-vim-2017-07-02";
name = "calendar-vim-2017-07-08";
src = fetchgit {
url = "https://github.com/itchyny/calendar.vim";
rev = "1b4bff01dbcf81e9415c4181e702762f2c4f5638";
sha256 = "0lsyy7xn460sawpki2svc29b2dm7n6vi0r22jm4djk7n5y9y4xj4";
rev = "6d6be26b2ad1870658525e2a42046429c845516c";
sha256 = "0g4k7vn3r8y0ss0nl6apxgpkdi7ixi87a9g5xr66n70lxyn7m9pz";
};
dependencies = [];
@ -972,11 +961,11 @@ rec {
};
fzf-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "fzf-vim-2017-07-01";
name = "fzf-vim-2017-07-24";
src = fetchgit {
url = "https://github.com/junegunn/fzf.vim";
rev = "55f6bc83677235a7f6ffc35496ecae2e2a764417";
sha256 = "0yir125q9cgpk5b07ns9rg0s8f65g7jfka1jq9ir02w47090kgnb";
rev = "685f9aae97072a190a1230a5c79692e15b7f46c9";
sha256 = "1064qwypq8hl0dx65fhvx0aq4jp7hc60rzb0vy98zjr3sr4wshbh";
};
dependencies = [];
@ -1049,22 +1038,22 @@ rec {
};
vimtex = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vimtex-2017-07-06";
name = "vimtex-2017-07-25";
src = fetchgit {
url = "https://github.com/lervag/vimtex";
rev = "b31b49f0dca7c7acff9b7256315c3dc3bcedac98";
sha256 = "1qbhypswa2pa61ksyqp987q9413wvwkhj0avcbvli2n3hn8scz5f";
rev = "1bba731f008a0905c1cf34e185c3f299d1f1759b";
sha256 = "0gcsfdc2rrdaylsqz6hn9smchndb4y22f4sm230ljdf1rda6v57v";
};
dependencies = [];
};
vim-easymotion = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-easymotion-2017-04-27";
name = "vim-easymotion-2017-07-14";
src = fetchgit {
url = "https://github.com/lokaltog/vim-easymotion";
rev = "d55e7bf515eab93e0b49f6f762bf5b0bf808264d";
sha256 = "1dqx8nrw8jcpdnnqmca6yl1y0fdlc64rz9msbsmvp502v98wvhnh";
rev = "e4d71c7ba45baf860fdaaf8c06cd9faebdccbd50";
sha256 = "16ww4myvgh7is5fbwm67v87bbdyhldvr9d4vqkvnn8v9mbj7p7vd";
};
dependencies = [];
@ -1129,6 +1118,28 @@ rec {
};
forms = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "forms-2012-11-28";
src = fetchgit {
url = "https://github.com/megaannum/forms";
rev = "b601e03fe0a3b8a43766231f4a6217e4492b4f75";
sha256 = "19kp1i5c6jmnpbsap9giayqbzlv7vh02mp4mjvicqj9n0nfyay74";
};
dependencies = ["self"];
};
self = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "self-2014-05-28";
src = fetchgit {
url = "https://github.com/megaannum/self";
rev = "2ed666b547eddee6ae1fcc63babca4ba0b66a59f";
sha256 = "1gcwn6i5i3msg7hrlzsnv1bs6pm4jz9cff8ppaz2xdj8xv9qy6fn";
};
dependencies = [];
};
vim-startify = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-startify-2017-06-15";
src = fetchgit {
@ -1207,11 +1218,11 @@ rec {
};
haskell-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "haskell-vim-2017-04-03";
name = "haskell-vim-2017-07-18";
src = fetchgit {
url = "https://github.com/neovimhaskell/haskell-vim";
rev = "9811f3803317c4f39c868e71b3202b5559735aef";
sha256 = "02f87lfpr5lslh57cqimg91llflra8934jzy0g32l5zcm7fdljdk";
rev = "21c48768f1c5986d4f2351784b119eb9a5f925db";
sha256 = "1dd18plhahkdz782d7y8w8265di2wvs78w2q2hx2m68686abmn0h";
};
dependencies = [];
@ -1284,11 +1295,11 @@ rec {
};
vim-racer = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-racer-2017-05-20";
name = "vim-racer-2017-07-19";
src = fetchgit {
url = "https://github.com/racer-rust/vim-racer";
rev = "92c3e2b57e60c3d4f0102d1d587ddc762e662f60";
sha256 = "0wf74ilkkqjm6s3r329i9w2jgnh5kd2jkswan3bvqc5g14a2ddhl";
rev = "c729b895885c9ef548ed4f9c1cec7c7c741b5869";
sha256 = "1r0idhc7yj5r4h2rfmbb5p0i1yckr3mckif3ijy6sm9rhwi242sw";
};
dependencies = [];
@ -1328,33 +1339,33 @@ rec {
};
rust-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "rust-vim-2017-06-01";
name = "rust-vim-2017-07-14";
src = fetchgit {
url = "https://github.com/rust-lang/rust.vim";
rev = "b77ac8ecbd4baaa23cca612e1c9b3df5ea23da9b";
sha256 = "07qkyils4dgl81lqifx0pr075m3mdpzifp1w5d0zw4zkpvb0v8nk";
rev = "5a6133680ecf9e22eeba35c35e62ea6210225b02";
sha256 = "0mxzl8lghq7bnwp8qs3haxq83ds5q8s8br0ajn40a3c3ns2hkhla";
};
dependencies = [];
};
neoformat = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "neoformat-2017-07-06";
name = "neoformat-2017-07-22";
src = fetchgit {
url = "https://github.com/sbdchd/neoformat";
rev = "0a4904771ee0df76f01146bdcbac5dde4f5a61af";
sha256 = "09i4ngih8cd3613mhsz0bbpwppbwsx723k7xx9ha6ybnfrmhx1ra";
rev = "a0c8e1f3c8b917afd175fc9ed9b2685ce5f952e9";
sha256 = "1w2m54ag1g1czfwa8y2vq4p05wysvb1qhgfnbzqvlwb1mn9sh2kf";
};
dependencies = [];
};
deoplete-rust = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "deoplete-rust-2017-06-28";
name = "deoplete-rust-2017-07-18";
src = fetchgit {
url = "https://github.com/sebastianmarkow/deoplete-rust";
rev = "505735576e29d30fee5074a9a49fdeb989c632b2";
sha256 = "0nqvk7f7asbfcfiv2lw3hinsaln648xc8k5jd630q0p4gyyxqpdm";
rev = "0a86e502113910c33448b337c4d50cabea120d25";
sha256 = "0wsck83jns40ny3740vwjhc8g5bh6zl71hkirbjxy6n4xgixa54h";
};
dependencies = [];
@ -1372,22 +1383,22 @@ rec {
};
neco-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "neco-vim-2017-04-25";
name = "neco-vim-2017-07-23";
src = fetchgit {
url = "https://github.com/shougo/neco-vim";
rev = "2329ad0a20af61ac104a29d3653e5af24add7077";
sha256 = "1mf7xdlarwj2kfx3pbngrvfrzmbjp6k5f6bxl4n1wz9p7wdajap8";
rev = "7c188577ebf65bfb9e27affce8158e0f5af2ec3e";
sha256 = "1jb9vw2gkag2fg18vxqj3rc6y4zqgrn0kf6vb5z8kgkbsam0cybk";
};
dependencies = [];
};
neocomplete-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "neocomplete-vim-2017-06-24";
name = "neocomplete-vim-2017-07-23";
src = fetchgit {
url = "https://github.com/shougo/neocomplete.vim";
rev = "186881fc40d9b774766a81189af17826d27406c2";
sha256 = "0x9fmvliwxm49q8970byaqrnrffcxjf29z0y7xsfi56sv277lpl5";
rev = "d8caad4fc14fc1be5272bf6ebc12048212d67d2c";
sha256 = "1ab1p4w6187r15alb34mnvaq43mikk7ic05ysgilx4f4zz6dgz5y";
};
dependencies = [];
@ -1405,11 +1416,11 @@ rec {
};
neosnippet-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "neosnippet-vim-2017-06-24";
name = "neosnippet-vim-2017-07-15";
src = fetchgit {
url = "https://github.com/shougo/neosnippet.vim";
rev = "867149c56651f0958bfde1f56e203f90afba134d";
sha256 = "19cwpans16ahmmnjfqxz5x3zw89qn93c9sc80sscw76i4ih4skml";
rev = "4bf88a9e497dc7180e9fe58551ad340de0192f39";
sha256 = "0mj14cninszfw95zb0rwcmzf40851i49lj6vk8gz4iq9y0hxsnx7";
};
dependencies = [];
@ -1427,11 +1438,11 @@ rec {
};
vimproc-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vimproc-vim-2016-08-06";
name = "vimproc-vim-2017-07-22";
src = fetchgit {
url = "https://github.com/shougo/vimproc.vim";
rev = "25cb83f24edec4aec1e9f1329302235e7a7a7fe0";
sha256 = "19nl21623cv05j6ljyn35qm38pw3680nch2by1gapqmxazp99i20";
rev = "03a38f283ca9e15784e8fea84e8afc5d633b9639";
sha256 = "0ypffp724f3qp0mryxmmmi1ci0bnz34nnr7yi3c893pd9mpkrjjr";
};
dependencies = [];
buildInputs = [ which ];
@ -1467,11 +1478,11 @@ rec {
};
alchemist-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "alchemist-vim-2017-04-21";
name = "alchemist-vim-2017-07-23";
src = fetchgit {
url = "https://github.com/slashmili/alchemist.vim";
rev = "12d9d8b9a8875d0edb75c3d91d4f8f04f3558fb7";
sha256 = "0xg1yixs8p4f2sghbh204p8b10m1zb3xxi4jwiqrrw4jhprh8g4f";
rev = "35b0e59b4ae45baeef7fc46b6faf9b96515d35cb";
sha256 = "021iwhnjjsfhmpbimm91jgmcrlj1hjh8rxcdqxwcwxc92h73wl58";
};
dependencies = [];
@ -1533,11 +1544,11 @@ rec {
};
vim-dispatch = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-dispatch-2017-06-23";
name = "vim-dispatch-2017-07-12";
src = fetchgit {
url = "https://github.com/tpope/vim-dispatch";
rev = "ca10dc106a5a3684573a3841560b167f4b86fde1";
sha256 = "1ad98k08i5zcyggjxcxygr4j513fg43di99gqg1jbi8xvyhgha69";
rev = "14a1695f844a320dd28a7706710325773d1046a8";
sha256 = "1whmqikg5ch523ffs2apkrd4clwl7s0y98gmxgaqq6gm2fa2wmfp";
};
dependencies = [];
@ -1599,11 +1610,11 @@ rec {
};
youcompleteme = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "youcompleteme-2017-07-07";
name = "youcompleteme-2017-07-24";
src = fetchgit {
url = "https://github.com/valloric/youcompleteme";
rev = "d299f9eb708ec83713f904dbb49c4260b6b22240";
sha256 = "0g2spq5c9sps0zql8pg0xbnxbcqn0aacy96jd1ixxh6dg9gijkp0";
rev = "998303e2fd5e762c3bc2aee8c23af1b388fb459c";
sha256 = "158wnxgnjir4n5p1jnpxqq4qwl6hapd9kpdd3gklihxvbj1zqskc";
};
dependencies = [];
buildPhase = ''
@ -1625,11 +1636,11 @@ rec {
};
vim-airline-themes = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-airline-themes-2017-06-24";
name = "vim-airline-themes-2017-07-10";
src = fetchgit {
url = "https://github.com/vim-airline/vim-airline-themes";
rev = "7865fd8ba435edd01ff7b59de06a9be73e01950d";
sha256 = "0fd4s8y6w5flbrikislcvj2a0jb77rd6gwg207qskxfqncxsbswn";
rev = "5d75d76ca2e17edd68f89ac4f547009d477570c6";
sha256 = "15vq8fjax69wi447vhirj7vzqxppxcpvq2v8dhi0pf39gbzcd229";
};
dependencies = [];
@ -1778,6 +1789,17 @@ rec {
};
ale = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "ale-2017-07-23";
src = fetchgit {
url = "https://github.com/w0rp/ale";
rev = "a0059cfe0362e8ba55bad1f4fa8a310c74b55280";
sha256 = "0hjli8ww0i4yxa7gxiyvy9xgc9s8krr7vhdh8036nwwnrzrmcc5h";
};
dependencies = [];
};
vim-wakatime = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-wakatime-2017-07-03";
src = fetchgit {
@ -1846,7 +1868,7 @@ rec {
sha256 = "1ixav3d78wy9zs9a8hg8yqk812srkbkwsaz17lg5sxjq6azljgvq";
};
dependencies = [];
buildInputs = [ python3 ];
buildInputs = [ python3 ];
buildPhase = ''
pushd ./rplugin/python3/deoplete/ujson
python3 setup.py build --build-base=$PWD/build --build-lib=$PWD/build
@ -1856,11 +1878,11 @@ rec {
};
deoplete-jedi = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "deoplete-jedi-2017-06-11";
name = "deoplete-jedi-2017-07-16";
src = fetchgit {
url = "https://github.com/zchee/deoplete-jedi";
rev = "b7e789ef8b45b207650adb1af5e2e7f188053fe1";
sha256 = "0xv7ggwyl332yr93rqmf1li0zz8rzhgb10cvd78jssdvlazi3mc8";
rev = "56528fd1238bbf2f9363f16710d0936703dc9eab";
sha256 = "1kwwbr1w3865rlqs04hpxrqv67a14mzyf85pa29djmryi2156wxb";
};
dependencies = [];
@ -1943,17 +1965,6 @@ rec {
};
self = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "self-2014-05-28";
src = fetchgit {
url = "git://github.com/megaannum/self";
rev = "2ed666b547eddee6ae1fcc63babca4ba0b66a59f";
sha256 = "1gcwn6i5i3msg7hrlzsnv1bs6pm4jz9cff8ppaz2xdj8xv9qy6fn";
};
dependencies = [];
};
sensible = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "sensible-2017-05-09";
src = fetchgit {
@ -1966,11 +1977,11 @@ rec {
};
sleuth = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "sleuth-2017-05-28";
name = "sleuth-2017-07-23";
src = fetchgit {
url = "git://github.com/tpope/vim-sleuth";
rev = "fc5cf44466d50fada784530de933af80c6448db5";
sha256 = "10l6ins66g1wxwzgjcpwim0295yz9ni282f8n7vjafd5v486fxnw";
rev = "dfe0a33253c61dd8fac455baea4ec492e6cf0fe3";
sha256 = "0576k4l2wbzy9frvv268vdix4k6iz9pw6n6626ifvg8hk6gbc5g9";
};
dependencies = [];
@ -2273,11 +2284,11 @@ rec {
};
vim-airline = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-airline-2017-07-07";
name = "vim-airline-2017-07-21";
src = fetchgit {
url = "git://github.com/vim-airline/vim-airline";
rev = "e03afa1733c6296774ca95ef981bd8fd39bb1151";
sha256 = "0n8l4al4hicnz1xyhcbyb6iw3fxrjslmxk18zanyqcamhfj94vy3";
rev = "72e5f04f7c422e21cb6f6856c4e94cef25ea2288";
sha256 = "0pkdlmil0lqwwi7anzn7r1zxxqbip9zy1pbwri031yksff6v2096";
};
dependencies = [];
@ -2339,11 +2350,11 @@ rec {
};
vim-latex-live-preview = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-latex-live-preview-2017-06-22";
name = "vim-latex-live-preview-2017-07-19";
src = fetchgit {
url = "git://github.com/xuhdev/vim-latex-live-preview";
rev = "becc9d4f1a774e6deb7a96015200de35f1bec1a3";
sha256 = "0mqvzk94byiccm7v8kdk0hcbz05k9l69kv3ljg8djbvj5q6zzi2m";
rev = "172b03cd0677f1fe55abeab86fa4a4c484e4c3b5";
sha256 = "1wgnq1kbx80xqwm9rx3z4i9fldj965046s4hh62rdi5585hh6aps";
};
dependencies = [];
@ -2372,11 +2383,11 @@ rec {
};
vim-signify = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-signify-2017-06-06";
name = "vim-signify-2017-07-19";
src = fetchgit {
url = "git://github.com/mhinz/vim-signify";
rev = "d9918a69bcff382569ddf5bda030aff412bfd790";
sha256 = "1kc7q8xsvg0hl9b3z5a6phfndx7a5pcfy1d3q7i02aaa8dw4ga7j";
rev = "748cb0ddab1b7e64bb81165c733a7b752b3d36e4";
sha256 = "0kc4nbf3a7ab0an4r1j37bvzjarr4135qqhkz348r7zdhmqkyyfm";
};
dependencies = [];
@ -2416,11 +2427,11 @@ rec {
};
vimwiki = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vimwiki-2017-04-15";
name = "vimwiki-2017-07-15";
src = fetchgit {
url = "git://github.com/vimwiki/vimwiki";
rev = "8cdc1c15388cc7f4edb827ff15dbc31d592a79af";
sha256 = "0hzmssyz7y7hv3mv67zkqwxc13crkpwv0plm7z701943h2zxj08h";
rev = "976cbbcd23dcd19ddb5dc5544645da8a51dbdfe6";
sha256 = "1mna3qavwj1jcjnvmw8hngrfccpk5krj2z0v2grp97i9m2kmkifx";
};
dependencies = [];

View File

@ -1,7 +1,6 @@
"CSApprox"
"CheckAttach"
"Gist"
"gruvbox"
"Hoogle"
"Solarized"
"Supertab"
@ -16,8 +15,8 @@
"YankRing"
"clang_complete"
"commentary"
"ctrlp-py-matcher"
"ctrlp-cmatcher"
"ctrlp-py-matcher"
"ctrlp-z"
"extradite"
"fugitive"
@ -27,8 +26,8 @@
"github:LnL7/vim-nix"
"github:Quramy/tsuquyomi"
"github:Shougo/deoplete.nvim"
"github:albfan/nerdtree-git-plugin"
"github:ajh17/Spacegray.vim"
"github:albfan/nerdtree-git-plugin"
"github:alvan/vim-closetag"
"github:ap/vim-css-color"
"github:bbchung/clighter8"
@ -45,6 +44,7 @@
"github:dleonard0/pony-vim-syntax"
"github:dracula/vim"
"github:eagletmt/neco-ghc"
"github:editorconfig/editorconfig-vim"
"github:eikenb/acp"
"github:elixir-lang/vim-elixir"
"github:elmcast/elm-vim"
@ -57,6 +57,7 @@
"github:floobits/floobits-neovim"
"github:frigoeu/psc-ide-vim"
"github:google/vim-jsonnet"
"github:heavenshell/vim-jsdoc"
"github:hecal3/vim-leader-guide"
"github:idris-hackers/idris-vim"
"github:itchyny/calendar.vim"
@ -67,6 +68,7 @@
"github:jceb/vim-orgmode"
"github:jeetsukumaran/vim-buffergator"
"github:jgdavey/tslime.vim"
"github:jiangmiao/auto-pairs"
"github:jistr/vim-nerdtree-tabs"
"github:jnurmine/zenburn"
"github:jonbri/vim-colorstepper"
@ -85,6 +87,8 @@
"github:lyokha/vim-xkbswitch"
"github:machakann/vim-highlightedyank"
"github:martinda/Jenkinsfile-vim-syntax"
"github:megaannum/forms"
"github:megaannum/self"
"github:mhinz/vim-startify"
"github:michaeljsmith/vim-indent-object"
"github:mileszs/ack.vim"
@ -93,6 +97,7 @@
"github:nathanaelkane/vim-indent-guides"
"github:nbouscal/vim-stylish-haskell"
"github:neovimhaskell/haskell-vim"
"github:nixprime/cpsm"
"github:osyo-manga/shabadou.vim"
"github:osyo-manga/vim-watchdogs"
"github:plasticboy/vim-markdown"
@ -102,8 +107,8 @@
"github:rhysd/vim-grammarous"
"github:rodjek/vim-puppet"
"github:rust-lang/rust.vim"
"github:sebastianmarkow/deoplete-rust"
"github:sbdchd/neoformat"
"github:sebastianmarkow/deoplete-rust"
"github:sheerun/vim-polyglot"
"github:shougo/neco-vim"
"github:shougo/neocomplete.vim"
@ -134,20 +139,22 @@
"github:vim-scripts/Rename"
"github:vim-scripts/ReplaceWithRegister"
"github:vim-scripts/a.vim"
"github:vim-scripts/argtextobj.vim"
"github:vim-scripts/align"
"github:vim-scripts/argtextobj.vim"
"github:vim-scripts/changeColorScheme.vim"
"github:vim-scripts/random.vim"
"github:vim-scripts/tabmerge"
"github:vim-scripts/wombat256.vim"
"github:w0rp/ale"
"github:wakatime/vim-wakatime"
"github:wincent/command-t"
"github:xolox/vim-easytags"
"github:xolox/vim-misc"
"github:zah/nim.vim"
"github:zchee/deoplete-jedi"
"github:zchee/deoplete-go"
"github:zchee/deoplete-jedi"
"goyo"
"gruvbox"
"matchit.zip"
"pathogen"
"quickfixstatus"
@ -196,7 +203,3 @@
"vimwiki"
"vinegar"
"vundle"
"github:jiangmiao/auto-pairs"
"github:editorconfig/editorconfig-vim"
"github:heavenshell/vim-jsdoc"
"github:nixprime/cpsm"

View File

@ -1,6 +1,6 @@
buildInputs = [ perl ruby ];
buildInputs = [ perl ruby git ];
buildPhase = ''
pushd ruby/command-t
gem build command-t.gemspec
gem build ./command-t.gemspec
popd
'';

View File

@ -1,25 +1,27 @@
{ fetchurl, stdenv, kernel, onlyHeaders ? false }:
stdenv.mkDerivation rec {
pname = "cryptodev-linux-1.8";
pname = "cryptodev-linux-1.9";
name = "${pname}-${kernel.version}";
src = fetchurl {
url = "http://download.gna.org/cryptodev-linux/${pname}.tar.gz";
sha256 = "0xhkhcdlds9aiz0hams93dv0zkgcn2abaiagdjlqdck7zglvvyk7";
urls = [
"http://nwl.cc/pub/cryptodev-linux/${pname}.tar.gz"
"http://download.gna.org/cryptodev-linux/${pname}.tar.gz"
];
sha256 = "0l3r8s71vkd0s2h01r7fhqnc3j8cqw4msibrdxvps9hfnd4hnk4z";
};
hardeningDisable = [ "pic" ];
KERNEL_DIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
INSTALL_MOD_PATH = "\${out}";
PREFIX = "\${out}";
prefix = "\${out}";
meta = {
description = "Device that allows access to Linux kernel cryptographic drivers";
homepage = http://home.gna.org/cryptodev-linux/;
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
broken = !stdenv.lib.versionOlder kernel.version "4.9";
};
}

View File

@ -4,11 +4,11 @@ assert lib.versionAtLeast kernel.version "3.18";
stdenv.mkDerivation rec {
name = "dpdk-${version}-${kernel.version}";
version = "16.07.2";
version = "17.05.1";
src = fetchurl {
url = "http://fast.dpdk.org/rel/dpdk-${version}.tar.xz";
sha256 = "1mzwazmzpq8mvwiham80y6h53qpvjpp76v0d58gz9bfiphbi9876";
sha256 = "1w3nx5cqf8z600bdlbwz7brmdb5yn233qrqvv24kbmmxhbwp7qld";
};
buildInputs = [ pkgconfig libvirt ];
@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
install -m 0755 -d $out/${RTE_TARGET}/include
install -m 0644 ${RTE_TARGET}/include/rte_config.h $out/${RTE_TARGET}/include
cp -pr mk scripts $out/
cp -pr mk $out/
mkdir -p $kmod/lib/modules/${kernel.modDirVersion}/kernel/drivers/net
cp ${RTE_TARGET}/kmod/*.ko $kmod/lib/modules/${kernel.modDirVersion}/kernel/drivers/net

View File

@ -1,13 +1,13 @@
{ stdenv, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:
import ./generic.nix (args // rec {
version = "4.13-rc1";
modDirVersion = "4.13.0-rc1";
version = "4.13-rc2";
modDirVersion = "4.13.0-rc2";
extraMeta.branch = "4.13";
src = fetchurl {
url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
sha256 = "1pdbykp2336vk7ynrz0l95rwqags6kklbr08wjc7zpmdaad6yd6m";
sha256 = "1ni0z3v8zkqlmxn4czbw71yaipp6hbyh39vxdzpqy1dqn7zalmif";
};
features.iwlwifi = true;

View File

@ -1,12 +0,0 @@
diff -ru -x '*~' linux-4.9.31-orig/tools/perf/util/annotate.c linux-4.9.31/tools/perf/util/annotate.c
--- linux-4.9.31-orig/tools/perf/util/annotate.c 2017-06-07 12:08:04.000000000 +0200
+++ linux-4.9.31/tools/perf/util/annotate.c 2017-06-12 13:10:08.811079574 +0200
@@ -1350,7 +1350,7 @@
"%s %s%s --start-address=0x%016" PRIx64
" --stop-address=0x%016" PRIx64
" -l -d %s %s -C %s 2>/dev/null|grep -v %s|expand",
- objdump_path ? objdump_path : "objdump",
+ objdump_path ? objdump_path : OBJDUMP_PATH,
disassembler_style ? "-M " : "",
disassembler_style ? disassembler_style : "",
map__rip_2objdump(map, sym->start),

View File

@ -1,4 +1,4 @@
{ lib, stdenv, kernel, elfutils, python, perl, newt, slang, asciidoc, xmlto
{ lib, stdenv, kernel, elfutils, python, perl, newt, slang, asciidoc, xmlto, makeWrapper
, docbook_xsl, docbook_xml_dtd_45, libxslt, flex, bison, pkgconfig, libunwind, binutils
, libiberty, libaudit
, zlib, withGtk ? false, gtk2 ? null }:
@ -13,8 +13,6 @@ stdenv.mkDerivation {
inherit (kernel) src;
patches = kernel.patches ++ [ ./perf-binutils-path.patch ];
preConfigure = ''
cd tools/perf
sed -i s,/usr/include/elfutils,$elfutils/include/elfutils, Makefile
@ -26,7 +24,7 @@ stdenv.mkDerivation {
# perf refers both to newt and slang
# binutils is required for libbfd.
nativeBuildInputs = [ asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt
flex bison libiberty libaudit ];
flex bison libiberty libaudit makeWrapper ];
buildInputs = [ elfutils python perl newt slang pkgconfig libunwind binutils zlib ] ++
stdenv.lib.optional withGtk gtk2;
@ -45,6 +43,11 @@ stdenv.mkDerivation {
installFlags = "install install-man ASCIIDOC8=1";
preFixup = ''
wrapProgram $out/bin/perf \
--prefix PATH : "${binutils}/bin"
'';
crossAttrs = {
/* I don't want cross-python or cross-perl -
I don't know if cross-python even works */

View File

@ -0,0 +1,47 @@
{ stdenv, fetchFromGitHub, autoreconfHook, makeWrapper, pkgconfig
, doxygen, freetype, libX11, libftdi, libftdi1, libusb, libusb1, ncurses, perl }:
stdenv.mkDerivation rec {
name = "lcdproc-${version}";
version = "0.5.9";
src = fetchFromGitHub {
owner = "lcdproc";
repo = "lcdproc";
rev = "v${version}";
sha256 = "1r885zv1gsh88j43x6fvzbdgfkh712a227d369h4fdcbnnfd0kpm";
};
patches = [
./hardcode_mtab.patch
];
configureFlags = [
"--enable-lcdproc-menus"
"--enable-drivers=all"
"--with-pidfile-dir=/run"
];
buildInputs = [ freetype libX11 libftdi libusb libusb1 ncurses ];
nativeBuildInputs = [ autoreconfHook doxygen makeWrapper pkgconfig ];
enableParallelBuilding = true;
postFixup = ''
for f in $out/bin/*.pl ; do
substituteInPlace $f \
--replace /usr/bin/perl ${stdenv.lib.getBin perl}/bin/perl
done
# NixOS will not use this file anyway but at least we can now execute LCDd
substituteInPlace $out/etc/LCDd.conf \
--replace server/drivers/ $out/lib/lcdproc/
'';
meta = with stdenv.lib; {
description = "Client/server suite for controlling a wide variety of LCD devices";
homepage = http://lcdproc.org/;
license = licenses.gpl2;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.unix;
};
}

View File

@ -0,0 +1,17 @@
diff --git a/clients/lcdproc/machine_Linux.c b/clients/lcdproc/machine_Linux.c
index 7bb7266..a629674 100644
--- a/clients/lcdproc/machine_Linux.c
+++ b/clients/lcdproc/machine_Linux.c
@@ -259,11 +259,7 @@ machine_get_fs(mounts_type fs[], int *cnt)
char line[256];
int x = 0, err;
-#ifdef MTAB_FILE
- mtab_fd = fopen(MTAB_FILE, "r");
-#else
-#error "Can't find your mounted filesystem table file."
-#endif
+ mtab_fd = fopen("/etc/mtab", "r");
/* Get rid of old, unmounted filesystems... */
memset(fs, 0, sizeof(mounts_type) * 256);

View File

@ -1,3 +1,4 @@
export PATH=
for i in $initialPath; do
if [ "$i" = / ]; then i=; fi
PATH=$PATH${PATH:+:}$i/bin

View File

@ -5,14 +5,14 @@
assert enableXinerama -> libXinerama != null;
stdenv.mkDerivation rec {
version = "1.4.4";
version = "2.0.1";
name = "setroot-${version}";
src = fetchFromGitHub {
owner = "ttzhou";
repo = "setroot";
rev = "v${version}";
sha256 = "0vphma0as8pnqrakdw6gaiiz7xawb4y72sc9dna755kkclgbyl8m";
sha256 = "01krjfc3xpp0wbqz9nvf1n34gkpd41gysn289sj1wcjxia4n4gsi";
};
buildInputs = [ libX11 imlib2 ]
@ -26,6 +26,7 @@ stdenv.mkDerivation rec {
description = "Simple X background setter inspired by imlibsetroot and feh";
homepage = https://github.com/ttzhou/setroot;
license = licenses.gpl3Plus;
maintainers = maintainers.vyp;
platforms = platforms.unix;
};
}

View File

@ -2,13 +2,13 @@
python3Packages.buildPythonApplication rec {
name = "borgbackup-${version}";
version = "1.0.10";
version = "1.0.11";
namePrefix = "";
src = fetchurl {
url = "https://github.com/borgbackup/borg/releases/download/"
+ "${version}/${name}.tar.gz";
sha256 = "1sarmpzwr8dhbg0hsvaclcsjfax36ssb32d9klhhah4j8kqji3wp";
sha256 = "14fjk5dfwmjkn7nmkbhhbrk3g1wfrn8arvqd5r9jaij534nzsvpw";
};
nativeBuildInputs = with python3Packages; [

View File

@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, zfs, mbuffer, perl, perlPackages, wget, autoconf, automake }:
let
version = "0.15.7";
checksum = "1xb94kxfq9sm3g0s6wpyyz6h2aihgca5gyybg0a5r8sar7yz97j0";
version = "0.17.0";
checksum = "0cncwkiw0w2am7gwi01p6ln87zgg1x6blfyxx7n7x8m1mv6704hl";
in
stdenv.mkDerivation rec {
name = "znapzend-${version}";

View File

@ -3,10 +3,10 @@
stdenv.mkDerivation rec {
name = "zstd-${version}";
version = "1.2.0";
version = "1.3.0";
src = fetchFromGitHub {
sha256 = "01b5w4yrwa8lgnjyi42zxjhw8cfyh8yfhdsjr04y5qsblz0hv0zl";
sha256 = "1rnxfhcmg8zsagyf70hiwm32mam60hq58pzgy7jn8c3iwv24mpz5";
rev = "v${version}";
repo = "zstd";
owner = "facebook";

View File

@ -4,7 +4,7 @@
# Optional Dependencies
, snappy ? null, leveldb ? null, yasm ? null, fcgi ? null, expat ? null
, curl ? null, fuse ? null, accelio ? null, libibverbs ? null, librdmacm ? null
, curl ? null, fuse ? null, libibverbs ? null, librdmacm ? null
, libedit ? null, libatomic_ops ? null, kinetic-cpp-client ? null
, rocksdb ? null, libs3 ? null
@ -50,7 +50,6 @@ let
optExpat = shouldUsePkg expat;
optCurl = shouldUsePkg curl;
optFuse = shouldUsePkg fuse;
optAccelio = shouldUsePkg accelio;
optLibibverbs = shouldUsePkg libibverbs;
optLibrdmacm = shouldUsePkg librdmacm;
optLibedit = shouldUsePkg libedit;
@ -76,10 +75,6 @@ let
hasOsd = hasServer;
hasRadosgw = optFcgi != null && optExpat != null && optCurl != null && optLibedit != null;
hasXio = (stdenv.isLinux || stdenv.isFreeBSD) &&
versionAtLeast version "9.0.3" &&
optAccelio != null && optLibibverbs != null && optLibrdmacm != null;
hasRocksdb = versionAtLeast version "9.0.0" && optRocksdb != null;
# TODO: Reenable when kinetic support is fixed
@ -128,8 +123,6 @@ stdenv.mkDerivation {
optSnappy optLeveldb
] ++ optionals hasRadosgw [
optFcgi optExpat optCurl optFuse optLibedit
] ++ optionals hasXio [
optAccelio optLibibverbs optLibrdmacm
] ++ optionals hasRocksdb [
optRocksdb
] ++ optionals hasKinetic [
@ -192,7 +185,6 @@ stdenv.mkDerivation {
(mkWith (malloc == optGperftools) "tcmalloc" null)
(mkEnable false "pgrefdebugging" null)
(mkEnable false "cephfs-java" null)
(mkEnable hasXio "xio" null)
(mkWith (optLibatomic_ops != null) "libatomic-ops" null)
(mkWith true "ocf" null)
(mkWith hasKinetic "kinetic" null)

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, python2Packages }:
{ stdenv, fetchFromGitHub, python2Packages, help2man }:
python2Packages.buildPythonApplication rec {
name = "crudini-${version}";
@ -11,10 +11,30 @@ python2Packages.buildPythonApplication rec {
sha256 = "0x9z9lsygripj88gadag398pc9zky23m16wmh8vbgw7ld1nhkiav";
};
nativeBuildInputs = [ help2man ];
propagatedBuildInputs = with python2Packages; [ iniparse ];
checkPhase = ''
doCheck = true;
prePatch = ''
# make runs the unpatched version in src so we need to patch them in addition to tests
patchShebangs .
'';
postBuild = ''
make all
'';
postInstall = ''
mkdir -p $out/share/{man/man1,doc/crudini}
cp README EXAMPLES $out/share/doc/crudini/
for f in *.1 ; do
gzip -c $f > $out/share/man/man1/$(basename $f).gz
done
'';
checkPhase = ''
pushd tests >/dev/null
./test.sh
'';

View File

@ -4,10 +4,10 @@ stdenv.mkDerivation rec {
version = "0.4.1";
name = "dateutils-${version}";
src =fetchurl {
src = fetchurl {
url = "https://bitbucket.org/hroptatyr/dateutils/downloads/${name}.tar.xz";
sha256 = "0y2jsmvilljbid14lzmk3kgvasn4h7hr6y3wwbr3lkgwfn4y9k3c";
};
};
meta = with stdenv.lib; {
description = "A bunch of tools that revolve around fiddling with dates and times in the command line";

View File

@ -19,7 +19,7 @@ stdenv.mkDerivation {
patches = [ ./automake.patch ];
hardeningDisable = [ "format" ];
hardeningDisable = [ "format" "bindnow" ];
prePatch = ''
newPath=$(echo "${ddccontrol-db}/share/ddccontrol-db" | sed "s/\\//\\\\\\//g")

View File

@ -0,0 +1,24 @@
{ stdenv, fetchurl, e2fsprogs, openldap, pkgconfig }:
stdenv.mkDerivation rec {
version = "4.03";
name = "quota-${version}";
src = fetchurl {
url = "mirror://sourceforge/linuxquota/quota-${version}.tar.gz";
sha256 = "0jv7vhxhjp3gc4hwgmrhg448sbzzqib80gdas9nm0c5zwyd4sv4w";
};
outputs = [ "out" "dev" "doc" "man" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ e2fsprogs openldap ];
meta = with stdenv.lib; {
description = "Tools to manage kernel-level quotas in Linux";
homepage = http://sourceforge.net/projects/linuxquota/;
license = licenses.gpl2; # With some files being BSD as an exception
platforms = platforms.linux;
maintainers = [ maintainers.dezgeg ];
};
}

View File

@ -1,17 +1,18 @@
{ stdenv, acl, attr, autoreconfHook, bash, bc, coreutils, e2fsprogs, fetchgit, fio, gawk
, lib, libaio, libcap, libuuid, libxfs, lvm2, openssl, perl, procps, psmisc, su
{ stdenv, acl, attr, autoconf, automake, bash, bc, coreutils, e2fsprogs, fetchgit, fio, gawk
, lib, libaio, libcap, libtool, libuuid, libxfs, lvm2, openssl, perl, procps, psmisc, quota, su
, time, utillinux, which, writeScript, xfsprogs }:
stdenv.mkDerivation {
name = "xfstests-2017-03-26";
name = "xfstests-2017-07-16";
src = fetchgit {
url = "git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git";
rev = "7400c10e503fed20fe2d9f8b03b2157eba4ff3b8";
sha256 = "0m30mx8nv49ryijlkqffjmkw2g1xdxsrq868jh9crwh19055v7qp";
rev = "c3893c2dc623a07b1ace8e72ee4beb29f8bfae15";
sha256 = "1p42dakry4r2366hdgj4i1wcnjs4qk0bfmyr70r1n7s7ykvnvnrl";
};
buildInputs = [ acl autoreconfHook attr gawk libaio libuuid libxfs openssl perl ];
nativeBuildInputs = [ autoconf automake libtool ];
buildInputs = [ acl attr gawk libaio libuuid libxfs openssl perl ];
hardeningDisable = [ "format" ];
enableParallelBuilding = true;
@ -55,6 +56,8 @@ stdenv.mkDerivation {
export MAKE=$(type -P make)
export SED=$(type -P sed)
export SORT=$(type -P sort)
make configure
'';
postInstall = ''
@ -83,7 +86,7 @@ stdenv.mkDerivation {
ln -s @out@/lib/xfstests/$f $f
done
export PATH=${lib.makeBinPath [acl attr bc e2fsprogs fio gawk libcap lvm2 perl procps psmisc utillinux which xfsprogs]}:$PATH
export PATH=${lib.makeBinPath [acl attr bc e2fsprogs fio gawk libcap lvm2 perl procps psmisc quota utillinux which xfsprogs]}:$PATH
exec ./check "$@"
'';

View File

@ -0,0 +1,16 @@
{ stdenv, vim }:
stdenv.mkDerivation rec {
name = "xxd-${version}";
inherit (vim) version;
phases = [ "installPhase" ];
installPhase = ''
mkdir -p $out/{bin,share/man/man1}
install -m755 ${stdenv.lib.getBin vim}/bin/xxd $out/bin/xxd
install -m644 ${stdenv.lib.getBin vim}/share/man/man1/xxd.1.gz $out/share/man/man1/xxd.1.gz
'';
meta = with stdenv.lib; {
description = "Make a hexdump or do the reverse.";
inherit (vim.meta) homepage license maintainers platforms;
};
}

View File

@ -10,13 +10,13 @@ assert usePcre -> pcre != null;
stdenv.mkDerivation rec {
pname = "haproxy";
majorVersion = "1.7";
minorVersion = "3";
minorVersion = "8";
version = "${majorVersion}.${minorVersion}";
name = "${pname}-${version}";
src = fetchurl {
url = "http://www.haproxy.org/download/${majorVersion}/src/${name}.tar.gz";
sha256 = "ebb31550a5261091034f1b6ac7f4a8b9d79a8ce2a3ddcd7be5b5eb355c35ba65";
sha256 = "0hp1k957idaphhmw4m0x8cdzdw9ga1mzgsnk2m0as86xrqy1b47c";
};
buildInputs = [ openssl zlib ]

View File

@ -1,36 +1,81 @@
{ fetchurl, stdenv, gettext, gdbm, libtool, pam, readline
, ncurses, gnutls, sasl, fribidi, gss , mysql, guile, texinfo,
gnum4, dejagnu, nettools }:
{ stdenv, fetchurl, fetchpatch, autoreconfHook, dejagnu, gettext, libtool, pkgconfig
, gdbm, pam, readline, ncurses, gnutls, guile, texinfo, gnum4, sasl, fribidi, nettools
, gss, mysql }:
let
p = "https://raw.githubusercontent.com/gentoo/gentoo/9c921e89d51876fd876f250324893fd90c019326/net-mail/mailutils/files";
in
stdenv.mkDerivation rec {
name = "mailutils-2.2";
name = "${project}-${version}";
project = "mailutils";
version = "3.2";
src = fetchurl {
url = "mirror://gnu/mailutils/${name}.tar.bz2";
sha256 = "0szbqa12zqzldqyw97lxqax3ja2adis83i7brdfsxmrfw68iaf65";
url = "mirror://gnu/${project}/${name}.tar.xz";
sha256 = "0zh7xn8yvnw9zkc7gi5290i34viwxp1rn0g1q9nyvmckkvk59lwn";
};
hardeningDisable = [ "format" ];
patches = [ ./path-to-cat.patch ./no-gets.patch ./scm_c_string.patch ];
postPatch = ''
sed -i -e '/chown root:mail/d' \
-e 's/chmod [24]755/chmod 0755/' \
*/Makefile{,.in,.am}
'';
configureFlags = [
"--with-gsasl"
"--with-gssapi=${gss}"
nativeBuildInputs = [
autoreconfHook gettext libtool pkgconfig
] ++ stdenv.lib.optional doCheck dejagnu;
buildInputs = [
gdbm pam readline ncurses gnutls guile texinfo gnum4 sasl fribidi nettools
gss mysql.lib
];
buildInputs =
[ gettext gdbm libtool pam readline ncurses
gnutls mysql.lib guile texinfo gnum4 sasl fribidi gss nettools ]
++ stdenv.lib.optional doCheck dejagnu;
patches = [
(fetchpatch {
url = "https://git.savannah.gnu.org/cgit/mailutils.git/patch/?id=afbb33cf9ff";
excludes = [ "NEWS" ];
sha256 = "0yzkfx3j1zkkb43fhchjqphw4xznbclj39bjzjggv32gppy6d1db";
})
./fix-build-mb-len-max.patch
./fix-test-ali-awk.patch
./path-to-cat.patch
];
doCheck = true;
enableParallelBuilding = true;
hardeningDisable = [ "format" ];
configureFlags = [
"--with-gssapi"
"--with-gsasl"
"--with-mysql"
];
readmsg-tests = stdenv.lib.optionals doCheck [
(fetchurl { url = "${p}/hdr.at"; sha256 = "0phpkqyhs26chn63wjns6ydx9468ng3ssbjbfhcvza8h78jlsd98"; })
(fetchurl { url = "${p}/nohdr.at"; sha256 = "1vkbkfkbqj6ml62s1am8i286hxwnpsmbhbnq0i2i0j1i7iwkk4b7"; })
(fetchurl { url = "${p}/twomsg.at"; sha256 = "15m29rg2xxa17xhx6jp4s2vwa9d4khw8092vpygqbwlhw68alk9g"; })
(fetchurl { url = "${p}/weed.at"; sha256 = "1101xakhc99f5gb9cs3mmydn43ayli7b270pzbvh7f9rbvh0d0nh"; })
];
postPatch = ''
sed -e '/AM_GNU_GETTEXT_VERSION/s/0.18/0.19/' -i configure.ac
sed -i -e '/chown root:mail/d' \
-e 's/chmod [24]755/chmod 0755/' \
*/Makefile{.in,.am}
'';
preCheck = ''
# Add missing files.
cp ${builtins.toString readmsg-tests} readmsg/tests/
for f in hdr.at nohdr.at twomsg.at weed.at; do
mv readmsg/tests/*-$f readmsg/tests/$f
done
# Disable comsat tests that fail without tty in the sandbox.
tty -s || echo > comsat/tests/testsuite.at
# Disable lmtp tests that require root spool.
echo > maidag/tests/lmtp.at
# Disable mda tests that require /etc/passwd to contain root.
grep -qo '^root:' /etc/passwd || echo > maidag/tests/mda.at
# Provide libraries for mhn.
export LD_LIBRARY_PATH=$(pwd)/lib/.libs
'';
postCheck = ''
unset LD_LIBRARY_PATH
'';
meta = with stdenv.lib; {
description = "Rich and powerful protocol-independent mail framework";
@ -60,7 +105,7 @@ stdenv.mkDerivation rec {
gpl3Plus /* tools */
];
maintainers = with maintainers; [ vrthra ];
maintainers = with maintainers; [ orivej vrthra ];
homepage = http://www.gnu.org/software/mailutils/;

View File

@ -0,0 +1,14 @@
diff --git a/frm/frm.h b/frm/frm.h
index 178b87d54..7931faada 100644
--- a/frm/frm.h
+++ b/frm/frm.h
@@ -34,6 +34,9 @@
#ifdef HAVE_ICONV_H
# include <iconv.h>
#endif
+#ifdef HAVE_LIMITS_H
+# include <limits.h>
+#endif
#ifndef MB_LEN_MAX
# define MB_LEN_MAX 4
#endif

View File

@ -0,0 +1,16 @@
diff --git a/mh/tests/ali.at b/mh/tests/ali.at
index 28c0e5451..c76cf9363 100644
--- a/mh/tests/ali.at
+++ b/mh/tests/ali.at
@@ -85,9 +85,9 @@ ali -a ./mh_aliases korzen | tr -d ' '
[expout])
MH_CHECK([ali: group id],[ali05 ali-group-id ali-gid],[
-cat /etc/passwd | awk -F : '/^#/ { next } $4==0 { print $1 }' > expout
+cat /etc/passwd | awk -F : '/^#/ { next } $4==0 { print $1; exit }' > expout
test -s expout || AT_SKIP_TEST
-name=`awk -F : '/^#/ { next } $3==0 { print $1 }' /etc/group < /dev/null`
+name=`awk -F : '/^#/ { next } $3==0 { print $1; exit }' /etc/group < /dev/null`
test -z "$name" && AT_SKIP_TEST
echo "korzen: +$name" > mh_aliases

View File

@ -1,14 +0,0 @@
--- a/lib/stdio.in.h
+++ b/lib/stdio.in.h
@@ -138,8 +138,10 @@
/* It is very rare that the developer ever has full control of stdin,
so any use of gets warrants an unconditional warning. Assume it is
always declared, since it is required by C89. */
-#undef gets
+#ifdef gets
+# undef gets
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+#endif
#if @GNULIB_FOPEN@
# if @REPLACE_FOPEN@

View File

@ -1,8 +1,47 @@
Fix absolute path to `cat'.
--- mailutils-2.2/testsuite/lib/mailutils.exp 2010-09-10 13:39:58.000000000 +0200
+++ mailutils-2.2/testsuite/lib/mailutils.exp 2010-09-10 13:40:00.000000000 +0200
@@ -719,7 +719,7 @@ proc mu_test_file {args} {
diff --git a/mh/show.c b/mh/show.c
index a43afe10c..6985386ec 100644
--- a/mh/show.c
+++ b/mh/show.c
@@ -254,7 +254,7 @@ main (int argc, char **argv)
*/
if (!use_showproc)
- showproc = "/bin/cat";
+ showproc = "cat";
else
showproc = mh_global_profile_get ("showproc", NULL);
diff --git a/mh/tests/mhparam.at b/mh/tests/mhparam.at
index 54b7fc06a..3abd5bf9b 100644
--- a/mh/tests/mhparam.at
+++ b/mh/tests/mhparam.at
@@ -28,7 +28,7 @@ mhparam -all | tr '\t' ' ' | sed 's/^Path:.*/Path: Mail/;s/^mhetcdir:.*/mhetcdir
[0],
[Path: Mail
mhetcdir: dir
-moreproc: /bin/cat
+moreproc: cat
Sequence-Negation: not
Draft-Folder: Mail/drafts
Aliasfile: .mh_aliases
diff --git a/mh/tests/testsuite.at b/mh/tests/testsuite.at
index c6820843c..6675a4a9c 100644
--- a/mh/tests/testsuite.at
+++ b/mh/tests/testsuite.at
@@ -25,7 +25,7 @@ export MH
cat > $MH <<EOT
Path: $HOME/Mail
mhetcdir: $abs_top_srcdir/mh/etc
-moreproc: /bin/cat
+moreproc: cat
EOT
MTSTAILOR=$HOME/mtstailor
export MTSTAILOR
diff --git a/testsuite/lib/mailutils.exp b/testsuite/lib/mailutils.exp
index d4691d922..c1b056933 100644
--- a/testsuite/lib/mailutils.exp
+++ b/testsuite/lib/mailutils.exp
@@ -728,7 +728,7 @@ proc mu_test_file {args} {
set pattern [lrange $args 1 end]
}

Some files were not shown because too many files have changed in this diff Show More