Merge branch 'master' into staging

This commit is contained in:
Vladimír Čunát 2017-05-27 11:11:44 +02:00
commit 76a020e676
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA
113 changed files with 5034 additions and 2282 deletions

View file

@ -30,7 +30,7 @@
<section>
<title>Platform parameters</title>
<para>
The three GNU Autoconf platforms, <wordasword>build</wordasword>, <wordasword>host</wordasword>, and <wordasword>cross</wordasword>, are historically the result of much confusion.
The three GNU Autoconf platforms, <wordasword>build</wordasword>, <wordasword>host</wordasword>, and <wordasword>target</wordasword>, are historically the result of much confusion.
<link xlink:href="https://gcc.gnu.org/onlinedocs/gccint/Configure-Terms.html" /> clears this up somewhat but there is more to be said.
An important advice to get out the way is, unless you are packaging a compiler or other build tool, just worry about the build and host platforms.
Dealing with just two platforms usually better matches people's preconceptions, and in this case is completely correct.
@ -62,8 +62,8 @@
The "target platform" is black sheep.
The other two intrinsically apply to all compiled software—or any build process with a notion of "build-time" followed by "run-time".
The target platform only applies to programming tools, and even then only is a good for for some of them.
Briefly, GCC, Binutils, GHC, and certain other tools are written in such a way such that a single build can only compiler code for a single platform.
Thus, when building them, one must think ahead about what platforms they wish to use the tool to produce machine code for, and build binaries for each.
Briefly, GCC, Binutils, GHC, and certain other tools are written in such a way such that a single build can only compile code for a single platform.
Thus, when building them, one must think ahead about which platforms they wish to use the tool to produce machine code for, and build binaries for each.
</para>
<para>
There is no fundamental need to think about the target ahead of time like this.
@ -158,10 +158,10 @@
The depending package's target platform is unconstrained by the sliding window principle, which makes sense in that one can in principle build cross compilers targeting arbitrary platforms.
</para></note>
<para>
How does this work in practice? Nixpkgs is now structured so that build-time dependencies are taken from from <varname>buildPackages</varname>, whereas run-time dependencies are taken from the top level attribute set.
How does this work in practice? Nixpkgs is now structured so that build-time dependencies are taken from <varname>buildPackages</varname>, whereas run-time dependencies are taken from the top level attribute set.
For example, <varname>buildPackages.gcc</varname> should be used at build time, while <varname>gcc</varname> should be used at run time.
Now, for most of Nixpkgs's history, there was no <varname>buildPackages</varname>, and most packages have not been refactored to use it explicitly.
Instead, one can use the four attributes used for specifying dependencies as documented in <link linkend="ssec-stdenv-attributes" />.
Instead, one can use the four attributes used for specifying dependencies as documented in <xref linkend="ssec-stdenv-attributes"/>.
We "splice" together the run-time and build-time package sets with <varname>callPackage</varname>, and then <varname>mkDerivation</varname> for each of four attributes pulls the right derivation out.
This splicing can be skipped when not cross compiling as the package sets are the same, but is a bit slow for cross compiling.
Because of this, a best-of-both-worlds solution is in the works with no splicing or explicit access of <varname>buildPackages</varname> needed.

View file

@ -92,6 +92,8 @@ rec {
};
# When adding new types don't forget to document them in
# nixos/doc/manual/development/option-types.xml!
types = rec {
unspecified = mkOptionType {
@ -257,6 +259,7 @@ rec {
functor = (defaultFunctor name) // { wrapped = elemType; };
};
# Value of given type but with no merging (i.e. `uniq list`s are not concatenated).
uniq = elemType: mkOptionType rec {
name = "uniq";
inherit (elemType) description check;
@ -267,6 +270,7 @@ rec {
functor = (defaultFunctor name) // { wrapped = elemType; };
};
# Null or value of ...
nullOr = elemType: mkOptionType rec {
name = "nullOr";
description = "null or ${elemType.description}";
@ -283,6 +287,7 @@ rec {
functor = (defaultFunctor name) // { wrapped = elemType; };
};
# A submodule (like typed attribute set). See NixOS manual.
submodule = opts:
let
opts' = toList opts;
@ -314,6 +319,7 @@ rec {
};
};
# A value from a set of allowed ones.
enum = values:
let
show = v:
@ -329,6 +335,7 @@ rec {
functor = (defaultFunctor name) // { payload = values; binOp = a: b: unique (a ++ b); };
};
# Either value of type `t1` or `t2`.
either = t1: t2: mkOptionType rec {
name = "either";
description = "${t1.description} or ${t2.description}";
@ -352,6 +359,8 @@ rec {
functor = (defaultFunctor name) // { wrapped = [ t1 t2 ]; };
};
# Either value of type `finalType` or `coercedType`, the latter is
# converted to `finalType` using `coerceFunc`.
coercedTo = coercedType: coerceFunc: finalType:
assert coercedType.getSubModules == null;
mkOptionType rec {

View file

@ -0,0 +1,245 @@
#! /usr/bin/env nix-shell
#! nix-shell -i python3 -p 'python3.withPackages(ps: with ps; [ requests toolz ])'
"""
Update a Python package expression by passing in the `.nix` file, or the directory containing it.
You can pass in multiple files or paths.
You'll likely want to use
``
$ ./update-python-libraries ../../pkgs/development/python-modules/*
``
to update all libraries in that folder.
"""
import argparse
import logging
import os
import re
import requests
import toolz
INDEX = "https://pypi.io/pypi"
"""url of PyPI"""
EXTENSIONS = ['tar.gz', 'tar.bz2', 'tar', 'zip', '.whl']
"""Permitted file extensions. These are evaluated from left to right and the first occurance is returned."""
def _get_value(attribute, text):
"""Match attribute in text and return it."""
regex = '{}\s+=\s+"(.*)";'.format(attribute)
regex = re.compile(regex)
value = regex.findall(text)
n = len(value)
if n > 1:
raise ValueError("Found too many values for {}".format(attribute))
elif n == 1:
return value[0]
else:
raise ValueError("No value found for {}".format(attribute))
def _get_line_and_value(attribute, text):
"""Match attribute in text. Return the line and the value of the attribute."""
regex = '({}\s+=\s+"(.*)";)'.format(attribute)
regex = re.compile(regex)
value = regex.findall(text)
n = len(value)
if n > 1:
raise ValueError("Found too many values for {}".format(attribute))
elif n == 1:
return value[0]
else:
raise ValueError("No value found for {}".format(attribute))
def _replace_value(attribute, value, text):
"""Search and replace value of attribute in text."""
old_line, old_value = _get_line_and_value(attribute, text)
new_line = old_line.replace(old_value, value)
new_text = text.replace(old_line, new_line)
return new_text
def _fetch_page(url):
r = requests.get(url)
if r.status_code == requests.codes.ok:
return r.json()
else:
logging.warning("Request for {} failed".format(url))
def _get_latest_version(package, extension):
url = "{}/{}/json".format(INDEX, package)
json = _fetch_page(url)
data = extract_relevant_nix_data(json)[1]
version = data['latest_version']
if version in data['versions']:
sha256 = data['versions'][version]['sha256']
else:
sha256 = None # Its possible that no file was uploaded to PyPI
return version, sha256
def extract_relevant_nix_data(json):
"""Extract relevant Nix data from the JSON of a package obtained from PyPI.
:param json: JSON obtained from PyPI
"""
def _extract_license(json):
"""Extract license from JSON."""
return json['info']['license']
def _available_versions(json):
return json['releases'].keys()
def _extract_latest_version(json):
return json['info']['version']
def _get_src_and_hash(json, version, extensions):
"""Obtain url and hash for a given version and list of allowable extensions."""
if not json['releases']:
msg = "Package {}: No releases available.".format(json['info']['name'])
raise ValueError(msg)
else:
# We use ['releases'] and not ['urls'] because we want to have the possibility for different version.
for possible_file in json['releases'][version]:
for extension in extensions:
if possible_file['filename'].endswith(extension):
src = {'url': str(possible_file['url']),
'sha256': str(possible_file['digests']['sha256']),
}
return src
else:
msg = "Package {}: No release with valid file extension available.".format(json['info']['name'])
logging.info(msg)
return None
#raise ValueError(msg)
def _get_sources(json, extensions):
versions = _available_versions(json)
releases = {version: _get_src_and_hash(json, version, extensions) for version in versions}
releases = toolz.itemfilter(lambda x: x[1] is not None, releases)
return releases
# Collect data
name = str(json['info']['name'])
latest_version = str(_extract_latest_version(json))
#src = _get_src_and_hash(json, latest_version, EXTENSIONS)
sources = _get_sources(json, EXTENSIONS)
# Collect meta data
license = str(_extract_license(json))
license = license if license != "UNKNOWN" else None
summary = str(json['info'].get('summary')).strip('.')
summary = summary if summary != "UNKNOWN" else None
#description = str(json['info'].get('description'))
#description = description if description != "UNKNOWN" else None
homepage = json['info'].get('home_page')
data = {
'latest_version' : latest_version,
'versions' : sources,
#'src' : src,
'meta' : {
'description' : summary if summary else None,
#'longDescription' : description,
'license' : license,
'homepage' : homepage,
},
}
return name, data
def _update_package(path):
# We need to read and modify a Nix expression.
if os.path.isdir(path):
path = os.path.join(path, 'default.nix')
if not os.path.isfile(path):
logging.warning("Path does not exist: {}".format(path))
return False
if not path.endswith(".nix"):
logging.warning("Path does not end with `.nix`, skipping: {}".format(path))
return False
with open(path, 'r') as f:
text = f.read()
try:
pname = _get_value('pname', text)
except ValueError as e:
logging.warning("Path {}: {}".format(path, str(e)))
return False
try:
version = _get_value('version', text)
except ValueError as e:
logging.warning("Path {}: {}".format(path, str(e)))
return False
# If we use a wheel, then we need to request a wheel as well
try:
format = _get_value('format', text)
except ValueError as e:
# No format mentioned, then we assume we have setuptools
# and use a .tar.gz
logging.warning("Path {}: {}".format(path, str(e)))
extension = ".tar.gz"
else:
if format == 'wheel':
extension = ".whl"
else:
try:
url = _get_value('url', text)
extension = os.path.splitext(url)[1]
except ValueError as e:
logging.warning("Path {}: {}".format(path, str(e)))
extension = ".tar.gz"
new_version, new_sha256 = _get_latest_version(pname, extension)
if not new_sha256:
logging.warning("Path has no valid file available: {}".format(path))
return False
if new_version != version:
try:
text = _replace_value('version', new_version, text)
except ValueError as e:
logging.warning("Path {}: {}".format(path, str(e)))
try:
text = _replace_value('sha256', new_sha256, text)
except ValueError as e:
logging.warning("Path {}: {}".format(path, str(e)))
with open(path, 'w') as f:
f.write(text)
logging.info("Updated {} from {} to {}".format(pname, version, new_version))
else:
logging.info("No update available for {} at {}".format(pname, version))
return True
def main():
parser = argparse.ArgumentParser()
parser.add_argument('package', type=str, nargs='+')
args = parser.parse_args()
packages = args.package
count = list(map(_update_package, packages))
#logging.info("{} package(s) updated".format(sum(count)))
if __name__ == '__main__':
main()

View file

@ -68,8 +68,7 @@
<section><title>Value Types</title>
<para>Value types are type that take a value parameter. The only value type
in the library is <literal>enum</literal>.</para>
<para>Value types are type that take a value parameter.</para>
<variablelist>
<varlistentry>
@ -141,6 +140,17 @@
str</literal>. Multiple definitions cannot be
merged.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>types.coercedTo</varname> <replaceable>from</replaceable>
<replaceable>f</replaceable> <replaceable>to</replaceable></term>
<listitem><para>Type <replaceable>to</replaceable> or type
<replaceable>from</replaceable> which will be coerced to
type <replaceable>to</replaceable> using function
<replaceable>f</replaceable> which takes an argument of type
<replaceable>from</replaceable> and return a value of type
<replaceable>to</replaceable>. Can be used to preserve backwards
compatibility of an option if its type was changed.</para></listitem>
</varlistentry>
</variablelist>
</section>

View file

@ -68,6 +68,16 @@ following incompatible changes:</para>
<literal>db-config.sqlite</literal> which will be automatically recreated.
</para>
</listitem>
<listitem>
<para>
The ipfs package now doesn't ignore the <literal>dataDir</literal> option anymore. If you've ever set this option to anything other than the default you'll have to either unset it (so the default gets used) or migrate the old data manually with
<programlisting>
dataDir=&lt;valueOfDataDir&gt;
mv /var/lib/ipfs/.ipfs/* $dataDir
rmdir /var/lib/ipfs/.ipfs
</programlisting>
</para>
</listitem>
</itemizedlist>

View file

@ -0,0 +1,41 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.hardware.nitrokey;
in
{
options.hardware.nitrokey = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
Enables udev rules for Nitrokey devices. By default grants access
to users in the "nitrokey" group. You may want to install the
nitrokey-app package, depending on your device and needs.
'';
};
group = mkOption {
type = types.str;
default = "nitrokey";
example = "wheel";
description = ''
Grant access to Nitrokey devices to users in this group.
'';
};
};
config = mkIf cfg.enable {
services.udev.packages = [
(pkgs.nitrokey-udev-rules.override (attrs:
{ inherit (cfg) group; }
))
];
users.extraGroups."${cfg.group}" = {};
};
}

View file

@ -39,6 +39,7 @@
./hardware/network/intel-3945abg.nix
./hardware/network/ralink.nix
./hardware/network/rtl8192c.nix
./hardware/nitrokey.nix
./hardware/opengl.nix
./hardware/pcmcia.nix
./hardware/usb-wwan.nix
@ -129,6 +130,8 @@
./security/rtkit.nix
./security/wrappers/default.nix
./security/sudo.nix
./service-managers/docker.nix
./service-managers/trivial.nix
./services/admin/salt/master.nix
./services/admin/salt/minion.nix
./services/amqp/activemq/default.nix
@ -239,8 +242,9 @@
./services/logging/logrotate.nix
./services/logging/logstash.nix
./services/logging/rsyslogd.nix
./services/logging/syslogd.nix
./services/logging/SystemdJournal2Gelf.nix
./services/logging/syslog-ng.nix
./services/logging/syslogd.nix
./services/mail/dovecot.nix
./services/mail/dspam.nix
./services/mail/exim.nix

View file

@ -20,7 +20,7 @@ in
{ NIXPKGS_CONFIG = "/etc/nix/nixpkgs-config.nix";
PAGER = mkDefault "less -R";
EDITOR = mkDefault "nano";
XCURSOR_PATH = "$HOME/.icons";
XCURSOR_PATH = [ "$HOME/.icons" ];
};
environment.profiles =

View file

@ -3,11 +3,11 @@
with lib;
let
cfg = config.programs.zsh.oh-my-zsh;
cfg = config.programs.zsh.ohMyZsh;
in
{
options = {
programs.zsh.oh-my-zsh = {
programs.zsh.ohMyZsh = {
enable = mkOption {
default = false;
description = ''

View file

@ -210,5 +210,9 @@ with lib;
(mkRenamedOptionModule [ "programs" "zsh" "syntax-highlighting" "enable" ] [ "programs" "zsh" "syntaxHighlighting" "enable" ])
(mkRenamedOptionModule [ "programs" "zsh" "syntax-highlighting" "highlighters" ] [ "programs" "zsh" "syntaxHighlighting" "highlighters" ])
(mkRenamedOptionModule [ "programs" "zsh" "syntax-highlighting" "patterns" ] [ "programs" "zsh" "syntaxHighlighting" "patterns" ])
(mkRenamedOptionModule [ "programs" "zsh" "oh-my-zsh" "enable" ] [ "programs" "zsh" "ohMyZsh" "enable" ])
(mkRenamedOptionModule [ "programs" "zsh" "oh-my-zsh" "theme" ] [ "programs" "zsh" "ohMyZsh" "theme" ])
(mkRenamedOptionModule [ "programs" "zsh" "oh-my-zsh" "custom" ] [ "programs" "zsh" "ohMyZsh" "custom" ])
(mkRenamedOptionModule [ "programs" "zsh" "oh-my-zsh" "plugins" ] [ "programs" "zsh" "ohMyZsh" "plugins" ])
];
}

View file

@ -0,0 +1,29 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.docker-containers;
containerModule = {
script = mkOption {
type = types.lines;
description = "Shell commands executed as the service's main process.";
};
};
toContainer = name: value: pkgs.dockerTools.buildImage {
inherit name;
config = {
Cmd = [ value.script ];
};
};
in {
options.docker-containers = mkOption {
default = {};
type = with types; attrsOf (types.submodule containerModule);
description = "Definition of docker containers";
};
config.system.build.toplevel-docker = lib.mapAttrs toContainer cfg;
}

View file

@ -0,0 +1,35 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.trivial-services;
serviceModule.options = {
script = mkOption {
type = types.lines;
description = "Shell commands executed as the service's main process.";
};
environment = mkOption {
default = {};
type = types.attrs; # FIXME
example = { PATH = "/foo/bar/bin"; LANG = "nl_NL.UTF-8"; };
description = "Environment variables passed to the service's processes.";
};
};
launcher = name: value: pkgs.writeScript name ''
#!${pkgs.stdenv.shell} -eu
${pkgs.writeScript "${name}-entry" value.script}
'';
in {
options.trivial-services = mkOption {
default = {};
type = with types; attrsOf (types.submodule serviceModule);
description = "Definition of trivial services";
};
config.system.build.toplevel-trivial = lib.mapAttrs launcher cfg;
}

View file

@ -0,0 +1,59 @@
{ config, lib, pkgs, ... }:
with lib;
let cfg = config.services.SystemdJournal2Gelf;
in
{ options = {
services.SystemdJournal2Gelf = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
Whether to enable SystemdJournal2Gelf.
'';
};
graylogServer = mkOption {
type = types.string;
example = "graylog2.example.com:11201";
description = ''
Host and port of your graylog2 input. This should be a GELF
UDP input.
'';
};
extraOptions = mkOption {
type = types.string;
default = "";
description = ''
Any extra flags to pass to SystemdJournal2Gelf. Note that
these are basically <literal>journalctl</literal> flags.
'';
};
package = mkOption {
type = types.package;
default = pkgs.systemd-journal2gelf;
description = ''
SystemdJournal2Gelf package to use.
'';
};
};
};
config = mkIf cfg.enable {
systemd.services.SystemdJournal2Gelf = {
description = "SystemdJournal2Gelf";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = "${cfg.package}/bin/SystemdJournal2Gelf ${cfg.graylogServer} --follow ${cfg.extraOptions}";
Restart = "on-failure";
RestartSec = "30";
};
};
};
}

View file

@ -4,6 +4,8 @@ with lib;
let
concatMapLines = f: l: lib.concatStringsSep "\n" (map f l);
cfg = config.services.mlmmj;
stateDir = "/var/lib/mlmmj";
spoolDir = "/var/spool/mlmmj";
@ -16,13 +18,24 @@ let
listAddress = domain: list: "${list}@${domain}";
customHeaders = domain: list: [ "List-Id: ${list}" "Reply-To: ${list}@${domain}" ];
footer = domain: list: "To unsubscribe send a mail to ${list}+unsubscribe@${domain}";
createList = d: l: ''
${pkgs.coreutils}/bin/mkdir -p ${listCtl d l}
echo ${listAddress d l} > ${listCtl d l}/listaddress
echo "${lib.concatStringsSep "\n" (customHeaders d l)}" > ${listCtl d l}/customheaders
echo ${footer d l} > ${listCtl d l}/footer
echo ${subjectPrefix l} > ${listCtl d l}/prefix
'';
createList = d: l:
let ctlDir = listCtl d l; in
''
for DIR in incoming queue queue/discarded archive text subconf unsubconf \
bounce control moderation subscribers.d digesters.d requeue \
nomailsubs.d
do
mkdir -p '${listDir d l}'/"$DIR"
done
${pkgs.coreutils}/bin/mkdir -p ${ctlDir}
echo ${listAddress d l} > '${ctlDir}/listaddress'
[ ! -e ${ctlDir}/customheaders ] && \
echo "${lib.concatStringsSep "\n" (customHeaders d l)}" > '${ctlDir}/customheaders'
[ ! -e ${ctlDir}/footer ] && \
echo ${footer d l} > '${ctlDir}/footer'
[ ! -e ${ctlDir}/prefix ] && \
echo ${subjectPrefix l} > '${ctlDir}/prefix'
'';
in
{
@ -63,6 +76,16 @@ in
description = "The collection of hosted maillists";
};
maintInterval = mkOption {
type = types.str;
default = "20min";
description = ''
Time interval between mlmmj-maintd runs, see
<citerefentry><refentrytitle>systemd.time</refentrytitle>
<manvolnum>7</manvolnum></citerefentry> for format information.
'';
};
};
};
@ -93,7 +116,7 @@ in
mlmmj unix - n n - - pipe flags=ORhu user=mlmmj argv=${pkgs.mlmmj}/bin/mlmmj-receive -F -L ${spoolDir}/$nexthop
'';
extraAliases = concatMapStrings (alias cfg.listDomain) cfg.mailLists;
extraAliases = concatMapLines (alias cfg.listDomain) cfg.mailLists;
extraConfig = ''
transport_maps = hash:${stateDir}/transports
@ -107,17 +130,15 @@ in
system.activationScripts.mlmmj = ''
${pkgs.coreutils}/bin/mkdir -p ${stateDir} ${spoolDir}/${cfg.listDomain}
${pkgs.coreutils}/bin/chown -R ${cfg.user}:${cfg.group} ${spoolDir}
${lib.concatMapStrings (createList cfg.listDomain) cfg.mailLists}
echo ${lib.concatMapStrings (virtual cfg.listDomain) cfg.mailLists} > ${stateDir}/virtuals
echo ${lib.concatMapStrings (transport cfg.listDomain) cfg.mailLists} > ${stateDir}/transports
${concatMapLines (createList cfg.listDomain) cfg.mailLists}
echo "${concatMapLines (virtual cfg.listDomain) cfg.mailLists}" > ${stateDir}/virtuals
echo "${concatMapLines (transport cfg.listDomain) cfg.mailLists}" > ${stateDir}/transports
${pkgs.postfix}/bin/postmap ${stateDir}/virtuals
${pkgs.postfix}/bin/postmap ${stateDir}/transports
'';
systemd.services."mlmmj-maintd" = {
description = "mlmmj maintenance daemon";
wantedBy = [ "multi-user.target" ];
serviceConfig = {
User = cfg.user;
Group = cfg.group;
@ -125,6 +146,11 @@ in
};
};
systemd.timers."mlmmj-maintd" = {
description = "mlmmj maintenance timer";
timerConfig.OnUnitActiveSec = cfg.maintInterval;
wantedBy = [ "timers.target" ];
};
};
}

View file

@ -9,7 +9,10 @@ let
ipfsFlags = ''${if cfg.autoMigrate then "--migrate" else ""} ${if cfg.enableGC then "--enable-gc" else ""} ${toString cfg.extraFlags}'';
pathEnv = { IPFS_PATH = cfg.dataDir; };
# Before Version 17.09, ipfs would always use "/var/lib/ipfs/.ipfs" as it's dataDir
defaultDataDir = if versionAtLeast config.system.stateVersion "17.09" then
"/var/lib/ipfs" else
"/var/lib/ipfs/.ipfs";
# Wrapping the ipfs binary with the environment variable IPFS_PATH set to dataDir because we can't set it in the user environment
wrapped = runCommand "ipfs" { buildInputs = [ makeWrapper ]; } ''
@ -42,7 +45,7 @@ in
dataDir = mkOption {
type = types.str;
default = "/var/lib/ipfs";
default = defaultDataDir;
description = "The data dir for IPFS";
};
@ -117,16 +120,15 @@ in
after = [ "local-fs.target" ];
before = [ "ipfs.service" "ipfs-offline.service" ];
environment.IPFS_PATH = cfg.dataDir;
path = [ pkgs.ipfs pkgs.su pkgs.bash ];
preStart = ''
install -m 0755 -o ${cfg.user} -g ${cfg.group} -d ${cfg.dataDir}
'';
environment = pathEnv;
script = ''
if [[ ! -d ${cfg.dataDir}/.ipfs ]]; then
if [[ ! -f ${cfg.dataDir}/config ]]; then
${ipfs}/bin/ipfs init ${optionalString cfg.emptyRepo "-e"}
fi
${ipfs}/bin/ipfs --local config Addresses.API ${cfg.apiAddress}
@ -151,9 +153,9 @@ in
conflicts = [ "ipfs-offline.service" ];
wants = [ "ipfs-init.service" ];
path = [ pkgs.ipfs ];
environment.IPFS_PATH = cfg.dataDir;
environment = pathEnv;
path = [ pkgs.ipfs ];
serviceConfig = {
ExecStart = "${ipfs}/bin/ipfs daemon ${ipfsFlags}";
@ -172,9 +174,9 @@ in
conflicts = [ "ipfs.service" ];
wants = [ "ipfs-init.service" ];
path = [ pkgs.ipfs ];
environment.IPFS_PATH = cfg.dataDir;
environment = pathEnv;
path = [ pkgs.ipfs ];
serviceConfig = {
ExecStart = "${ipfs}/bin/ipfs daemon ${ipfsFlags} --offline";

View file

@ -67,6 +67,7 @@ in
StandardInput = "socket";
StandardError = "journal";
User = cfg.user;
AmbientCapabilities = "cap_setuid cap_setgid";
};
};
};

View file

@ -51,6 +51,17 @@ in
'';
};
motd = mkOption {
type = types.nullOr types.lines;
default = null;
description = ''
Charybdis MOTD text.
Charybdis will read its MOTD from /etc/charybdis/ircd.motd .
If set, the value of this option will be written to this path.
'';
};
};
};
@ -58,39 +69,42 @@ in
###### implementation
config = mkIf cfg.enable {
users.extraUsers = singleton {
name = cfg.user;
description = "Charybdis IRC daemon user";
uid = config.ids.uids.ircd;
group = cfg.group;
};
users.extraGroups = singleton {
name = cfg.group;
gid = config.ids.gids.ircd;
};
systemd.services.charybdis = {
description = "Charybdis IRC daemon";
wantedBy = [ "multi-user.target" ];
environment = {
BANDB_DBPATH = "${cfg.statedir}/ban.db";
config = mkIf cfg.enable (lib.mkMerge [
{
users.extraUsers = singleton {
name = cfg.user;
description = "Charybdis IRC daemon user";
uid = config.ids.uids.ircd;
group = cfg.group;
};
serviceConfig = {
ExecStart = "${charybdis}/bin/charybdis-ircd -foreground -logfile /dev/stdout -configfile ${configFile}";
Group = cfg.group;
User = cfg.user;
PermissionsStartOnly = true; # preStart needs to run with root permissions
users.extraGroups = singleton {
name = cfg.group;
gid = config.ids.gids.ircd;
};
preStart = ''
${coreutils}/bin/mkdir -p ${cfg.statedir}
${coreutils}/bin/chown ${cfg.user}:${cfg.group} ${cfg.statedir}
'';
};
};
systemd.services.charybdis = {
description = "Charybdis IRC daemon";
wantedBy = [ "multi-user.target" ];
environment = {
BANDB_DBPATH = "${cfg.statedir}/ban.db";
};
serviceConfig = {
ExecStart = "${charybdis}/bin/charybdis-ircd -foreground -logfile /dev/stdout -configfile ${configFile}";
Group = cfg.group;
User = cfg.user;
PermissionsStartOnly = true; # preStart needs to run with root permissions
};
preStart = ''
${coreutils}/bin/mkdir -p ${cfg.statedir}
${coreutils}/bin/chown ${cfg.user}:${cfg.group} ${cfg.statedir}
'';
};
}
(mkIf (cfg.motd != null) {
environment.etc."charybdis/ircd.motd".text = cfg.motd;
})
]);
}

View file

@ -53,7 +53,8 @@ let
Server = ${net.server} ${lib.optionalString net.useSSL "+"}${toString net.port} ${net.password}
${concatMapStrings (c: "<Chan #${c}>\n</Chan>\n") net.channels}
${lib.optionalString net.hasBitlbeeControlChannel ''
<Chan &bitlbee></Chan>
<Chan &bitlbee>
</Chan>
''}
${net.extraConf}
</Network>

View file

@ -23,6 +23,8 @@ let
stats = cfg.statsAddress;
listen = cfg.listenAddress;
});
script = "${pkgs.hologram.bin}/bin/hologram-server --debug --conf ${cfgFile}";
in {
options = {
services.hologram-server = {
@ -94,9 +96,15 @@ in {
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = "${pkgs.hologram.bin}/bin/hologram-server --debug --conf ${cfgFile}";
};
inherit script;
};
docker-containers.hologram-server = {
inherit script;
};
trivial-services.hologram-server = {
inherit script;
};
};
}

View file

@ -26,6 +26,34 @@ in
services.xserver.desktopManager = {
wallpaper = {
mode = mkOption {
type = types.enum [ "center" "fill" "max" "scale" "tile" ];
default = "scale";
example = "fill";
description = ''
The file <filename>~/.background-image</filename> is used as a background image.
This option specifies the placement of this image onto your desktop.
Possible values:
<literal>center</literal>: Center the image on the background. If it is too small, it will be surrounded by a black border.
<literal>fill</literal>: Like <literal>scale</literal>, but preserves aspect ratio by zooming the image until it fits. Either a horizontal or a vertical part of the image will be cut off.
<literal>max</literal>: Like <literal>fill</literal>, but scale the image to the maximum size that fits the screen with black borders on one side.
<literal>scale</literal>: Fit the file into the background without repeating it, cutting off stuff or using borders. But the aspect ratio is not preserved either.
<literal>tile</literal>: Tile (repeat) the image in case it is too small for the screen.
'';
};
combineScreens = mkOption {
type = types.bool;
default = false;
description = ''
When set to <literal>true</literal> the wallpaper will stretch across all screens.
When set to <literal>false</literal> the wallpaper is duplicated to all screens.
'';
};
};
session = mkOption {
internal = true;
default = [];
@ -45,7 +73,7 @@ in
start = d.start
+ optionalString (needBGCond d) ''
if [ -e $HOME/.background-image ]; then
${pkgs.feh}/bin/feh --bg-scale $HOME/.background-image
${pkgs.feh}/bin/feh --bg-${cfg.wallpaper.mode} ${optionalString cfg.wallpaper.combineScreens "--no-xinerama"} $HOME/.background-image
else
# Use a solid black background as fallback
${pkgs.xorg.xsetroot}/bin/xsetroot -solid black

View file

@ -18,7 +18,6 @@ let
])
(assertValueOneOf "Boot" boolValues)
(assertValueOneOf "ProcessTwo" boolValues)
(assertValueOneOf "PrivateUsers" (boolValues ++ [ "pick" ]))
(assertValueOneOf "NotifyReady" boolValues)
];
@ -42,8 +41,7 @@ let
];
instanceOptions = {
options = {
options = sharedOptions // {
execConfig = mkOption {
default = {};
example = { Parameters = "/bin/sh"; };
@ -84,17 +82,19 @@ let
};
instanceToUnit = name: def:
{ text = ''
[Exec]
${attrsToSection def.execConfig}
let base = {
text = ''
[Exec]
${attrsToSection def.execConfig}
[Files]
${attrsToSection def.filesConfig}
[Files]
${attrsToSection def.filesConfig}
[Network]
${attrsToSection def.networkConfig}
'';
};
[Network]
${attrsToSection def.networkConfig}
'';
} // def;
in base // { unit = makeUnit name base; };
in {
@ -110,7 +110,7 @@ in {
config =
let
units = mapAttrs' (n: v: nameValuePair "${n}.nspawn" (instanceToUnit n v)) cfg.instances;
units = mapAttrs' (n: v: nameValuePair "${n}.nspawn" (instanceToUnit n v)) cfg;
in mkIf (cfg != {}) {
environment.etc."systemd/nspawn".source = generateUnits "nspawn" units [] [];

View file

@ -45,7 +45,7 @@ in
after = [ "systemd-udev-settle.service" ];
# TODO(wkennington): Add lvm2 and thin-provisioning-tools
path = with pkgs; [ acl rsync gnutar xz btrfs-progs ];
path = with pkgs; [ acl rsync gnutar xz btrfs-progs gzip dnsmasq squashfsTools iproute iptables ];
serviceConfig.ExecStart = "@${pkgs.lxd.bin}/bin/lxd lxd --syslog --group lxd";
serviceConfig.Type = "simple";

View file

@ -262,6 +262,7 @@ in rec {
tests.keystone = callTest tests/keystone.nix {};
tests.kubernetes = hydraJob (import tests/kubernetes.nix { system = "x86_64-linux"; });
tests.latestKernel.login = callTest tests/login.nix { latestKernel = true; };
tests.ldap = callTest tests/ldap.nix {};
#tests.lightdm = callTest tests/lightdm.nix {};
tests.login = callTest tests/login.nix {};
#tests.logstash = callTest tests/logstash.nix {};

119
nixos/tests/ldap.nix Normal file
View file

@ -0,0 +1,119 @@
import ./make-test.nix ({ pkgs, lib, ...} :
let
dbSuffix = "dc=example,dc=com";
dbPath = "/var/db/openldap";
dbAdminDn = "cn=admin,${dbSuffix}";
dbAdminPwd = "test";
serverUri = "ldap:///";
ldapUser = "test-ldap-user";
ldapUserId = 10000;
ldapUserPwd = "test";
ldapGroup = "test-ldap-group";
ldapGroupId = 10000;
setupLdif = pkgs.writeText "test-ldap.ldif" ''
dn: ${dbSuffix}
dc: ${with lib; let dc = head (splitString "," dbSuffix); dcName = head (tail (splitString "=" dc)); in dcName}
o: ${dbSuffix}
objectclass: top
objectclass: dcObject
objectclass: organization
dn: cn=${ldapUser},${dbSuffix}
sn: ${ldapUser}
objectClass: person
objectClass: posixAccount
uid: ${ldapUser}
uidNumber: ${toString ldapUserId}
gidNumber: ${toString ldapGroupId}
homeDirectory: /home/${ldapUser}
loginShell: /bin/sh
userPassword: ${ldapUserPwd}
dn: cn=${ldapGroup},${dbSuffix}
objectClass: posixGroup
gidNumber: ${toString ldapGroupId}
memberUid: ${ldapUser}
'';
mkClient = useDaemon:
{ config, pkgs, lib, ... }:
{
virtualisation.memorySize = 256;
virtualisation.vlans = [ 1 ];
security.pam.services.su.rootOK = lib.mkForce false;
users.ldap.enable = true;
users.ldap.daemon.enable = useDaemon;
users.ldap.loginPam = true;
users.ldap.nsswitch = true;
users.ldap.server = "ldap://server";
users.ldap.base = "${dbSuffix}";
};
in
{
name = "ldap";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ montag451 ];
};
nodes = {
server =
{ config, pkgs, lib, ... }:
{
virtualisation.memorySize = 256;
virtualisation.vlans = [ 1 ];
networking.firewall.allowedTCPPorts = [ 389 ];
services.openldap.enable = true;
services.openldap.dataDir = dbPath;
services.openldap.urlList = [
serverUri
];
services.openldap.extraConfig = ''
include ${pkgs.openldap.out}/etc/schema/core.schema
include ${pkgs.openldap.out}/etc/schema/cosine.schema
include ${pkgs.openldap.out}/etc/schema/inetorgperson.schema
include ${pkgs.openldap.out}/etc/schema/nis.schema
database mdb
suffix ${dbSuffix}
rootdn ${dbAdminDn}
rootpw ${dbAdminPwd}
directory ${dbPath}
'';
};
client1 = mkClient true; # use nss_pam_ldapd
client2 = mkClient false; # use nss_ldap and pam_ldap
};
testScript = ''
startAll;
$server->waitForUnit("default.target");
$client1->waitForUnit("default.target");
$client2->waitForUnit("default.target");
$server->succeed("ldapadd -D '${dbAdminDn}' -w ${dbAdminPwd} -H ${serverUri} -f '${setupLdif}'");
# NSS tests
subtest "nss", sub {
$client1->succeed("test \"\$(id -u '${ldapUser}')\" -eq ${toString ldapUserId}");
$client1->succeed("test \"\$(id -u -n '${ldapUser}')\" = '${ldapUser}'");
$client1->succeed("test \"\$(id -g '${ldapUser}')\" -eq ${toString ldapGroupId}");
$client1->succeed("test \"\$(id -g -n '${ldapUser}')\" = '${ldapGroup}'");
$client2->succeed("test \"\$(id -u '${ldapUser}')\" -eq ${toString ldapUserId}");
$client2->succeed("test \"\$(id -u -n '${ldapUser}')\" = '${ldapUser}'");
$client2->succeed("test \"\$(id -g '${ldapUser}')\" -eq ${toString ldapGroupId}");
$client2->succeed("test \"\$(id -g -n '${ldapUser}')\" = '${ldapGroup}'");
};
# PAM tests
subtest "pam", sub {
$client1->succeed("echo ${ldapUserPwd} | su -l '${ldapUser}' -c true");
$client2->succeed("echo ${ldapUserPwd} | su -l '${ldapUser}' -c true");
};
'';
})

View file

@ -13,6 +13,21 @@ import ./make-test.nix ({ pkgs, ...} :
services.xserver.desktopManager.plasma5.enable = true;
services.xserver.desktopManager.default = "plasma5";
virtualisation.memorySize = 1024;
# fontconfig-penultimate-0.3.3 -> 0.3.4 broke OCR apparently, but no idea why.
nixpkgs.config.packageOverrides = superPkgs: {
fontconfig-penultimate = superPkgs.fontconfig-penultimate.overrideAttrs
(_attrs: rec {
version = "0.3.3";
name = "fontconfig-penultimate-${version}";
src = pkgs.fetchFromGitHub {
owner = "ttuegel";
repo = "fontconfig-penultimate";
rev = version;
sha256 = "0392lw31jps652dcjazln77ihb6bl7gk201gb7wb9i223avp86w9";
};
});
};
};
enableOCR = true;

View file

@ -15,6 +15,8 @@ buildRustPackage rec {
depsSha256 = "1n4rxipna307r4xppb2iaads7kpa3yjv99fimvpn8l0f999ir2rz";
cargoBuildFlags = ["--features cli"];
meta = {
description = "Ethereum function call encoding (ABI) utility";
homepage = https://github.com/ethcore/ethabi/;

View file

@ -9,7 +9,7 @@ in stdenv.mkDerivation rec {
sha256 = "0qp2nnz6pnl1d7yv9hcjyim7q6yax5881k1jxm8jfgjqagmz5k6p";
};
buildInputs = [ SDL2 pkgconfig flac libsndfile ];
makeFlags = [ "NO_LTDL=1 TEST=0 EXAMPLES=0" ]
makeFlags = [ "NO_PULSEAUDIO=1 NO_LTDL=1 TEST=0 EXAMPLES=0" ]
++ stdenv.lib.optional (stdenv.isDarwin) "SHARED_SONAME=0";
installFlags = "PREFIX=\${out}";

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "atom-${version}";
version = "1.17.0";
version = "1.17.2";
src = fetchurl {
url = "https://github.com/atom/atom/releases/download/v${version}/atom-amd64.deb";
sha256 = "10m1sww8zkhnhs3frlnd6g3b6f4fimgp0512wcszgqhvlhjbf9ln";
sha256 = "05lf9f5c9l111prx7d76cr5h8h340vm7vb8hra5rdrqhjpdvwhhn";
name = "${name}.deb";
};

View file

@ -1100,10 +1100,10 @@
}) {};
load-relative = callPackage ({ elpaBuild, fetchurl, lib }: elpaBuild {
pname = "load-relative";
version = "1.2";
version = "1.3";
src = fetchurl {
url = "https://elpa.gnu.org/packages/load-relative-1.2.el";
sha256 = "0vmfal05hznb10k2y3j9mychi9ra4hxcm6qf7j1r8aw9j7af6riw";
url = "https://elpa.gnu.org/packages/load-relative-1.3.el";
sha256 = "1hfxb2436jdsi9wfmsv47lkkpa5galjf5q81bqabbsv79rv59dps";
};
packageRequires = [];
meta = {
@ -1404,10 +1404,10 @@
}) {};
org = callPackage ({ elpaBuild, fetchurl, lib }: elpaBuild {
pname = "org";
version = "20170502";
version = "20170515";
src = fetchurl {
url = "https://elpa.gnu.org/packages/org-20170502.tar";
sha256 = "12inz804j55ycprb2m3ay54d1bhwhjssmn5nrfm7cfklyhfsy27s";
url = "https://elpa.gnu.org/packages/org-20170515.tar";
sha256 = "0lfapcxil69x1a63cszgq72lqks1z3gpyxw7vcllqlgi7n7a4y6f";
};
packageRequires = [];
meta = {
@ -1431,10 +1431,10 @@
other-frame-window = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "other-frame-window";
version = "1.0.2";
version = "1.0.3";
src = fetchurl {
url = "https://elpa.gnu.org/packages/other-frame-window-1.0.2.el";
sha256 = "0gr4vn7ld4fx372091wxnzm1rhq6rc4ycim4fwz5bxnpykz83l7d";
url = "https://elpa.gnu.org/packages/other-frame-window-1.0.3.el";
sha256 = "0vq1zfsdnxdjvmb7lkjyax27kfv0rw0141rd5fjnl6ap9yjwpxkv";
};
packageRequires = [ emacs ];
meta = {
@ -1850,10 +1850,10 @@
test-simple = callPackage ({ cl-lib ? null, elpaBuild, fetchurl, lib }:
elpaBuild {
pname = "test-simple";
version = "1.2.0";
version = "1.3.0";
src = fetchurl {
url = "https://elpa.gnu.org/packages/test-simple-1.2.0.el";
sha256 = "1j97qrwi3i2kihszsxf3y2cby2bzp8g0zf6jlpdix3dinav8xa3b";
url = "https://elpa.gnu.org/packages/test-simple-1.3.0.el";
sha256 = "1yd61jc9ds95a5n09052kwc5gasy57g4lxr0jsff040brlyi9czz";
};
packageRequires = [ cl-lib ];
meta = {
@ -1981,6 +1981,19 @@
license = lib.licenses.free;
};
}) {};
vdiff = callPackage ({ elpaBuild, emacs, fetchurl, hydra, lib }: elpaBuild {
pname = "vdiff";
version = "0.2.3";
src = fetchurl {
url = "https://elpa.gnu.org/packages/vdiff-0.2.3.el";
sha256 = "197wszzhm2kbfvvlg3f0dzfs3lf4536yq5fd67k2rycj421fr9qz";
};
packageRequires = [ emacs hydra ];
meta = {
homepage = "https://elpa.gnu.org/packages/vdiff.html";
license = lib.licenses.free;
};
}) {};
vlf = callPackage ({ elpaBuild, fetchurl, lib }: elpaBuild {
pname = "vlf";
version = "1.7";

File diff suppressed because it is too large Load diff

View file

@ -1,10 +1,10 @@
{ callPackage }: {
org = callPackage ({ elpaBuild, fetchurl, lib }: elpaBuild {
pname = "org";
version = "20170502";
version = "20170515";
src = fetchurl {
url = "http://orgmode.org/elpa/org-20170502.tar";
sha256 = "1y5rdf6740z45v75y17yh3a1ivdk5fjrax3hyr11jydyicczk4h1";
url = "http://orgmode.org/elpa/org-20170515.tar";
sha256 = "04kpi7q1q4r9w4km941cy70q3k9azspw1wdr71if4f8am6frj3d4";
};
packageRequires = [];
meta = {
@ -14,10 +14,10 @@
}) {};
org-plus-contrib = callPackage ({ elpaBuild, fetchurl, lib }: elpaBuild {
pname = "org-plus-contrib";
version = "20170502";
version = "20170515";
src = fetchurl {
url = "http://orgmode.org/elpa/org-plus-contrib-20170502.tar";
sha256 = "06pr3w11zpns66km27ql3w8qlk6bxaxqx3bmaiwrxykhbf74dib0";
url = "http://orgmode.org/elpa/org-plus-contrib-20170515.tar";
sha256 = "0jdcxir8wvmdxi0rxnljbhy31yh83n4p0l8jp85fxf5sx0kcc32p";
};
packageRequires = [];
meta = {

View file

@ -0,0 +1,16 @@
diff -r c7d8bfff4c0a bin/proofgeneral
--- a/bin/proofgeneral Sat Sep 27 02:25:15 2014 +0100
+++ b/bin/proofgeneral Sat Sep 27 02:28:16 2014 +0100
@@ -73,11 +73,7 @@
# Try to find Proof General directory
if [ -z "$PGHOME" ] || [ ! -d "$PGHOME" ]; then
- # default relative to this script, otherwise PGHOMEDEFAULT
- MYDIR="`readlink --canonicalize "$0" | sed -ne 's,/bin/proofgeneral$,,p'`"
- if [ -d "$MYDIR/generic" ]; then
- PGHOME="$MYDIR"
- elif [ -d "$PGHOMEDEFAULT" ]; then
+ if [ -d "$PGHOMEDEFAULT" ]; then
PGHOME="$PGHOMEDEFAULT"
else
echo "Cannot find the Proof General lisp files: Set PGHOME or use --pghome."

View file

@ -305,24 +305,24 @@ in
pycharm-community = buildPycharm rec {
name = "pycharm-community-${version}";
version = "2017.1.2";
version = "2017.1.3";
description = "PyCharm Community Edition";
license = stdenv.lib.licenses.asl20;
src = fetchurl {
url = "https://download.jetbrains.com/python/${name}.tar.gz";
sha256 = "03c352lj6vnc7cs5ch8p12i4f95qadnibzbrxmxv5xqglpdrp7g9";
sha256 = "06sai589zli5xaggfk4g0j0grbw9mya9qlwabmxh9414qq3bzvbd";
};
wmClass = "jetbrains-pycharm-ce";
};
pycharm-professional = buildPycharm rec {
name = "pycharm-professional-${version}";
version = "2017.1.2";
version = "2017.1.3";
description = "PyCharm Professional Edition";
license = stdenv.lib.licenses.unfree;
src = fetchurl {
url = "https://download.jetbrains.com/python/${name}.tar.gz";
sha256 = "0jrrlrkwi6f70nqrrz2vv1wdjpwjbh2in1g658dsbr9gpmkdmy0q";
sha256 = "1wzgh83504px7q93h9xkarih2qjchiavgysy4di82q7377s6xd0c";
};
wmClass = "jetbrains-pycharm";
};

View file

@ -12,8 +12,8 @@ let
else throw "ImageMagick is not supported on this platform.";
cfg = {
version = "7.0.4-6";
sha256 = "1nm0hjijwhcp6rzcn7zksp2820dxvj4lmblj7kzpzd3s1ds09q0y";
version = "7.0.5-7";
sha256 = "11k53193az0bvdhp4gz2g9p8fb6r5fr1h74dnfx6ijfnfj80hbgp";
patches = [];
};
in

View file

@ -12,8 +12,8 @@ let
else throw "ImageMagick is not supported on this platform.";
cfg = {
version = "6.9.7-6";
sha256 = "17pc3xz8srb9g5a5gkk6q9sjiss77fgm0wxxfmb5qya4rqivjpzn";
version = "6.9.8-6";
sha256 = "1sxg2wx3nrzbymh5wcqiv1x401nrz95xkrqgk3x446vx8lq7ln6w";
patches = [];
}
# Freeze version on mingw so we don't need to port the patch too often.

View file

@ -29,6 +29,17 @@ stdenv.mkDerivation rec {
postInstall = ''
mkdir -p $out/share/icons
mv $out/share/simple-scan/icons/* $out/share/icons/
(
cd ${gnome3.defaultIconTheme}/share/icons/Adwaita
for f in `find . | grep 'scanner\.'`
do
local outFile="`echo "$out/share/icons/hicolor/$f" | sed \
-e 's#/devices/#/apps/#g' \
-e 's#scanner\.#simple-scan\.#g'`"
mkdir -p "`realpath -m "$outFile/.."`"
cp "$f" "$outFile"
done
)
'';
enableParallelBuilding = true;

View file

@ -3,26 +3,26 @@
, libX11, libXcursor, libXrandr, libXinerama, libXext, harfbuzz, mesa }:
stdenv.mkDerivation rec {
version = "1.10a";
version = "1.11";
name = "mupdf-${version}";
src = fetchurl {
url = "http://mupdf.com/downloads/archive/${name}-source.tar.gz";
sha256 = "0dm8wcs8i29aibzkqkrn8kcnk4q0kd1v66pg48h5c3qqp4v1zk5a";
sha256 = "02phamcchgsmvjnb3ir7r5sssvx9fcrscn297z73b82n1jl79510";
};
patches = [
# Compatibility with new openjpeg
(fetchpatch {
name = "mupdf-1.9a-openjpeg-2.1.1.patch";
url = "https://git.archlinux.org/svntogit/community.git/plain/mupdf/trunk/0001-mupdf-openjpeg.patch?id=5a28ad0a8999a9234aa7848096041992cc988099";
sha256 = "1i24qr4xagyapx4bijjfksj4g3bxz8vs5c2mn61nkm29c63knp75";
name = "mupdf-1.11-openjpeg-2.1.1.patch";
url = "https://git.archlinux.org/svntogit/community.git/plain/trunk/0001-mupdf-openjpeg.patch?h=packages/mupdf&id=3d997e7ff2ac20c44856ede22760ba6fbca81a5c";
sha256 = "1vr12kpzmmfr8pp3scwfhrm5laqwd58xm6vx971c4y8bxy60b2ig";
})
(fetchurl {
name = "CVE-2017-5896.patch";
url = "http://git.ghostscript.com/?p=mupdf.git;a=patch;h=2c4e5867ee699b1081527bc6c6ea0e99a35a5c27";
sha256 = "14k7x47ifx82sds1c06ibzbmcparfg80719jhgwjk6w1vkh4r693";
name = "mupdf-1.11-CVE-2017-6060.patch";
url = "http://git.ghostscript.com/?p=mupdf.git;a=blobdiff_plain;f=platform/x11/jstest_main.c;h=f158d9628ed0c0a84e37fe128277679e8334422a;hp=13c3a0a3ba3ff4aae29f6882d23740833c1d842f;hb=06a012a42c9884e3cd653e7826cff1ddec04eb6e;hpb=34e18d127a02146e3415b33c4b67389ce1ddb614";
sha256 = "163bllvjrbm0gvjb25lv7b6sih4zr4g4lap3h0cbq8dvpjxx0jfc";
})
];
@ -75,7 +75,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
homepage = http://mupdf.com;
repositories.git = git://git.ghostscript.com/mupdf.git;
description = "Lightweight PDF viewer and toolkit written in portable C";
description = "Lightweight PDF, XPS, and E-book viewer and toolkit written in portable C";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ viric vrthra fpletz ];
platforms = platforms.linux;

View file

@ -20,13 +20,13 @@
let
unwrapped = let
pname = "yakuake";
version = "3.0.2";
version = "3.0.3";
in kdeDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "http://download.kde.org/stable/${pname}/${version}/src/${name}.tar.xz";
sha256 = "0vcdji1k8d3pz7k6lkw8ighkj94zff2l2cf9v1avf83f4hjyfhg5";
sha256 = "ef51aa3325916d352fde17870cf706397e41105103e4c9289cc4032a1b8609a7";
};
buildInputs = [

View file

@ -34,6 +34,10 @@ stdenv.mkDerivation {
tar -xvzf $src
cp ${arch}/helm $out/bin/${pname}
chmod +x $out/bin/${pname}
mkdir -p $out/share/bash-completion/completions
mkdir -p $out/share/zsh/site-functions
$out/bin/helm completion bash > $out/share/bash-completion/completions/helm
$out/bin/helm completion zsh > $out/share/zsh/site-functions/_helm
'';
meta = with stdenv.lib; {

View file

@ -10,7 +10,7 @@ buildGoPackage rec {
rev = version;
owner = "kubernetes";
repo = "kops";
sha256 = "0varn38v2vybmahzpgbk73ma368bkdz09wmx2mmqikfppmzszkv3";
sha256 = "1z890kjgsdnghg71v4sp7lljvw14dhzr23m2qjmk6wndyssscykr";
};
buildInputs = [go-bindata];

View file

@ -2,15 +2,15 @@
buildGoPackage rec {
name = "ipfs-${version}";
version = "0.4.6";
rev = "ed729423ce548785834cdcaa21aab11ebc3a1b1a";
version = "0.4.9";
rev = "7ea34c6c6ed18e886f869a1fbe725a848d13695c";
goPackagePath = "github.com/ipfs/go-ipfs";
extraSrcPaths = [
(fetchgx {
inherit name src;
sha256 = "1wwzbps3ry3vlrr0iqhvxd44x0wi99dcp5hlxvh79dc0g9r7myfk";
sha256 = "1xgk9gdnlcxkrpj98h2mrnlpr9b8084k4q926i4pbmxipwxkwl4b";
})
];
@ -18,7 +18,7 @@ buildGoPackage rec {
owner = "ipfs";
repo = "go-ipfs";
inherit rev;
sha256 = "1b262k1lhb1g68l8hghly4pdrxx1c6wbv6ij6dg399zdwqzczl13";
sha256 = "1n2m2yah54cx4i9nlcsmljrwqi3wqxih517y8jpyjij6wraa334j";
};
meta = with stdenv.lib; {

View file

@ -10,9 +10,12 @@ stdenv.mkDerivation {
inherit name;
src = fetchurl {
url = http://gforge.inria.fr/frs/download.php/file/32159/ecm-6.4.4.tar.gz;
sha256 = "0v5h2nicz9yx78c2d72plbhi30iq4nxbvphja1s9501db4aah4y8";
};
url = http://gforge.inria.fr/frs/download.php/file/32159/ecm-6.4.4.tar.gz;
sha256 = "0v5h2nicz9yx78c2d72plbhi30iq4nxbvphja1s9501db4aah4y8";
};
# See https://trac.sagemath.org/ticket/19233
configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-asm-redc";
buildInputs = [ m4 gmp ];
@ -23,6 +26,6 @@ stdenv.mkDerivation {
license = stdenv.lib.licenses.gpl2Plus;
homepage = http://ecm.gforge.inria.fr/;
maintainers = [ stdenv.lib.maintainers.roconnor ];
platforms = stdenv.lib.platforms.linux;
platforms = with stdenv.lib.platforms; linux ++ darwin;
};
}

View file

@ -1,29 +1,30 @@
{stdenv, fetchurl, zlib, gmp, ecm }:
stdenv.mkDerivation {
name = "msieve-1.48";
name = "msieve-1.53";
src = fetchurl {
url = mirror://sourceforge/msieve/msieve/Msieve%20v1.48/msieve148.tar.gz;
sha256 = "05cm23mpfsbwssqda243sbi8m31j783qx89x9gl7sy8a4dnv7h63";
};
url = mirror://sourceforge/msieve/msieve/Msieve%20v1.53/msieve153_src.tar.gz;
sha256 = "1d1vv7j4rh3nnxsmvafi73qy7lw7n3akjlm5pjl3m936yapvmz65";
};
buildInputs = [ zlib gmp ecm ];
ECM = if ecm == null then "0" else "1";
buildFlags = if stdenv.system == "x86_64-linux" then "x86_64"
else if stdenv.system == "i686-linux" then "x86"
else "generic";
# Doesn't hurt Linux but lets clang-based platforms like Darwin work fine too
makeFlags = "CC=cc all";
installPhase = ''mkdir -p $out/bin/
cp msieve $out/bin/'';
installPhase = ''
mkdir -p $out/bin/
cp msieve $out/bin/
'';
meta = {
description = "A C library implementing a suite of algorithms to factor large integers";
license = stdenv.lib.licenses.publicDomain;
homepage = http://msieve.sourceforge.net/;
maintainers = [ stdenv.lib.maintainers.roconnor ];
platforms = [ "x86_64-linux" ];
platforms = [ "x86_64-linux" ] ++ stdenv.lib.platforms.darwin;
};
}

View file

@ -1,24 +1,41 @@
{ stdenv, fetchurl, python }:
{ stdenv, fetchFromGitHub, makeWrapper
, python, git, gnupg1compat, less }:
stdenv.mkDerivation {
name = "git-repo-1.23";
src = fetchurl {
# I could not find a versioned url for the 1.21 version. In case
# the sha mismatches, check the homepage for new version and sha.
url = "http://commondatastorage.googleapis.com/git-repo-downloads/repo";
sha256 = "1i8xymxh630a7d5nkqi49nmlwk77dqn36vsygpyhri464qwz0iz1";
stdenv.mkDerivation rec {
name = "git-repo-${version}";
version = "1.12.37";
src = fetchFromGitHub {
owner = "android";
repo = "tools_repo";
rev = "v${version}";
sha256 = "0qp7jqhblv7xblfgpcq4n18dyjdv8shz7r60c3vnjxx2fngkj2jd";
};
unpackPhase = "true";
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ python git gnupg1compat less ];
installPhase = ''
mkdir -p $out/bin
sed -e 's,!/usr/bin/env python,!${python}/bin/python,' < $src > $out/bin/repo
chmod +x $out/bin/repo
cp $src/repo $out/bin/repo
'';
meta = {
homepage = "http://source.android.com/source/downloading.html";
postFixup = ''
wrapProgram $out/bin/repo --prefix PATH ":" \
"${stdenv.lib.makeBinPath [ git gnupg1compat less ]}"
'';
meta = with stdenv.lib; {
description = "Android's repo management tool";
platforms = stdenv.lib.platforms.unix;
longDescription = ''
Repo is a Python script based on Git that helps manage many Git
repositories, does the uploads to revision control systems, and automates
parts of the development workflow. Repo is not meant to replace Git, only
to make it easier to work with Git.
'';
homepage = "https://android.googlesource.com/tools/repo";
license = licenses.asl20;
maintainers = [ maintainers.primeos ];
platforms = platforms.unix;
};
}

View file

@ -54,11 +54,11 @@ let
};
in stdenv.mkDerivation rec {
name = "kodi-${version}";
version = "17.2";
version = "17.3";
src = fetchurl {
url = "https://github.com/xbmc/xbmc/archive/${version}-${rel}.tar.gz";
sha256 = "1zmgw65dbdpv72xfimrh02m8sdg4cb9i3hbmqzgs8x00b9n27ndf";
sha256 = "189isc1jagrnq549vwpvb0x1w6p0mkjwv7phm8dzvki96wx6bs0x";
};
buildInputs = [

View file

@ -112,11 +112,11 @@ in
plugin = "exodus";
namespace = "plugin.video.exodus";
version = "3.0.5";
version = "3.1.13";
src = fetchurl {
url = "https://offshoregit.com/${plugin}/${namespace}/${namespace}-${version}.zip";
sha256 = "0di34sp6y3v72l6gfhj7cvs1vljs9vf0d0x2giix3jk433cj01j0";
sha256 = "1zyay7cinljxmpzngzlrr4pnk2a7z9wwfdcsk6a4p416iglyggdj";
};
meta = with stdenv.lib; {
@ -160,14 +160,14 @@ in
plugin = "svtplay";
namespace = "plugin.video.svtplay";
version = "4.0.42";
version = "4.0.48";
src = fetchFromGitHub {
name = plugin + "-" + version + ".tar.gz";
owner = "nilzen";
repo = "xbmc-" + plugin;
rev = "83cb52b949930a1b6d2e51a7a0faf9bd69c7fb7d";
sha256 = "0ync2ya4lwmfn6ngg8v0z6bng45whwg280irsn4bam5ca88383iy";
rev = "dc18ad002cd69257611d0032fba91f57bb199165";
sha256 = "0klk1jpjc243ak306k94mag4b4s17w68v69yb8lzzydszqkaqa7x";
};
meta = with stdenv.lib; {

View file

@ -20,11 +20,11 @@ assert (!withQt5 -> qt4 != null);
stdenv.mkDerivation rec {
name = "vlc-${version}";
version = "2.2.5.1";
version = "2.2.6";
src = fetchurl {
url = "http://get.videolan.org/vlc/${version}/${name}.tar.xz";
sha256 = "1k51vm6piqlrnld7sxyg0s4kdkd3lan97lmy3v5wdh3qyll8m2xj";
sha256 = "1a22b913p2227ljz89c4fgjlyln5gcz8z58w32r0wh4srnnd60y4";
};
# Comment-out the Qt 5.5 version check, as we do apply the relevant patch.

View file

@ -12,7 +12,7 @@ let
stage1Dir = "lib/rkt/stage1-images";
in stdenv.mkDerivation rec {
version = "1.25.0";
version = "1.26.0";
name = "rkt-${version}";
BUILDDIR="build-${name}";
@ -20,7 +20,7 @@ in stdenv.mkDerivation rec {
owner = "coreos";
repo = "rkt";
rev = "v${version}";
sha256 = "0lcnhyaxq8z0ndwqg0svcc1gg0ahhcprxlf9gifm4mpxqimhaz8j";
sha256 = "16zwrx5v6pjjw1c6nbl19cchq71fj0bp5ci52rrfvl5mbn8xrs70";
};
stage1BaseImage = fetchurl {

View file

@ -14,7 +14,7 @@ stdenv.mkDerivation {
phases = [ "unpackPhase" "buildPhase" "installPhase" ];
SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
NIX_SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
buildPhase = ''
export GOPATH=$(pwd)/vendor

View file

@ -47,6 +47,7 @@ static void init()
static const char * rewrite(const char * path, char * buf)
{
if (path == NULL) return path;
for (int n = 0; n < nrRedirects; ++n) {
int len = strlen(from[n]);
if (strncmp(path, from[n], len) != 0) continue;

View file

@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Droid Family fonts by Google Android";
homepage = [ https://github.com/google/fonts ];
homepage = "https://github.com/google/fonts";
license = stdenv.lib.licenses.asl20;
platforms = stdenv.lib.platforms.all;
maintainers = [];

View file

@ -8,26 +8,26 @@ let
in
stdenv.mkDerivation rec {
name = "geolite-legacy-${version}";
version = "2016-07-08";
version = "2017-05-26";
srcGeoIP = fetchDB
"GeoLiteCountry/GeoIP.dat.gz" "GeoIP.dat.gz"
"03rp862snj4pxpz272az2mjp0vdw9a6rzbzcml9bzwvsi1ap5sl7";
"04akk0jczvki8rdvz6z6v5s26ds0m27953lzvp3v0fsg7rl08q5n";
srcGeoIPv6 = fetchDB
"GeoIPv6.dat.gz" "GeoIPv6.dat.gz"
"1s5y6r4ji1ljsl1d3w9mcqppxy2kvxjk5aq5lldbj616rbcp2v72";
"0i0885vvj0s5sysyafvk8pc8gr3znh7gmiy8rp4iiai7qnbylb7y";
srcGeoLiteCity = fetchDB
"GeoLiteCity.dat.xz" "GeoIPCity.dat.xz"
"07dp3wf5b6g62y6zgm9f1zfc7gn2wnss7fjdips879373kj3lgbr";
"0bgf4kfg4mmqvgmrff27lbiglnnb3pnd7f3i4fxzl68c33bizmbm";
srcGeoLiteCityv6 = fetchDB
"GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz" "GeoIPCityv6.dat.gz"
"1y7c8f84x99dbrqij124bylddc7bmcld1xp4h3qxvmmp8ch5hcxz";
"06slyw2644y2z5bgn4yl79aa4smf94mdcddybldh1glc3ay3p4iz";
srcGeoIPASNum = fetchDB
"asnum/GeoIPASNum.dat.gz" "GeoIPASNum.dat.gz"
"168z6j6adrn80sl3ip41fa0jfv2p26lfa8qil6w17sqhg8f61rnp";
"1gpvsqvq9z9pg9zfn86i50fb481llfyn79r1jwddwfflp1qqfrrv";
srcGeoIPASNumv6 = fetchDB
"asnum/GeoIPASNumv6.dat.gz" "GeoIPASNumv6.dat.gz"
"0q0vgjgxixcq5qnl5d6hxg3bpsbylmmjkhdp308vbbd68q6fws22";
"0nmhz82dn9clm5w2y6z861ifj7i761spy1p1zcam93046cdpqqaa";
meta = with stdenv.lib; {
description = "GeoLite Legacy IP geolocation databases";

View file

@ -8,11 +8,11 @@
stdenv.mkDerivation rec {
name = "efl-${version}";
version = "1.19.0";
version = "1.19.1";
src = fetchurl {
url = "http://download.enlightenment.org/rel/libs/efl/${name}.tar.xz";
sha256 = "1pza8lacqh3bgsvcm4h2hyc577bvnzix932g87dhg03ph4839q54";
sha256 = "0fndwraca9rg0bz3al4isdprvyw56szr88qiyvglb4j8ygsylscc";
};
nativeBuildInputs = [ pkgconfig ];

View file

@ -4,11 +4,11 @@ mesa_glu , xkeyboard_config }:
stdenv.mkDerivation rec {
name = "enlightenment-${version}";
version = "0.21.7";
version = "0.21.8";
src = fetchurl {
url = "http://download.enlightenment.org/rel/apps/enlightenment/${name}.tar.xz";
sha256 = "1xvngjdsa0p901vfhrh2qpa50k32hwwhc8bgi16a9b5d9byzfhvn";
sha256 = "0cjjiip12hd8bfjl9ccl3vzl81pxh1wpymxk2yvrzf6ap5girhps";
};
nativeBuildInputs = [ pkgconfig ];

View file

@ -45,7 +45,7 @@ let
hitori gnome-taquin
];
inherit (pkgs) glib gtk2 webkitgtk214x gtk3 gtkmm3 libcanberra_gtk2
inherit (pkgs) glib gtk2 webkitgtk216x gtk3 gtkmm3 libcanberra_gtk2
clutter clutter-gst clutter_gtk cogl gtkvnc;
inherit (pkgs.gnome2) ORBit2;
libsoup = pkgs.libsoup.override { gnomeSupport = true; };
@ -56,7 +56,7 @@ let
gtkmm = gtkmm3;
vala = pkgs.vala_0_32;
gegl_0_3 = pkgs.gegl_0_3.override { inherit gtk; };
webkitgtk = webkitgtk214x;
webkitgtk = webkitgtk216x;
# Simplify the nixos module and gnome packages
defaultIconTheme = adwaita-icon-theme;

View file

@ -25,13 +25,13 @@ in
stdenv.mkDerivation rec {
name = "go-${version}";
version = "1.8.2";
version = "1.8.3";
src = fetchFromGitHub {
owner = "golang";
repo = "go";
rev = "go${version}";
sha256 = "0haazh0sk1zys1gbmbi128rmcyrd6f32amp6a872jqhadjlvj9qv";
sha256 = "0g83xm9gb872rsqzwqr1zw5szq69xhynljj2nglg4yyfi7dm2r1c";
};
# perl is used for testing go vet

View file

@ -5,19 +5,22 @@ let jsoncpp = fetchzip {
sha256 = "0jz93zv17ir7lbxb3dv8ph2n916rajs8i96immwx9vb45pqid3n0";
}; in
let commit = "68ef5810593e7c8092ed41d5f474dd43141624eb"; in
stdenv.mkDerivation rec {
version = "0.4.8";
version = "0.4.11";
name = "solc-${version}";
# Cannot use `fetchFromGitHub' because of submodules
src = fetchgit {
url = "https://github.com/ethereum/solidity";
rev = "60cc1668517f56ce6ca8225555472e7a27eab8b0";
sha256 = "09mwah7c5ca1bgnqp5qgghsi6mbsi7p16z8yxm0aylsn2cjk23na";
rev = commit;
sha256 = "13zycybf23yvf3hkf9zgw9gbc1y4ifzxaf7sll69bsn24fcyq961";
};
patchPhase = ''
echo >commit_hash.txt 2dabbdf06f414750ef0425c664f861aeb3e470b8
echo >commit_hash.txt ${commit}
echo >prerelease.txt
substituteInPlace deps/jsoncpp.cmake \
--replace https://github.com/open-source-parsers/jsoncpp/archive/1.7.7.tar.gz ${jsoncpp}
substituteInPlace cmake/EthCompilerSettings.cmake \

View file

@ -332,7 +332,6 @@ self: super: {
language-slice = dontCheck super.language-slice;
ldap-client = dontCheck super.ldap-client;
lensref = dontCheck super.lensref;
liquidhaskell = dontCheck super.liquidhaskell;
lucid = dontCheck super.lucid; #https://github.com/chrisdone/lucid/issues/25
lvmrun = disableHardening (dontCheck super.lvmrun) ["format"];
memcache = dontCheck super.memcache;
@ -707,9 +706,9 @@ self: super: {
servant-server = dontCheck super.servant-server;
# Fix build for latest versions of servant and servant-client.
servant-client_0_10 = super.servant-client_0_10.overrideScope (self: super: {
servant-server = self.servant-server_0_10;
servant = self.servant_0_10;
servant-client_0_11 = super.servant-client_0_11.overrideScope (self: super: {
servant-server = self.servant-server_0_11;
servant = self.servant_0_11;
});
# build servant docs from the repository
@ -858,4 +857,8 @@ self: super: {
# https://github.com/danidiaz/tailfile-hinotify/issues/2
tailfile-hinotify = dontCheck super.tailfile-hinotify;
# build liquidhaskell with the proper (old) aeson version
liquidhaskell = super.liquidhaskell.override { aeson = self.aeson_0_11_3_0; };
}

View file

@ -37,7 +37,7 @@ core-packages:
- ghcjs-base-0
default-package-overrides:
# LTS Haskell 8.14
# LTS Haskell 8.15
- abstract-deque ==0.3
- abstract-par ==0.3.3
- AC-Vector ==2.3.2
@ -46,7 +46,7 @@ default-package-overrides:
- ace ==0.6
- acid-state ==0.14.2
- action-permutations ==0.0.0.1
- active ==0.2.0.12
- active ==0.2.0.13
- ad ==4.3.3
- adjunctions ==4.3
- adler32 ==0.1.1.0
@ -308,7 +308,7 @@ default-package-overrides:
- c2hs ==0.28.1
- Cabal ==1.24.2.0
- cabal-dependency-licenses ==0.2.0.0
- cabal-doctest ==1.0.1
- cabal-doctest ==1.0.2
- cabal-file-th ==0.2.4
- cabal-helper ==0.7.3.0
- cabal-rpm ==0.11.1
@ -406,7 +406,7 @@ default-package-overrides:
- conduit ==1.2.10
- conduit-combinators ==1.1.1
- conduit-connection ==0.1.0.3
- conduit-extra ==1.1.15
- conduit-extra ==1.1.16
- conduit-iconv ==0.1.1.1
- conduit-parse ==0.1.2.0
- ConfigFile ==1.1.4
@ -697,7 +697,7 @@ default-package-overrides:
- fold-debounce ==0.2.0.5
- fold-debounce-conduit ==0.1.0.5
- foldl ==1.2.5
- foldl-statistics ==0.1.4.2
- foldl-statistics ==0.1.4.3
- folds ==0.7.3
- FontyFruity ==0.5.3.2
- force-layout ==0.4.0.6
@ -1045,7 +1045,7 @@ default-package-overrides:
- hpio ==0.8.0.7
- hpp ==0.4.0
- hpqtypes ==1.5.1.1
- hquantlib ==0.0.3.3
- hquantlib ==0.0.4.0
- hreader ==1.1.0
- hruby ==0.3.4.3
- hs-bibutils ==5.5
@ -1100,7 +1100,7 @@ default-package-overrides:
- html-conduit ==1.2.1.1
- html-email-validate ==0.2.0.0
- htoml ==1.0.0.3
- HTTP ==4000.3.6
- HTTP ==4000.3.7
- http-api-data ==0.3.7.1
- http-client ==0.5.6.1
- http-client-openssl ==0.2.0.5
@ -1558,7 +1558,7 @@ default-package-overrides:
- parsers ==0.12.4
- partial-handler ==1.0.2
- partial-isomorphisms ==0.2.2.1
- patat ==0.5.1.2
- patat ==0.5.2.0
- path ==0.5.13
- path-extra ==0.0.3
- path-io ==1.2.2
@ -1578,7 +1578,7 @@ default-package-overrides:
- persistable-record ==0.4.1.1
- persistable-types-HDBC-pg ==0.0.1.4
- persistent ==2.6.1
- persistent-mysql ==2.6.0.1
- persistent-mysql ==2.6.0.2
- persistent-postgresql ==2.6.1
- persistent-redis ==2.5.2
- persistent-refs ==0.4
@ -1649,7 +1649,7 @@ default-package-overrides:
- present ==4.1.0
- pretty-class ==1.0.1.1
- pretty-hex ==1.0
- pretty-show ==1.6.12
- pretty-show ==1.6.13
- pretty-simple ==2.0.0.0
- pretty-types ==0.2.3.1
- prettyclass ==1.0.0.0
@ -1747,7 +1747,7 @@ default-package-overrides:
- reform-happstack ==0.2.5.1
- reform-hsp ==0.2.7.1
- RefSerialize ==0.4.0
- regex ==0.5.0.0
- regex ==1.0.0.0
- regex-applicative ==0.3.3
- regex-applicative-text ==0.1.0.1
- regex-base ==0.93.2
@ -2240,7 +2240,7 @@ default-package-overrides:
- vector-th-unbox ==0.2.1.6
- vectortiles ==1.2.0.4
- verbosity ==0.2.3.0
- versions ==3.0.0
- versions ==3.0.1.1
- vhd ==0.2.2
- ViennaRNAParser ==1.3.2
- viewprof ==0.0.0.1
@ -2362,7 +2362,7 @@ default-package-overrides:
- xml-to-json-fast ==2.0.0
- xml-types ==0.3.6
- xmlgen ==0.6.2.1
- xmlhtml ==0.2.3.5
- xmlhtml ==0.2.4
- xmonad ==0.13
- xmonad-contrib ==0.13
- xss-sanitize ==0.3.5.7
@ -2424,8 +2424,8 @@ default-package-overrides:
- ztail ==1.2
extra-packages:
- aeson < 0.8 # newer versions don't work with GHC 6.12.3
- aeson < 1.1 # required by stack
- aeson < 0.8 # newer versions don't work with GHC 7.6.x or earlier
- aeson < 1 # required by liquidhaskell-0.8.0.0
- aeson-pretty < 0.8 # required by elm compiler
- binary > 0.7 && < 0.8 # keep a 7.x major release around for older compilers
- binary > 0.8 && < 0.9 # keep a 8.x major release around for older compilers
@ -2473,6 +2473,7 @@ package-maintainers:
- hsyslog
- jailbreak-cabal
- language-nix
- logging-facade-syslog
- pandoc
- stack
- streamproc
@ -2715,6 +2716,7 @@ dont-distribute-packages:
amazonka-elbv2: [ i686-linux, x86_64-linux, x86_64-darwin ]
amazonka-health: [ i686-linux, x86_64-linux, x86_64-darwin ]
amazonka-kinesis-analytics: [ i686-linux, x86_64-linux, x86_64-darwin ]
amazonka-lambda: [ i686-linux, x86_64-linux, x86_64-darwin ]
amazonka-lightsail: [ i686-linux, x86_64-linux, x86_64-darwin ]
amazonka-opsworks-cm: [ i686-linux, x86_64-linux, x86_64-darwin ]
amazonka-pinpoint: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -2901,6 +2903,7 @@ dont-distribute-packages:
backward-state: [ i686-linux, x86_64-linux, x86_64-darwin ]
Baggins: [ i686-linux, x86_64-linux, x86_64-darwin ]
bag: [ i686-linux, x86_64-linux, x86_64-darwin ]
ballast: [ i686-linux, x86_64-linux, x86_64-darwin ]
bamboo: [ i686-linux, x86_64-linux, x86_64-darwin ]
bamboo-launcher: [ i686-linux, x86_64-linux, x86_64-darwin ]
bamboo-plugin-highlight: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -2925,6 +2928,7 @@ dont-distribute-packages:
basic-prelude: [ i686-linux, x86_64-linux, x86_64-darwin ]
basic-sop: [ i686-linux, x86_64-linux, x86_64-darwin ]
baskell: [ i686-linux, x86_64-linux, x86_64-darwin ]
batchd: [ i686-linux, x86_64-linux, x86_64-darwin ]
battlenet: [ i686-linux, x86_64-linux, x86_64-darwin ]
battlenet-yesod: [ i686-linux, x86_64-linux, x86_64-darwin ]
battleships: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -3118,6 +3122,7 @@ dont-distribute-packages:
Buster: [ i686-linux, x86_64-linux, x86_64-darwin ]
buster-network: [ i686-linux, x86_64-linux, x86_64-darwin ]
bustle: [ i686-linux, x86_64-linux, x86_64-darwin ]
butcher: [ i686-linux, x86_64-linux, x86_64-darwin ]
butterflies: [ i686-linux, x86_64-linux, x86_64-darwin ]
byline: [ i686-linux, x86_64-linux, x86_64-darwin ]
bytable: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -3151,6 +3156,7 @@ dont-distribute-packages:
cabal-install-bundle: [ i686-linux, x86_64-linux, x86_64-darwin ]
cabal-install-ghc72: [ i686-linux, x86_64-linux, x86_64-darwin ]
cabal-install-ghc74: [ i686-linux, x86_64-linux, x86_64-darwin ]
cabalish: [ i686-linux, x86_64-linux, x86_64-darwin ]
cabal-macosx: [ i686-linux, x86_64-linux, x86_64-darwin ]
cabalmdvrpm: [ i686-linux, x86_64-linux, x86_64-darwin ]
cabal-mon: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -3359,6 +3365,9 @@ dont-distribute-packages:
cloud-haskell: [ i686-linux, x86_64-linux, x86_64-darwin ]
cloudi: [ i686-linux, x86_64-linux, x86_64-darwin ]
cloudyfs: [ i686-linux, x86_64-linux, x86_64-darwin ]
clr-bindings: [ i686-linux, x86_64-linux, x86_64-darwin ]
clr-inline: [ i686-linux, x86_64-linux, x86_64-darwin ]
clr-typed: [ i686-linux, x86_64-linux, x86_64-darwin ]
clua: [ i686-linux, x86_64-linux, x86_64-darwin ]
cluss: [ i686-linux, x86_64-linux, x86_64-darwin ]
clustering: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -3433,6 +3442,11 @@ dont-distribute-packages:
complexity: [ i686-linux, x86_64-linux, x86_64-darwin ]
compose-ltr: [ i686-linux, x86_64-linux, x86_64-darwin ]
compose-trans: [ i686-linux, x86_64-linux, x86_64-darwin ]
composite-aeson: [ i686-linux, x86_64-linux, x86_64-darwin ]
composite-aeson-refined: [ i686-linux, x86_64-linux, x86_64-darwin ]
composite-base: [ i686-linux, x86_64-linux, x86_64-darwin ]
composite-ekg: [ i686-linux, x86_64-linux, x86_64-darwin ]
composite-opaleye: [ i686-linux, x86_64-linux, x86_64-darwin ]
composition-tree: [ i686-linux, x86_64-linux, x86_64-darwin ]
compressed: [ i686-linux, x86_64-linux, x86_64-darwin ]
compression: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -3712,6 +3726,7 @@ dont-distribute-packages:
dead-code-detection: [ i686-linux, x86_64-linux, x86_64-darwin ]
dead-simple-json: [ i686-linux, x86_64-linux, x86_64-darwin ]
debian-binary: [ i686-linux, x86_64-linux, x86_64-darwin ]
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 ]
DecisionTree: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -3760,6 +3775,7 @@ dont-distribute-packages:
dfsbuild: [ i686-linux, x86_64-linux, x86_64-darwin ]
dgim: [ i686-linux, x86_64-linux, x86_64-darwin ]
dgs: [ i686-linux, x86_64-linux, x86_64-darwin ]
dhall-check: [ i686-linux, x86_64-linux, x86_64-darwin ]
dia-functions: [ i686-linux, x86_64-linux, x86_64-darwin ]
diagrams-boolean: [ i686-linux, x86_64-linux, x86_64-darwin ]
diagrams-builder: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -3981,6 +3997,7 @@ dont-distribute-packages:
entangle: [ i686-linux, x86_64-linux, x86_64-darwin ]
EntrezHTTP: [ i686-linux, x86_64-linux, x86_64-darwin ]
EnumContainers: [ i686-linux, x86_64-linux, x86_64-darwin ]
enumerate-function: [ i686-linux, x86_64-linux, x86_64-darwin ]
enumerate: [ i686-linux, x86_64-linux, x86_64-darwin ]
enumeration: [ i686-linux, x86_64-linux, x86_64-darwin ]
enumfun: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -4030,6 +4047,8 @@ dont-distribute-packages:
eurofxref: [ i686-linux, x86_64-linux, x86_64-darwin ]
Euterpea: [ i686-linux, x86_64-linux, x86_64-darwin ]
event-driven: [ i686-linux, x86_64-linux, x86_64-darwin ]
eventful-dynamodb: [ i686-linux, x86_64-linux, x86_64-darwin ]
eventful-postgresql: [ i686-linux, x86_64-linux, x86_64-darwin ]
eventloop: [ i686-linux, x86_64-linux, x86_64-darwin ]
event-monad: [ i686-linux, x86_64-linux, x86_64-darwin ]
EventSocket: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -4256,6 +4275,7 @@ dont-distribute-packages:
friday-scale-dct: [ i686-linux, x86_64-linux, x86_64-darwin ]
frp-arduino: [ i686-linux, x86_64-linux, x86_64-darwin ]
fs-events: [ i686-linux, x86_64-linux, x86_64-darwin ]
fsh-csv: [ i686-linux, x86_64-linux, x86_64-darwin ]
fsmActions: [ i686-linux, x86_64-linux, x86_64-darwin ]
fsutils: [ i686-linux, x86_64-linux, x86_64-darwin ]
fswatcher: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -4320,6 +4340,8 @@ dont-distribute-packages:
genericserialize: [ i686-linux, x86_64-linux, x86_64-darwin ]
generic-storable: [ i686-linux, x86_64-linux, x86_64-darwin ]
generic-xml: [ i686-linux, x86_64-linux, x86_64-darwin ]
genesis: [ i686-linux, x86_64-linux, x86_64-darwin ]
genesis-test: [ i686-linux, x86_64-linux, x86_64-darwin ]
genetics: [ i686-linux, x86_64-linux, x86_64-darwin ]
geniconvert: [ i686-linux, x86_64-linux, x86_64-darwin ]
genifunctors: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -4697,6 +4719,7 @@ dont-distribute-packages:
halive: [ i686-linux, x86_64-linux, x86_64-darwin ]
halma-gui: [ i686-linux, x86_64-linux, x86_64-darwin ]
halma: [ i686-linux, x86_64-linux, x86_64-darwin ]
halma-telegram-bot: [ i686-linux, x86_64-linux, x86_64-darwin ]
hamilton: [ i686-linux, x86_64-linux, x86_64-darwin ]
HaMinitel: [ i686-linux, x86_64-linux, x86_64-darwin ]
hampp: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -5028,6 +5051,7 @@ dont-distribute-packages:
hfann: [ i686-linux, x86_64-linux, x86_64-darwin ]
hfd: [ i686-linux, x86_64-linux, x86_64-darwin ]
hfiar: [ i686-linux, x86_64-linux, x86_64-darwin ]
HFitUI: [ i686-linux, x86_64-linux, x86_64-darwin ]
hfmt: [ i686-linux, x86_64-linux, x86_64-darwin ]
hfoil: [ i686-linux, x86_64-linux, x86_64-darwin ]
hfov: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -5171,6 +5195,7 @@ dont-distribute-packages:
hmumps: [ i686-linux, x86_64-linux, x86_64-darwin ]
hnetcdf: [ i686-linux, x86_64-linux, x86_64-darwin ]
HNM: [ i686-linux, x86_64-linux, x86_64-darwin ]
hnormalise: [ i686-linux, x86_64-linux, x86_64-darwin ]
hoauth: [ i686-linux, x86_64-linux, x86_64-darwin ]
hobbes: [ i686-linux, x86_64-linux, x86_64-darwin ]
hobbits: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -5349,6 +5374,7 @@ dont-distribute-packages:
hs-mesos: [ i686-linux, x86_64-linux, x86_64-darwin ]
Hsmtlib: [ i686-linux, x86_64-linux, x86_64-darwin ]
hsmtpclient: [ i686-linux, x86_64-linux, x86_64-darwin ]
hs-multiaddr: [ i686-linux, x86_64-linux, x86_64-darwin ]
hsnock: [ i686-linux, x86_64-linux, x86_64-darwin ]
hs-nombre-generator: [ i686-linux, x86_64-linux, x86_64-darwin ]
hsns: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -5409,6 +5435,7 @@ dont-distribute-packages:
hstyle: [ i686-linux, x86_64-linux, x86_64-darwin ]
hstzaar: [ i686-linux, x86_64-linux, x86_64-darwin ]
hsubconvert: [ i686-linux, x86_64-linux, x86_64-darwin ]
hsudoku: [ i686-linux, x86_64-linux, x86_64-darwin ]
hs-vcard: [ i686-linux, x86_64-linux, x86_64-darwin ]
hsverilog: [ i686-linux, x86_64-linux, x86_64-darwin ]
HSvm: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -5996,6 +6023,7 @@ dont-distribute-packages:
librato: [ i686-linux, x86_64-linux, x86_64-darwin ]
libroman: [ i686-linux, x86_64-linux, x86_64-darwin ]
libssh2-conduit: [ i686-linux, x86_64-linux, x86_64-darwin ]
libssh2: [ i686-linux, x86_64-linux, x86_64-darwin ]
libsystemd-daemon: [ i686-linux, x86_64-linux, x86_64-darwin ]
libsystemd-journal: [ i686-linux, x86_64-linux, x86_64-darwin ]
libtagc: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -6018,6 +6046,7 @@ dont-distribute-packages:
limp: [ i686-linux, x86_64-linux, x86_64-darwin ]
lin-alg: [ i686-linux, x86_64-linux, x86_64-darwin ]
linda: [ i686-linux, x86_64-linux, x86_64-darwin ]
linden: [ i686-linux, x86_64-linux, x86_64-darwin ]
linear-algebra-cblas: [ i686-linux, x86_64-linux, x86_64-darwin ]
linear-circuit: [ i686-linux, x86_64-linux, x86_64-darwin ]
linearmap-category: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -6044,10 +6073,8 @@ dont-distribute-packages:
lio-eci11: [ i686-linux, x86_64-linux, x86_64-darwin ]
lio-simple: [ i686-linux, x86_64-linux, x86_64-darwin ]
lipsum-gen: [ i686-linux, x86_64-linux, x86_64-darwin ]
liquid-fixpoint: [ i686-linux, x86_64-linux, x86_64-darwin ]
liquidhaskell-cabal-demo: [ i686-linux, x86_64-linux, x86_64-darwin ]
liquidhaskell-cabal: [ i686-linux, x86_64-linux, x86_64-darwin ]
liquidhaskell: [ i686-linux, x86_64-linux, x86_64-darwin ]
liquid: [ i686-linux, x86_64-linux, x86_64-darwin ]
listlike-instances: [ i686-linux, x86_64-linux, x86_64-darwin ]
list-mux: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -6221,6 +6248,9 @@ dont-distribute-packages:
matlab: [ i686-linux, x86_64-linux, x86_64-darwin ]
matplotlib: [ i686-linux, x86_64-linux, x86_64-darwin ]
matsuri: [ i686-linux, x86_64-linux, x86_64-darwin ]
matterhorn: [ i686-linux, x86_64-linux, x86_64-darwin ]
mattermost-api: [ i686-linux, x86_64-linux, x86_64-darwin ]
mattermost-api-qc: [ i686-linux, x86_64-linux, x86_64-darwin ]
maude: [ i686-linux, x86_64-linux, x86_64-darwin ]
maxent: [ i686-linux, x86_64-linux, x86_64-darwin ]
maxsharing: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -6232,6 +6262,7 @@ dont-distribute-packages:
MBot: [ i686-linux, x86_64-linux, x86_64-darwin ]
mbox-tools: [ i686-linux, x86_64-linux, x86_64-darwin ]
MC-Fold-DP: [ i686-linux, x86_64-linux, x86_64-darwin ]
mcl: [ i686-linux, x86_64-linux, x86_64-darwin ]
mcmaster-gloss-examples: [ i686-linux, x86_64-linux, x86_64-darwin ]
mcmc-samplers: [ i686-linux, x86_64-linux, x86_64-darwin ]
mcmc-synthesis: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -6764,6 +6795,8 @@ dont-distribute-packages:
pandoc-placetable: [ i686-linux, x86_64-linux, x86_64-darwin ]
pandoc-plantuml-diagrams: [ i686-linux, x86_64-linux, x86_64-darwin ]
pandoc-unlit: [ i686-linux, x86_64-linux, x86_64-darwin ]
pang-a-lambda: [ i686-linux, x86_64-linux, x86_64-darwin ]
panpipe: [ i686-linux, x86_64-linux, x86_64-darwin ]
pansite: [ i686-linux, x86_64-linux, x86_64-darwin ]
papa: [ i686-linux, x86_64-linux, x86_64-darwin ]
papa-prelude: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -6968,6 +7001,7 @@ dont-distribute-packages:
pool: [ i686-linux, x86_64-linux, x86_64-darwin ]
popenhs: [ i686-linux, x86_64-linux, x86_64-darwin ]
poppler: [ i686-linux, x86_64-linux, x86_64-darwin ]
portager: [ i686-linux, x86_64-linux, x86_64-darwin ]
porte: [ i686-linux, x86_64-linux, x86_64-darwin ]
porter: [ i686-linux, x86_64-linux, x86_64-darwin ]
PortFusion: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -7170,6 +7204,7 @@ dont-distribute-packages:
rados-haskell: [ i686-linux, x86_64-linux, x86_64-darwin ]
raft: [ i686-linux, x86_64-linux, x86_64-darwin ]
rail-compiler-editor: [ i686-linux, x86_64-linux, x86_64-darwin ]
rails-session: [ i686-linux, x86_64-linux, x86_64-darwin ]
rainbow-tests: [ i686-linux, x86_64-linux, x86_64-darwin ]
rakhana: [ i686-linux, x86_64-linux, x86_64-darwin ]
ralist: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -7244,6 +7279,7 @@ dont-distribute-packages:
record: [ i686-linux, x86_64-linux, x86_64-darwin ]
record-preprocessor: [ i686-linux, x86_64-linux, x86_64-darwin ]
records: [ i686-linux, x86_64-linux, x86_64-darwin ]
records-sop: [ i686-linux, x86_64-linux, x86_64-darwin ]
records-th: [ i686-linux, x86_64-linux, x86_64-darwin ]
record-syntax: [ i686-linux, x86_64-linux, x86_64-darwin ]
recursion-schemes: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -7274,6 +7310,7 @@ dont-distribute-packages:
ref-mtl: [ i686-linux, x86_64-linux, x86_64-darwin ]
refresht: [ i686-linux, x86_64-linux, x86_64-darwin ]
refty: [ i686-linux, x86_64-linux, x86_64-darwin ]
refurb: [ i686-linux, x86_64-linux, x86_64-darwin ]
regexchar: [ i686-linux, x86_64-linux, x86_64-darwin ]
regex-deriv: [ i686-linux, x86_64-linux, x86_64-darwin ]
regex-dfa: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -7462,6 +7499,7 @@ dont-distribute-packages:
saferoute: [ i686-linux, x86_64-linux, x86_64-darwin ]
sai-shape-syb: [ i686-linux, x86_64-linux, x86_64-darwin ]
Salsa: [ i686-linux, x86_64-linux, x86_64-darwin ]
saltine: [ i686-linux, x86_64-linux, x86_64-darwin ]
saltine-quickcheck: [ i686-linux, x86_64-linux, x86_64-darwin ]
salvia-demo: [ i686-linux, x86_64-linux, x86_64-darwin ]
salvia-extras: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -7589,6 +7627,7 @@ dont-distribute-packages:
servant-pool: [ i686-linux, x86_64-linux, x86_64-darwin ]
servant-postgresql: [ i686-linux, x86_64-linux, x86_64-darwin ]
servant-purescript: [ i686-linux, x86_64-linux, x86_64-darwin ]
servant-py: [ i686-linux, x86_64-linux, x86_64-darwin ]
servant-quickcheck: [ i686-linux, x86_64-linux, x86_64-darwin ]
servant-router: [ i686-linux, x86_64-linux, x86_64-darwin ]
servant-scotty: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -7600,6 +7639,7 @@ dont-distribute-packages:
serversession-backend-redis: [ i686-linux, x86_64-linux, x86_64-darwin ]
serversession-frontend-snap: [ i686-linux, x86_64-linux, x86_64-darwin ]
serv: [ i686-linux, x86_64-linux, x86_64-darwin ]
services: [ i686-linux, x86_64-linux, x86_64-darwin ]
serv-wai: [ i686-linux, x86_64-linux, x86_64-darwin ]
ses-html: [ i686-linux, x86_64-linux, x86_64-darwin ]
ses-html-snaplet: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -7701,6 +7741,7 @@ dont-distribute-packages:
sink: [ i686-linux, x86_64-linux, x86_64-darwin ]
siphon: [ i686-linux, x86_64-linux, x86_64-darwin ]
sirkel: [ i686-linux, x86_64-linux, x86_64-darwin ]
sitepipe: [ i686-linux, x86_64-linux, x86_64-darwin ]
sixfiguregroup: [ i686-linux, x86_64-linux, x86_64-darwin ]
sized: [ i686-linux, x86_64-linux, x86_64-darwin ]
sized-vector: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -7737,6 +7778,7 @@ dont-distribute-packages:
smt-lib: [ i686-linux, x86_64-linux, x86_64-darwin ]
SmtLib: [ i686-linux, x86_64-linux, x86_64-darwin ]
smtp2mta: [ i686-linux, x86_64-linux, x86_64-darwin ]
SMTPClient: [ i686-linux, x86_64-linux, x86_64-darwin ]
smtp-mail-ng: [ i686-linux, x86_64-linux, x86_64-darwin ]
snake-game: [ i686-linux, x86_64-linux, x86_64-darwin ]
snake: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -7869,6 +7911,7 @@ dont-distribute-packages:
sproxy2: [ i686-linux, x86_64-linux, x86_64-darwin ]
sproxy-web: [ i686-linux, x86_64-linux, x86_64-darwin ]
spsa: [ i686-linux, x86_64-linux, x86_64-darwin ]
sqlcipher: [ i686-linux, x86_64-linux, x86_64-darwin ]
sqlite-simple-typed: [ i686-linux, x86_64-linux, x86_64-darwin ]
sql-simple: [ i686-linux, x86_64-linux, x86_64-darwin ]
sql-simple-mysql: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -8030,6 +8073,7 @@ dont-distribute-packages:
Sysmon: [ i686-linux, x86_64-linux, x86_64-darwin ]
sys-process: [ i686-linux, x86_64-linux, x86_64-darwin ]
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-locale: [ i686-linux, x86_64-linux, x86_64-darwin ]
system-random-effect: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -8103,6 +8147,14 @@ dont-distribute-packages:
temporal-csound: [ i686-linux, x86_64-linux, x86_64-darwin ]
temporary-resourcet: [ i686-linux, x86_64-linux, x86_64-darwin ]
tempus: [ i686-linux, x86_64-linux, x86_64-darwin ]
tensorflow-core-ops: [ i686-linux, x86_64-linux, x86_64-darwin ]
tensorflow: [ i686-linux, x86_64-linux, x86_64-darwin ]
tensorflow-logging: [ i686-linux, x86_64-linux, x86_64-darwin ]
tensorflow-opgen: [ i686-linux, x86_64-linux, x86_64-darwin ]
tensorflow-ops: [ i686-linux, x86_64-linux, x86_64-darwin ]
tensorflow-proto: [ i686-linux, x86_64-linux, x86_64-darwin ]
tensorflow-records-conduit: [ i686-linux, x86_64-linux, x86_64-darwin ]
tensorflow-records: [ i686-linux, x86_64-linux, x86_64-darwin ]
tensor: [ i686-linux, x86_64-linux, x86_64-darwin ]
termbox-bindings: [ i686-linux, x86_64-linux, x86_64-darwin ]
terminal-progress-bar: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -8192,6 +8244,7 @@ dont-distribute-packages:
TicTacToe: [ i686-linux, x86_64-linux, x86_64-darwin ]
tidal-midi: [ i686-linux, x86_64-linux, x86_64-darwin ]
tidal-serial: [ i686-linux, x86_64-linux, x86_64-darwin ]
tidal-vis: [ i686-linux, x86_64-linux, x86_64-darwin ]
tie-knot: [ i686-linux, x86_64-linux, x86_64-darwin ]
tiempo: [ i686-linux, x86_64-linux, x86_64-darwin ]
TigerHash: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -8224,6 +8277,7 @@ dont-distribute-packages:
TinyURL: [ i686-linux, x86_64-linux, x86_64-darwin ]
tip-haskell-frontend: [ i686-linux, x86_64-linux, x86_64-darwin ]
tip-lib: [ i686-linux, x86_64-linux, x86_64-darwin ]
titan: [ i686-linux, x86_64-linux, x86_64-darwin ]
Titim: [ i686-linux, x86_64-linux, x86_64-darwin ]
tkhs: [ i686-linux, x86_64-linux, x86_64-darwin ]
tkyprof: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -8253,6 +8307,7 @@ dont-distribute-packages:
toxcore: [ i686-linux, x86_64-linux, x86_64-darwin ]
toysolver: [ i686-linux, x86_64-linux, x86_64-darwin ]
tpar: [ i686-linux, x86_64-linux, x86_64-darwin ]
tpb: [ i686-linux, x86_64-linux, x86_64-darwin ]
trace-call: [ i686-linux, x86_64-linux, x86_64-darwin ]
traced: [ i686-linux, x86_64-linux, x86_64-darwin ]
trace-function-call: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -8293,6 +8348,7 @@ dont-distribute-packages:
TrieMap: [ i686-linux, x86_64-linux, x86_64-darwin ]
tries: [ i686-linux, x86_64-linux, x86_64-darwin ]
trimpolya: [ i686-linux, x86_64-linux, x86_64-darwin ]
triplesec: [ i686-linux, x86_64-linux, x86_64-darwin ]
tripLL: [ i686-linux, x86_64-linux, x86_64-darwin ]
tropical: [ i686-linux, x86_64-linux, x86_64-darwin ]
tsession-happstack: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -8554,6 +8610,7 @@ dont-distribute-packages:
wai-static-cache: [ i686-linux, x86_64-linux, x86_64-darwin ]
wai-thrift: [ i686-linux, x86_64-linux, x86_64-darwin ]
wai-throttler: [ i686-linux, x86_64-linux, x86_64-darwin ]
waldo: [ i686-linux, x86_64-linux, x86_64-darwin ]
warc: [ i686-linux, x86_64-linux, x86_64-darwin ]
warp-dynamic: [ i686-linux, x86_64-linux, x86_64-darwin ]
warp-static: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -8603,6 +8660,7 @@ dont-distribute-packages:
web-routing: [ i686-linux, x86_64-linux, x86_64-darwin ]
webserver: [ i686-linux, x86_64-linux, x86_64-darwin ]
websnap: [ i686-linux, x86_64-linux, x86_64-darwin ]
websockets-simple: [ i686-linux, x86_64-linux, x86_64-darwin ]
websockets-snap: [ i686-linux, x86_64-linux, x86_64-darwin ]
webwire: [ i686-linux, x86_64-linux, x86_64-darwin ]
wedged: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -8646,6 +8704,7 @@ dont-distribute-packages:
wordsearch: [ 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 ]
workflow-windows: [ i686-linux, x86_64-linux, x86_64-darwin ]
wp-archivebot: [ i686-linux, x86_64-linux, x86_64-darwin ]
wraxml: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -8777,6 +8836,7 @@ dont-distribute-packages:
yesod-auth-deskcom: [ i686-linux, x86_64-linux, x86_64-darwin ]
yesod-auth-fb: [ i686-linux, x86_64-linux, x86_64-darwin ]
yesod-auth-hashdb: [ i686-linux, x86_64-linux, x86_64-darwin ]
yesod-auth-hmac-keccak: [ i686-linux, x86_64-linux, x86_64-darwin ]
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 ]
@ -8866,6 +8926,7 @@ dont-distribute-packages:
ZFS: [ i686-linux, x86_64-linux, x86_64-darwin ]
zifter-cabal: [ i686-linux, x86_64-linux, x86_64-darwin ]
zifter-git: [ i686-linux, x86_64-linux, x86_64-darwin ]
zifter-google-java-format: [ i686-linux, x86_64-linux, x86_64-darwin ]
zifter-hindent: [ i686-linux, x86_64-linux, x86_64-darwin ]
zifter-hlint: [ i686-linux, x86_64-linux, x86_64-darwin ]
zifter: [ i686-linux, x86_64-linux, x86_64-darwin ]
@ -8880,6 +8941,7 @@ dont-distribute-packages:
zlib-enum: [ i686-linux, x86_64-linux, x86_64-darwin ]
ZMachine: [ i686-linux, x86_64-linux, x86_64-darwin ]
zmcat: [ i686-linux, x86_64-linux, x86_64-darwin ]
zm: [ i686-linux, x86_64-linux, x86_64-darwin ]
zmidi-score: [ i686-linux, x86_64-linux, x86_64-darwin ]
zmqat: [ i686-linux, x86_64-linux, x86_64-darwin ]
zoneinfo: [ i686-linux, x86_64-linux, x86_64-darwin ]

View file

@ -198,9 +198,6 @@ self: super: builtins.intersectAttrs super {
# Nix-specific workaround
xmonad = appendPatch (dontCheck super.xmonad) ./patches/xmonad-nix.patch;
# https://github.com/ucsd-progsys/liquid-fixpoint/issues/44
liquid-fixpoint = overrideCabal super.liquid-fixpoint (drv: { preConfigure = "patchShebangs ."; });
# wxc supports wxGTX >= 3.0, but our current default version points to 2.8.
# http://hydra.cryp.to/build/1331287/log/raw
wxc = (addBuildDepend super.wxc self.split).override { wxGTK = pkgs.wxGTK30; };
@ -458,4 +455,10 @@ self: super: builtins.intersectAttrs super {
# loc and loc-test depend on each other for testing. Break that infinite cycle:
loc-test = super.loc-test.override { loc = dontCheck self.loc; };
# The test suites try to run the "fixpoint" and "liquid" executables built just
# before and fail because the library search paths aren't configured properly.
# Also needs https://github.com/ucsd-progsys/liquidhaskell/issues/1038 resolved.
liquid-fixpoint = disableSharedExecutables super.liquid-fixpoint;
liquidhaskell = dontCheck (disableSharedExecutables super.liquidhaskell);
}

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, unzip, makeWrapper , flex, bison, ncurses, buddy, tecla
, libsigsegv, gmpxx, cvc4, cln
, libsigsegv, gmpxx, cln
}:
let
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [
flex bison ncurses buddy tecla gmpxx libsigsegv makeWrapper unzip cvc4 cln
flex bison ncurses buddy tecla gmpxx libsigsegv makeWrapper unzip cln
];
hardeningDisable = [ "stackprotector" ] ++
@ -34,6 +34,7 @@ stdenv.mkDerivation rec {
TECLA_LIBS="-ltecla -lncursesw"
LIBS="-lcln"
CFLAGS="-O3" CXXFLAGS="-O3"
--without-cvc4 # Our version is too new for Maude to cope.
)
'';

View file

@ -334,7 +334,7 @@ in {
};
php71 = generic {
version = "7.1.2";
sha256 = "013hlvzjmp7ilckqf3851xwmj37xzq6afsqm67i4whv64d723wp0";
version = "7.1.5";
sha256 = "15w60nrickdi0rlsy5yw6aa1j42m6z2chv90f7fbgn0v9xwa9si8";
};
}

View file

@ -234,7 +234,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://www.ffmpeg.org/releases/ffmpeg-${version}.tar.xz";
sha256 = "0c37bdqwmaziikr2d5pqp7504ail6i7a1mfcmc06mdpwfxxwvcpw";
sha256 = "0bwgm6z6k3khb91qh9xv15inykkfchpkm0lcdckkxhkacpyaf0mp";
};
patchPhase = ''patchShebangs .

View file

@ -14,7 +14,8 @@ stdenv.mkDerivation rec {
buildInputs =
[ pkgconfig ] ++
lib.optional stdenv.isLinux (if usePulseAudio then libpulseaudio else alsaLib) ++
lib.optional usePulseAudio libpulseaudio ++
lib.optional stdenv.isLinux alsaLib ++
lib.optional stdenv.isLinux libcap ++
lib.optionals stdenv.isDarwin [ CoreAudio CoreServices AudioUnit ];

View file

@ -2,14 +2,14 @@
, fixedPoint ? false, withCustomModes ? true }:
let
version = "1.1.4";
version = "1.1.5";
in
stdenv.mkDerivation rec {
name = "libopus-${version}";
src = fetchurl {
url = "http://downloads.xiph.org/releases/opus/opus-${version}.tar.gz";
sha256 = "14l6kpapmcnvl7p9hrmbqcnzj13zfzyppyc9a5kd4788h2rvc8li";
sha256 = "1r33nm7b052dw7gsc99809df1zmj5icfiljqbrfkw2pll0f9i17b";
};
outputs = [ "out" "dev" ];

View file

@ -1,5 +1,5 @@
{ stdenv, lib, fetchFromGitHub, pkgconfig, cmake
, dbus, networkmanager, webkitgtk214x, pcre, python2 }:
, dbus, networkmanager, webkitgtk216x, pcre, python2 }:
stdenv.mkDerivation rec {
name = "libproxy-${version}";
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig cmake ];
buildInputs = [ dbus networkmanager webkitgtk214x pcre ];
buildInputs = [ dbus networkmanager webkitgtk216x pcre ];
cmakeFlags = [
"-DWITH_WEBKIT3=ON"

View file

@ -1,6 +1,6 @@
{ stdenv, lib, fetchurl, fetchpatch, pkgconfig, libiconv, libintlOrEmpty
, zlib, curl, cairo, freetype, fontconfig, lcms, libjpeg, openjpeg
, withData ? false, poppler_data
, withData ? true, poppler_data
, qt4Support ? false, qt4 ? null
, qt5Support ? false, qtbase ? null
, introspectionSupport ? false, gobjectIntrospection ? null

View file

@ -12,7 +12,7 @@ assert enableGeoLocation -> geoclue2 != null;
with stdenv.lib;
stdenv.mkDerivation rec {
name = "webkitgtk-${version}";
version = "2.14.5";
version = "2.16.3";
meta = {
description = "Web content rendering engine, GTK+ port";
@ -25,9 +25,9 @@ stdenv.mkDerivation rec {
postConfigure = optionalString stdenv.isDarwin ''
substituteInPlace Source/WebKit2/CMakeFiles/WebKit2.dir/link.txt \
--replace "../../lib/libWTFGTK.a" ""
--replace "../../lib/libWTFGTK.a" ""
substituteInPlace Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/link.txt \
--replace "../../lib/libbmalloc.a" ""
--replace "../../lib/libbmalloc.a" ""
sed -i "s|[\./]*\.\./lib/lib[^\.]*\.a||g" \
Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/link.txt \
Source/JavaScriptCore/shell/CMakeFiles/jsc.dir/link.txt \
@ -37,18 +37,18 @@ stdenv.mkDerivation rec {
Source/WebKit2/CMakeFiles/webkit2gtkinjectedbundle.dir/link.txt \
Source/WebKit2/CMakeFiles/WebProcess.dir/link.txt
substituteInPlace Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/link.txt \
--replace "../../lib/libWTFGTK.a" "-Wl,-all_load ../../lib/libWTFGTK.a"
--replace "../../lib/libWTFGTK.a" "-Wl,-all_load ../../lib/libWTFGTK.a"
'';
src = fetchurl {
url = "http://webkitgtk.org/releases/${name}.tar.xz";
sha256 = "17rnjs7yl198bkghzcc2cgh30sb5i03irb6wag3xchwv7b1z3a1w";
sha256 = "04mmfxm8284zrlkrhkcn9gq1l4lpm1q6wwb5hyybj081v8qr2ki0";
};
# see if we can clean this up....
patches = [ ./finding-harfbuzz-icu.patch ]
++ optionals stdenv.isDarwin [
++ optionals stdenv.isDarwin [
./PR-152650-2.patch
./PR-153138.patch
./PR-157554.patch

View file

@ -38,9 +38,9 @@ index 6b01f1a..b443d10 100644
- set(ENABLE_GTKDOC OFF)
-endif ()
-
set(DERIVED_SOURCES_GOBJECT_DOM_BINDINGS_DIR ${DERIVED_SOURCES_DIR}/webkitdom)
set(DERIVED_SOURCES_WEBKITGTK_DIR ${DERIVED_SOURCES_DIR}/webkitgtk)
set(DERIVED_SOURCES_WEBKITGTK_API_DIR ${DERIVED_SOURCES_WEBKITGTK_DIR}/webkit)
set(DERIVED_SOURCES_WEBKIT2GTK_DIR ${DERIVED_SOURCES_DIR}/webkit2gtk)
diff --git a/Tools/gtk/gtkdoc.py b/Tools/gtk/gtkdoc.py
index 4c8237b..a628ae0 100644
--- a/Tools/gtk/gtkdoc.py

View file

@ -1,10 +0,0 @@
--- webkitgtk-2.10.4-orig/Source/WebKit2/CMakeLists.txt 2015-11-11 02:42:51.000000000 -0500
+++ webkitgtk-2.10.4/Source/WebKit2/CMakeLists.txt 2016-01-31 18:27:49.000000000 -0500
@@ -738,6 +738,7 @@
set(WebKit2_LIBRARIES
JavaScriptCore
WebCore
+ intl
)
set(PluginProcess_LIBRARIES

View file

@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
, fetchurl
, fetchPypi
, pytest
}:
@ -9,8 +9,9 @@ buildPythonPackage rec {
version = "1.1.1";
name = "${pname}-${version}";
src = fetchurl {
url = "https://files.pythonhosted.org/packages/8f/ab/58a363eca982c40e9ee5a7ca439e8ffc5243dde2ae660ba1ffdd4868026b/${pname}-${version}.zip";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "fef50b2b881ef743f269946e1090b77567b71bb9a9ce64b7f8e699b562ff685c";
};

View file

@ -0,0 +1,23 @@
{ lib, buildPythonPackage, fetchPypi, nose }:
buildPythonPackage rec {
pname = "emoji";
name = "${pname}-${version}";
version = "0.4.5";
src = fetchPypi {
inherit pname version;
sha256 = "13i9mgkpll8m92b8mgm5yab4i78nwsl9h38nriavg105id94mg6q";
};
checkInputs = [ nose ];
checkPhase = ''nosetests'';
meta = with lib; {
description = "Emoji for Python";
homepage = https://pypi.python.org/pypi/emoji/;
license = licenses.bsd3;
maintainers = with maintainers; [ joachifm ];
};
}

View file

@ -2,12 +2,12 @@
stdenv.mkDerivation rec {
name = "ammonite-${version}";
version = "0.9.1";
version = "0.9.3";
scalaVersion = "2.12";
src = fetchurl {
url = "https://github.com/lihaoyi/Ammonite/releases/download/${version}/${scalaVersion}-${version}";
sha256 = "0mc59hfic3211v4ai5zhis56hck9cpalf29pz0kl75wd7g9ymidv";
sha256 = "1s62idj8lg2g5kz325kqjmyks7ghhl5nzc4snji25qkgxirpibpl";
};
propagatedBuildInputs = [ jre ] ;

View file

@ -1,16 +1,16 @@
{ stdenv, fetchFromGitHub, lib, ocaml, libelf, cf-private, CoreServices }:
{ stdenv, fetchFromGitHub, lib, ocaml, libelf, cf-private, CoreServices, findlib, camlp4, sedlex, ocamlbuild }:
with lib;
stdenv.mkDerivation rec {
version = "0.42.0";
version = "0.46.0";
name = "flow-${version}";
src = fetchFromGitHub {
owner = "facebook";
repo = "flow";
rev = "v${version}";
sha256 = "1mzl13z3c512b3jrrkzm5wmd9wjpnr173pan0vvpgf23333yvigq";
sha256 = "05rnlckwiynkh0300f27xhrn53pf0hxlkb0iz3nlb81xmsk005a4";
};
installPhase = ''
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
cp bin/flow $out/bin/
'';
buildInputs = [ ocaml libelf ]
buildInputs = [ ocaml libelf findlib camlp4 sedlex ocamlbuild ]
++ optionals stdenv.isDarwin [ cf-private CoreServices ];
meta = with stdenv.lib; {

View file

@ -29,30 +29,30 @@ let
# fetchurl because we don't know the URL ahead of time, even though it's deterministic. So we have
# this downloader figure out the URL on the fly and then produce the deterministic result, so we
# can still be a fixed-output derivation.
pants13-native-engine-prefix = {
"x86_64-darwin" = "mac/10.11";
"x86_64-linux" = "linux/x86_64";
"i686-linux" = "linux/i386";
pants13-native-engine-info = {
"x86_64-darwin" = { prefix = "mac/10.11"; hash = "0n8z7rg0yfpxplvcw88lwv733zkhbzhc4w4zd4aznbcmfqdiz5br"; };
"x86_64-linux" = { prefix = "linux/x86_64"; hash = "0cva97899q902m61xnfawhbjrh5h751716sn6ljli9b8fl7b5sz4"; };
"i686-linux" = { prefix = "linux/i386"; hash = "1qckg0zsdq9x4jhn59pswbs11mxqxryl65qn42hrsvii2yxa9i5k"; };
}.${stdenv.system} or (throw "Unsupported system ${stdenv.system}!");
pants13-native-engine = runCommand "pants-native-${pants13-version}" {
buildInputs = [ curl ];
outputHashMode = "recursive";
outputHashAlgo = "sha256";
outputHash = "0n8z7rg0yfpxplvcw88lwv733zkhbzhc4w4zd4aznbcmfqdiz5br";
outputHash = pants13-native-engine-info.hash;
} ''
native_version=$(curl -k -L https://raw.githubusercontent.com/pantsbuild/pants/release_${pants13-version}/src/python/pants/engine/subsystem/native_engine_version)
curl -kLO "https://dl.bintray.com/pantsbuild/bin/build-support/bin/native-engine/${pants13-native-engine-prefix}/$native_version/native_engine.so"
curl -kLO "https://dl.bintray.com/pantsbuild/bin/build-support/bin/native-engine/${pants13-native-engine-info.prefix}/$native_version/native_engine.so"
# Ugh it tries to "download" from this prefix so let's just replicate their directory structure for now...
mkdir -p $out/bin/native-engine/${pants13-native-engine-prefix}/$native_version/
mkdir -p $out/bin/native-engine/${pants13-native-engine-info.prefix}/$native_version/
# These should behave the same way in Nix land and we try not to differentiate between OS revisions...
mkdir -p $out/bin/native-engine/mac/
ln -s 10.11 $out/bin/native-engine/mac/10.10
ln -s 10.11 $out/bin/native-engine/mac/10.12
cp native_engine.so $out/bin/native-engine/${pants13-native-engine-prefix}/$native_version/
cp native_engine.so $out/bin/native-engine/${pants13-native-engine-info.prefix}/$native_version/
'';
in {
pants =

View file

@ -0,0 +1,39 @@
{ lib, pythonPackages, fetchFromGitHub }:
pythonPackages.buildPythonApplication rec {
name = "pgcli-${version}";
version = "1.5.1";
src = fetchFromGitHub {
sha256 = "1wp8pzi9hwz16fpcr0mq3ffydwdscfg5whhzc91757dw995sgl0s";
rev = "v${version}";
repo = "pgcli";
owner = "dbcli";
};
buildInputs = with pythonPackages; [ pytest mock ];
checkPhase = ''
py.test tests -k 'not test_missing_rc_dir and not test_quoted_db_uri and not test_port_db_uri'
'';
propagatedBuildInputs = with pythonPackages; [
click configobj humanize prompt_toolkit psycopg2
pygments sqlparse pgspecial setproctitle
];
postPatch = ''
substituteInPlace setup.py --replace "==" ">="
rm tests/test_rowlimit.py
'';
meta = with lib; {
description = "Command-line interface for PostgreSQL";
longDescription = ''
Rich command-line interface for PostgreSQL with auto-completion and
syntax highlighting.
'';
homepage = https://pgcli.com;
license = licenses.bsd3;
maintainers = with maintainers; [ nckx ];
};
}

View file

@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "packer-${version}";
version = "0.12.2";
version = "1.0.0";
goPackagePath = "github.com/mitchellh/packer";
@ -11,7 +11,7 @@ buildGoPackage rec {
owner = "mitchellh";
repo = "packer";
rev = "v${version}";
sha256 = "1li141y7rfbn021h33dnryhms5xwzqz8d92djnprbh7ba9ff02zm";
sha256 = "16hdh3iwvdg1jk3pswa9r9lq4qkhds1lrqwl19vd1v2yz2r76kzi";
};
meta = with stdenv.lib; {

View file

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
name = "rustfmt-${version}";
version = "0.8.1";
version = "0.8.3";
src = fetchFromGitHub {
owner = "rust-lang-nursery";
repo = "rustfmt";
rev = "v${version}";
sha256 = "05rjx7i4wn3z3j8bgqsn146a9vbni6xhxaim9nq13c6dm4nrx96b";
rev = "${version}";
sha256 = "1nh0h8mncz5vnn5hmw74f8nnh5cxdlrg67891l4dyq0p38vjhimz";
};
depsSha256 = "1rnk33g85r1hkw9l9c52dzr4zka5kghbci9qwni3ph19rfqf0a73";
depsSha256 = "002d7y33a0bavd07wl7xrignmyaamnzfabdnr7a2x3zfizkfnblb";
meta = with stdenv.lib; {
description = "A tool for formatting Rust code according to style guidelines";

View file

@ -25,7 +25,7 @@ let
gnome-sharp gtk-sharp-2_0
];
ver = "5.5.3";
ver = "5.6.1";
build = "f1";
in stdenv.mkDerivation rec {
@ -33,8 +33,8 @@ in stdenv.mkDerivation rec {
version = "${ver}x${build}";
src = fetchurl {
url = "http://beta.unity3d.com/download/a2454d41e248/unity-editor-installer-${version}Linux.sh";
sha256 = "1hvas4n1hm0qp0265gk1nh03kypd9690fnxvzg70f5ni9q97pvm0";
url = "http://beta.unity3d.com/download/6a86e542cf5c/unity-editor-installer-${version}Linux.sh";
sha256 = "10z4h94c9h967gx4b3gwb268zn7bnrb7ylnqnmnqhx6byac7cf4m";
};
nosuidLib = ./unity-nosuid.c;
@ -50,41 +50,12 @@ in stdenv.mkDerivation rec {
'';
buildPhase = ''
patchFile() {
ftype="$(file -b "$1")"
if [[ "$ftype" =~ LSB\ .*dynamically\ linked ]]; then
if [[ "$ftype" =~ 32-bit ]]; then
rpath="${libPath32}"
intp="$(cat $NIX_CC/nix-support/dynamic-linker-m32)"
else
rpath="${libPath64}"
intp="$(cat $NIX_CC/nix-support/dynamic-linker)"
fi
rpath="$(patchelf --print-rpath "$1"):$rpath"
if [[ "$ftype" =~ LSB\ shared ]]; then
patchelf \
--set-rpath "$rpath" \
"$1"
elif [[ "$ftype" =~ LSB\ executable ]]; then
patchelf \
--set-rpath "$rpath" \
--interpreter "$intp" \
"$1"
fi
fi
}
cd Editor
$CC -fPIC -shared -o libunity-nosuid.so $nosuidLib -ldl
strip libunity-nosuid.so
# Exclude PlaybackEngines to build something that can be run on FHS-compliant Linuxes
find . -name PlaybackEngines -prune -o -executable -type f -print | while read path; do
patchFile "$path"
done
cd ..
'';
@ -122,6 +93,40 @@ in stdenv.mkDerivation rec {
--prefix MONO_GAC_PREFIX : "${developDotnetPath}"
'';
preFixup = ''
patchFile() {
ftype="$(file -b "$1")"
if [[ "$ftype" =~ LSB\ .*dynamically\ linked ]]; then
if [[ "$ftype" =~ 32-bit ]]; then
rpath="${libPath32}"
intp="$(cat $NIX_CC/nix-support/dynamic-linker-m32)"
else
rpath="${libPath64}"
intp="$(cat $NIX_CC/nix-support/dynamic-linker)"
fi
oldRpath="$(patchelf --print-rpath "$1")"
# Always search at least for libraries in origin directory.
rpath="''${oldRpath:-\$ORIGIN}:$rpath"
if [[ "$ftype" =~ LSB\ shared ]]; then
patchelf \
--set-rpath "$rpath" \
"$1"
elif [[ "$ftype" =~ LSB\ executable ]]; then
patchelf \
--set-rpath "$rpath" \
--interpreter "$intp" \
"$1"
fi
fi
}
# Exclude PlaybackEngines to build something that can be run on FHS-compliant Linuxes
find $unitydir -name PlaybackEngines -prune -o -type f -print | while read path; do
patchFile "$path"
done
'';
dontStrip = true;
dontPatchELF = true;

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "yarn-${version}";
version = "0.23.4";
version = "0.24.6";
src = fetchzip {
url = "https://github.com/yarnpkg/yarn/releases/download/v${version}/yarn-v${version}.tar.gz";
sha256 = "1jv2fbi10rx6whqn1krn9lrgwpnmzlbfym23m0df4y6k9pfyc9pz";
sha256 = "1dxshqmz0im1a09p0x8zx1clkmkgjg3pg1gyl95fzzn6jai3nnrb";
};
buildInputs = [makeWrapper nodejs];

View file

@ -0,0 +1,79 @@
diff --git a/tools/gyp/pylib/gyp/xcode_emulation.py b/tools/gyp/pylib/gyp/xcode_emulation.py
index a173ff0..1fc821a 100644
--- a/tools/gyp/pylib/gyp/xcode_emulation.py
+++ b/tools/gyp/pylib/gyp/xcode_emulation.py
@@ -507,9 +507,12 @@ class XcodeSettings(object):
def _XcodePlatformPath(self, configname=None):
sdk_root = self._SdkRoot(configname)
if sdk_root not in XcodeSettings._platform_path_cache:
- platform_path = self._GetSdkVersionInfoItem(sdk_root,
+ try:
+ platform_path = self._GetSdkVersionInfoItem(sdk_root,
'--show-sdk-platform-path')
- XcodeSettings._platform_path_cache[sdk_root] = platform_path
+ XcodeSettings._platform_path_cache[sdk_root] = platform_path
+ except:
+ XcodeSettings._platform_path_cache[sdk_root] = None
return XcodeSettings._platform_path_cache[sdk_root]
def _SdkPath(self, configname=None):
@@ -520,10 +523,13 @@ class XcodeSettings(object):
def _XcodeSdkPath(self, sdk_root):
if sdk_root not in XcodeSettings._sdk_path_cache:
- sdk_path = self._GetSdkVersionInfoItem(sdk_root, '--show-sdk-path')
- XcodeSettings._sdk_path_cache[sdk_root] = sdk_path
- if sdk_root:
- XcodeSettings._sdk_root_cache[sdk_path] = sdk_root
+ try:
+ sdk_path = self._GetSdkVersionInfoItem(sdk_root, '--show-sdk-path')
+ XcodeSettings._sdk_path_cache[sdk_root] = sdk_path
+ if sdk_root:
+ XcodeSettings._sdk_root_cache[sdk_path] = sdk_root
+ except:
+ XcodeSettings._sdk_path_cache[sdk_root] = None
return XcodeSettings._sdk_path_cache[sdk_root]
def _AppendPlatformVersionMinFlags(self, lst):
@@ -653,10 +659,11 @@ class XcodeSettings(object):
framework_root = sdk_root
else:
framework_root = ''
- config = self.spec['configurations'][self.configname]
- framework_dirs = config.get('mac_framework_dirs', [])
- for directory in framework_dirs:
- cflags.append('-F' + directory.replace('$(SDKROOT)', framework_root))
+ if 'SDKROOT' in self._Settings():
+ config = self.spec['configurations'][self.configname]
+ framework_dirs = config.get('mac_framework_dirs', [])
+ for directory in framework_dirs:
+ cflags.append('-F' + directory.replace('$(SDKROOT)', framework_root))
self.configname = None
return cflags
@@ -908,10 +915,11 @@ class XcodeSettings(object):
sdk_root = self._SdkPath()
if not sdk_root:
sdk_root = ''
- config = self.spec['configurations'][self.configname]
- framework_dirs = config.get('mac_framework_dirs', [])
- for directory in framework_dirs:
- ldflags.append('-F' + directory.replace('$(SDKROOT)', sdk_root))
+ if 'SDKROOT' in self._Settings():
+ config = self.spec['configurations'][self.configname]
+ framework_dirs = config.get('mac_framework_dirs', [])
+ for directory in framework_dirs:
+ ldflags.append('-F' + directory.replace('$(SDKROOT)', sdk_root))
platform_root = self._XcodePlatformPath(configname)
if sdk_root and platform_root and self._IsXCTest():
@@ -1683,6 +1691,9 @@ def _NormalizeEnvVarReferences(str):
"""Takes a string containing variable references in the form ${FOO}, $(FOO),
or $FOO, and returns a string with all variable references in the form ${FOO}.
"""
+ if str is None:
+ return ''
+
# $FOO -> ${FOO}
str = re.sub(r'\$([a-zA-Z_][a-zA-Z0-9_]*)', r'${\1}', str)

View file

@ -10,12 +10,13 @@ let
baseName = if enableNpm then "nodejs" else "nodejs-slim";
in
stdenv.mkDerivation (nodejs // rec {
version = "7.9.0";
version = "7.10.0";
name = "${baseName}-${version}";
src = fetchurl {
url = "https://nodejs.org/download/release/v${version}/node-v${version}.tar.xz";
sha256 = "0abaz5z0cv7amd6blm4cm91asj30ydf0lq3j0wdg6aa9i15pcsd5";
sha256 = "08czj7ssvzgv13zvhg2y9mhy4cc6pvm4bcp7rbzj3a2ba8axsd6w";
};
patches = stdenv.lib.optionals stdenv.isDarwin [ ./no-xcode-v7.patch ];
})

View file

@ -1,18 +1,18 @@
{ stdenv, fetchurl
, # required for both
unzip, libjpeg, zlib, libvorbis, curl
unzip, libjpeg, zlib, libvorbis, curl, patchelf
, # glx
libX11, mesa, libXpm, libXext, libXxf86vm, alsaLib
, # sdl
SDL
SDL2
}:
stdenv.mkDerivation rec {
name = "xonotic-0.8.1";
name = "xonotic-0.8.2";
src = fetchurl {
url = "http://dl.xonotic.org/${name}.zip";
sha256 = "0vy4hkrbpz9g91gb84cbv4xl845qxaknak6hshk2yflrw90wr2xy";
sha256 = "1mcs6l4clvn7ibfq3q69k2p0z6ww75rxvnngamdq5ic6yhq74bx2";
};
buildInputs = [
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
# glx
libX11 mesa libXpm libXext libXxf86vm alsaLib
# sdl
SDL
SDL2
zlib libvorbis curl
];
@ -48,7 +48,13 @@ stdenv.mkDerivation rec {
ln -s "$out/bin/xonotic-sdl" "$out/bin/xonotic"
'';
# Xonotic needs to find libcurl.so at runtime for map downloads
dontPatchELF = true;
postFixup = ''
patchelf --add-needed ${curl.out}/lib/libcurl.so $out/bin/xonotic-dedicated
patchelf --add-needed ${curl.out}/lib/libcurl.so $out/bin/xonotic-sdl
patchelf --add-needed ${curl.out}/lib/libcurl.so $out/bin/xonotic-glx
'';
meta = {
description = "A free fast-paced first-person shooter";
@ -62,7 +68,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.xonotic.org;
license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
maintainers = with stdenv.lib.maintainers; [ astsmtl zalakain ];
platforms = stdenv.lib.platforms.linux;
hydraPlatforms = [];
};

View file

@ -2,14 +2,14 @@
, libxml2, kerberos, kmod, openldap, sssd, cyrus_sasl, openssl }:
let
version = "5.1.2";
version = "5.1.3";
name = "autofs-${version}";
in stdenv.mkDerivation {
inherit name;
src = fetchurl {
url = "mirror://kernel/linux/daemons/autofs/v5/${name}.tar.xz";
sha256 = "031z64hmbzyllgvi72cw87755vnmafvsfwi0w21xksla10wxxdw8";
sha256 = "1gxifa93104pxlmxrikhwciy5zdgk20m63siyhq1myym7vzfnvp9";
};
preConfigure = ''

View file

@ -1,14 +1,12 @@
{ stdenv, fetchurl, kernel, kmod }:
assert stdenv.lib.versionOlder kernel.version "4.10";
stdenv.mkDerivation rec {
name = "ixgbevf-${version}-${kernel.version}";
version = "4.0.3";
version = "4.1.2";
src = fetchurl {
url = "mirror://sourceforge/e1000/ixgbevf-${version}.tar.gz";
sha256 = "0f95p2d7yhf57qa6fl8nv1rb4x8vwwgh7qhqcqpag0hz19dc3xff";
sha256 = "1dismhiq0asf04rv6pv2sk2m3xcy6m3bpk16gmxqybca3xa28a5b";
};
hardeningDisable = [ "pic" ];

View file

@ -238,7 +238,9 @@ with stdenv.lib;
FANOTIFY y
TMPFS y
TMPFS_POSIX_ACL y
FS_ENCRYPTION? m
${optionalString (versionAtLeast version "4.9") ''
FS_ENCRYPTION? m
''}
EXT2_FS_XATTR y
EXT2_FS_POSIX_ACL y
EXT2_FS_SECURITY y

View file

@ -1,12 +1,12 @@
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
import ./generic.nix (args // rec {
version = "4.11.2";
version = "4.11.3";
extraMeta.branch = "4.11";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "0b32kyjr3bbb2381vg9zd59fk61njhq4r494r0l9gr77m6ar655v";
sha256 = "15xgm2hwp3liy400jgndzlf51bxhg1d6sr0qck6qvk8w5karxzav";
};
kernelPatches = args.kernelPatches;

View file

@ -1,12 +1,12 @@
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
import ./generic.nix (args // rec {
version = "4.4.69";
version = "4.4.70";
extraMeta.branch = "4.4";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "1yl4iwmi1rvnp1q74ypzd737r217c6yi48vnl9kxc9zqm98bqyr0";
sha256 = "1yid0y4ha7mrn9ns037kjsrgbqffcz2c2p27rgn92jh4m5nb7a60";
};
kernelPatches = args.kernelPatches;

View file

@ -1,12 +1,12 @@
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
import ./generic.nix (args // rec {
version = "4.9.29";
version = "4.9.30";
extraMeta.branch = "4.9";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "1kr4zxndwj1bm5zzphbckpy8pqbblyk0j08v2vir7ra4fmvdzdji";
sha256 = "1fqbfcfkmbviqkmww9lc3n81ag71hzjwpdcij9y73kg8bh1fywj2";
};
kernelPatches = args.kernelPatches;

View file

@ -13,13 +13,17 @@
}:
stdenv.mkDerivation rec {
name = "nsd-4.1.15";
name = "nsd-4.1.16";
src = fetchurl {
url = "http://www.nlnetlabs.nl/downloads/nsd/${name}.tar.gz";
sha256 = "494a862cfcd26a525a4bf06306eb7ab0387b34678ac6d37767507438e3a23a4b";
sha256 = "1cmaddfjb7yr87gjd5yv4d0qng0j97sy5rw5m3zxsp6c4fnng0vz";
};
prePatch = ''
substituteInPlace nsd-control-setup.sh.in --replace openssl ${openssl}/bin/openssl
'';
buildInputs = [ libevent openssl ];
configureFlags =

View file

@ -1,19 +1,22 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, openssl }:
stdenv.mkDerivation rec {
name = "pure-ftpd-1.0.42";
name = "pure-ftpd-1.0.46";
src = fetchurl {
url = "https://download.pureftpd.org/pub/pure-ftpd/releases/${name}.tar.gz";
sha256 = "1yg7v1l3ng7c08nhh804k28y1f8ccmg0rq1a9l2sg45ib273mrvv";
sha256 = "0p0arcaz63fbb03fkavbc8z6m1f90p5vbnxb8mqlvpma6mrq0286";
};
buildInputs = [ openssl ];
configureFlags = [ "--with-tls" ];
meta = with stdenv.lib; {
description = "A free, secure, production-quality and standard-conformant FTP server";
homepage = https://www.pureftpd.org;
license = licenses.isc; # with some parts covered by BSD3(?)
maintainers = [ maintainers.lethalman ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View file

@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
"--enable-ipv6"
"--enable-openssl=${openssl.dev}"
"--with-program-prefix=charybdis-"
"--sysconfdir=/etc/charybdis"
];
buildInputs = [ bison flex openssl ];

View file

@ -19,11 +19,11 @@ with lib;
stdenv.mkDerivation rec {
name = "samba-${version}";
version = "4.6.3";
version = "4.6.4";
src = fetchurl {
url = "mirror://samba/pub/samba/stable/${name}.tar.gz";
sha256 = "0q8m9cp76vx0x7zhvbfamqvh8hmmlki8ih9zb2hcn2bqlwyyyf1a";
sha256 = "0qcsinhcq3frlqp7bfav5mdc9xn1h4xy4l6vfpf8cmcfs4lp7ija";
};
outputs = [ "out" "dev" "man" ];

View file

@ -2,7 +2,7 @@
buildGoPackage rec {
name = "lxd-${version}";
version = "2.0.2";
version = "2.12";
rev = "lxd-${version}";
goPackagePath = "github.com/lxc/lxd";
@ -11,7 +11,7 @@ buildGoPackage rec {
inherit rev;
owner = "lxc";
repo = "lxd";
sha256 = "1rs9g1snjymg6pjz5bj77zk5wbs0w8xmrfxzqs32w6zr1dxhf9hs";
sha256 = "1znqsf6iky21kddvl13bf0lsj65czabwysdbvha24lm16s51mv0p";
};
goDeps = ./deps.nix;

View file

@ -1,20 +1,12 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.2.0
[
{
goPackagePath = "gopkg.in/yaml.v2";
goPackagePath = "github.com/dustinkirkland/golang-petname";
fetch = {
type = "git";
url = "https://gopkg.in/yaml.v2";
rev = "a83829b6f1293c91addabc89d0571c246397bbf4";
sha256 = "1m4dsmk90sbi17571h6pld44zxz7jc4lrnl4f27dpd1l8g5xvjhh";
};
}
{
goPackagePath = "golang.org/x/crypto";
fetch = {
type = "git";
url = "https://go.googlesource.com/crypto";
rev = "575fdbe86e5dd89229707ebec0575ce7d088a4a6";
sha256 = "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa";
url = "https://github.com/dustinkirkland/golang-petname";
rev = "4f77bdee0b67a08d17afadc0d5a4a3d1cb7d8d14";
sha256 = "1cizm3xywsp9vc381k02dhjq5a6c772wc05w60m4gfdmp2kmd4di";
};
}
{
@ -22,44 +14,8 @@
fetch = {
type = "git";
url = "https://github.com/golang/protobuf";
rev = "59b73b37c1e45995477aae817e4a653c89a858db";
sha256 = "1dx22jvhvj34ivpr7gw01fncg9yyx35mbpal4mpgnqka7ajmgjsa";
};
}
{
goPackagePath = "gopkg.in/tomb.v2";
fetch = {
type = "git";
url = "https://gopkg.in/tomb.v2";
rev = "14b3d72120e8d10ea6e6b7f87f7175734b1faab8";
sha256 = "1nza31jvkpka5431c4bdbirvjdy36b1b55sbzljqhqih25jrcjx5";
};
}
{
goPackagePath = "github.com/gorilla/websocket";
fetch = {
type = "git";
url = "https://github.com/gorilla/websocket";
rev = "a622679ebd7a3b813862379232f645f8e690e43f";
sha256 = "1nc9jbcmgya1i6dmf6sbcqsnxi9hbjg6dz1z0k7zmc6xdwlq0y4q";
};
}
{
goPackagePath = "github.com/syndtr/gocapability";
fetch = {
type = "git";
url = "https://github.com/syndtr/gocapability";
rev = "2c00daeb6c3b45114c80ac44119e7b8801fdd852";
sha256 = "1x7jdcg2r5pakjf20q7bdiidfmv7vcjiyg682186rkp2wz0yws0l";
};
}
{
goPackagePath = "gopkg.in/inconshreveable/log15.v2";
fetch = {
type = "git";
url = "https://gopkg.in/inconshreveable/log15.v2";
rev = "b105bd37f74e5d9dc7b6ad7806715c7a2b83fd3f";
sha256 = "18rldvi60i7b3lljfrsqgcc24gdkw2pcixxydznyggaqhh96l6a8";
rev = "2bba0603135d7d7f5cb73b2125beeda19c09f4ef";
sha256 = "1xy0bj66qks2xlzxzlfma16w7m8g6rrwawmlhlv68bcw2k5hvvib";
};
}
{
@ -67,8 +23,35 @@
fetch = {
type = "git";
url = "https://github.com/gorilla/mux";
rev = "8096f47503459bcc74d1f4c487b7e6e42e5746b5";
sha256 = "0163fm9jsh54df471mx9kfhdg0070klqhw9ja0qwdzqibxq791b9";
rev = "599cba5e7b6137d46ddf58fb1765f5d928e69604";
sha256 = "0wd6jjii1kg5s0nk3ri6gqriz6hbd6bbcn6x4jf8n7ncrb8qsxyz";
};
}
{
goPackagePath = "github.com/gorilla/websocket";
fetch = {
type = "git";
url = "https://github.com/gorilla/websocket";
rev = "a91eba7f97777409bc2c443f5534d41dd20c5720";
sha256 = "13cg6wwkk2ddqbm0nh9fpx4mq7f6qym12ch4lvs53n028ycdgw87";
};
}
{
goPackagePath = "github.com/mattn/go-colorable";
fetch = {
type = "git";
url = "https://github.com/mattn/go-colorable";
rev = "ded68f7a9561c023e790de24279db7ebf473ea80";
sha256 = "0q019h59jq815jfl9rgk4yrpkn5rpcx9s6dksdm48rp1abafwvfc";
};
}
{
goPackagePath = "github.com/mattn/go-sqlite3";
fetch = {
type = "git";
url = "https://github.com/mattn/go-sqlite3";
rev = "cf7286f069c3ef596efcc87781a4653a2e7607bd";
sha256 = "19ipf6bf1xd7w2fm8dnv5my4jp3lhwhlrhfwhwq559amp1h4nwyq";
};
}
{
@ -76,8 +59,35 @@
fetch = {
type = "git";
url = "https://github.com/pborman/uuid";
rev = "ca53cad383cad2479bbba7f7a1a05797ec1386e4";
sha256 = "0rcx669bbjkkwdlw81spnra4ffgzd4rbpywnrj3w41m9vq6mk1gn";
rev = "1b00554d822231195d1babd97ff4a781231955c9";
sha256 = "0rjkcf85sagdwzsycj1bbjyx5bgmrc1i8l5qf1f44z24rhbbkaan";
};
}
{
goPackagePath = "github.com/syndtr/gocapability";
fetch = {
type = "git";
url = "https://github.com/syndtr/gocapability";
rev = "e7cb7fa329f456b3855136a2642b197bad7366ba";
sha256 = "1i65kyjhbaya45zj9zqkb17plbqf92sfvl9fcz9s9qslg0qab2i1";
};
}
{
goPackagePath = "golang.org/x/crypto";
fetch = {
type = "git";
url = "https://go.googlesource.com/crypto";
rev = "3543873453996aaab2fc6b3928a35fc5ca2b5afb";
sha256 = "1d7pjqzh5893mzkz60bv5ypmr9zgyvb9z2gvcjrsqniwcqlhbk2c";
};
}
{
goPackagePath = "golang.org/x/net";
fetch = {
type = "git";
url = "https://go.googlesource.com/net";
rev = "da118f7b8e5954f39d0d2130ab35d4bf0e3cb344";
sha256 = "09xpndqc6a2r0lw42cyl1pkhfddl01sd9c3qqjjwp3vmxm004whv";
};
}
{
@ -90,21 +100,12 @@
};
}
{
goPackagePath = "github.com/olekukonko/tablewriter";
goPackagePath = "gopkg.in/inconshreveable/log15.v2";
fetch = {
type = "git";
url = "https://github.com/olekukonko/tablewriter";
rev = "cca8bbc0798408af109aaaa239cbd2634846b340";
sha256 = "0f9ph3z7lh6p6gihbl1461j9yq5qiaqxr9mzdkp512n18v89ml48";
};
}
{
goPackagePath = "github.com/mattn/go-sqlite3";
fetch = {
type = "git";
url = "https://github.com/mattn/go-sqlite3";
rev = "b4142c444a8941d0d92b0b7103a24df9cd815e42";
sha256 = "0xq2y4am8dz9w9aaq24s1npg1sn8pf2gn4nki73ylz2fpjwq9vla";
url = "https://gopkg.in/inconshreveable/log15.v2";
rev = "b105bd37f74e5d9dc7b6ad7806715c7a2b83fd3f";
sha256 = "18rldvi60i7b3lljfrsqgcc24gdkw2pcixxydznyggaqhh96l6a8";
};
}
{
@ -112,62 +113,53 @@
fetch = {
type = "git";
url = "https://gopkg.in/lxc/go-lxc.v2";
rev = "8f9e220b36393c03854c2d224c5a55644b13e205";
sha256 = "1dc1n2561k3pxbm2zzh3qwlh30bcb2k9v22ghvr7ps2j9lmhs0ip";
rev = "8304875cc3423823032ec93556beee076c6ba687";
sha256 = "12vrx9ilxkl1nxc5k81c6b2a1i715843r23fra681digdjnd8bpk";
};
}
{
goPackagePath = "github.com/mattn/go-runewidth";
goPackagePath = "gopkg.in/tomb.v2";
fetch = {
type = "git";
url = "https://github.com/mattn/go-runewidth";
rev = "d6bea18f789704b5f83375793155289da36a3c7f";
sha256 = "1hnigpn7rjbwd1ircxkyx9hvi0xmxr32b2jdy2jzw6b3jmcnz1fs";
url = "https://gopkg.in/tomb.v2";
rev = "d5d1b5820637886def9eef33e03a27a9f166942c";
sha256 = "1sv15sri99szkdz1bkh0ir46w9n8prrwx5hfai13nrhkawfyfy10";
};
}
{
goPackagePath = "github.com/coreos/go-systemd";
goPackagePath = "gopkg.in/yaml.v2";
fetch = {
type = "git";
url = "https://github.com/coreos/go-systemd";
rev = "a606a1e936df81b70d85448221c7b1c6d8a74ef1";
sha256 = "0fhan564swp982dnzzspb6jzfdl453489c0qavh65g3shy5x8x28";
url = "https://gopkg.in/yaml.v2";
rev = "cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b";
sha256 = "1hj2ag9knxflpjibck0n90jrhsrqz7qvad4qnif7jddyapi9bqzl";
};
}
{
goPackagePath = "github.com/dustinkirkland/golang-petname";
fetch = {
type = "git";
url = "https://github.com/dustinkirkland/golang-petname";
rev = "2182cecef7f257230fc998bc351a08a5505f5e6c";
sha256 = "1xagj34y5rxl7rykhil8iqxlls9rbgcxgdvgfp7kg39pinw83arl";
};
goPackagePath = "github.com/gosexy/gettext";
fetch = {
type = "git";
url = "https://github.com/gosexy/gettext";
rev = "74466a0a0c4a62fea38f44aa161d4bbfbe79dd6b";
sha256 = "0asphx8nd7zmp88wk6aakk5292np7yw73akvfdvlvs9q5r5ahkgi";
};
}
{
goPackagePath = "github.com/gorilla/context";
fetch = {
type = "git";
url = "https://github.com/gorilla/context";
rev = "215affda49addc4c8ef7e2534915df2c8c35c6cd";
sha256 = "1ybvjknncyx1f112mv28870n0l7yrymsr0861vzw10gc4yn1h97g";
};
goPackagePath = "github.com/olekukonko/tablewriter";
fetch = {
type = "git";
url = "https://github.com/olekukonko/tablewriter";
rev = "febf2d34b54a69ce7530036c7503b1c9fbfdf0bb";
sha256 = "1ir7bs4m5rk8v9vpycjj7mn6sc6j9wvxkd63i9b6fmrdsx9q0x4g";
};
}
{
goPackagePath = "github.com/mattn/go-colorable";
fetch = {
type = "git";
url = "https://github.com/mattn/go-colorable";
rev = "3dac7b4f76f6e17fb39b768b89e3783d16e237fe";
sha256 = "08680mba8hh2rghymqbzd4m40r9k765w5kbzvrif9ngd6h85qnw6";
};
}
{
goPackagePath = "github.com/gosexy/gettext";
fetch = {
type = "git";
url = "https://github.com/gosexy/gettext";
rev = "305f360aee30243660f32600b87c3c1eaa947187";
sha256 = "0sm7ziv56ms0lrk30ipbl6i17azar3a44dd2xvr011442zs5ym09";
};
goPackagePath = "github.com/mattn/go-runewidth";
fetch = {
type = "git";
url = "https://github.com/mattn/go-runewidth";
rev = "14207d285c6c197daabb5c9793d63e7af9ab2d50";
sha256 = "0y6yq9zd4kh7fimnc00r3h9pr2pwa5j85b3jcn5dyfamsnm2xdsv";
};
}
]

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "pnmixer-${version}";
version = "0.7.1-rc1";
version = "0.7.1";
src = fetchFromGitHub {
owner = "nicklan";
repo = "pnmixer";
rev = "v${version}";
sha256 = "0ns7s1jsc7fc3fvs9m3xwbv1fk1410cqc5w1cmia1mlzy94r3r6p";
sha256 = "0mmrq4m2rk0wmkfmqs3fk2rnw5g5lvd7ill2s3d7ggf9vba1pcn2";
};
nativeBuildInputs = [ cmake pkgconfig gettext ];
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
homepage = https://github.com/nicklan/pnmixer;
description = "ALSA mixer for the system tray";
description = "ALSA volume mixer for the system tray";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ campadrenalin romildo ];

View file

@ -2,13 +2,13 @@
buildGoPackage rec {
name = "lf-unstable-${version}";
version = "2017-02-04";
version = "2017-05-15";
src = fetchFromGitHub {
owner = "gokcehan";
repo = "lf";
rev = "c55c4bf254d59c4e943d5559cd6e062652751e36"; # nightly
sha256 = "0jq85pfhpzdplv083mxbys7pp8igcvhp4daa9dh0yn4xbd8x821d";
rev = "9962b378a816c2f792dcbfe9e3f58ae16d5969dd"; # nightly
sha256 = "1ln14ma2iajlp9klj4bhrq0y9955rpw9aggvj7hcj1m5yqa0sdqn";
};
goPackagePath = "github.com/gokcehan/lf";

View file

@ -4,8 +4,8 @@
fetch = {
type = "git";
url = "https://github.com/nsf/termbox-go";
rev = "abe82ce5fb7a42fbd6784a5ceb71aff977e09ed8"; # master
sha256 = "156i8apkga8b3272kjhapyqwspgcfkrr9kpqwc5lii43k4swghpv";
rev = "7994c181db7761ca3c67a217068cf31826113f5f"; # master
sha256 = "0ssc54wamn3h8z68kv4fdgvk3kjii95psi2kk0slsilmg5v6jzhj";
};
}
{

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