Merge branch 'master' into staging

Hydra: ?compare=1420346
This commit is contained in:
Vladimír Čunát 2017-12-21 22:45:40 +01:00
commit a7d4fb8e1d
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
184 changed files with 22272 additions and 14737 deletions

17
.github/CODEOWNERS vendored
View File

@ -10,18 +10,19 @@
# This file
/.github/CODEOWNERS @edolstra
# Boostraping and core infra
/pkgs/stdenv @edolstra
/pkgs/build-support/cc-wrapper @edolstra
# Libraries
/lib @edolstra @nbp
/lib/systems @edolstra @nbp @ericson2314
# Nixpkgs Internals
/default.nix @nbp
/pkgs/top-level/default.nix @nbp
/pkgs/top-level/impure.nix @nbp
/pkgs/top-level/stage.nix @nbp
/default.nix @nbp
/pkgs/top-level/default.nix @nbp @Ericson2314
/pkgs/top-level/impure.nix @nbp @Ericson2314
/pkgs/top-level/stage.nix @nbp @Ericson2314
/pkgs/stdenv @edolstra
/pkgs/build-support/cc-wrapper @edolstra @Ericson2314
/pkgs/build-support/bintools-wrapper @edolstra @Ericson2314
/pkgs/build-support/setup-hooks @edolstra @Ericson2314
# NixOS Internals
/nixos/default.nix @nbp

View File

@ -23,11 +23,12 @@ pkgs.stdenv.mkDerivation {
buildCommand = let toDocbook = { useChapters ? false, inputFile, outputFile }:
let
extraHeader = ''xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" '';
extraHeader = lib.optionalString (!useChapters)
''xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" '';
in ''
{
pandoc '${inputFile}' -w docbook ${lib.optionalString useChapters "--top-level-division=chapter"} \
--smart \
pandoc '${inputFile}' -w docbook+smart ${lib.optionalString useChapters "--top-level-division=chapter"} \
-f markdown+smart \
| sed -e 's|<ulink url=|<link xlink:href=|' \
-e 's|</ulink>|</link>|' \
-e 's|<sect. id=|<section xml:id=|' \
@ -48,6 +49,10 @@ pkgs.stdenv.mkDerivation {
outputFile = "introduction.xml";
useChapters = true;
}
+ toDocbook {
inputFile = ./shell.md;
outputFile = "shell.xml";
}
+ toDocbook {
inputFile = ./languages-frameworks/python.md;
outputFile = "./languages-frameworks/python.xml";

View File

@ -18,7 +18,7 @@
</para>
<para>
Coq libraries may be compatible with some specific versions of Coq only.
The <liberal>compatibleCoqVersions</liberal> attribute is used to
The <literal>compatibleCoqVersions</literal> attribute is used to
precisely select those versions of Coq that are compatible with this
derivation.
</para>

View File

@ -340,7 +340,7 @@ $ nix-shell -p nox --run "nox-review -k pr PRNUMBER"
- [ ] options have default
- [ ] options have example
- [ ] options have descriptions
- [ ] No unneeded package is added to system.environmentPackages
- [ ] No unneeded package is added to environment.systemPackages
- [ ] meta.maintainers is set
- [ ] module documentation is declared in meta.doc

20
doc/shell.md Normal file
View File

@ -0,0 +1,20 @@
---
title: stdenv.mkShell
author: zimbatm
date: 2017-10-30
---
stdenv.mkShell is a special kind of derivation that is only useful when using
it combined with nix-shell. It will in fact fail to instantiate when invoked
with nix-build.
## Usage
```nix
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
# this will make all the build inputs from hello and gnutar available to the shell environment
inputsFrom = with pkgs; [ hello gnutar ];
buildInputs = [ pkgs.gnumake ];
}
```

View File

@ -23,10 +23,23 @@ networking.firewall.allowedTCPPorts = [ 80 443 ];
</programlisting>
Note that TCP port 22 (ssh) is opened automatically if the SSH daemon
is enabled (<option>services.openssh.enable = true</option>). UDP
is enabled (<option>services.openssh.enable = true</option>). UDP
ports can be opened through
<option>networking.firewall.allowedUDPPorts</option>. Also of
interest is
<option>networking.firewall.allowedUDPPorts</option>.</para>
<para>To open ranges of TCP ports:
<programlisting>
networking.firewall.allowedTCPPortRanges = [
{ from = 4000; to = 4007; }
{ from = 8000; to = 8010; }
];
</programlisting>
Similarly, UDP port ranges can be opened through
<option>networking.firewall.allowedUDPPortRanges</option>.</para>
<para>Also of interest is
<programlisting>
networking.firewall.allowPing = true;

View File

@ -130,7 +130,7 @@ Note: the use of <literal>services.xserver.synaptics</literal> is deprecated sin
<simplesect><title>GTK/Qt themes</title>
<para>GTK themes can be installed either to user profile or system-wide (via
<literal>system.environmentPackages</literal>). To make Qt 5 applications look similar
<literal>environment.systemPackages</literal>). To make Qt 5 applications look similar
to GTK2 ones, you can install <literal>qt5.qtbase.gtk</literal> package into your
system environment. It should work for all Qt 5 library versions.
</para>

View File

@ -130,7 +130,7 @@ let format' = format; in let
fakeroot nixos-prepare-root $root ${channelSources} ${config.system.build.toplevel} closure
# fakeroot seems to always give the owner write permissions, which we do not want
find $root/nix/store -mindepth 1 -maxdepth 1 -type f -o -type d -exec chmod -R a-w '{}' \;
find $root/nix/store -mindepth 1 -maxdepth 1 -type f -o -type d | xargs chmod -R a-w
echo "copying staging root to image..."
cptofs ${optionalString partitioned "-P 1"} -t ${fsType} -i $diskImage $root/* /

View File

@ -18,7 +18,7 @@ rm -f ec2-amis.nix
types="hvm"
stores="ebs"
regions="eu-west-1 eu-west-2 eu-central-1 us-east-1 us-east-2 us-west-1 us-west-2 ca-central-1 ap-southeast-1 ap-southeast-2 ap-northeast-1 ap-northeast-2 sa-east-1 ap-south-1"
regions="eu-west-1 eu-west-2 eu-west-3 eu-central-1 us-east-1 us-east-2 us-west-1 us-west-2 ca-central-1 ap-southeast-1 ap-southeast-2 ap-northeast-1 ap-northeast-2 sa-east-1 ap-south-1"
for type in $types; do
link=$stateDir/$type

View File

@ -104,6 +104,7 @@
./programs/tmux.nix
./programs/venus.nix
./programs/vim.nix
./programs/way-cooler.nix
./programs/wireshark.nix
./programs/xfs_quota.nix
./programs/xonsh.nix

View File

@ -1,7 +1,8 @@
{ config, lib, ... }:
{ config, lib, pkgs, ... }:
with lib;
let
inherit (lib) mkOption mkIf types mapAttrsToList;
cfg = config.programs.dconf;
mkDconfProfile = name: path:
@ -13,6 +14,7 @@ in
options = {
programs.dconf = {
enable = mkEnableOption "dconf";
profiles = mkOption {
type = types.attrsOf types.path;
@ -26,9 +28,15 @@ in
###### implementation
config = mkIf (cfg.profiles != {}) {
environment.etc =
config = mkIf (cfg.profiles != {} || cfg.enable) {
environment.etc = optionals (cfg.profiles != {})
(mapAttrsToList mkDconfProfile cfg.profiles);
environment.variables.GIO_EXTRA_MODULES = optional cfg.enable
"${pkgs.gnome3.dconf.lib}/lib/gio/modules";
# https://github.com/NixOS/nixpkgs/pull/31891
#environment.variables.XDG_DATA_DIRS = optional cfg.enable
# "$(echo ${pkgs.gnome3.gsettings_desktop_schemas}/share/gsettings-schemas/gsettings-desktop-schemas-*)";
};
}

View File

@ -6,8 +6,7 @@ let
cfg = config.programs.sway;
sway = pkgs.sway;
swayWrapped = pkgs.writeScriptBin "sway" ''
#! ${pkgs.stdenv.shell}
swayWrapped = pkgs.writeShellScriptBin "sway" ''
if [ "$1" != "" ]; then
sway-setcap "$@"
exit
@ -65,8 +64,10 @@ in
};
users.extraGroups.sway = {};
security.pam.services.swaylock = {};
hardware.opengl.enable = mkDefault true;
fonts.enableDefaultFonts = mkDefault true;
programs.dconf.enable = mkDefault true;
};
}

View File

@ -0,0 +1,78 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.programs.way-cooler;
way-cooler = pkgs.way-cooler;
wcWrapped = pkgs.writeShellScriptBin "way-cooler" ''
${cfg.extraSessionCommands}
exec ${pkgs.dbus.dbus-launch} --exit-with-session ${way-cooler}/bin/way-cooler
'';
wcJoined = pkgs.symlinkJoin {
name = "way-cooler-wrapped";
paths = [ wcWrapped way-cooler ];
};
configFile = readFile "${way-cooler}/etc/way-cooler/init.lua";
spawnBar = ''
util.program.spawn_at_startup("lemonbar");
'';
in
{
options.programs.way-cooler = {
enable = mkEnableOption "way-cooler";
extraSessionCommands = mkOption {
default = "";
type = types.lines;
example = ''
export XKB_DEFAULT_LAYOUT=us,de
export XKB_DEFAULT_VARIANT=,nodeadkeys
export XKB_DEFAULT_OPTIONS=grp:caps_toggle,
'';
description = ''
Shell commands executed just before way-cooler is started.
'';
};
extraPackages = mkOption {
type = with types; listOf package;
default = with pkgs; [
westonLite xwayland dmenu
];
example = literalExample ''
with pkgs; [
westonLite xwayland dmenu
]
'';
description = ''
Extra packages to be installed system wide.
'';
};
enableBar = mkOption {
type = types.bool;
default = true;
description = ''
Whether to enable an unofficial bar.
'';
};
};
config = mkIf cfg.enable {
environment.systemPackages = [ wcJoined ] ++ cfg.extraPackages;
security.pam.services.wc-lock = {};
environment.etc."way-cooler/init.lua".text = ''
${configFile}
${optionalString cfg.enableBar spawnBar}
'';
hardware.opengl.enable = mkDefault true;
fonts.enableDefaultFonts = mkDefault true;
programs.dconf.enable = mkDefault true;
};
meta.maintainers = with maintainers; [ gnidorah ];
}

View File

@ -82,6 +82,10 @@ with lib;
(mkRenamedOptionModule [ "services" "virtualboxHost" "addNetworkInterface" ] [ "virtualisation" "virtualbox" "host" "addNetworkInterface" ])
(mkRenamedOptionModule [ "services" "virtualboxHost" "enableHardening" ] [ "virtualisation" "virtualbox" "host" "enableHardening" ])
# libvirtd
(mkRemovedOptionModule [ "virtualisation" "libvirtd" "enableKVM" ]
"Set the option `virtualisation.libvirtd.qemuPackage' instead.")
# Tarsnap
(mkRenamedOptionModule [ "services" "tarsnap" "config" ] [ "services" "tarsnap" "archives" ])

View File

@ -519,7 +519,6 @@ in
ftp = {};
i3lock = {};
i3lock-color = {};
swaylock = {};
screen = {};
vlock = {};
xlock = {};

View File

@ -115,7 +115,7 @@ in
description = ''
Print global archive statistics upon completion.
The output is available via
<command>systemctl status tarsnap@archive-name</command>.
<command>systemctl status tarsnap-archive-name</command>.
'';
};

View File

@ -192,9 +192,11 @@ in
mysqlPassword = builtins.readFile (config.services.mysql.rootPassword);
};
}
// lib.optionalAttrs (config.services.postgresql.enable && cfg.enableAuthentication) { postgresql-database = {
postgresqlUsername = "root";
}; }
// lib.optionalAttrs (config.services.postgresql.enable) { postgresql-database = {
} // lib.optionalAttrs (cfg.enableAuthentication) {
postgresqlUsername = "postgres";
};
}
// lib.optionalAttrs (config.services.tomcat.enable) { tomcat-webapplication = {
tomcatPort = 8080;
}; }

View File

@ -207,7 +207,7 @@ in
gitolite setup -pk ${pubkeyFile}
fi
if [ -n "${hooks}" ]; then
cp ${hooks} .gitolite/hooks/common/
cp -f ${hooks} .gitolite/hooks/common/
chmod +x .gitolite/hooks/common/*
fi
gitolite setup # Upgrade if needed

View File

@ -64,7 +64,7 @@ let
"DEVICESCAN ${notifyOpts}${cfg.defaults.autodetected}"}
'';
smartdOpts = { name, ... }: {
smartdDeviceOpts = { name, ... }: {
options = {
@ -108,6 +108,18 @@ in
'';
};
extraOptions = mkOption {
default = [];
type = types.listOf types.str;
example = ["-A /var/log/smartd/" "--interval=3600"];
description = ''
Extra command-line options passed to the <literal>smartd</literal>
daemon on startup.
(See <literal>man 8 smartd</literal>.)
'';
};
notifications = {
mail = {
@ -197,7 +209,7 @@ in
devices = mkOption {
default = [];
example = [ { device = "/dev/sda"; } { device = "/dev/sdb"; options = "-d sat"; } ];
type = with types; listOf (submodule smartdOpts);
type = with types; listOf (submodule smartdDeviceOpts);
description = "List of devices to monitor.";
};
@ -222,7 +234,7 @@ in
path = [ pkgs.nettools ]; # for hostname and dnsdomanname calls in smartd
serviceConfig.ExecStart = "${pkgs.smartmontools}/sbin/smartd --no-fork --configfile=${smartdConf}";
serviceConfig.ExecStart = "${pkgs.smartmontools}/sbin/smartd ${lib.concatStringsSep " " cfg.extraOptions} --no-fork --configfile=${smartdConf}";
};
};

View File

@ -167,7 +167,8 @@ let
listenString = { addr, port, ssl, ... }:
"listen ${addr}:${toString port} "
+ optionalString ssl "ssl http2 "
+ optionalString ssl "ssl "
+ optionalString vhost.http2 "http2 "
+ optionalString vhost.default "default_server "
+ ";";

View File

@ -114,6 +114,20 @@ with lib;
description = "Path to server SSL certificate key.";
};
http2 = mkOption {
type = types.bool;
default = true;
description = ''
Whether to enable HTTP 2.
Note that (as of writing) due to nginx's implementation, to disable
HTTP 2 you have to disable it on all vhosts that use a given
IP address / port.
If there is one server block configured to enable http2,then it is
enabled for all server blocks on this IP.
See https://stackoverflow.com/a/39466948/263061.
'';
};
root = mkOption {
type = types.nullOr types.path;
default = null;

View File

@ -109,9 +109,5 @@ in
};
config = {
services.xserver.displayManager.session = cfg.session.list;
environment.systemPackages =
mkIf cfg.session.needBGPackages [ pkgs.feh ]; # xsetroot via xserver.enable
};
config.services.xserver.displayManager.session = cfg.session.list;
}

View File

@ -5,6 +5,7 @@ with lib;
let
xcfg = config.services.xserver;
pcfg = config.hardware.pulseaudio;
cfg = xcfg.desktopManager.xfce;
in
@ -96,8 +97,8 @@ in
pkgs.xfce.xfce4icontheme
pkgs.xfce.xfce4session
pkgs.xfce.xfce4settings
pkgs.xfce.xfce4mixer
pkgs.xfce.xfce4volumed
(if pcfg.enable then pkgs.xfce.xfce4mixer_pulse else pkgs.xfce.xfce4mixer)
(if pcfg.enable then pkgs.xfce.xfce4volumed_pulse else pkgs.xfce.xfce4volumed)
pkgs.xfce.xfce4-screenshooter
pkgs.xfce.xfconf
# This supplies some "abstract" icons such as

View File

@ -434,7 +434,9 @@ in
["firewire_ohci" "firewire_core" "firewire_sbp2"];
# Some modules that may be needed for mounting anything ciphered
boot.initrd.availableKernelModules = [ "dm_mod" "dm_crypt" "cryptd" ] ++ luks.cryptoModules;
# Also load input_leds to get caps lock light working (#12456)
boot.initrd.availableKernelModules = [ "dm_mod" "dm_crypt" "cryptd" "input_leds" ]
++ luks.cryptoModules;
# copy the cryptsetup binary and it's dependencies
boot.initrd.extraUtilsCommands = ''

View File

@ -268,7 +268,7 @@ in
assertions = [
{
assertion = config.networking.hostId != null;
message = "ZFS requires config.networking.hostId to be set";
message = "ZFS requires networking.hostId to be set";
}
{
assertion = !cfgZfs.forceImportAll || cfgZfs.forceImportRoot;

View File

@ -226,6 +226,7 @@ let self = {
# 17.09.2356.cb751f9b1c3
"17.09".eu-west-1.hvm-ebs = "ami-d40185ad";
"17.09".eu-west-2.hvm-ebs = "ami-c5445da1";
"17.09".eu-west-3.hvm-ebs = "ami-2636815b";
"17.09".eu-central-1.hvm-ebs = "ami-e758d388";
"17.09".us-east-1.hvm-ebs = "ami-865327fc";
"17.09".us-east-2.hvm-ebs = "ami-074d6562";

View File

@ -37,11 +37,13 @@ in {
'';
};
virtualisation.libvirtd.enableKVM = mkOption {
type = types.bool;
default = true;
virtualisation.libvirtd.qemuPackage = mkOption {
type = types.package;
default = pkgs.qemu;
description = ''
This option enables support for QEMU/KVM in libvirtd.
Qemu package to use with libvirt.
`pkgs.qemu` can emulate alien architectures (e.g. aarch64 on x86)
`pkgs.qemu_kvm` saves disk space allowing to emulate only host architectures.
'';
};
@ -102,7 +104,7 @@ in {
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ libvirt netcat-openbsd qemu_kvm ];
environment.systemPackages = with pkgs; [ libvirt netcat-openbsd cfg.qemuPackage ];
boot.kernelModules = [ "tun" ];
@ -154,9 +156,9 @@ in {
# stable (not GC'able as in /nix/store) paths for using in <emulator> section of xml configs
mkdir -p /run/libvirt/nix-emulators
ln -s --force ${pkgs.libvirt}/libexec/libvirt_lxc /run/libvirt/nix-emulators/
${optionalString pkgs.stdenv.isAarch64 "ln -s --force ${pkgs.qemu}/bin/qemu-system-aarch64 /run/libvirt/nix-emulators/"}
${optionalString cfg.enableKVM "ln -s --force ${pkgs.qemu_kvm}/bin/qemu-kvm /run/libvirt/nix-emulators/"}
for emulator in ${pkgs.libvirt}/libexec/libvirt_lxc ${cfg.qemuPackage}/bin/qemu-kvm ${cfg.qemuPackage}/bin/qemu-system-*; do
ln -s --force "$emulator" /run/libvirt/nix-emulators/
done
${optionalString cfg.qemuOvmf ''
mkdir -p /run/libvirt/nix-ovmf

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, libtool, intltool, pkgconfig, glib
, gtk2, curl, mpd_clientlib, libsoup, gob2, vala_0_23, libunique
, gtk2, curl, mpd_clientlib, libsoup, gob2, vala, libunique
, libSM, libICE, sqlite, hicolor_icon_theme, wrapGAppsHook
}:
@ -24,11 +24,10 @@ stdenv.mkDerivation rec {
sha256 = "0b3bnxf98i5lhjyljvgxgx9xmb6p46cn3a9cccrng14nagri9556";
};
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ pkgconfig libtool intltool gob2 vala wrapGAppsHook ];
buildInputs = [
libtool intltool glib gtk2 curl mpd_clientlib libsoup
libunique libmpd gob2 vala_0_23 libSM libICE sqlite hicolor_icon_theme
wrapGAppsHook
glib gtk2 curl mpd_clientlib libsoup
libunique libmpd libSM libICE sqlite hicolor_icon_theme
];
meta = with stdenv.lib; {

View File

@ -9,7 +9,7 @@ let
# Latest version number can be found at:
# http://repository-origin.spotify.com/pool/non-free/s/spotify-client/
# Be careful not to pick the testing version.
version = "1.0.64.407.g9bd02c2d-26";
version = "1.0.69.336.g7edcc575-39";
deps = [
alsaLib
@ -54,7 +54,7 @@ stdenv.mkDerivation {
src = fetchurl {
url = "https://repository-origin.spotify.com/pool/non-free/s/spotify-client/spotify-client_${version}_amd64.deb";
sha256 = "0zc8vclf1wx60yllc1jgzhqyv5lkwz95qmmy5f79zkj6vrdak5wc";
sha256 = "0bh2q7g478g7wj661fypxcbhrbq87zingfyigg7rz1shgsgwc3gd";
};
buildInputs = [ dpkg makeWrapper ];

View File

@ -27,9 +27,9 @@ in rec {
preview = mkStudio {
pname = "android-studio-preview";
version = "3.1.0.4"; # "Android Studio 3.1 Canary 5"
build = "171.4474551";
sha256Hash = "0rgz1p67ra4q0jjb343xqm7c3yrpk1mly8r80cvpqqqq4xgfwa20";
version = "3.1.0.5"; # "Android Studio 3.1 Canary 6"
build = "173.4506631";
sha256Hash = "10yw27rxv6pfvyl9w18ch63lm85ykj7ssrv87pchvwkmsscaw2zn";
meta = stable.meta // {
description = "The Official IDE for Android (preview version)";

View File

@ -114,16 +114,16 @@ rec {
};
eclipse-platform-47 = buildEclipse {
name = "eclipse-platform-4.7.1a";
name = "eclipse-platform-4.7.2";
description = "Eclipse Platform Oxygen";
sources = {
"x86_64-linux" = fetchurl {
url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.7.1a-201710090410/eclipse-platform-4.7.1a-linux-gtk-x86_64.tar.gz;
sha256 = "13gyrnhyhdpsrbi5nl0fhpwrqz3gdyqq3r0m1f2z3y6yr75sgw33";
url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.7.2-201711300510/eclipse-platform-4.7.2-linux-gtk-x86_64.tar.gz;
sha256 = "1zl406brvhh25dkd2pi1kvz5386gzkybpwik03aadpzmjrbm9730";
};
"i686-linux" = fetchurl {
url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.7.1a-201710090410/eclipse-platform-4.7.1a-linux-gtk.tar.gz;
sha256 = "013dfk23wa4jy177ywrkkr16wdjf6jxzjcz6mkl4ygki47yj9c5s";
url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.7.2-201711300510/eclipse-platform-4.7.2-linux-gtk.tar.gz;
sha256 = "0v0i13ah8d8zmcv0ip1ia5ifnfnl76aibiqpv4q4lih5d1qsa79d";
};
};
};
@ -168,16 +168,16 @@ rec {
};
eclipse-sdk-47 = buildEclipse {
name = "eclipse-sdk-4.7.1a";
name = "eclipse-sdk-4.7.2";
description = "Eclipse Oxygen Classic";
sources = {
"x86_64-linux" = fetchurl {
url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.7.1a-201710090410/eclipse-SDK-4.7.1a-linux-gtk-x86_64.tar.gz;
sha256 = "05xpdbig170rw7k5dx33dlyz187wv62mma8s5wxrqi7f4117sx4y";
url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.7.2-201711300510/eclipse-SDK-4.7.2-linux-gtk-x86_64.tar.gz;
sha256 = "1j5d72rkl3lq3rpnvq1spsa0zlzbmbkgadfhbz868sqqbavrwbzv";
};
"i686-linux" = fetchurl {
url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.7.1a-201710090410/eclipse-SDK-4.7.1a-linux-gtk.tar.gz;
sha256 = "09c9m88k1cm9bhd900p5yf2q9pijrymgjcbhmagz0fcwhldrv0ys";
url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.7.2-201711300510/eclipse-SDK-4.7.2-linux-gtk.tar.gz;
sha256 = "117436ni79v1kiync8b3wkfkb8a5rv3sbqp6qnwbmanwkvnyvfvc";
};
};
};

View File

@ -362,12 +362,12 @@ rec {
jdt = buildEclipseUpdateSite rec {
name = "jdt-${version}";
version = "4.7.1a";
version = "4.7.2";
src = fetchzip {
stripRoot = false;
url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.7.1a-201710090410/org.eclipse.jdt-4.7.1a.zip;
sha256 = "1hpvpj8ghfk8aqbzfrpcxw3wxrczq6zd3bpx4sxjrsi926jsjaf4";
url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.7.2-201711300510/org.eclipse.jdt-4.7.2.zip;
sha256 = "1yzqnjs88cdyyqv8f1g8fbfyccci29f3pzxxvaz7szxicwzn59mz";
};
meta = with stdenv.lib; {

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, vala_0_26, which, autoconf, automake
{ stdenv, fetchurl, pkgconfig, vala_0_28, which, autoconf, automake
, libtool, glib, gtk3, gnome3, libwnck3, asciidoc, python3Packages }:
stdenv.mkDerivation rec {
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ vala_0_26 which autoconf automake
buildInputs = [ vala_0_28 which autoconf automake
libtool glib gtk3 libwnck3 asciidoc
gnome3.gtksourceview gnome3.vte_290 python3Packages.pygments ];

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, gdk_pixbuf, scons, pkgconfig, gtk2, glib,
pcre, cfitsio, perl, gob2, vala_0_23, libtiff, json_glib }:
pcre, cfitsio, perl, gob2, vala, libtiff, json_glib }:
stdenv.mkDerivation rec {
name = "giv-${version}";
@ -25,15 +25,14 @@ stdenv.mkDerivation rec {
installPhase = "scons install";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gdk_pixbuf gtk2 glib scons pcre cfitsio perl gob2 vala_0_23 libtiff
json_glib ];
nativeBuildInputs = [ scons pkgconfig vala perl gob2 ];
buildInputs = [ gdk_pixbuf gtk2 glib pcre cfitsio libtiff json_glib ];
meta = {
meta = with stdenv.lib; {
description = "Cross platform image and hierarchical vector viewer based";
homepage = http://giv.sourceforge.net/giv/;
license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ viric ];
platforms = with platforms; linux;
};
}

View File

@ -1,36 +1,104 @@
{ stdenv, fetchurl, makeWrapper, xulrunner }:
{ stdenv, fetchurl, lib, makeWrapper,
# build dependencies
alsaLib, atk, cairo, cups, dbus, expat, fontconfig,
freetype, gdk_pixbuf, glib, gnome2, nspr, nss, xlibs,
glibc, udev
}:
stdenv.mkDerivation rec {
version = "2.0.21";
version = "3.0.4";
name = "pencil-${version}";
src = fetchurl {
url = "https://github.com/prikhi/pencil/releases/download/v${version}/Pencil-${version}-linux-pkg.tar.gz";
sha256 = "0xq3gczqy7gzf1997qxdql5z7qqk1vabr0rzgakmsi4dq2q4d3kq";
url = "http://pencil.evolus.vn/dl/V${version}/Pencil_${version}_amd64.deb";
sha256 = "58e2b794c615ea8715d8374f177e19c87f7071e359826ec34a59836d537a62fd";
};
buildPhase = "";
sourceRoot = ".";
buildInputs = [ makeWrapper ];
unpackCmd = ''
ar p "$src" data.tar.xz | tar xJ
'';
buildPhase = ":";
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p "$out"
cp -r usr/* "$out"
sed -e "s|/usr/share/evolus-pencil|$out/share/evolus-pencil|" \
-i "$out/bin/pencil"
sed -e "s|/usr/bin/pencil|$out/bin/pencil|" \
-e "s|Icon=.*|Icon=$out/share/evolus-pencil/skin/classic/icon.svg|" \
-i "$out/share/applications/pencil.desktop"
mkdir -p $out/bin
cp -R usr/share opt $out/
wrapProgram $out/bin/pencil \
--prefix PATH ":" ${xulrunner}/bin
# fix the path in the desktop file
substituteInPlace \
$out/share/applications/pencil.desktop \
--replace /opt/ $out/opt/
# symlink the binary to bin/
ln -s $out/opt/Pencil/pencil $out/bin/pencil
'';
preFixup = let
packages = [
alsaLib
atk
cairo
cups
dbus
expat
fontconfig
freetype
gdk_pixbuf
glib
gnome2.GConf
gnome2.gtk
gnome2.pango
nspr
nss
xlibs.libX11
xlibs.libXScrnSaver
xlibs.libXcomposite
xlibs.libXcursor
xlibs.libXdamage
xlibs.libXext
xlibs.libXfixes
xlibs.libXi
xlibs.libXrandr
xlibs.libXrender
xlibs.libXtst
stdenv.cc.cc.lib
stdenv.cc.cc
glibc
];
libPathNative = lib.makeLibraryPath packages;
libPath64 = lib.makeSearchPathOutput "lib" "lib64" packages;
libPath = "${libPathNative}:${libPath64}";
in ''
# patch executable
patchelf \
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath "${libPath}:$out/opt/Pencil" \
$out/opt/Pencil/pencil
# patch libnode
patchelf \
--set-rpath "${libPath}" \
$out/opt/Pencil/libnode.so
# libffmpeg is for some reason not executable
chmod a+x $out/opt/Pencil/libffmpeg.so
# fix missing libudev
ln -s ${udev}/lib/systemd/libsystemd-shared.so $out/opt/Pencil/libudev.so.1
wrapProgram $out/opt/Pencil/pencil \
--prefix LD_LIBRARY_PATH : $out/opt/Pencil
'';
meta = with stdenv.lib; {
description = "GUI prototyping/mockup tool";
homepage = https://github.com/prikhi/pencil;
license = licenses.gpl2; # Commercial license is also available
maintainers = with maintainers; [ bjornfor prikhi ];
platforms = platforms.linux;
homepage = "https://pencil.evolus.vn/";
license = licenses.gpl2; # Commercial license is also available
maintainers = with maintainers; [ bjornfor prikhi mrVanDalo ];
platforms = platforms.linux;
};
}

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl
, avahi, libjpeg, libusb1, libv4l, net_snmp
, avahi, libjpeg, libusb1, libv4l, net_snmp, libpng
, gettext, pkgconfig
# List of { src name backend } attibute sets - see installFirmware below:
@ -24,7 +24,7 @@ stdenv.mkDerivation {
++ stdenv.lib.optional (libusb1 != null) "--enable-libusb_1_0"
;
buildInputs = [ avahi libusb1 libv4l net_snmp ];
buildInputs = [ avahi libusb1 libv4l net_snmp libpng ];
nativeBuildInputs = [ gettext pkgconfig ];
enableParallelBuilding = true;

View File

@ -1,38 +1,37 @@
{ fetchurl, stdenv, m4, glibc, gtk3, libexif, libgphoto2, libsoup, libxml2, vala_0_28, sqlite
, webkitgtk, pkgconfig, gnome3, gst_all_1, which, udev, libgudev, libraw, glib, json_glib
, gettext, desktop_file_utils, lcms2, gdk_pixbuf, librsvg, wrapGAppsHook
, gnome_doc_utils, hicolor_icon_theme, itstool, libgdata }:
{ fetchurl, stdenv, meson, ninja, gtk3, libexif, libgphoto2, libsoup, libxml2, vala, sqlite
, webkitgtk, pkgconfig, gnome3, gst_all_1, libgudev, libraw, glib, json_glib
, gettext, desktop_file_utils, gdk_pixbuf, librsvg, wrapGAppsHook
, itstool, libgdata }:
# for dependencies see http://www.yorba.org/projects/shotwell/install/
# for dependencies see https://wiki.gnome.org/Apps/Shotwell/BuildingAndInstalling
stdenv.mkDerivation rec {
version = "${major}.${minor}";
major = "0.27";
minor = "1";
minor = "2";
name = "shotwell-${version}";
src = fetchurl {
url = "mirror://gnome/sources/shotwell/${major}/${name}.tar.xz";
sha256 = "1jav7qv0s1v6wvd7x2ri85hjqnbswq883pnd228qhd6bhjbryp89";
sha256 = "0bxc15gk2306fvxg6bg1s6c706yd89i66ldng0z102mcfi98warb";
};
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/glib-2.0 -I${glib.out}/lib/glib-2.0/include";
nativeBuildInputs = [
meson ninja pkgconfig itstool gettext desktop_file_utils wrapGAppsHook
];
configureFlags = [ "--disable-gsettings-convert-install" ];
buildInputs = [
gtk3 libexif libgphoto2 libsoup libxml2 vala sqlite webkitgtk
gst_all_1.gstreamer gst_all_1.gst-plugins-base gnome3.libgee
libgudev gnome3.gexiv2 gnome3.gsettings_desktop_schemas
libraw json_glib glib gdk_pixbuf librsvg gnome3.rest
gnome3.gcr gnome3.defaultIconTheme libgdata
];
preConfigure = ''
patchShebangs .
postInstall = ''
glib-compile-schemas $out/share/glib-2.0/schemas
'';
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
buildInputs = [ m4 glibc gtk3 libexif libgphoto2 libsoup libxml2 vala_0_28 sqlite webkitgtk
gst_all_1.gstreamer gst_all_1.gst-plugins-base gnome3.libgee
which udev libgudev gnome3.gexiv2 hicolor_icon_theme
libraw json_glib gettext desktop_file_utils glib lcms2 gdk_pixbuf librsvg
gnome_doc_utils gnome3.rest gnome3.gcr
gnome3.defaultIconTheme itstool libgdata ];
meta = with stdenv.lib; {
description = "Popular photo organizer for the GNOME desktop";
homepage = https://wiki.gnome.org/Apps/Shotwell;

View File

@ -1,31 +1,42 @@
{ stdenv, unzip, fetchFromGitHub, pkgconfig, gtk3, vala, cmake, vte, libgee, wnck, gettext, libsecret, json_glib }:
{ stdenv, fetchurl, fetchFromGitHub, pkgconfig, gtk3, vala, cmake, vte, libgee, wnck, zssh, gettext, librsvg, libsecret, json_glib }:
stdenv.mkDerivation rec {
name = "deepin-terminal-${version}";
version = "2.6.1";
version = "2.9.2";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = "deepin-terminal";
rev = version;
sha256 = "11lylkrv69k2jvwparnxymr7z3x9cs82q9p0lr2wrfr48hnfwp8b";
sha256 = "1pmg1acs44c30hz9rpr6x1l6lyvlylc2pz5lv4ai0rhv37n51yn2";
};
patchPhase = ''
substituteInPlace project_path.c --replace __FILE__ \"$out/share/deepin-terminal/\"
patches = [
# Do not build vendored zssh and vte
(fetchurl {
name = "remove-vendor.patch";
url = https://git.archlinux.org/svntogit/community.git/plain/trunk/remove-vendor.patch?h=packages/deepin-terminal&id=5baa756e8e6ac8ce43fb122fce270756cc55086c;
sha256 = "0zrq004malphpy7xv5z502bpq30ybyj1rr4hlq4k5m4fpk29dlw6";
})
];
postPatch = ''
substituteInPlace project_path.c --replace __FILE__ \"$out/share/deepin-terminal/\"
substituteInPlace ssh_login.sh --replace /usr/lib/deepin-terminal/zssh "${zssh}/bin/zssh"
'';
nativeBuildInputs = [ pkgconfig vala cmake gettext unzip ];
buildInputs = [ gtk3 vte libgee wnck libsecret json_glib ];
nativeBuildInputs = [ pkgconfig vala cmake gettext ];
buildInputs = [ gtk3 vte libgee wnck librsvg libsecret json_glib ];
meta = {
meta = with stdenv.lib; {
description = "The default terminal emulation for Deepin";
longDescription = ''
Deepin terminal, it sharpens your focus in the world of command line!
It is an advanced terminal emulator with workspace, multiple windows, remote management, quake mode and other features.
Deepin terminal, it sharpens your focus in the world of command line!
It is an advanced terminal emulator with workspace, multiple windows, remote management, quake mode and other features.
'';
homepage = https://github.com/linuxdeepin/deepin-terminal/;
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.linux;
license = licenses.gpl3;
maintainers = with maintainers; [ ];
platforms = platforms.linux;
};
}

View File

@ -2,7 +2,7 @@
buildPythonApplication rec {
name = "dmensamenu-${version}";
version = "1.1.0";
version = "1.1.1";
propagatedBuildInputs = [
requests
@ -13,7 +13,7 @@ buildPythonApplication rec {
owner = "dotlambda";
repo = "dmensamenu";
rev = version;
sha256 = "126gidid53blrpfq1vd85iim338qrk7n8r4nyhh2hvsi7cfaab1y";
sha256 = "0gc23k2zbv9zfc0v27y4spiva8cizxavpzd5pch5qbawh2lak6a3";
};
meta = with stdenv.lib; {

View File

@ -1,34 +0,0 @@
{stdenv, fetchurl #, libX11, libXinerama, enableXft, libXft, zlib
, swc, wld, wayland, libxkbcommon, pixman, fontconfig
}:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "dmenu-wayland-${version}";
version = "git-2017-04-07";
rev = "f385d9d18813071b4b4257bf8d4d572daeda0e70";
src = fetchurl {
url = "https://github.com/michaelforney/dmenu/archive/${rev}.tar.gz";
sha256 = "0y1jvh2815c005ns0bsjxsmz82smw22n6jsfg2g03a1pacakp6ys";
};
buildInputs = [ swc wld wayland libxkbcommon pixman fontconfig ];
postPatch = ''
sed -ri -e 's!\<(dmenu|dmenu_path)\>!'"$out/bin"'/&!g' dmenu_run
'';
preConfigure = [
''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g; s@/usr/share/swc@${swc}/share/swc@g" config.mk''
];
meta = {
description = "A generic, highly customizable, and efficient menu for the X Window System";
homepage = http://tools.suckless.org/dmenu;
license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [ ];
platforms = with stdenv.lib.platforms; all;
};
}

View File

@ -1,5 +1,5 @@
{ stdenv, lib, fetchFromGitHub, makeWrapper
, pkgconfig, cmake, libxml2, vala_0_23, intltool, libmx, gnome3, gtk3, gtk_doc
, pkgconfig, cmake, libxml2, vala_0_26, intltool, libmx, gnome3, gtk3, gtk_doc
, keybinder3, clutter_gtk, libnotify
, libxkbcommon, xorg, udev
, bashInteractive
@ -19,7 +19,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ pkgconfig cmake intltool makeWrapper ];
buildInputs = [
vala_0_23 gtk3 gnome3.gnome_common gnome3.libgee
vala_0_26 gtk3 gnome3.gnome_common gnome3.libgee
gtk_doc clutter_gtk libmx keybinder3 libxml2 libnotify
xorg.libpthreadstubs xorg.libXdmcp xorg.libxshmfence
libxkbcommon

View File

@ -0,0 +1,18 @@
Fix "No known features for CXX compiler", see
https://cmake.org/pipermail/cmake/2016-December/064733.html and the note at
https://cmake.org/cmake/help/v3.10/command/cmake_minimum_required.html
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,10 +20,10 @@ if(NOT CMAKE_BUILD_TYPE)
FORCE)
endif()
-project(KeePassXC)
-
cmake_minimum_required(VERSION 3.1.0)
+project(KeePassXC)
+
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
# Support Visual Studio Code

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, fetchpatch,
cmake, libgcrypt, zlib, libmicrohttpd, libXtst, qtbase, qttools, libgpgerror, glibcLocales, libyubikey, yubikey-personalization, libXi, qtx11extras
{ stdenv, fetchFromGitHub, cmake, makeWrapper, qttools
, libgcrypt, zlib, libmicrohttpd, libXtst, qtbase, libgpgerror, glibcLocales, libyubikey, yubikey-personalization, libXi, qtx11extras
, withKeePassHTTP ? true
}:
@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
sha256 = "0q913v2ka6p7jr7c4w9fq8aqh5v6nxqgcv9h7zllk5p0amsf8d80";
};
patches = [ ./cmake.patch ./darwin.patch ];
cmakeFlags = [
"-DWITH_GUI_TESTS=ON"
"-DWITH_XC_AUTOTYPE=ON"
@ -28,13 +30,22 @@ stdenv.mkDerivation rec {
make test ARGS+="-E testgui --output-on-failure"
'';
buildInputs = [ cmake libgcrypt zlib qtbase qttools libXtst libmicrohttpd libgpgerror glibcLocales libyubikey yubikey-personalization libXi qtx11extras ];
nativeBuildInputs = [ cmake makeWrapper qttools ];
buildInputs = [ libgcrypt zlib qtbase libXtst libmicrohttpd libgpgerror glibcLocales libyubikey yubikey-personalization libXi qtx11extras ];
postInstall = optionalString stdenv.isDarwin ''
# Make it work without Qt in PATH.
wrapProgram $out/Applications/KeePassXC.app/Contents/MacOS/KeePassXC \
--set QT_PLUGIN_PATH ${qtbase.bin}/${qtbase.qtPluginPrefix}
'';
meta = {
description = "Fork of the keepassX password-manager with additional http-interface to allow browser-integration an use with plugins such as PasslFox (https://github.com/pfn/passifox). See also keepassX2.";
homepage = https://github.com/keepassxreboot/keepassxc;
license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ s1lvester jonafato ];
platforms = with stdenv.lib.platforms; linux;
description = "Password manager to store your passwords safely and auto-type them into your everyday websites and applications";
longDescription = "A community fork of KeePassX, which is itself a port of KeePass Password Safe. The goal is to extend and improve KeePassX with new features and bugfixes to provide a feature-rich, fully cross-platform and modern open-source password manager. Accessible via native cross-platform GUI and via CLI. Includes optional http-interface to allow browser-integration with plugins like PassIFox (https://github.com/pfn/passifox).";
homepage = https://keepassxc.org/;
license = licenses.gpl2;
maintainers = with maintainers; [ s1lvester jonafato ];
platforms = with platforms; linux ++ darwin;
};
}

View File

@ -0,0 +1,52 @@
Remove the use of macdeployqt to avoid copying dependencies and
reduce installation size from 90 MB to 9 MB.
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -188,8 +188,8 @@ else()
set(PROGNAME keepassxc)
endif()
-if(APPLE AND WITH_APP_BUNDLE AND "${CMAKE_INSTALL_PREFIX}" STREQUAL "/usr/local")
- set(CMAKE_INSTALL_PREFIX "/Applications")
+if(APPLE AND WITH_APP_BUNDLE)
+ set(CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}/Applications")
endif()
if(MINGW)
@@ -198,7 +198,7 @@ if(MINGW)
set(PLUGIN_INSTALL_DIR ".")
set(DATA_INSTALL_DIR "share")
elseif(APPLE AND WITH_APP_BUNDLE)
- set(CLI_INSTALL_DIR "/usr/local/bin")
+ set(CLI_INSTALL_DIR "../bin")
set(BIN_INSTALL_DIR ".")
set(PLUGIN_INSTALL_DIR "${PROGNAME}.app/Contents/PlugIns")
set(DATA_INSTALL_DIR "${PROGNAME}.app/Contents/Resources")
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5255186..0175983 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -282,11 +282,6 @@ if(APPLE AND WITH_APP_BUNDLE)
if(NOT DEFINED QT_BINARY_DIR)
set(QT_BINARY_DIR "/usr/local/opt/qt5/bin" CACHE PATH "QT binary folder")
endif()
- add_custom_command(TARGET ${PROGNAME}
- POST_BUILD
- COMMAND ${QT_BINARY_DIR}/macdeployqt ${PROGNAME}.app
- WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/src
- COMMENT "Deploying app bundle")
endif()
if(MINGW)
diff --git a/src/autotype/mac/CMakeLists.txt b/src/autotype/mac/CMakeLists.txt
index ac93de0..03d502e 100644
--- a/src/autotype/mac/CMakeLists.txt
+++ b/src/autotype/mac/CMakeLists.txt
@@ -16,7 +16,6 @@ if(WITH_APP_BUNDLE)
add_custom_command(TARGET keepassx-autotype-cocoa
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/libkeepassx-autotype-cocoa.so ${PLUGIN_INSTALL_DIR}
- COMMAND ${QT_BINARY_DIR}/macdeployqt ${PROGNAME}.app -executable=${PLUGIN_INSTALL_DIR}/libkeepassx-autotype-cocoa.so -no-plugins
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/src
COMMENT "Deploying autotype plugin")
else()

View File

@ -2,14 +2,14 @@
stdenv.mkDerivation rec {
pname = "pell";
version = "0.0.2";
version = "0.0.3";
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "ebzzry";
repo = pname;
rev = "ec14de0a9b666433954184167bf3b82cf21193f8";
sha256 = "0r2gbb4l9rr5x99m62zicknsp1gf9fr124xpyd8ak9izr5hvskn9";
rev = "c25ddd257dd1d1481df5ccac0f99f6bee1ee1ebb";
sha256 = "0fharadbf63mgpmafs8d4k9h83jj9naxldp240xnc5gkna32a07y";
};
installPhase = ''

View File

@ -1,35 +1,33 @@
{ stdenv, fetchurl, intltool, pkgconfig, glib, libnotify, gtk3, libgee
, keybinder3, json_glib, zeitgeist, vala_0_23, hicolor_icon_theme
, keybinder3, json_glib, zeitgeist, vala_0_34, hicolor_icon_theme
}:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "synapse-0.2.99.1";
let
version = "0.2.99.2";
in stdenv.mkDerivation rec {
name = "synapse-${version}";
src = fetchurl {
url = "https://launchpad.net/synapse-project/0.3/0.2.99.1/+download/${name}.tar.xz";
sha256 = "846d8a5130580bb47c754bb7f20dc76311e589c00a18b02370a5d78b52409220";
url = "https://launchpad.net/synapse-project/0.3/${version}/+download/${name}.tar.xz";
sha256 = "04cnsmwf9xa52dh7rpb4ia715c0ls8jg1p7llc9yf3lbg1m0bvzv";
};
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ pkgconfig intltool vala_0_34 ];
buildInputs = [
intltool glib libnotify gtk3 libgee keybinder3 json_glib zeitgeist
vala_0_23 hicolor_icon_theme
glib libnotify gtk3 libgee keybinder3 json_glib zeitgeist
hicolor_icon_theme
];
meta = {
longDescription = ''
Semantic launcher written in Vala that you can use to start applications
as well as find and access relevant documents and files by making use of
the Zeitgeist engine
'';
description = ''
Semantic launcher to start applications and find relevant files
'';
homepage = https://launchpad.net/synapse-project;
license = stdenv.lib.licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [ mahe ];
platforms = with stdenv.lib.platforms; all;
meta = with stdenv.lib; {
longDescription = ''
Semantic launcher written in Vala that you can use to start applications
as well as find and access relevant documents and files by making use of
the Zeitgeist engine
'';
description = "Semantic launcher to start applications and find relevant files";
homepage = https://launchpad.net/synapse-project;
license = licenses.gpl3;
maintainers = with maintainers; [ mahe ];
platforms = with platforms; all;
};
}

View File

@ -3,16 +3,19 @@
}:
let
version = "12";
version = "13";
termite = stdenv.mkDerivation {
name = "termite-${version}";
src = fetchgit {
url = "https://github.com/thestinger/termite";
rev = "refs/tags/v${version}";
sha256 = "0s6dyg3vcqk5qcx90bs24wdnd3p56rdjdcanx4pcxvp6ksjl61jz";
sha256 = "02cn70ygl93ghhkhs3xdxn5b1yadc255v3yp8cmhhyzsv5027hvj";
};
# https://github.com/thestinger/termite/pull/516
patches = [ ./url_regexp_trailing.patch ];
postPatch = "sed '1i#include <math.h>' -i termite.cc";
makeFlags = [ "VERSION=v${version}" "PREFIX=" "DESTDIR=$(out)" ];

View File

@ -0,0 +1,27 @@
Based on https://github.com/thestinger/termite/pull/516
Modified to apply to v13
From 65a454ffa8e681f3f14729cba7c42e1570a85e8a Mon Sep 17 00:00:00 2001
From: Paul Baecher <pbaecher@gmail.com>
Date: Thu, 7 Sep 2017 22:58:51 +0200
Subject: [PATCH] Do not match punctuation at the end of URLs
Punctuation at the end of URLs is most likely part of natural language
or markup (for example in Markdown). Do not match it as part of the URL.
---
url_regex.hh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/url_regex.hh b/url_regex.hh
index 2ec6be8..3039b53 100644
--- a/url_regex.hh
+++ b/url_regex.hh
@@ -9,7 +9,7 @@
#define PORT "(?:\\:[[:digit:]]{1,5})?"
#define SCHEME "(?:[[:alpha:]][+-.[:alnum:]]*:)"
#define USERPASS USERCHARS_CLASS "+(?:\\:" PASSCHARS_CLASS "+)?"
-#define URLPATH "(?:/[[:alnum:]\\Q-_.!~*'();/?:@&=+$,#%\\E]*)?"
+#define URLPATH "(?:/[[:alnum:]\\Q-_.!~*'();/?:@&=+$,#%\\E]*(?<![\\Q.,:;()!?\\E]))?"
const char * const url_regex = SCHEME "//(?:" USERPASS "\\@)?" HOST PORT URLPATH;

View File

@ -0,0 +1,47 @@
{ stdenv, buildEnv, fetchFromGitHub, cmake, pkgconfig
, qtbase, qtcharts, qtmultimedia, qtquickcontrols, qtquickcontrols2
, faad2, rtl-sdr, libusb, fftwSinglePrec }:
let
version = "1.0-rc1";
in stdenv.mkDerivation {
name = "welle-io-${version}";
src = fetchFromGitHub {
owner = "AlbrechtL";
repo = "welle.io";
rev = "V${version}";
sha256 = "1xi59rmk3rdqqxxxrm2pbllrlsql46vxs95l1pkfx7bp8f7n7rsv";
};
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [
faad2
fftwSinglePrec
libusb
qtbase
qtcharts
qtmultimedia
qtquickcontrols
qtquickcontrols2
rtl-sdr
];
cmakeFlags = [
"-DRTLSDR=true"
];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "A DAB/DAB+ Software Radio";
homepage = http://www.welle.io/;
maintainers = with maintainers; [ ck3d ];
license = licenses.gpl2;
platforms = with platforms; linux ++ darwin;
};
}

View File

@ -0,0 +1,49 @@
{ stdenv, fetchurl, xorg, jre, makeWrapper }:
let
rpath = stdenv.lib.makeLibraryPath (with xorg; [
libXtst
]);
in
stdenv.mkDerivation rec {
name = "apache-directory-studio-${version}";
version = "2.0.0.v20170904-M13";
src =
if stdenv.system == "x86_64-linux" then
fetchurl {
url = "mirror://apache/directory/studio/${version}/ApacheDirectoryStudio-${version}-linux.gtk.x86_64.tar.gz";
sha256 = "1jfnm6m0ijk31r30hhrxxnizk742dm317iny041p29v897rma7aq";
}
else if stdenv.system == "i686-linux" then
fetchurl {
url = "mirror://apache/directory/studio/${version}/ApacheDirectoryStudio-${version}-linux.gtk.x86.tar.gz";
sha256 = "1bxmgram42qyhrqkgp5k8770f5mjjdd4c6xl4gj09smiycm1qa4n";
}
else throw "Unsupported system: ${stdenv.system}";
buildInputs = [ makeWrapper ];
installPhase = ''
dest="$out/libexec/ApacheDirectoryStudio"
mkdir -p "$dest"
cp -r . "$dest"
mkdir -p "$out/bin"
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
"$dest/ApacheDirectoryStudio"
makeWrapper "$dest/ApacheDirectoryStudio" \
"$out/bin/ApacheDirectoryStudio" \
--prefix PATH : "${jre}/bin" \
--prefix LD_LIBRARY_PATH : "${rpath}"
'';
meta = with stdenv.lib; {
description = "Eclipse-based LDAP browser and directory client";
homepage = "https://directory.apache.org/studio/";
license = licenses.asl20;
# Upstream supports macOS and Windows too.
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, pkgconfig, intltool, vala_0_23, wrapGAppsHook
{ stdenv, fetchurl, cmake, pkgconfig, intltool, vala_0_34, wrapGAppsHook
, gtk3, webkitgtk, librsvg, libnotify, sqlite
, glib_networking, gsettings_desktop_schemas, libsoup, pcre, gnome3
, libxcb, libpthreadstubs, libXdmcp, libxkbcommon, epoxy, at_spi2_core
@ -29,11 +29,10 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
pkgconfig wrapGAppsHook cmake intltool
pkgconfig wrapGAppsHook cmake intltool vala_0_34
];
buildInputs = [
vala_0_23
gtk3 webkitgtk librsvg libnotify sqlite gsettings_desktop_schemas pcre gnome3.gcr
libxcb libpthreadstubs libXdmcp libxkbcommon epoxy at_spi2_core
(libsoup.override {gnomeSupport = true; valaSupport = true;})

View File

@ -40,13 +40,13 @@ in
stdenv.mkDerivation rec {
name = "signal-desktop-${version}";
version = "1.0.35";
version = "1.1.0";
src =
if stdenv.system == "x86_64-linux" then
fetchurl {
url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb";
sha256 = "d9f9d4d54f4121efc8eadf1cf0ff957828088b313e53b66dc540b851c44c1860";
sha256 = "1v0ydfdgcnkh6rk7gmqbjrzpz56mw2gjmakz58gpn167ln7l1vkl";
}
else
throw "Signal for Desktop is not currently supported on ${stdenv.system}";

View File

@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
src =
if stdenv.system == "x86_64-linux" then
fetchurl {
url = "https://edgehill.s3-us-west-2.amazonaws.com/${version}-${subVersion}/linux-deb/x64/NylasMail.deb";
url = "https://edgehill.s3.amazonaws.com/${version}-${subVersion}/linux-deb/x64/NylasMail.deb";
sha256 = "40060aa1dc3b5187b8ed4a07b9de3427e3c5a291df98c2c82395647fa2aa4ada";
}
else

View File

@ -3,12 +3,12 @@ libX11, glib, gtk2, gdk_pixbuf, pango, atk, cairo, openssl }:
stdenv.mkDerivation rec {
name = "transgui-5.0.1-svn-r${revision}";
revision = "986";
revision = "988";
src = fetchsvn {
url = "https://svn.code.sf.net/p/transgui/code/trunk/";
rev = revision;
sha256 = "0z83hvlhllm6p1z4gkcfi1x3akgn2xkssnfhwp74qynb0n5362pi";
sha256 = "1i6ysxs6d2wsmqi6ha10rl3n562brmhizlanhcfad04i53y8pyxf";
};
nativeBuildInputs = [ pkgconfig ];
@ -27,6 +27,10 @@ stdenv.mkDerivation rec {
substituteInPlace restranslator.pas --replace /usr/ $out/
'';
patches = [
./r988-compile-fix.patch
];
makeFlags = [
"FPC=fpc"
"PP=fpc"

View File

@ -0,0 +1,22 @@
diff --git a/utils.pas b/utils.pas
index eb8b828..1ff2440 100644
--- a/utils.pas
+++ b/utils.pas
@@ -100,7 +100,7 @@ uses
{$ifdef CALLSTACK}
lineinfo2,
{$endif CALLSTACK}
- LazFileUtils, LazUtf8, StdCtrls, Graphics;
+ LazFileUtils, LazUtf8, StdCtrls, Graphics, FileUtil;
{$ifdef windows}
function FileOpenUTF8(Const FileName : string; Mode : Integer) : THandle;
@@ -235,7 +235,7 @@ end;
function ParamStrUTF8(Param: Integer): utf8string;
begin
- Result:=FileUtil.ParamStrUTF8(Param);
+ Result:=ParamStrUTF8(Param);
end;
function ParamCount: integer;

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "snpeff-${version}";
version = "4.3p";
version = "4.3t";
src = fetchurl {
url = "mirror://sourceforge/project/snpeff/snpEff_v4_3p_core.zip";
sha256 = "1xb3k0yxd634znw2q083ligm2ww4p6v64041r9sdy3930lhjvxb1";
url = "mirror://sourceforge/project/snpeff/snpEff_v4_3t_core.zip";
sha256 = "0i12mv93bfv8xjwc3rs2x73d6hkvi7kgbbbx3ry984l3ly4p6nnm";
};
buildInputs = [ unzip jre makeWrapper ];

View File

@ -9,7 +9,7 @@
, ocamlPackages, ncurses
, buildIde ? true
, csdp ? null
, version ? "8.7.1"
, version
}:
let

View File

@ -11,6 +11,10 @@ python2Packages.buildPythonApplication rec {
name = name + "-src";
};
checkInputs = with python2Packages; [
unittest2
];
meta = with stdenv.lib; {
homepage = https://github.com/ejwa/gitinspector;
description = "Statistical analysis tool for git repositories";

View File

@ -21,21 +21,13 @@ assert (!withQt5 -> qt4 != null);
stdenv.mkDerivation rec {
name = "vlc-${version}";
version = "2.2.6";
version = "2.2.8";
src = fetchurl {
url = "http://get.videolan.org/vlc/${version}/${name}.tar.xz";
sha256 = "1a22b913p2227ljz89c4fgjlyln5gcz8z58w32r0wh4srnnd60y4";
sha256 = "1v32snw46rkgbdqdy3dssl2y13i8p2cr1cw1i18r6vdmiy24dw4v";
};
patches = [
(fetchpatch {
name = "CVE-2017-9300.patch";
url = "https://git.videolan.org/?p=vlc/vlc-2.2.git;a=patch;h=55a82442cfea9dab8b853f3a4610f2880c5fadf3;hp=dbe888f9ca9c3b102478b4a16a3d1d985c267899";
sha256 = "0l0fwqkn31lggwc5dkhb58gkv8pc6ng51y0izjigqvfqvhwdnzxn";
})
];
# Comment-out the Qt 5.5 version check, as we do apply the relevant patch.
# https://trac.videolan.org/vlc/ticket/16497
postPatch = if (!withQt5) then null else

View File

@ -5,13 +5,13 @@
stdenv.mkDerivation rec {
name = "jwm-${version}";
version = "1651";
version = "1653";
src = fetchFromGitHub {
owner = "joewing";
repo = "jwm";
rev = "s${version}";
sha256 = "097wqipg1h7h19a5bqdx7iq60fkjrx2niwsgg1f8cfz106yhbp6q";
sha256 = "09ci3g97xmif66pp9n4sdvdmlxpw67pwp8lbjynxhdvha5pwwpv5";
};
nativeBuildInputs = [ pkgconfig automake autoconf libtool gettext which ];

View File

@ -0,0 +1,27 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig
, pango, wayland, libxkbcommon }:
stdenv.mkDerivation rec {
name = "bemenu-2017-02-14";
src = fetchFromGitHub {
owner = "Cloudef";
repo = "bemenu";
rev = "d6261274cf0b3aa51ce8ea7418a79495b20ad558";
sha256 = "08bc623y5yjbz7q83lhl6rb0xs6ji17z79c260bx0fgin8sfj5x8";
};
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ pango wayland libxkbcommon ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "A dynamic menu library and client program inspired by dmenu";
homepage = src.meta.homepage;
license = with licenses; [ gpl3 lgpl3 ];
maintainers = with maintainers; [ gnidorah ];
platforms = platforms.linux;
};
}

View File

@ -1,9 +1,12 @@
{ lib, stdenv, fetchgit, cmake, pkgconfig
{ lib, stdenv, fetchgit, cmake, pkgconfig, makeWrapper, callPackage
, wlc, dbus_libs, wayland, libxkbcommon, pixman, libinput, udev, zlib, libpng
, libdrm, libX11
, westonLite
}:
stdenv.mkDerivation rec {
let
bemenu = callPackage ./bemenu.nix {};
in stdenv.mkDerivation rec {
name = "orbment-${version}";
version = "git-2016-08-13";
@ -14,13 +17,20 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake pkgconfig ];
nativeBuildInputs = [ cmake pkgconfig makeWrapper ];
buildInputs = [
wlc dbus_libs wayland libxkbcommon pixman libinput udev zlib libpng libX11
libdrm
];
postFixup = ''
wrapProgram $out/bin/orbment \
--prefix PATH : "${stdenv.lib.makeBinPath [ bemenu westonLite ]}"
'';
enableParallelBuilding = true;
meta = {
description = "Modular Wayland compositor";
homepage = src.url;

View File

@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
cmakeFlags = "-DVERSION=${version}";
cmakeFlags = "-DVERSION=${version} -DLD_LIBRARY_PATH=/run/opengl-driver/lib:/run/opengl-driver-32/lib";
meta = with stdenv.lib; {
description = "i3-compatible window manager for Wayland";

View File

@ -1,25 +1,53 @@
{ lib, stdenv, fetchurl, fetchFromGitHub, pkgconfig
, swc, libxkbcommon
, wld, wayland, pixman, fontconfig
{ lib, stdenv, fetchFromGitHub, pkgconfig, makeWrapper, newScope
, libxkbcommon
, wayland, pixman, fontconfig
, stConf ? null, stPatches ? []
}:
stdenv.mkDerivation rec {
let
callPackage = newScope self;
self = {
swc = callPackage ./swc.nix {};
wld = callPackage ./wld.nix {};
dmenu-velox = callPackage ./dmenu.nix {};
st-velox = callPackage ./st.nix {
conf = stConf;
patches = stPatches;
};
};
in with self; stdenv.mkDerivation rec {
name = "velox-${version}";
version = "git-2015-11-03";
repo = "https://github.com/michaelforney/velox";
rev = "53b41348df7e37886cab012609923255e4397419";
version = "git-2017-07-04";
src = fetchurl {
url = "${repo}/archive/${rev}.tar.gz";
sha256 = "e49583efbbe62ea30f0084491ff757dff683f35eef6e9b68aa413e0b50c4bf20";
src = fetchFromGitHub {
owner = "michaelforney";
repo = "velox";
rev = "0b1d3d62861653d92d0a1056855a84fcef661bc0";
sha256 = "0p5ra5p5w21wl696rmv0vdnl7jnri5iwnxfs6nl6miwydhq2dmci";
};
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ pkgconfig makeWrapper ];
buildInputs = [ swc libxkbcommon wld wayland pixman fontconfig ];
propagatedUserEnvPkgs = [ swc ];
makeFlags = "PREFIX=$(out)";
installPhase = "PREFIX=$out make install";
preBuild = ''
substituteInPlace config.c \
--replace /etc/velox.conf $out/etc/velox.conf
'';
installPhase = ''
PREFIX=$out make install
mkdir -p $out/etc
cp velox.conf.sample $out/etc/velox.conf
'';
postFixup = ''
wrapProgram $out/bin/velox \
--prefix PATH : "${stdenv.lib.makeBinPath [ dmenu-velox st-velox ]}"
'';
enableParallelBuilding = true;
meta = {
description = "velox window manager";

View File

@ -0,0 +1,37 @@
{stdenv, fetchFromGitHub #, libX11, libXinerama, enableXft, libXft, zlib
, swc, wld, wayland, libxkbcommon, pixman, fontconfig
}:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "dmenu-velox-${version}";
version = "git-2017-04-07";
src = fetchFromGitHub {
owner = "michaelforney";
repo = "dmenu";
rev = "f385d9d18813071b4b4257bf8d4d572daeda0e70";
sha256 = "14j8jv0nlybinhzkgd6dplvng9zy8p292prlx39w0k4fm6x5nv6y";
};
buildInputs = [ swc wld wayland libxkbcommon pixman fontconfig ];
postPatch = ''
sed -ri -e 's!\<(dmenu|dmenu_path)\>!'"$out/bin"'/&!g' dmenu_run
'';
preConfigure = [
''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g; s@/usr/share/swc@${swc}/share/swc@g" config.mk''
];
enableParallelBuilding = true;
meta = {
description = "A generic, highly customizable, and efficient menu for the X Window System";
homepage = http://tools.suckless.org/dmenu;
license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [ ];
platforms = with stdenv.lib.platforms; all;
};
}

View File

@ -1,17 +1,18 @@
{ stdenv, fetchurl, pkgconfig, writeText
, ncurses, wayland, wld, libxkbcommon, fontconfig, pixman
, conf ? null, patches ? [] }:
{ stdenv, fetchFromGitHub, pkgconfig, writeText
, ncurses, wayland, wayland-protocols, wld, libxkbcommon, fontconfig, pixman
, conf, patches }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "st-wayland-${version}";
version = "git-2015-08-29";
rev = "61b47b76a09599c8093214e28c48938f5b424daa";
name = "st-velox-${version}";
version = "git-2016-12-22";
src = fetchurl {
url = "https://github.com/michaelforney/st/archive/${rev}.tar.gz";
sha256 = "7164da135f02405dba5ae3131dfd896e072df29ac6c0928f3b887beffb8a7d97";
src = fetchFromGitHub {
owner = "michaelforney";
repo = "st";
rev = "b27f17da65f74b0a923952601873524e03b4d047";
sha256 = "17aa4bz5g14jvqghk2c8mw77hb8786s07pv814rmlk7nnsavmp3i";
};
inherit patches;
@ -20,7 +21,7 @@ stdenv.mkDerivation rec {
preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ncurses wayland wld libxkbcommon fontconfig pixman ];
buildInputs = [ ncurses wayland wayland-protocols wld libxkbcommon fontconfig pixman ];
NIX_LDFLAGS = "-lfontconfig";
@ -28,6 +29,8 @@ stdenv.mkDerivation rec {
TERMINFO=$out/share/terminfo make install PREFIX=$out
'';
enableParallelBuilding = true;
meta = {
homepage = http://st.suckless.org/;
license = licenses.mit;

View File

@ -0,0 +1,36 @@
{ lib, stdenv, fetchFromGitHub, pkgconfig
, wld, wayland, wayland-protocols, fontconfig, pixman, libdrm, libinput, libevdev, libxkbcommon, libxcb, xcbutilwm
}:
stdenv.mkDerivation rec {
name = "swc-${version}";
version = "git-2017-06-28";
src = fetchFromGitHub {
owner = "michaelforney";
repo = "swc";
rev = "5b20050872f8ad29cfc97729f8af47b6b3df5393";
sha256 = "1lxpm17v5d8png6ixc0zn0w00xgrhz2n5b8by9vx6800b18246z8";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ wld wayland wayland-protocols fontconfig pixman libdrm libinput libevdev libxkbcommon libxcb xcbutilwm ];
prePatch = ''
substituteInPlace launch/local.mk --replace 4755 755
'';
makeFlags = "PREFIX=$(out)";
installPhase = "PREFIX=$out make install";
enableParallelBuilding = true;
meta = {
description = "A library for making a simple Wayland compositor";
homepage = src.meta.homepage;
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ ];
};
}

View File

@ -1,16 +1,16 @@
{ lib, stdenv, fetchurl, pkgconfig
{ lib, stdenv, fetchFromGitHub, pkgconfig
, wayland, fontconfig, pixman, freetype, libdrm
}:
stdenv.mkDerivation rec {
name = "wld-${version}";
version = "git-2015-09-01";
repo = "https://github.com/michaelforney/wld";
rev = "efe0a1ed1856a2e4a1893ed0f2d7dde43b5627f0";
version = "git-2017-10-31";
src = fetchurl {
url = "${repo}/archive/${rev}.tar.gz";
sha256 = "09388f7828e18c75e7b8d41454903886a725d7a868f60e66c128bd7d2e953ee1";
src = fetchFromGitHub {
owner = "michaelforney";
repo = "wld";
rev = "b4e902bbecb678c45485b52c3aa183cbc932c595";
sha256 = "0j2n776flnzyw3vhxl0r8h1c48wrihi4g6bs2z8j4hbw5pnwq1k6";
};
nativeBuildInputs = [ pkgconfig ];
@ -20,9 +20,11 @@ stdenv.mkDerivation rec {
makeFlags = "PREFIX=$(out)";
installPhase = "PREFIX=$out make install";
enableParallelBuilding = true;
meta = {
description = "A primitive drawing library targeted at Wayland";
homepage = repo;
homepage = src.meta.homepage;
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ ];

View File

@ -0,0 +1,37 @@
--- bar.py.txt.orig 2017-12-05 18:10:20.108569182 +0300
+++ ./bar.py.txt 2017-12-10 21:42:10.622781945 +0300
@@ -5,6 +5,7 @@ import datetime
import json
from time import sleep
from pydbus import SessionBus
+from glob import glob
BUS = SessionBus()
LAYOUT = BUS.get(bus_name='org.way-cooler', object_path='/org/way_cooler/Layout')
@@ -32,7 +33,7 @@ def main():
output += func()
print(output)
sys.stdout.flush()
- sleep(.1)
+ sleep(1)
def get_workspaces(layout_json):
"""Gets the workspace names from the layout json"""
@@ -49,9 +50,14 @@ def get_time():
return datetime.datetime.now().strftime(' %a %b %d %H:%M ')
def get_battery():
- with open("/sys/class/power_supply/BAT0/capacity", "r") as f:
- bat = f.readlines()
- return bat[0].strip() + "% Battery"
+ try:
+ [path] = glob("/sys/class/power_supply/BAT?/capacity")
+ with open(path, "r") as f:
+ bat = f.readlines()
+ result = bat[0].strip() + "% Battery"
+ except Exception:
+ result = ""
+ return result
def format_workspaces(layout, workspaces, active_workspace):
workspaces = " " + workspaces.replace(" ", " ") + " "

121
pkgs/applications/window-managers/way-cooler/default.nix Executable file → Normal file
View File

@ -1,27 +1,112 @@
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig
, wayland, xwayland, wlc, dbus_libs, dbus_glib, cairo, libxkbcommon }:
{ stdenv, fetchFromGitHub, fetchurl, pkgconfig, makeWrapper, symlinkJoin, writeShellScriptBin, callPackage, defaultCrateOverrides
, wayland, wlc, dbus_libs, dbus_glib, cairo, libxkbcommon, pam, python3Packages, lemonbar
}:
with rustPlatform;
let
# refer to
# https://github.com/way-cooler/way-cooler.github.io/blob/master/way-cooler-release-i3-default.sh
# for version numbers
fakegit = writeShellScriptBin "git" ''
echo ""
'';
way-cooler = ((callPackage ./way-cooler.nix {}).way_cooler_0_6_2.override {
crateOverrides = defaultCrateOverrides // {
buildRustPackage rec {
name = "way-cooler-${version}";
version = "0.5.2";
way-cooler = attrs: { buildInputs = [ wlc cairo libxkbcommon fakegit ]; };
dbus = attrs: { buildInputs = [ pkgconfig dbus_libs ]; };
gobject-sys = attrs: { buildInputs = [ dbus_glib ]; };
cairo-rs = attrs: { buildInputs = [ cairo ]; };
};}).overrideAttrs (oldAttrs: rec {
nativeBuildInputs = [ makeWrapper ];
src = fetchFromGitHub {
owner = "way-cooler";
repo = "way-cooler";
rev = "v${version}";
sha256 = "10s01x54kwjm2c85v57i6g3pvj5w3wpkjblj036mmd865fla1brb";
postBuild = ''
mkdir -p $out/etc
cp -r config $out/etc/way-cooler
'';
# prior v0.7 https://github.com/way-cooler/way-cooler/issues/395
postFixup = ''
makeWrapper $out/bin/way_cooler $out/bin/way-cooler \
--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ wayland ]}"
'';
});
wc-bg = ((callPackage ./wc-bg.nix {}).way_cooler_bg_0_2_1.override {
crateOverrides = defaultCrateOverrides // {
dbus = attrs: { buildInputs = [ pkgconfig dbus_libs ]; };
};}).overrideAttrs (oldAttrs: rec {
postFixup = ''
cd $out/bin
mv way_cooler_bg way-cooler-bg
'';
});
wc-grab = ((callPackage ./wc-grab.nix {}).wc_grab_0_2_0.override {
crateOverrides = defaultCrateOverrides // {
wc-grab = attrs: {
src = fetchFromGitHub {
owner = "way-cooler";
repo = "way-cooler-grab";
rev = "v0.2.0";
sha256 = "1pc8rhvzdi6bi8g5w03i0ygbcpks9051c3d3yc290rgmmmmkmnwq";
};
};
dbus = attrs: { buildInputs = [ pkgconfig dbus_libs ]; };
};}).overrideAttrs (oldAttrs: rec {
postFixup = ''
cd $out/bin
mv wc_grab wc-grab
'';
});
wc-lock = ((callPackage ./wc-lock.nix {}).wc_lock_0_1_0.override {
crateOverrides = defaultCrateOverrides // { wc-lock = attrs: {
buildInputs = [ pam ];
};};}).overrideAttrs (oldAttrs: rec {
nativeBuildInputs = [ makeWrapper ];
postFixup = ''
makeWrapper $out/bin/wc_lock $out/bin/wc-lock \
--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ libxkbcommon ]}"
'';
});
# https://github.com/way-cooler/way-cooler/issues/446
wc-bar-bare = stdenv.mkDerivation {
name = "wc-bar-bare-2017-12-05";
src = fetchurl {
url = "https://github.com/way-cooler/way-cooler/files/1529701/bar.py.txt";
sha256 = "1n1rf1k02i6vimr9n0iksf65phhyy96i5wh5d0rrx7yqki3dh6ka";
};
unpackPhase = "cat $src > bar.py.txt";
# https://github.com/way-cooler/way-cooler/issues/446#issuecomment-350567833
patches = [ ./bar.diff ];
pythonPath = with python3Packages; [ pydbus ];
nativeBuildInputs = with python3Packages; [ python wrapPython ];
installPhase = ''
install -Dm755 bar.py.txt $out/bin/bar.py
patchShebangs $out/bin/bar.py
wrapPythonPrograms
'';
};
cargoSha256 = "06qivlybmmc49ksv4232sm1r4hp923xsq4c2ksa4i2azdzc1csdc";
buildInputs = [ wlc dbus_libs dbus_glib cairo libxkbcommon ];
nativeBuildInputs = [ pkgconfig ];
wc-bar = writeShellScriptBin "lemonbar" ''
SELECTED="#000000"
SELECTED_OTHER_WORKSPACE="#555555"
BACKGROUND="#4E2878"
# https://github.com/way-cooler/way-cooler/issues/446#issuecomment-349471439
sleep 5
${wc-bar-bare}/bin/bar.py $SELECTED $BACKGROUND $SELECTED_OTHER_WORKSPACE 2> /tmp/bar_debug.txt | ${lemonbar}/bin/lemonbar -B $BACKGROUND -F "#FFF" -n "lemonbar" -p -d
'';
in symlinkJoin rec {
version = "0.6.2";
name = "way-cooler-with-extensions-${version}";
paths = [ way-cooler wc-bg wc-grab wc-lock wc-bar ];
meta = with stdenv.lib; {
broken = true;
description = "Customizable Wayland compositor (window manager)";
longDescription = ''
Way Cooler is a customizable tiling window manager written in Rust

View File

@ -0,0 +1,938 @@
# Generated by carnix 0.5.0: carnix -o way-cooler.nix Cargo.lock
{ lib, buildPlatform, buildRustCrate, fetchgit }:
let kernel = buildPlatform.parsed.kernel.name;
abi = buildPlatform.parsed.abi.name;
hasFeature = feature:
lib.lists.any
(originName: feature.${originName})
(builtins.attrNames feature);
hasDefault = feature:
let defaultFeatures = builtins.attrNames (feature."default" or {}); in
(defaultFeatures == [])
|| (lib.lists.any (originName: feature."default".${originName}) defaultFeatures);
mkFeatures = feat: lib.lists.foldl (features: featureName:
if featureName != "" && hasFeature feat.${featureName} then
[ featureName ] ++ features
else
features
) (if hasDefault feat then [ "default" ] else []) (builtins.attrNames feat);
aho_corasick_0_5_3_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "aho-corasick";
version = "0.5.3";
authors = [ "Andrew Gallant <jamslam@gmail.com>" ];
sha256 = "1igab46mvgknga3sxkqc917yfff0wsjxjzabdigmh240p5qxqlnn";
libName = "aho_corasick";
crateBin = [ { name = "aho-corasick-dot"; } ];
inherit dependencies buildDependencies features;
};
bitflags_0_4_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "bitflags";
version = "0.4.0";
authors = [ "The Rust Project Developers" ];
sha256 = "0an03kibhfcc0mcxf6a0mvbab0s7cggnvflw8jn0b15i351h828c";
inherit dependencies buildDependencies features;
};
bitflags_0_5_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "bitflags";
version = "0.5.0";
authors = [ "The Rust Project Developers" ];
sha256 = "0bgw1kiy121kikjrwj6zsd7l8n1gg1jirivzkc7zpjsvqa3p0hla";
inherit dependencies buildDependencies features;
};
bitflags_0_6_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "bitflags";
version = "0.6.0";
authors = [ "The Rust Project Developers" ];
sha256 = "1znq4b770mdp3kdj9yz199ylc2pmf8l5j2f281jjrcfhg1mm22h6";
inherit dependencies buildDependencies features;
};
bitflags_0_7_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "bitflags";
version = "0.7.0";
authors = [ "The Rust Project Developers" ];
sha256 = "1hr72xg5slm0z4pxs2hiy4wcyx3jva70h58b7mid8l0a4c8f7gn5";
inherit dependencies buildDependencies features;
};
bitflags_0_8_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "bitflags";
version = "0.8.2";
authors = [ "The Rust Project Developers" ];
sha256 = "0whaj3969ysqxzk620sk1isvq6vh85516f2fplvqjrw3syz44sb2";
inherit dependencies buildDependencies features;
};
c_vec_1_2_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "c_vec";
version = "1.2.1";
authors = [ "Guillaume Gomez <guillaume1.gomez@gmail.com>" ];
sha256 = "15gm72wx9kd0n51454i58rmpkmig8swghrj2440frxxi9kqg97xd";
inherit dependencies buildDependencies features;
};
cairo_rs_0_1_3_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "cairo-rs";
version = "0.1.3";
authors = [ "The Gtk-rs Project Developers" ];
sha256 = "17wp5wh1jvn2ny8s6fckvbwn0x8ixha6xrqas1bqxd9ygm5g58w1";
libName = "cairo";
build = "build.rs";
inherit dependencies buildDependencies features;
};
cairo_sys_rs_0_3_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "cairo-sys-rs";
version = "0.3.4";
authors = [ "The Gtk-rs Project Developers" ];
sha256 = "1fzxshv7vysnnc2nywla6gj3hh00nr6cz1ak0mrxkg65rzrgxkww";
libName = "cairo_sys";
build = "build.rs";
inherit dependencies buildDependencies features;
};
cfg_if_0_1_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "cfg-if";
version = "0.1.0";
authors = [ "Alex Crichton <alex@alexcrichton.com>" ];
sha256 = "1grr9v6ijms84cvl1jqv5hp9clw9gn3l3g6kj9a31sdzvidd6v29";
inherit dependencies buildDependencies features;
};
dbus_0_4_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "dbus";
version = "0.4.1";
authors = [ "David Henningsson <diwic@ubuntu.com>" ];
sha256 = "0qw32qj2rys318h780klxlznkwg93dfimbn8mc34m4940l8v00g9";
build = "build.rs";
inherit dependencies buildDependencies features;
};
dbus_macros_0_0_6_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "dbus-macros";
version = "0.0.6";
authors = [ "Antoni Boucher <bouanto@zoho.com>" ];
sha256 = "1nymk2hzzgyafyr5nfa4r4frx4hml3wlwgzfr9b69vmcvn3d2jyd";
inherit dependencies buildDependencies features;
};
dlib_0_3_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "dlib";
version = "0.3.1";
authors = [ "Victor Berger <victor.berger@m4x.org>" ];
sha256 = "11mhh6g9vszp2ay3r46x4capnnmvvhx5hcp74bapxjhiixqjfvkr";
inherit dependencies buildDependencies features;
};
dtoa_0_4_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "dtoa";
version = "0.4.1";
authors = [ "David Tolnay <dtolnay@gmail.com>" ];
sha256 = "0mgg4r90yby68qg7y8csbclhsm53ac26vsyq615viq535plllhzw";
inherit dependencies buildDependencies features;
};
dummy_rustwlc_0_6_3_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "dummy-rustwlc";
version = "0.6.3";
authors = [ "Snirk Immington <snirk.immington@gmail.com>" "Preston Carpenter <APragmaticPlace@gmail.com>" ];
sha256 = "09pcl2r3ifajgq794j4jqaq0n4kyb2z4aaavs1fr78w4fhrzqqmj";
inherit dependencies buildDependencies features;
};
env_logger_0_3_5_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "env_logger";
version = "0.3.5";
authors = [ "The Rust Project Developers" ];
sha256 = "1mvxiaaqsyjliv1mm1qaagjqiccw11mdyi3n9h9rf8y6wj15zycw";
inherit dependencies buildDependencies features;
};
fixedbitset_0_1_6_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "fixedbitset";
version = "0.1.6";
authors = [ "bluss" ];
sha256 = "1jcq0i41l888153v4jyb6q2kc9sjs004md5byfz5mprlmhdawha3";
inherit dependencies buildDependencies features;
};
gcc_0_3_46_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "gcc";
version = "0.3.46";
authors = [ "Alex Crichton <alex@alexcrichton.com>" ];
sha256 = "17rbdxa2yapjymbdq7b930sc1ipiwhx4xz7hh48q4bz3d28zg6qb";
inherit dependencies buildDependencies features;
};
getopts_0_2_14_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "getopts";
version = "0.2.14";
authors = [ "The Rust Project Developers" ];
sha256 = "1wdz34vls97g9868h8kiw4wmwkbyxg4xm3xzvr1542hc3w4c7z0a";
inherit dependencies buildDependencies features;
};
glib_0_1_3_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "glib";
version = "0.1.3";
authors = [ "The Gtk-rs Project Developers" ];
sha256 = "1j2zwsnxlfdrj8wdi8yp3zl5l9nydsifgxspnwl6ijq3ywnjhcpa";
inherit dependencies buildDependencies features;
};
glib_sys_0_3_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "glib-sys";
version = "0.3.4";
authors = [ "The Gtk-rs Project Developers" ];
sha256 = "06ymp4ljrjnb7cly0bixy3svxgnwpbx79499889dqakpfs7566rc";
libName = "glib_sys";
build = "build.rs";
inherit dependencies buildDependencies features;
};
gobject_sys_0_3_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "gobject-sys";
version = "0.3.4";
authors = [ "The Gtk-rs Project Developers" ];
sha256 = "0rrk3c94myhspyl3iq7k4kcm72zxl8bk3r7kvqv2f9lf6y820giw";
libName = "gobject_sys";
build = "build.rs";
inherit dependencies buildDependencies features;
};
hlua_0_1_9_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "hlua";
version = "0.1.9";
authors = [ "pierre.krieger1708@gmail.com" ];
sha256 = "1vn7w1rcaj9g04yx5jak09a3wpw7g3yx2fgn8ibx36z07vpf57fs";
inherit dependencies buildDependencies features;
};
itoa_0_3_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "itoa";
version = "0.3.1";
authors = [ "David Tolnay <dtolnay@gmail.com>" ];
sha256 = "0jp1wvfw0qqbyz0whbycp7xr5nx1ds5plh4wsfyj503xmjf9ab4k";
inherit dependencies buildDependencies features;
};
json_macro_0_1_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "json_macro";
version = "0.1.1";
authors = [ "Denis Kolodin <deniskolodin@gmail.com>" ];
sha256 = "0hl2934shpwqbszrq035valbdz9y8p7dza183brygy5dbvivcyqy";
inherit dependencies buildDependencies features;
};
kernel32_sys_0_2_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "kernel32-sys";
version = "0.2.2";
authors = [ "Peter Atashian <retep998@gmail.com>" ];
sha256 = "1lrw1hbinyvr6cp28g60z97w32w8vsk6pahk64pmrv2fmby8srfj";
libName = "kernel32";
build = "build.rs";
inherit dependencies buildDependencies features;
};
lazy_static_0_2_8_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "lazy_static";
version = "0.2.8";
authors = [ "Marvin Löbel <loebel.marvin@gmail.com>" ];
sha256 = "1xbpxx7cd5kl60g87g43q80jxyrsildhxfjc42jb1x4jncknpwbl";
inherit dependencies buildDependencies features;
};
libc_0_2_23_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "libc";
version = "0.2.23";
authors = [ "The Rust Project Developers" ];
sha256 = "1i29f6k26fmv81c5bjc6hw2j95sd01h9ad66qxdc755b24xfa9jm";
inherit dependencies buildDependencies features;
};
libloading_0_3_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "libloading";
version = "0.3.4";
authors = [ "Simonas Kazlauskas <libloading@kazlauskas.me>" ];
sha256 = "1f2vy32cr434n638nv8sdf05iwa53q9q5ahlcpw1l9ywh1bcbhf1";
build = "build.rs";
inherit dependencies buildDependencies features;
};
log_0_3_7_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "log";
version = "0.3.7";
authors = [ "The Rust Project Developers" ];
sha256 = "1qxrwkhpfzhgcmfnw4bl9yy7wwr92wwbin3dp6izcfy58lr369v4";
inherit dependencies buildDependencies features;
};
lua52_sys_0_0_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "lua52-sys";
version = "0.0.4";
authors = [ "Pierre Krieger <pierre.krieger1708@gmail.com>" ];
sha256 = "115i7k2dnnf4c1b2mxwf5mvqv2wsqmmxm3krphf5wjky20gi2ciz";
build = "build.rs";
inherit dependencies buildDependencies features;
};
memchr_0_1_11_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "memchr";
version = "0.1.11";
authors = [ "Andrew Gallant <jamslam@gmail.com>" "bluss" ];
sha256 = "0x73jghamvxxq5fsw9wb0shk5m6qp3q6fsf0nibn0i6bbqkw91s8";
inherit dependencies buildDependencies features;
};
nix_0_6_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "nix";
version = "0.6.0";
authors = [ "Carl Lerche <me@carllerche.com>" ];
sha256 = "1bgh75y897isnxbw3vd79vns9h6q4d59p1cgv9c4laysyw6fkqwf";
build = "build.rs";
inherit dependencies buildDependencies features;
};
nix_0_8_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "nix";
version = "0.8.1";
authors = [ "The nix-rust Project Developers" ];
sha256 = "0iqmn55ajwcq91pl8xviwdvc2zrkaccajsp0nc9lbq9ydli0vhf9";
inherit dependencies buildDependencies features;
};
num_traits_0_1_37_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "num-traits";
version = "0.1.37";
authors = [ "The Rust Project Developers" ];
sha256 = "0rwzfmdjq6iz6plva2gi7agvy1w9sjs7aqjh0p115w57xiix2224";
inherit dependencies buildDependencies features;
};
ordermap_0_2_10_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "ordermap";
version = "0.2.10";
authors = [ "bluss" ];
sha256 = "1pj6d56nwi0wa7cnwl80dwz13vws9nf5s1b7k7i2dav35gkpwy1z";
inherit dependencies buildDependencies features;
};
petgraph_0_4_5_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "petgraph";
version = "0.4.5";
authors = [ "bluss" "mitchmindtree" ];
sha256 = "0482id2flwnxkhj1443g384cvk7f9lva9n6wj2wsag9145zhpjzg";
inherit dependencies buildDependencies features;
};
phf_0_7_21_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "phf";
version = "0.7.21";
authors = [ "Steven Fackler <sfackler@gmail.com>" ];
sha256 = "11m2rzm2s8s35m0s97gjxxb181xz352kjlhr387xj5c8q3qp5afg";
libPath = "src/lib.rs";
inherit dependencies buildDependencies features;
};
phf_codegen_0_7_21_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "phf_codegen";
version = "0.7.21";
authors = [ "Steven Fackler <sfackler@gmail.com>" ];
sha256 = "0kgy8s2q4zr0iqcm21mgq4ppc45wy6z7b5wn98xyfsrcad6lwmmj";
inherit dependencies buildDependencies features;
};
phf_generator_0_7_21_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "phf_generator";
version = "0.7.21";
authors = [ "Steven Fackler <sfackler@gmail.com>" ];
sha256 = "1jxjfzc6d6d4l9nv0r2bb66if5brk9lnncmg4dpjjifn6zhhqd9g";
inherit dependencies buildDependencies features;
};
phf_shared_0_7_21_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "phf_shared";
version = "0.7.21";
authors = [ "Steven Fackler <sfackler@gmail.com>" ];
sha256 = "0lxpg3wgxfhzfalmf9ha9my1lsvfjy74ah9f6mfw88xlp545jlln";
libPath = "src/lib.rs";
inherit dependencies buildDependencies features;
};
pkg_config_0_3_9_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "pkg-config";
version = "0.3.9";
authors = [ "Alex Crichton <alex@alexcrichton.com>" ];
sha256 = "06k8fxgrsrxj8mjpjcq1n7mn2p1shpxif4zg9y5h09c7vy20s146";
inherit dependencies buildDependencies features;
};
rand_0_3_15_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "rand";
version = "0.3.15";
authors = [ "The Rust Project Developers" ];
sha256 = "1fs30rc1xic40s1n7l3y7pxzfifpy03mgrvhy5ggp5p7zjfv3rr8";
inherit dependencies buildDependencies features;
};
regex_0_1_80_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "regex";
version = "0.1.80";
authors = [ "The Rust Project Developers" ];
sha256 = "0y4s8ghhx6sgzb35irwivm3w0l2hhqhmdcd2px9hirqnkagal9l6";
inherit dependencies buildDependencies features;
};
regex_syntax_0_3_9_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "regex-syntax";
version = "0.3.9";
authors = [ "The Rust Project Developers" ];
sha256 = "1mzhphkbwppwd1zam2jkgjk550cqgf6506i87bw2yzrvcsraiw7m";
inherit dependencies buildDependencies features;
};
rustc_serialize_0_3_24_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "rustc-serialize";
version = "0.3.24";
authors = [ "The Rust Project Developers" ];
sha256 = "0rfk6p66mqkd3g36l0ddlv2rvnp1mp3lrq5frq9zz5cbnz5pmmxn";
inherit dependencies buildDependencies features;
};
rustc_version_0_1_7_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "rustc_version";
version = "0.1.7";
authors = [ "Marvin Löbel <loebel.marvin@gmail.com>" ];
sha256 = "0plm9pbyvcwfibd0kbhzil9xmr1bvqi8fgwlfw0x4vali8s6s99p";
inherit dependencies buildDependencies features;
};
rustwlc_0_6_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "rustwlc";
version = "0.6.2";
authors = [ "Snirk Immington <snirk.immington@gmail.com>" "Timidger <apragmaticplace@gmail.com>" ];
sha256 = "16k8wzyvn1syxcjimy2vh7hc6jlbw31v03ysrzrqgfwncmwx5b2d";
build = "build.rs";
inherit dependencies buildDependencies features;
};
semver_0_1_20_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "semver";
version = "0.1.20";
authors = [ "The Rust Project Developers" ];
sha256 = "05cdig0071hls2k8lxbqmyqpl0zjmc53i2d43mwzps033b8njh4n";
inherit dependencies buildDependencies features;
};
serde_0_9_15_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "serde";
version = "0.9.15";
authors = [ "Erick Tryzelaar <erick.tryzelaar@gmail.com>" ];
sha256 = "0rlflkc57kvy69hnhj4arfsj7ic4hpihxsb00zg5lkdxfj5qjx9b";
inherit dependencies buildDependencies features;
};
serde_json_0_9_10_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "serde_json";
version = "0.9.10";
authors = [ "Erick Tryzelaar <erick.tryzelaar@gmail.com>" ];
sha256 = "0g6bxlfnvf2miicnsizyrxm686rfval6gbss1i2qcna8msfwc005";
inherit dependencies buildDependencies features;
};
siphasher_0_2_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "siphasher";
version = "0.2.2";
authors = [ "Frank Denis <github@pureftpd.org>" ];
sha256 = "0iyx7nlzfny9ly1634a6zcq0yvrinhxhypwas4p8ry3zqnn76qqr";
inherit dependencies buildDependencies features;
};
target_build_utils_0_3_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "target_build_utils";
version = "0.3.1";
authors = [ "Simonas Kazlauskas <target_build_utils@kazlauskas.me>" ];
sha256 = "1b450nyxlbgicp2p45mhxiv6yv0z7s4iw01lsaqh3v7b4bm53flj";
build = "build.rs";
inherit dependencies buildDependencies features;
};
thread_id_2_0_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "thread-id";
version = "2.0.0";
authors = [ "Ruud van Asseldonk <dev@veniogames.com>" ];
sha256 = "06i3c8ckn97i5rp16civ2vpqbknlkx66dkrl070iw60nawi0kjc3";
inherit dependencies buildDependencies features;
};
thread_local_0_2_7_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "thread_local";
version = "0.2.7";
authors = [ "Amanieu d'Antras <amanieu@gmail.com>" ];
sha256 = "19p0zrs24rdwjvpi10jig5ms3sxj00pv8shkr9cpddri8cdghqp7";
inherit dependencies buildDependencies features;
};
utf8_ranges_0_1_3_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "utf8-ranges";
version = "0.1.3";
authors = [ "Andrew Gallant <jamslam@gmail.com>" ];
sha256 = "1cj548a91a93j8375p78qikaiam548xh84cb0ck8y119adbmsvbp";
inherit dependencies buildDependencies features;
};
uuid_0_3_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "uuid";
version = "0.3.1";
authors = [ "The Rust Project Developers" ];
sha256 = "16ak1c84dfkd8h33cvkxrkvc30k7b0bhrnza8ni2c0jsx85fpbip";
inherit dependencies buildDependencies features;
};
void_1_0_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "void";
version = "1.0.2";
authors = [ "Jonathan Reem <jonathan.reem@gmail.com>" ];
sha256 = "0h1dm0dx8dhf56a83k68mijyxigqhizpskwxfdrs1drwv2cdclv3";
inherit dependencies buildDependencies features;
};
way_cooler_0_6_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "way-cooler";
version = "0.6.2";
authors = [ "Snirk Immington <snirk.immington@gmail.com>" "Timidger <apragmaticplace@gmail.com>" ];
sha256 = "0ygzgjjhf54fcpk6sbi0acbyki4ff1v7wyckfk4lhv4ycpg9v3cj";
build = "build.rs";
inherit dependencies buildDependencies features;
};
wayland_scanner_0_9_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "wayland-scanner";
version = "0.9.4";
authors = [ "Victor Berger <victor.berger@m4x.org>" ];
sha256 = "1kdhpm1gkn99sj8vxhyr1x6nxnhm0cjvypajycvn2fa9sdpgw8yc";
inherit dependencies buildDependencies features;
};
wayland_server_0_9_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "wayland-server";
version = "0.9.4";
authors = [ "Victor Berger <victor.berger@m4x.org>" ];
sha256 = "1aqidrac0z7ny65yhfv9inl3xmdmph21yhmyd3k0nafyghgg9pxw";
build = "build.rs";
inherit dependencies buildDependencies features;
};
wayland_sys_0_6_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "wayland-sys";
version = "0.6.0";
authors = [ "Victor Berger <victor.berger@m4x.org>" ];
sha256 = "0m6db0kld2d4xv4ai9kxlqrh362hwi0030b4zbss0sfha1hx5mfl";
inherit dependencies buildDependencies features;
};
wayland_sys_0_9_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "wayland-sys";
version = "0.9.4";
authors = [ "Victor Berger <victor.berger@m4x.org>" ];
sha256 = "0vqrc46ib5hgbq6djghapairbjskdncas09k680f7pwylbi7yzcj";
inherit dependencies buildDependencies features;
};
winapi_0_2_8_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "winapi";
version = "0.2.8";
authors = [ "Peter Atashian <retep998@gmail.com>" ];
sha256 = "0a45b58ywf12vb7gvj6h3j264nydynmzyqz8d8rqxsj6icqv82as";
inherit dependencies buildDependencies features;
};
winapi_build_0_1_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "winapi-build";
version = "0.1.1";
authors = [ "Peter Atashian <retep998@gmail.com>" ];
sha256 = "1lxlpi87rkhxcwp2ykf1ldw3p108hwm24nywf3jfrvmff4rjhqga";
libName = "build";
inherit dependencies buildDependencies features;
};
xml_rs_0_3_6_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "xml-rs";
version = "0.3.6";
authors = [ "Vladimir Matveev <vladimir.matweev@gmail.com>" ];
sha256 = "1g1cclib7fj900m4669vxlz45lxcq0m36g7cd8chl494c2xsgj15";
libPath = "src/lib.rs";
libName = "xml";
crateBin = [ { name = "xml-analyze"; path = "src/analyze.rs"; } ];
inherit dependencies buildDependencies features;
};
in
rec {
aho_corasick_0_5_3 = aho_corasick_0_5_3_ rec {
dependencies = [ memchr_0_1_11 ];
};
memchr_0_1_11_features."default".from_aho_corasick_0_5_3__default = true;
bitflags_0_4_0 = bitflags_0_4_0_ rec {
features = mkFeatures bitflags_0_4_0_features;
};
bitflags_0_4_0_features."".self = true;
bitflags_0_5_0 = bitflags_0_5_0_ rec {
features = mkFeatures bitflags_0_5_0_features;
};
bitflags_0_5_0_features."".self = true;
bitflags_0_6_0 = bitflags_0_6_0_ rec {};
bitflags_0_7_0 = bitflags_0_7_0_ rec {};
bitflags_0_8_2 = bitflags_0_8_2_ rec {
features = mkFeatures bitflags_0_8_2_features;
};
bitflags_0_8_2_features."i128".self_unstable = hasFeature (bitflags_0_8_2_features."unstable" or {});
c_vec_1_2_1 = c_vec_1_2_1_ rec {};
cairo_rs_0_1_3 = cairo_rs_0_1_3_ rec {
dependencies = [ c_vec_1_2_1 cairo_sys_rs_0_3_4 glib_0_1_3 libc_0_2_23 ]
++ (if lib.lists.any (x: x == "glib") features then [glib_0_1_3] else [])
++ (if kernel == "windows" then [ winapi_0_2_8 ] else []);
buildDependencies = [];
features = mkFeatures cairo_rs_0_1_3_features;
};
cairo_rs_0_1_3_features."".self = true;
cairo_rs_0_1_3_features."glib".self_default = hasDefault cairo_rs_0_1_3_features;
cairo_rs_0_1_3_features."gtk-rs-lgpl-docs".self_embed-lgpl-docs = hasFeature (cairo_rs_0_1_3_features."embed-lgpl-docs" or {});
cairo_rs_0_1_3_features."gtk-rs-lgpl-docs".self_purge-lgpl-docs = hasFeature (cairo_rs_0_1_3_features."purge-lgpl-docs" or {});
c_vec_1_2_1_features."default".from_cairo_rs_0_1_3__default = true;
cairo_sys_rs_0_3_4_features."png".from_cairo_rs_0_1_3__png = hasFeature (cairo_rs_0_1_3_features."png" or {});
cairo_sys_rs_0_3_4_features."v1_12".from_cairo_rs_0_1_3__v1_12 = hasFeature (cairo_rs_0_1_3_features."v1_12" or {});
cairo_sys_rs_0_3_4_features."xcb".from_cairo_rs_0_1_3__xcb = hasFeature (cairo_rs_0_1_3_features."xcb" or {});
cairo_sys_rs_0_3_4_features."default".from_cairo_rs_0_1_3__default = true;
glib_0_1_3_features."default".from_cairo_rs_0_1_3__default = true;
libc_0_2_23_features."default".from_cairo_rs_0_1_3__default = true;
winapi_0_2_8_features."default".from_cairo_rs_0_1_3__default = true;
cairo_sys_rs_0_3_4 = cairo_sys_rs_0_3_4_ rec {
dependencies = [ libc_0_2_23 ]
++ (if kernel == "windows" then [ winapi_0_2_8 ] else []);
buildDependencies = [ pkg_config_0_3_9 ];
features = mkFeatures cairo_sys_rs_0_3_4_features;
};
cairo_sys_rs_0_3_4_features."v1_12".self_v1_14 = hasFeature (cairo_sys_rs_0_3_4_features."v1_14" or {});
cairo_sys_rs_0_3_4_features."x11".self_xlib = hasFeature (cairo_sys_rs_0_3_4_features."xlib" or {});
libc_0_2_23_features."default".from_cairo_sys_rs_0_3_4__default = true;
x11_0_0_0_features."xlib".from_cairo_sys_rs_0_3_4 = true;
x11_0_0_0_features."default".from_cairo_sys_rs_0_3_4__default = true;
winapi_0_2_8_features."default".from_cairo_sys_rs_0_3_4__default = true;
cfg_if_0_1_0 = cfg_if_0_1_0_ rec {};
dbus_0_4_1 = dbus_0_4_1_ rec {
dependencies = [ libc_0_2_23 ];
buildDependencies = [ pkg_config_0_3_9 ];
};
libc_0_2_23_features."default".from_dbus_0_4_1__default = true;
dbus_macros_0_0_6 = dbus_macros_0_0_6_ rec {
dependencies = [ dbus_0_4_1 ];
};
dbus_0_4_1_features."default".from_dbus_macros_0_0_6__default = true;
dlib_0_3_1 = dlib_0_3_1_ rec {
dependencies = [ libloading_0_3_4 ];
features = mkFeatures dlib_0_3_1_features;
};
dlib_0_3_1_features."".self = true;
libloading_0_3_4_features."default".from_dlib_0_3_1__default = true;
dtoa_0_4_1 = dtoa_0_4_1_ rec {};
dummy_rustwlc_0_6_3 = dummy_rustwlc_0_6_3_ rec {
dependencies = [ bitflags_0_6_0 libc_0_2_23 wayland_sys_0_9_4 ];
};
bitflags_0_6_0_features."default".from_dummy_rustwlc_0_6_3__default = true;
libc_0_2_23_features."default".from_dummy_rustwlc_0_6_3__default = true;
wayland_sys_0_9_4_features."server".from_dummy_rustwlc_0_6_3 = true;
wayland_sys_0_9_4_features."dlopen".from_dummy_rustwlc_0_6_3 = true;
wayland_sys_0_9_4_features."default".from_dummy_rustwlc_0_6_3__default = true;
env_logger_0_3_5 = env_logger_0_3_5_ rec {
dependencies = [ log_0_3_7 regex_0_1_80 ]
++ (if lib.lists.any (x: x == "regex") features then [regex_0_1_80] else []);
features = mkFeatures env_logger_0_3_5_features;
};
env_logger_0_3_5_features."".self = true;
env_logger_0_3_5_features."regex".self_default = hasDefault env_logger_0_3_5_features;
log_0_3_7_features."default".from_env_logger_0_3_5__default = true;
regex_0_1_80_features."default".from_env_logger_0_3_5__default = true;
fixedbitset_0_1_6 = fixedbitset_0_1_6_ rec {};
gcc_0_3_46 = gcc_0_3_46_ rec {
dependencies = [];
features = mkFeatures gcc_0_3_46_features;
};
gcc_0_3_46_features."rayon".self_parallel = hasFeature (gcc_0_3_46_features."parallel" or {});
rayon_0_0_0_features."default".from_gcc_0_3_46__default = true;
getopts_0_2_14 = getopts_0_2_14_ rec {};
glib_0_1_3 = glib_0_1_3_ rec {
dependencies = [ bitflags_0_5_0 glib_sys_0_3_4 gobject_sys_0_3_4 lazy_static_0_2_8 libc_0_2_23 ];
features = mkFeatures glib_0_1_3_features;
};
glib_0_1_3_features."v2_38".self_v2_40 = hasFeature (glib_0_1_3_features."v2_40" or {});
glib_0_1_3_features."v2_40".self_v2_44 = hasFeature (glib_0_1_3_features."v2_44" or {});
glib_0_1_3_features."v2_44".self_v2_46 = hasFeature (glib_0_1_3_features."v2_46" or {});
glib_0_1_3_features."v2_46".self_v2_48 = hasFeature (glib_0_1_3_features."v2_48" or {});
glib_0_1_3_features."v2_48".self_v2_50 = hasFeature (glib_0_1_3_features."v2_50" or {});
bitflags_0_5_0_features."default".from_glib_0_1_3__default = true;
glib_sys_0_3_4_features."v2_38".from_glib_0_1_3__v2_38 = hasFeature (glib_0_1_3_features."v2_38" or {});
glib_sys_0_3_4_features."v2_40".from_glib_0_1_3__v2_40 = hasFeature (glib_0_1_3_features."v2_40" or {});
glib_sys_0_3_4_features."v2_44".from_glib_0_1_3__v2_44 = hasFeature (glib_0_1_3_features."v2_44" or {});
glib_sys_0_3_4_features."v2_46".from_glib_0_1_3__v2_46 = hasFeature (glib_0_1_3_features."v2_46" or {});
glib_sys_0_3_4_features."v2_48".from_glib_0_1_3__v2_48 = hasFeature (glib_0_1_3_features."v2_48" or {});
glib_sys_0_3_4_features."v2_50".from_glib_0_1_3__v2_50 = hasFeature (glib_0_1_3_features."v2_50" or {});
glib_sys_0_3_4_features."default".from_glib_0_1_3__default = true;
gobject_sys_0_3_4_features."v2_38".from_glib_0_1_3__v2_38 = hasFeature (glib_0_1_3_features."v2_38" or {});
gobject_sys_0_3_4_features."v2_44".from_glib_0_1_3__v2_44 = hasFeature (glib_0_1_3_features."v2_44" or {});
gobject_sys_0_3_4_features."v2_46".from_glib_0_1_3__v2_46 = hasFeature (glib_0_1_3_features."v2_46" or {});
gobject_sys_0_3_4_features."default".from_glib_0_1_3__default = true;
lazy_static_0_2_8_features."default".from_glib_0_1_3__default = true;
libc_0_2_23_features."default".from_glib_0_1_3__default = true;
glib_sys_0_3_4 = glib_sys_0_3_4_ rec {
dependencies = [ bitflags_0_8_2 libc_0_2_23 ];
buildDependencies = [ pkg_config_0_3_9 ];
features = mkFeatures glib_sys_0_3_4_features;
};
glib_sys_0_3_4_features."v2_34".self_v2_36 = hasFeature (glib_sys_0_3_4_features."v2_36" or {});
glib_sys_0_3_4_features."v2_36".self_v2_38 = hasFeature (glib_sys_0_3_4_features."v2_38" or {});
glib_sys_0_3_4_features."v2_38".self_v2_40 = hasFeature (glib_sys_0_3_4_features."v2_40" or {});
glib_sys_0_3_4_features."v2_40".self_v2_44 = hasFeature (glib_sys_0_3_4_features."v2_44" or {});
glib_sys_0_3_4_features."v2_44".self_v2_46 = hasFeature (glib_sys_0_3_4_features."v2_46" or {});
glib_sys_0_3_4_features."v2_46".self_v2_48 = hasFeature (glib_sys_0_3_4_features."v2_48" or {});
glib_sys_0_3_4_features."v2_48".self_v2_50 = hasFeature (glib_sys_0_3_4_features."v2_50" or {});
bitflags_0_8_2_features."default".from_glib_sys_0_3_4__default = true;
libc_0_2_23_features."default".from_glib_sys_0_3_4__default = true;
gobject_sys_0_3_4 = gobject_sys_0_3_4_ rec {
dependencies = [ bitflags_0_8_2 glib_sys_0_3_4 libc_0_2_23 ];
buildDependencies = [ pkg_config_0_3_9 ];
features = mkFeatures gobject_sys_0_3_4_features;
};
gobject_sys_0_3_4_features."v2_34".self_v2_36 = hasFeature (gobject_sys_0_3_4_features."v2_36" or {});
gobject_sys_0_3_4_features."v2_36".self_v2_38 = hasFeature (gobject_sys_0_3_4_features."v2_38" or {});
gobject_sys_0_3_4_features."v2_38".self_v2_42 = hasFeature (gobject_sys_0_3_4_features."v2_42" or {});
gobject_sys_0_3_4_features."v2_42".self_v2_44 = hasFeature (gobject_sys_0_3_4_features."v2_44" or {});
gobject_sys_0_3_4_features."v2_44".self_v2_46 = hasFeature (gobject_sys_0_3_4_features."v2_46" or {});
bitflags_0_8_2_features."default".from_gobject_sys_0_3_4__default = true;
glib_sys_0_3_4_features."default".from_gobject_sys_0_3_4__default = true;
libc_0_2_23_features."default".from_gobject_sys_0_3_4__default = true;
hlua_0_1_9 = hlua_0_1_9_ rec {
dependencies = [ libc_0_2_23 lua52_sys_0_0_4 ];
};
libc_0_2_23_features."default".from_hlua_0_1_9__default = true;
lua52_sys_0_0_4_features."default".from_hlua_0_1_9__default = true;
itoa_0_3_1 = itoa_0_3_1_ rec {};
json_macro_0_1_1 = json_macro_0_1_1_ rec {
dependencies = [ rustc_serialize_0_3_24 ];
};
rustc_serialize_0_3_24_features."default".from_json_macro_0_1_1__default = true;
kernel32_sys_0_2_2 = kernel32_sys_0_2_2_ rec {
dependencies = [ winapi_0_2_8 ];
buildDependencies = [ winapi_build_0_1_1 ];
};
winapi_0_2_8_features."default".from_kernel32_sys_0_2_2__default = true;
lazy_static_0_2_8 = lazy_static_0_2_8_ rec {
dependencies = [];
features = mkFeatures lazy_static_0_2_8_features;
};
lazy_static_0_2_8_features."nightly".self_spin_no_std = hasFeature (lazy_static_0_2_8_features."spin_no_std" or {});
lazy_static_0_2_8_features."spin".self_spin_no_std = hasFeature (lazy_static_0_2_8_features."spin_no_std" or {});
spin_0_0_0_features."default".from_lazy_static_0_2_8__default = true;
libc_0_2_23 = libc_0_2_23_ rec {
features = mkFeatures libc_0_2_23_features;
};
libc_0_2_23_features."use_std".self_default = hasDefault libc_0_2_23_features;
libloading_0_3_4 = libloading_0_3_4_ rec {
dependencies = [ lazy_static_0_2_8 ]
++ (if kernel == "windows" then [ kernel32_sys_0_2_2 winapi_0_2_8 ] else []);
buildDependencies = [ target_build_utils_0_3_1 ];
};
lazy_static_0_2_8_features."default".from_libloading_0_3_4__default = true;
kernel32_sys_0_2_2_features."default".from_libloading_0_3_4__default = true;
winapi_0_2_8_features."default".from_libloading_0_3_4__default = true;
log_0_3_7 = log_0_3_7_ rec {
features = mkFeatures log_0_3_7_features;
};
log_0_3_7_features."use_std".self_default = hasDefault log_0_3_7_features;
lua52_sys_0_0_4 = lua52_sys_0_0_4_ rec {
dependencies = [ libc_0_2_23 ];
buildDependencies = [ gcc_0_3_46 pkg_config_0_3_9 ];
};
libc_0_2_23_features."default".from_lua52_sys_0_0_4__default = true;
memchr_0_1_11 = memchr_0_1_11_ rec {
dependencies = [ libc_0_2_23 ];
};
libc_0_2_23_features."default".from_memchr_0_1_11__default = true;
nix_0_6_0 = nix_0_6_0_ rec {
dependencies = [ bitflags_0_4_0 cfg_if_0_1_0 libc_0_2_23 void_1_0_2 ];
buildDependencies = [ rustc_version_0_1_7 semver_0_1_20 ];
features = mkFeatures nix_0_6_0_features;
};
nix_0_6_0_features."".self = true;
bitflags_0_4_0_features."default".from_nix_0_6_0__default = true;
cfg_if_0_1_0_features."default".from_nix_0_6_0__default = true;
libc_0_2_23_features."default".from_nix_0_6_0__default = true;
void_1_0_2_features."default".from_nix_0_6_0__default = true;
nix_0_8_1 = nix_0_8_1_ rec {
dependencies = [ bitflags_0_7_0 cfg_if_0_1_0 libc_0_2_23 void_1_0_2 ];
features = mkFeatures nix_0_8_1_features;
};
nix_0_8_1_features."".self = true;
bitflags_0_7_0_features."default".from_nix_0_8_1__default = true;
cfg_if_0_1_0_features."default".from_nix_0_8_1__default = true;
libc_0_2_23_features."default".from_nix_0_8_1__default = true;
void_1_0_2_features."default".from_nix_0_8_1__default = true;
num_traits_0_1_37 = num_traits_0_1_37_ rec {};
ordermap_0_2_10 = ordermap_0_2_10_ rec {
features = mkFeatures ordermap_0_2_10_features;
};
ordermap_0_2_10_features."".self = true;
petgraph_0_4_5 = petgraph_0_4_5_ rec {
dependencies = [ fixedbitset_0_1_6 ordermap_0_2_10 ]
++ (if lib.lists.any (x: x == "ordermap") features then [ordermap_0_2_10] else []);
features = mkFeatures petgraph_0_4_5_features;
};
petgraph_0_4_5_features."".self = true;
petgraph_0_4_5_features."unstable".self_all = hasFeature (petgraph_0_4_5_features."all" or {});
petgraph_0_4_5_features."quickcheck".self_all = hasFeature (petgraph_0_4_5_features."all" or {});
petgraph_0_4_5_features."stable_graph".self_all = hasFeature (petgraph_0_4_5_features."all" or {});
petgraph_0_4_5_features."graphmap".self_all = hasFeature (petgraph_0_4_5_features."all" or {});
petgraph_0_4_5_features."graphmap".self_default = hasDefault petgraph_0_4_5_features;
petgraph_0_4_5_features."stable_graph".self_default = hasDefault petgraph_0_4_5_features;
petgraph_0_4_5_features."ordermap".self_graphmap = hasFeature (petgraph_0_4_5_features."graphmap" or {});
petgraph_0_4_5_features."generate".self_unstable = hasFeature (petgraph_0_4_5_features."unstable" or {});
fixedbitset_0_1_6_features."default".from_petgraph_0_4_5__default = true;
ordermap_0_2_10_features."default".from_petgraph_0_4_5__default = true;
quickcheck_0_0_0_features."default".from_petgraph_0_4_5__default = false;
phf_0_7_21 = phf_0_7_21_ rec {
dependencies = [ phf_shared_0_7_21 ];
features = mkFeatures phf_0_7_21_features;
};
phf_0_7_21_features."".self = true;
phf_shared_0_7_21_features."core".from_phf_0_7_21__core = hasFeature (phf_0_7_21_features."core" or {});
phf_shared_0_7_21_features."unicase".from_phf_0_7_21__unicase = hasFeature (phf_0_7_21_features."unicase" or {});
phf_shared_0_7_21_features."default".from_phf_0_7_21__default = true;
phf_codegen_0_7_21 = phf_codegen_0_7_21_ rec {
dependencies = [ phf_generator_0_7_21 phf_shared_0_7_21 ];
};
phf_generator_0_7_21_features."default".from_phf_codegen_0_7_21__default = true;
phf_shared_0_7_21_features."default".from_phf_codegen_0_7_21__default = true;
phf_generator_0_7_21 = phf_generator_0_7_21_ rec {
dependencies = [ phf_shared_0_7_21 rand_0_3_15 ];
};
phf_shared_0_7_21_features."default".from_phf_generator_0_7_21__default = true;
rand_0_3_15_features."default".from_phf_generator_0_7_21__default = true;
phf_shared_0_7_21 = phf_shared_0_7_21_ rec {
dependencies = [ siphasher_0_2_2 ];
features = mkFeatures phf_shared_0_7_21_features;
};
phf_shared_0_7_21_features."".self = true;
siphasher_0_2_2_features."default".from_phf_shared_0_7_21__default = true;
unicase_0_0_0_features."default".from_phf_shared_0_7_21__default = true;
pkg_config_0_3_9 = pkg_config_0_3_9_ rec {};
rand_0_3_15 = rand_0_3_15_ rec {
dependencies = [ libc_0_2_23 ];
};
libc_0_2_23_features."default".from_rand_0_3_15__default = true;
regex_0_1_80 = regex_0_1_80_ rec {
dependencies = [ aho_corasick_0_5_3 memchr_0_1_11 regex_syntax_0_3_9 thread_local_0_2_7 utf8_ranges_0_1_3 ];
features = mkFeatures regex_0_1_80_features;
};
regex_0_1_80_features."simd".self_simd-accel = hasFeature (regex_0_1_80_features."simd-accel" or {});
aho_corasick_0_5_3_features."default".from_regex_0_1_80__default = true;
memchr_0_1_11_features."default".from_regex_0_1_80__default = true;
regex_syntax_0_3_9_features."default".from_regex_0_1_80__default = true;
simd_0_0_0_features."default".from_regex_0_1_80__default = true;
thread_local_0_2_7_features."default".from_regex_0_1_80__default = true;
utf8_ranges_0_1_3_features."default".from_regex_0_1_80__default = true;
regex_syntax_0_3_9 = regex_syntax_0_3_9_ rec {};
rustc_serialize_0_3_24 = rustc_serialize_0_3_24_ rec {};
rustc_version_0_1_7 = rustc_version_0_1_7_ rec {
dependencies = [ semver_0_1_20 ];
};
semver_0_1_20_features."default".from_rustc_version_0_1_7__default = true;
rustwlc_0_6_2 = rustwlc_0_6_2_ rec {
dependencies = [ bitflags_0_7_0 libc_0_2_23 wayland_sys_0_6_0 ]
++ (if lib.lists.any (x: x == "wayland-sys") features then [wayland_sys_0_6_0] else []);
features = mkFeatures rustwlc_0_6_2_features;
};
rustwlc_0_6_2_features."".self = true;
rustwlc_0_6_2_features."wayland-sys".self_wlc-wayland = hasFeature (rustwlc_0_6_2_features."wlc-wayland" or {});
bitflags_0_7_0_features."default".from_rustwlc_0_6_2__default = true;
libc_0_2_23_features."default".from_rustwlc_0_6_2__default = true;
wayland_sys_0_6_0_features."server".from_rustwlc_0_6_2 = true;
wayland_sys_0_6_0_features."default".from_rustwlc_0_6_2__default = true;
semver_0_1_20 = semver_0_1_20_ rec {};
serde_0_9_15 = serde_0_9_15_ rec {
dependencies = [];
features = mkFeatures serde_0_9_15_features;
};
serde_0_9_15_features."unstable".self_alloc = hasFeature (serde_0_9_15_features."alloc" or {});
serde_0_9_15_features."alloc".self_collections = hasFeature (serde_0_9_15_features."collections" or {});
serde_0_9_15_features."std".self_default = hasDefault serde_0_9_15_features;
serde_0_9_15_features."serde_derive".self_derive = hasFeature (serde_0_9_15_features."derive" or {});
serde_0_9_15_features."serde_derive".self_playground = hasFeature (serde_0_9_15_features."playground" or {});
serde_0_9_15_features."unstable".self_unstable-testing = hasFeature (serde_0_9_15_features."unstable-testing" or {});
serde_0_9_15_features."std".self_unstable-testing = hasFeature (serde_0_9_15_features."unstable-testing" or {});
serde_derive_0_0_0_features."default".from_serde_0_9_15__default = true;
serde_json_0_9_10 = serde_json_0_9_10_ rec {
dependencies = [ dtoa_0_4_1 itoa_0_3_1 num_traits_0_1_37 serde_0_9_15 ];
features = mkFeatures serde_json_0_9_10_features;
};
serde_json_0_9_10_features."linked-hash-map".self_preserve_order = hasFeature (serde_json_0_9_10_features."preserve_order" or {});
dtoa_0_4_1_features."default".from_serde_json_0_9_10__default = true;
itoa_0_3_1_features."default".from_serde_json_0_9_10__default = true;
linked_hash_map_0_0_0_features."default".from_serde_json_0_9_10__default = true;
num_traits_0_1_37_features."default".from_serde_json_0_9_10__default = true;
serde_0_9_15_features."default".from_serde_json_0_9_10__default = true;
siphasher_0_2_2 = siphasher_0_2_2_ rec {
dependencies = [];
};
clippy_0_0_0_features."default".from_siphasher_0_2_2__default = true;
target_build_utils_0_3_1 = target_build_utils_0_3_1_ rec {
dependencies = [ phf_0_7_21 serde_json_0_9_10 ]
++ (if lib.lists.any (x: x == "serde_json") features then [serde_json_0_9_10] else []);
buildDependencies = [ phf_codegen_0_7_21 ];
features = mkFeatures target_build_utils_0_3_1_features;
};
target_build_utils_0_3_1_features."".self = true;
target_build_utils_0_3_1_features."serde_json".self_default = hasDefault target_build_utils_0_3_1_features;
phf_0_7_21_features."default".from_target_build_utils_0_3_1__default = true;
serde_json_0_9_10_features."default".from_target_build_utils_0_3_1__default = true;
thread_id_2_0_0 = thread_id_2_0_0_ rec {
dependencies = [ kernel32_sys_0_2_2 libc_0_2_23 ];
};
kernel32_sys_0_2_2_features."default".from_thread_id_2_0_0__default = true;
libc_0_2_23_features."default".from_thread_id_2_0_0__default = true;
thread_local_0_2_7 = thread_local_0_2_7_ rec {
dependencies = [ thread_id_2_0_0 ];
};
thread_id_2_0_0_features."default".from_thread_local_0_2_7__default = true;
utf8_ranges_0_1_3 = utf8_ranges_0_1_3_ rec {};
uuid_0_3_1 = uuid_0_3_1_ rec {
dependencies = [ rand_0_3_15 rustc_serialize_0_3_24 ]
++ (if lib.lists.any (x: x == "rand") features then [rand_0_3_15] else []) ++ (if lib.lists.any (x: x == "rustc-serialize") features then [rustc_serialize_0_3_24] else []);
features = mkFeatures uuid_0_3_1_features;
};
uuid_0_3_1_features."".self = true;
uuid_0_3_1_features."rand".self_v4 = hasFeature (uuid_0_3_1_features."v4" or {});
uuid_0_3_1_features."sha1".self_v5 = hasFeature (uuid_0_3_1_features."v5" or {});
rand_0_3_15_features."default".from_uuid_0_3_1__default = true;
rustc_serialize_0_3_24_features."default".from_uuid_0_3_1__default = true;
serde_0_0_0_features."default".from_uuid_0_3_1__default = true;
sha1_0_0_0_features."default".from_uuid_0_3_1__default = true;
void_1_0_2 = void_1_0_2_ rec {
features = mkFeatures void_1_0_2_features;
};
void_1_0_2_features."std".self_default = hasDefault void_1_0_2_features;
way_cooler_0_6_2 = way_cooler_0_6_2_ rec {
dependencies = [ bitflags_0_7_0 cairo_rs_0_1_3 dbus_0_4_1 dbus_macros_0_0_6 env_logger_0_3_5 getopts_0_2_14 hlua_0_1_9 json_macro_0_1_1 lazy_static_0_2_8 log_0_3_7 nix_0_6_0 petgraph_0_4_5 rustc_serialize_0_3_24 rustwlc_0_6_2 uuid_0_3_1 wayland_server_0_9_4 wayland_sys_0_9_4 ];
buildDependencies = [ wayland_scanner_0_9_4 ];
features = mkFeatures way_cooler_0_6_2_features;
};
way_cooler_0_6_2_features."".self = true;
bitflags_0_7_0_features."default".from_way_cooler_0_6_2__default = true;
cairo_rs_0_1_3_features."default".from_way_cooler_0_6_2__default = true;
dbus_0_4_1_features."default".from_way_cooler_0_6_2__default = true;
dbus_macros_0_0_6_features."default".from_way_cooler_0_6_2__default = true;
env_logger_0_3_5_features."default".from_way_cooler_0_6_2__default = true;
getopts_0_2_14_features."default".from_way_cooler_0_6_2__default = true;
hlua_0_1_9_features."default".from_way_cooler_0_6_2__default = true;
json_macro_0_1_1_features."default".from_way_cooler_0_6_2__default = true;
lazy_static_0_2_8_features."default".from_way_cooler_0_6_2__default = true;
log_0_3_7_features."default".from_way_cooler_0_6_2__default = true;
nix_0_6_0_features."default".from_way_cooler_0_6_2__default = true;
petgraph_0_4_5_features."default".from_way_cooler_0_6_2__default = true;
rustc_serialize_0_3_24_features."default".from_way_cooler_0_6_2__default = true;
rustwlc_0_6_2_features."wlc-wayland".from_way_cooler_0_6_2 = true;
rustwlc_0_6_2_features."static-wlc".from_way_cooler_0_6_2__static-wlc = hasFeature (way_cooler_0_6_2_features."static-wlc" or {});
rustwlc_0_6_2_features."default".from_way_cooler_0_6_2__default = true;
uuid_0_3_1_features."v4".from_way_cooler_0_6_2 = true;
uuid_0_3_1_features."rustc-serialize".from_way_cooler_0_6_2 = true;
uuid_0_3_1_features."default".from_way_cooler_0_6_2__default = true;
wayland_server_0_9_4_features."default".from_way_cooler_0_6_2__default = true;
wayland_sys_0_9_4_features."client".from_way_cooler_0_6_2 = true;
wayland_sys_0_9_4_features."dlopen".from_way_cooler_0_6_2 = true;
wayland_sys_0_9_4_features."default".from_way_cooler_0_6_2__default = true;
wayland_scanner_0_9_4 = wayland_scanner_0_9_4_ rec {
dependencies = [ xml_rs_0_3_6 ];
};
xml_rs_0_3_6_features."default".from_wayland_scanner_0_9_4__default = true;
wayland_server_0_9_4 = wayland_server_0_9_4_ rec {
dependencies = [ bitflags_0_7_0 libc_0_2_23 nix_0_8_1 wayland_sys_0_9_4 ];
buildDependencies = [ wayland_scanner_0_9_4 ];
features = mkFeatures wayland_server_0_9_4_features;
};
wayland_server_0_9_4_features."".self = true;
bitflags_0_7_0_features."default".from_wayland_server_0_9_4__default = true;
libc_0_2_23_features."default".from_wayland_server_0_9_4__default = true;
nix_0_8_1_features."default".from_wayland_server_0_9_4__default = true;
wayland_sys_0_9_4_features."server".from_wayland_server_0_9_4 = true;
wayland_sys_0_9_4_features."dlopen".from_wayland_server_0_9_4__dlopen = hasFeature (wayland_server_0_9_4_features."dlopen" or {});
wayland_sys_0_9_4_features."default".from_wayland_server_0_9_4__default = true;
wayland_sys_0_6_0 = wayland_sys_0_6_0_ rec {
dependencies = [ dlib_0_3_1 libc_0_2_23 ]
++ (if lib.lists.any (x: x == "libc") features then [libc_0_2_23] else []);
features = mkFeatures wayland_sys_0_6_0_features;
};
wayland_sys_0_6_0_features."".self = true;
wayland_sys_0_6_0_features."lazy_static".self_dlopen = hasFeature (wayland_sys_0_6_0_features."dlopen" or {});
wayland_sys_0_6_0_features."libc".self_server = hasFeature (wayland_sys_0_6_0_features."server" or {});
dlib_0_3_1_features."dlopen".from_wayland_sys_0_6_0__dlopen = hasFeature (wayland_sys_0_6_0_features."dlopen" or {});
dlib_0_3_1_features."default".from_wayland_sys_0_6_0__default = true;
lazy_static_0_0_0_features."default".from_wayland_sys_0_6_0__default = true;
libc_0_2_23_features."default".from_wayland_sys_0_6_0__default = true;
wayland_sys_0_9_4 = wayland_sys_0_9_4_ rec {
dependencies = [ dlib_0_3_1 lazy_static_0_2_8 libc_0_2_23 ]
++ (if lib.lists.any (x: x == "lazy_static") features then [lazy_static_0_2_8] else []) ++ (if lib.lists.any (x: x == "libc") features then [libc_0_2_23] else []);
features = mkFeatures wayland_sys_0_9_4_features;
};
wayland_sys_0_9_4_features."".self = true;
wayland_sys_0_9_4_features."lazy_static".self_dlopen = hasFeature (wayland_sys_0_9_4_features."dlopen" or {});
wayland_sys_0_9_4_features."libc".self_server = hasFeature (wayland_sys_0_9_4_features."server" or {});
dlib_0_3_1_features."dlopen".from_wayland_sys_0_9_4__dlopen = hasFeature (wayland_sys_0_9_4_features."dlopen" or {});
dlib_0_3_1_features."default".from_wayland_sys_0_9_4__default = true;
lazy_static_0_2_8_features."default".from_wayland_sys_0_9_4__default = true;
libc_0_2_23_features."default".from_wayland_sys_0_9_4__default = true;
winapi_0_2_8 = winapi_0_2_8_ rec {};
winapi_build_0_1_1 = winapi_build_0_1_1_ rec {};
xml_rs_0_3_6 = xml_rs_0_3_6_ rec {
dependencies = [ bitflags_0_7_0 ];
};
bitflags_0_7_0_features."default".from_xml_rs_0_3_6__default = true;
}

View File

@ -0,0 +1,962 @@
# Generated by carnix 0.5.0: carnix -o wc-bg.nix Cargo.lock
{ lib, buildPlatform, buildRustCrate, fetchgit }:
let kernel = buildPlatform.parsed.kernel.name;
abi = buildPlatform.parsed.abi.name;
hasFeature = feature:
lib.lists.any
(originName: feature.${originName})
(builtins.attrNames feature);
hasDefault = feature:
let defaultFeatures = builtins.attrNames (feature."default" or {}); in
(defaultFeatures == [])
|| (lib.lists.any (originName: feature."default".${originName}) defaultFeatures);
mkFeatures = feat: lib.lists.foldl (features: featureName:
if featureName != "" && hasFeature feat.${featureName} then
[ featureName ] ++ features
else
features
) (if hasDefault feat then [ "default" ] else []) (builtins.attrNames feat);
ansi_term_0_9_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "ansi_term";
version = "0.9.0";
authors = [ "ogham@bsago.me" "Ryan Scheel (Havvy) <ryan.havvy@gmail.com>" ];
sha256 = "1vcd8m2hglrdi4zmqnkkz5zy3c73ifgii245k7vj6qr5dzpn9hij";
inherit dependencies buildDependencies features;
};
atty_0_2_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "atty";
version = "0.2.2";
authors = [ "softprops <d.tangren@gmail.com>" ];
sha256 = "05c6jvrxljp4s1aycgq2z3y56f7f5yvc56v25cqlmpc1qx65z7ba";
inherit dependencies buildDependencies features;
};
bitflags_0_6_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "bitflags";
version = "0.6.0";
authors = [ "The Rust Project Developers" ];
sha256 = "1znq4b770mdp3kdj9yz199ylc2pmf8l5j2f281jjrcfhg1mm22h6";
inherit dependencies buildDependencies features;
};
bitflags_0_7_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "bitflags";
version = "0.7.0";
authors = [ "The Rust Project Developers" ];
sha256 = "1hr72xg5slm0z4pxs2hiy4wcyx3jva70h58b7mid8l0a4c8f7gn5";
inherit dependencies buildDependencies features;
};
bitflags_0_8_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "bitflags";
version = "0.8.2";
authors = [ "The Rust Project Developers" ];
sha256 = "0whaj3969ysqxzk620sk1isvq6vh85516f2fplvqjrw3syz44sb2";
inherit dependencies buildDependencies features;
};
byteorder_0_5_3_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "byteorder";
version = "0.5.3";
authors = [ "Andrew Gallant <jamslam@gmail.com>" ];
sha256 = "0zsr6b0m0yl5c0yy92nq7srfpczd1dx1xqcx3rlm5fbl8si9clqx";
inherit dependencies buildDependencies features;
};
byteorder_1_0_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "byteorder";
version = "1.0.0";
authors = [ "Andrew Gallant <jamslam@gmail.com>" ];
sha256 = "14pdnds4517vcpablc51vv76hvc3glnpkpbb7qdil591q7lyb0m1";
inherit dependencies buildDependencies features;
};
clap_2_23_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "clap";
version = "2.23.2";
authors = [ "Kevin K. <kbknapp@gmail.com>" ];
sha256 = "1sfc2h9sn4k3vkgqxwk2mhl75f0i9gl3ncl7d2y7plhp18k5nlrs";
inherit dependencies buildDependencies features;
};
color_quant_1_0_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "color_quant";
version = "1.0.0";
authors = [ "nwin <nwin@users.noreply.github.com>" ];
sha256 = "0jwr40lr115zm2bydk1wja12gcxrmgsx0n1z1pipq00sab71maaj";
inherit dependencies buildDependencies features;
};
dbus_0_5_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "dbus";
version = "0.5.2";
authors = [ "David Henningsson <diwic@ubuntu.com>" ];
sha256 = "1ga3p2myqxbz34n2bbw4gk1ipf76mjr8r2rvrvnalwggymzfkhj7";
build = "build.rs";
inherit dependencies buildDependencies features;
};
deque_0_3_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "deque";
version = "0.3.1";
authors = [ "Alex Crichton <alex@alexcrichton.com>" "Samuel Fredrickson <kinghajj@gmail.com>" "Linus Färnstrand <faern@faern.net>" "Amanieu d'Antras <amanieu@gmail.com>" ];
sha256 = "04x8i5aagxmslk350i8qszyw7kmvrqc3d99g4qi1xnfmr61y7m68";
inherit dependencies buildDependencies features;
};
dlib_0_3_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "dlib";
version = "0.3.1";
authors = [ "Victor Berger <victor.berger@m4x.org>" ];
sha256 = "11mhh6g9vszp2ay3r46x4capnnmvvhx5hcp74bapxjhiixqjfvkr";
inherit dependencies buildDependencies features;
};
dtoa_0_4_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "dtoa";
version = "0.4.1";
authors = [ "David Tolnay <dtolnay@gmail.com>" ];
sha256 = "0mgg4r90yby68qg7y8csbclhsm53ac26vsyq615viq535plllhzw";
inherit dependencies buildDependencies features;
};
enum_primitive_0_1_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "enum_primitive";
version = "0.1.1";
authors = [ "Anders Kaseorg <andersk@mit.edu>" ];
sha256 = "1a225rlsz7sz3nn14dar71kp2f9v08s3rwl6j55xp51mv01f695y";
inherit dependencies buildDependencies features;
};
error_chain_0_7_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "error-chain";
version = "0.7.2";
authors = [ "Brian Anderson <banderson@mozilla.com>" "Paul Colomiets <paul@colomiets.name>" "Colin Kiegel <kiegel@gmx.de>" "Yamakaky <yamakaky@yamaworld.fr>" ];
sha256 = "0b1r4ggdgy1djfvz2s4l5kirmfsmxd286y6wx0p9ahv2phb7inyi";
inherit dependencies buildDependencies features;
};
flate2_0_2_19_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "flate2";
version = "0.2.19";
authors = [ "Alex Crichton <alex@alexcrichton.com>" ];
sha256 = "1dpnvw4hcxplalr3bk527d9rfiy7c08580hji9dnfcv5fmdg1znq";
inherit dependencies buildDependencies features;
};
gcc_0_3_45_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "gcc";
version = "0.3.45";
authors = [ "Alex Crichton <alex@alexcrichton.com>" ];
sha256 = "0d3pzpbh7wr7645i2rkg5f7c4bhp01a9syrw600fjcvqhkiykp5n";
inherit dependencies buildDependencies features;
};
gif_0_9_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "gif";
version = "0.9.1";
authors = [ "nwin <nwin@users.noreply.github.com>" ];
sha256 = "16s7b0rqc6gg1fcbppakm3jy2q462w3qvykcmcmifmg7q7lwsg6r";
inherit dependencies buildDependencies features;
};
glob_0_2_11_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "glob";
version = "0.2.11";
authors = [ "The Rust Project Developers" ];
sha256 = "104389jjxs8r2f5cc9p0axhjmndgln60ih5x4f00ccgg9d3zarlf";
inherit dependencies buildDependencies features;
};
image_0_10_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "image";
version = "0.10.4";
authors = [ "ccgn" "bvssvni <bvssvni@gmail.com>" "nwin" "TyOverby <ty@pre-alpha.com>" ];
sha256 = "1pwrs7k5760b38i1lg872x9q2zc6xvhs7mjhlzvjnr5p85zx2fbw";
libPath = "./src/lib.rs";
inherit dependencies buildDependencies features;
};
inflate_0_1_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "inflate";
version = "0.1.1";
authors = [ "nwin <nwin@users.noreply.github.com>" ];
sha256 = "112kh9hjcjjxdybl032mdhpwnr3qxw8j0ch6hwanwpcf3gz42g1h";
inherit dependencies buildDependencies features;
};
itoa_0_3_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "itoa";
version = "0.3.1";
authors = [ "David Tolnay <dtolnay@gmail.com>" ];
sha256 = "0jp1wvfw0qqbyz0whbycp7xr5nx1ds5plh4wsfyj503xmjf9ab4k";
inherit dependencies buildDependencies features;
};
jpeg_decoder_0_1_12_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "jpeg-decoder";
version = "0.1.12";
authors = [ "Ulf Nilsson <kaksmet@gmail.com>" ];
sha256 = "1f8y6v3alf93gwfmcd53izh77w2a1gv85zlhdbnyla2kna7r9pwz";
inherit dependencies buildDependencies features;
};
kernel32_sys_0_2_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "kernel32-sys";
version = "0.2.2";
authors = [ "Peter Atashian <retep998@gmail.com>" ];
sha256 = "1lrw1hbinyvr6cp28g60z97w32w8vsk6pahk64pmrv2fmby8srfj";
libName = "kernel32";
build = "build.rs";
inherit dependencies buildDependencies features;
};
lazy_static_0_1_16_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "lazy_static";
version = "0.1.16";
authors = [ "Marvin Löbel <loebel.marvin@gmail.com>" ];
sha256 = "0lc5ixs5bmnc43lfri2ynh9393l7vs0z3sw2v5rkaady2ivnznpc";
inherit dependencies buildDependencies features;
};
lazy_static_0_2_8_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "lazy_static";
version = "0.2.8";
authors = [ "Marvin Löbel <loebel.marvin@gmail.com>" ];
sha256 = "1xbpxx7cd5kl60g87g43q80jxyrsildhxfjc42jb1x4jncknpwbl";
inherit dependencies buildDependencies features;
};
libc_0_2_21_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "libc";
version = "0.2.21";
authors = [ "The Rust Project Developers" ];
sha256 = "0glj3lxwc8358cfw9pb5dd4zr9iynzj6w2ly59nshrggsw021j75";
inherit dependencies buildDependencies features;
};
libloading_0_3_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "libloading";
version = "0.3.4";
authors = [ "Simonas Kazlauskas <libloading@kazlauskas.me>" ];
sha256 = "1f2vy32cr434n638nv8sdf05iwa53q9q5ahlcpw1l9ywh1bcbhf1";
build = "build.rs";
inherit dependencies buildDependencies features;
};
lzw_0_10_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "lzw";
version = "0.10.0";
authors = [ "nwin <nwin@users.noreply.github.com>" ];
sha256 = "1cfsy2w26kbz9bjaqp9dh1wyyh47rpmhwvj4jpc1rmffbf438fvb";
inherit dependencies buildDependencies features;
};
metadeps_1_1_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "metadeps";
version = "1.1.1";
authors = [ "Josh Triplett <josh@joshtriplett.org>" ];
sha256 = "1px8v94jn4ps63gqmvgsfcqxrwjhpa9z4xr0y1lh95wn2063fsar";
inherit dependencies buildDependencies features;
};
miniz_sys_0_1_9_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "miniz-sys";
version = "0.1.9";
authors = [ "Alex Crichton <alex@alexcrichton.com>" ];
sha256 = "09m2953zr0msq8cgk86991y4aqfvw3cxf52fx0d49jqy92nqmfmv";
libPath = "lib.rs";
libName = "miniz_sys";
build = "build.rs";
inherit dependencies buildDependencies features;
};
num_bigint_0_1_37_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "num-bigint";
version = "0.1.37";
authors = [ "The Rust Project Developers" ];
sha256 = "0scyqfi5azf48yyc8fhns8i1g8zq1rax155hhj9mhr0c1j6w99gs";
inherit dependencies buildDependencies features;
};
num_integer_0_1_34_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "num-integer";
version = "0.1.34";
authors = [ "The Rust Project Developers" ];
sha256 = "1i160ddy78sgih3xq9r6raqmg4s83abwbphv4cvyb1lnwsh0b318";
inherit dependencies buildDependencies features;
};
num_iter_0_1_33_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "num-iter";
version = "0.1.33";
authors = [ "The Rust Project Developers" ];
sha256 = "1xjzf2p2vaqwknkr4s8ka5hn6cpr5rsshnydbpkn2pvapfzdrqd3";
inherit dependencies buildDependencies features;
};
num_rational_0_1_36_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "num-rational";
version = "0.1.36";
authors = [ "The Rust Project Developers" ];
sha256 = "0jibhs8xiap2wlv1xjwdvhyj4yrxwfisqbnfm53vjm5ldlijp87p";
inherit dependencies buildDependencies features;
};
num_traits_0_1_37_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "num-traits";
version = "0.1.37";
authors = [ "The Rust Project Developers" ];
sha256 = "0rwzfmdjq6iz6plva2gi7agvy1w9sjs7aqjh0p115w57xiix2224";
inherit dependencies buildDependencies features;
};
num_cpus_1_3_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "num_cpus";
version = "1.3.0";
authors = [ "Sean McArthur <sean.monstar@gmail.com>" ];
sha256 = "0i0zm6qh932k9b67qf7f1vsczkdim5kg9qv73m7y5hhw1i781rrb";
inherit dependencies buildDependencies features;
};
phf_0_7_21_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "phf";
version = "0.7.21";
authors = [ "Steven Fackler <sfackler@gmail.com>" ];
sha256 = "11m2rzm2s8s35m0s97gjxxb181xz352kjlhr387xj5c8q3qp5afg";
libPath = "src/lib.rs";
inherit dependencies buildDependencies features;
};
phf_codegen_0_7_21_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "phf_codegen";
version = "0.7.21";
authors = [ "Steven Fackler <sfackler@gmail.com>" ];
sha256 = "0kgy8s2q4zr0iqcm21mgq4ppc45wy6z7b5wn98xyfsrcad6lwmmj";
inherit dependencies buildDependencies features;
};
phf_generator_0_7_21_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "phf_generator";
version = "0.7.21";
authors = [ "Steven Fackler <sfackler@gmail.com>" ];
sha256 = "1jxjfzc6d6d4l9nv0r2bb66if5brk9lnncmg4dpjjifn6zhhqd9g";
inherit dependencies buildDependencies features;
};
phf_shared_0_7_21_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "phf_shared";
version = "0.7.21";
authors = [ "Steven Fackler <sfackler@gmail.com>" ];
sha256 = "0lxpg3wgxfhzfalmf9ha9my1lsvfjy74ah9f6mfw88xlp545jlln";
libPath = "src/lib.rs";
inherit dependencies buildDependencies features;
};
pkg_config_0_3_9_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "pkg-config";
version = "0.3.9";
authors = [ "Alex Crichton <alex@alexcrichton.com>" ];
sha256 = "06k8fxgrsrxj8mjpjcq1n7mn2p1shpxif4zg9y5h09c7vy20s146";
inherit dependencies buildDependencies features;
};
png_0_5_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "png";
version = "0.5.2";
authors = [ "nwin <nwin@users.noreply.github.com>" ];
sha256 = "1pgann3f1ysgf8y1acw86v4s3ji1xk85ri353biyvh4i1cpn1g3q";
inherit dependencies buildDependencies features;
};
rand_0_3_15_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "rand";
version = "0.3.15";
authors = [ "The Rust Project Developers" ];
sha256 = "1fs30rc1xic40s1n7l3y7pxzfifpy03mgrvhy5ggp5p7zjfv3rr8";
inherit dependencies buildDependencies features;
};
rayon_0_7_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "rayon";
version = "0.7.0";
authors = [ "Niko Matsakis <niko@alum.mit.edu>" ];
sha256 = "102qkpni68wc9fz1hmba1z8d6pgnl86g5gdl9i3h3ilc6zjymxx7";
inherit dependencies buildDependencies features;
};
rayon_core_1_0_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "rayon-core";
version = "1.0.0";
authors = [ "Niko Matsakis <niko@alum.mit.edu>" ];
sha256 = "0gv3ysmx69r20n0ywjnqbgm802jjzgg0rly1iv1ssphgn5gg4hsh";
build = "build.rs";
inherit dependencies buildDependencies features;
};
rustc_serialize_0_3_23_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "rustc-serialize";
version = "0.3.23";
authors = [ "The Rust Project Developers" ];
sha256 = "0s8i928syzkj1xrsfqf04xlyi4zl37bfpzilf160gi2vhcikj0lw";
inherit dependencies buildDependencies features;
};
rustc_version_0_1_7_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "rustc_version";
version = "0.1.7";
authors = [ "Marvin Löbel <loebel.marvin@gmail.com>" ];
sha256 = "0plm9pbyvcwfibd0kbhzil9xmr1bvqi8fgwlfw0x4vali8s6s99p";
inherit dependencies buildDependencies features;
};
scoped_threadpool_0_1_7_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "scoped_threadpool";
version = "0.1.7";
authors = [ "Marvin Löbel <loebel.marvin@gmail.com>" ];
sha256 = "0dg58f18i6v071640062n0vymr4h42cnj0xy8a7b80sc0mddykyk";
inherit dependencies buildDependencies features;
};
semver_0_1_20_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "semver";
version = "0.1.20";
authors = [ "The Rust Project Developers" ];
sha256 = "05cdig0071hls2k8lxbqmyqpl0zjmc53i2d43mwzps033b8njh4n";
inherit dependencies buildDependencies features;
};
serde_0_9_13_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "serde";
version = "0.9.13";
authors = [ "Erick Tryzelaar <erick.tryzelaar@gmail.com>" ];
sha256 = "1lgh3mhmdagzb6wrm6nd4f9mfqwmw464hc8q99ia2qv4xwkx72xp";
inherit dependencies buildDependencies features;
};
serde_json_0_9_10_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "serde_json";
version = "0.9.10";
authors = [ "Erick Tryzelaar <erick.tryzelaar@gmail.com>" ];
sha256 = "0g6bxlfnvf2miicnsizyrxm686rfval6gbss1i2qcna8msfwc005";
inherit dependencies buildDependencies features;
};
siphasher_0_2_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "siphasher";
version = "0.2.2";
authors = [ "Frank Denis <github@pureftpd.org>" ];
sha256 = "0iyx7nlzfny9ly1634a6zcq0yvrinhxhypwas4p8ry3zqnn76qqr";
inherit dependencies buildDependencies features;
};
strsim_0_6_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "strsim";
version = "0.6.0";
authors = [ "Danny Guo <dannyguo91@gmail.com>" ];
sha256 = "1lz85l6y68hr62lv4baww29yy7g8pg20dlr0lbaswxmmcb0wl7gd";
inherit dependencies buildDependencies features;
};
target_build_utils_0_3_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "target_build_utils";
version = "0.3.0";
authors = [ "Simonas Kazlauskas <target_build_utils@kazlauskas.me>" ];
sha256 = "03vxpzmcsvzi1zzjj1h9c956m9s815v3ikrxa1mz1h5hzs3q7bkg";
build = "build.rs";
inherit dependencies buildDependencies features;
};
tempfile_2_1_5_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "tempfile";
version = "2.1.5";
authors = [ "Steven Allen <steven@stebalien.com>" ];
sha256 = "1yz8aaj78z9gsn4b71y0m6fa5bnxhqafcczhxvmwra56k943aqkw";
build = "build.rs";
inherit dependencies buildDependencies features;
};
term_size_0_3_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "term_size";
version = "0.3.0";
authors = [ "Kevin K. <kbknapp@gmail.com>" "Benjamin Sago <ogham@bsago.me>" ];
sha256 = "054d5avad49sy5nfaaaphai4kv4rmdh6q0npchnvdhpxp02lcfhs";
inherit dependencies buildDependencies features;
};
toml_0_2_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "toml";
version = "0.2.1";
authors = [ "Alex Crichton <alex@alexcrichton.com>" ];
sha256 = "0p4rkaqhmk4fp6iqpxfgp3p98hxhbs2wmla3fq531n875h922yqs";
inherit dependencies buildDependencies features;
};
unicode_segmentation_1_1_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "unicode-segmentation";
version = "1.1.0";
authors = [ "kwantam <kwantam@gmail.com>" ];
sha256 = "10hk7wy0217jwdbp27p36skwkig5lbhk482yfzij9m87h247rry0";
inherit dependencies buildDependencies features;
};
unicode_width_0_1_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "unicode-width";
version = "0.1.4";
authors = [ "kwantam <kwantam@gmail.com>" ];
sha256 = "1rp7a04icn9y5c0lm74nrd4py0rdl0af8bhdwq7g478n1xifpifl";
inherit dependencies buildDependencies features;
};
vec_map_0_7_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "vec_map";
version = "0.7.0";
authors = [ "Alex Crichton <alex@alexcrichton.com>" "Jorge Aparicio <japaricious@gmail.com>" "Alexis Beingessner <a.beingessner@gmail.com>" "Brian Anderson <>" "tbu- <>" "Manish Goregaokar <>" "Aaron Turon <aturon@mozilla.com>" "Adolfo Ochagavía <>" "Niko Matsakis <>" "Steven Fackler <>" "Chase Southwood <csouth3@illinois.edu>" "Eduard Burtescu <>" "Florian Wilkens <>" "Félix Raimundo <>" "Tibor Benke <>" "Markus Siemens <markus@m-siemens.de>" "Josh Branchaud <jbranchaud@gmail.com>" "Huon Wilson <dbau.pp@gmail.com>" "Corey Farwell <coref@rwell.org>" "Aaron Liblong <>" "Nick Cameron <nrc@ncameron.org>" "Patrick Walton <pcwalton@mimiga.net>" "Felix S Klock II <>" "Andrew Paseltiner <apaseltiner@gmail.com>" "Sean McArthur <sean.monstar@gmail.com>" "Vadim Petrochenkov <>" ];
sha256 = "0jawvi83b1nm101nam0w71kdyh7cy3fr0l9qj1hfcjvzvihfk2l1";
inherit dependencies buildDependencies features;
};
way_cooler_bg_0_2_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "way-cooler-bg";
version = "0.2.1";
authors = [ "Timidger <APragmaticPlace@gmail.com>" ];
sha256 = "04sa2g4kisc6g15fam7ciqya96l5ajfd8x2fq5i46m22qrvagvq2";
inherit dependencies buildDependencies features;
};
wayland_client_0_6_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "wayland-client";
version = "0.6.2";
authors = [ "Victor Berger <victor.berger@m4x.org>" ];
sha256 = "04p9wjjvd4ahylhb27i7aggcrchcqk9ykpny6hjsc1lqfbqbhj3d";
build = "build.rs";
inherit dependencies buildDependencies features;
};
wayland_scanner_0_6_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "wayland-scanner";
version = "0.6.0";
authors = [ "Victor Berger <victor.berger@m4x.org>" ];
sha256 = "01x9i8ngl9m3hngv7p0xb2qfwfxpcljhbrils506cf1l1q8838kb";
inherit dependencies buildDependencies features;
};
wayland_sys_0_6_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "wayland-sys";
version = "0.6.0";
authors = [ "Victor Berger <victor.berger@m4x.org>" ];
sha256 = "0m6db0kld2d4xv4ai9kxlqrh362hwi0030b4zbss0sfha1hx5mfl";
inherit dependencies buildDependencies features;
};
winapi_0_2_8_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "winapi";
version = "0.2.8";
authors = [ "Peter Atashian <retep998@gmail.com>" ];
sha256 = "0a45b58ywf12vb7gvj6h3j264nydynmzyqz8d8rqxsj6icqv82as";
inherit dependencies buildDependencies features;
};
winapi_build_0_1_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "winapi-build";
version = "0.1.1";
authors = [ "Peter Atashian <retep998@gmail.com>" ];
sha256 = "1lxlpi87rkhxcwp2ykf1ldw3p108hwm24nywf3jfrvmff4rjhqga";
libName = "build";
inherit dependencies buildDependencies features;
};
xml_rs_0_3_6_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "xml-rs";
version = "0.3.6";
authors = [ "Vladimir Matveev <vladimir.matweev@gmail.com>" ];
sha256 = "1g1cclib7fj900m4669vxlz45lxcq0m36g7cd8chl494c2xsgj15";
libPath = "src/lib.rs";
libName = "xml";
crateBin = [ { name = "xml-analyze"; path = "src/analyze.rs"; } ];
inherit dependencies buildDependencies features;
};
in
rec {
ansi_term_0_9_0 = ansi_term_0_9_0_ rec {};
atty_0_2_2 = atty_0_2_2_ rec {
dependencies = (if !(kernel == "windows") then [ libc_0_2_21 ] else [])
++ (if kernel == "windows" then [ kernel32_sys_0_2_2 winapi_0_2_8 ] else []);
};
libc_0_2_21_features."default".from_atty_0_2_2__default = true;
kernel32_sys_0_2_2_features."default".from_atty_0_2_2__default = true;
winapi_0_2_8_features."default".from_atty_0_2_2__default = true;
bitflags_0_6_0 = bitflags_0_6_0_ rec {};
bitflags_0_7_0 = bitflags_0_7_0_ rec {};
bitflags_0_8_2 = bitflags_0_8_2_ rec {
features = mkFeatures bitflags_0_8_2_features;
};
bitflags_0_8_2_features."i128".self_unstable = hasFeature (bitflags_0_8_2_features."unstable" or {});
byteorder_0_5_3 = byteorder_0_5_3_ rec {
features = mkFeatures byteorder_0_5_3_features;
};
byteorder_0_5_3_features."std".self_default = hasDefault byteorder_0_5_3_features;
byteorder_1_0_0 = byteorder_1_0_0_ rec {
features = mkFeatures byteorder_1_0_0_features;
};
byteorder_1_0_0_features."std".self_default = hasDefault byteorder_1_0_0_features;
clap_2_23_2 = clap_2_23_2_ rec {
dependencies = [ ansi_term_0_9_0 atty_0_2_2 bitflags_0_8_2 strsim_0_6_0 term_size_0_3_0 unicode_segmentation_1_1_0 unicode_width_0_1_4 vec_map_0_7_0 ]
++ (if lib.lists.any (x: x == "ansi_term") features then [ansi_term_0_9_0] else []) ++ (if lib.lists.any (x: x == "atty") features then [atty_0_2_2] else []) ++ (if lib.lists.any (x: x == "strsim") features then [strsim_0_6_0] else []) ++ (if lib.lists.any (x: x == "term_size") features then [term_size_0_3_0] else []);
features = mkFeatures clap_2_23_2_features;
};
clap_2_23_2_features."".self = true;
clap_2_23_2_features."ansi_term".self_color = hasFeature (clap_2_23_2_features."color" or {});
clap_2_23_2_features."atty".self_color = hasFeature (clap_2_23_2_features."color" or {});
clap_2_23_2_features."suggestions".self_default = hasDefault clap_2_23_2_features;
clap_2_23_2_features."color".self_default = hasDefault clap_2_23_2_features;
clap_2_23_2_features."wrap_help".self_default = hasDefault clap_2_23_2_features;
clap_2_23_2_features."clippy".self_lints = hasFeature (clap_2_23_2_features."lints" or {});
clap_2_23_2_features."strsim".self_suggestions = hasFeature (clap_2_23_2_features."suggestions" or {});
clap_2_23_2_features."term_size".self_wrap_help = hasFeature (clap_2_23_2_features."wrap_help" or {});
clap_2_23_2_features."yaml-rust".self_yaml = hasFeature (clap_2_23_2_features."yaml" or {});
ansi_term_0_9_0_features."default".from_clap_2_23_2__default = true;
atty_0_2_2_features."default".from_clap_2_23_2__default = true;
bitflags_0_8_2_features."default".from_clap_2_23_2__default = true;
clippy_0_0_0_features."default".from_clap_2_23_2__default = true;
strsim_0_6_0_features."default".from_clap_2_23_2__default = true;
term_size_0_3_0_features."default".from_clap_2_23_2__default = true;
unicode_segmentation_1_1_0_features."default".from_clap_2_23_2__default = true;
unicode_width_0_1_4_features."default".from_clap_2_23_2__default = true;
vec_map_0_7_0_features."default".from_clap_2_23_2__default = true;
yaml_rust_0_0_0_features."default".from_clap_2_23_2__default = true;
color_quant_1_0_0 = color_quant_1_0_0_ rec {};
dbus_0_5_2 = dbus_0_5_2_ rec {
dependencies = [ libc_0_2_21 ];
buildDependencies = [ metadeps_1_1_1 ];
features = mkFeatures dbus_0_5_2_features;
};
dbus_0_5_2_features."".self = true;
libc_0_2_21_features."default".from_dbus_0_5_2__default = true;
deque_0_3_1 = deque_0_3_1_ rec {
dependencies = [ rand_0_3_15 ];
};
rand_0_3_15_features."default".from_deque_0_3_1__default = true;
dlib_0_3_1 = dlib_0_3_1_ rec {
dependencies = [ libloading_0_3_4 ];
features = mkFeatures dlib_0_3_1_features;
};
dlib_0_3_1_features."".self = true;
libloading_0_3_4_features."default".from_dlib_0_3_1__default = true;
dtoa_0_4_1 = dtoa_0_4_1_ rec {};
enum_primitive_0_1_1 = enum_primitive_0_1_1_ rec {
dependencies = [ num_traits_0_1_37 ];
};
num_traits_0_1_37_features."default".from_enum_primitive_0_1_1__default = false;
error_chain_0_7_2 = error_chain_0_7_2_ rec {
dependencies = [];
features = mkFeatures error_chain_0_7_2_features;
};
error_chain_0_7_2_features."backtrace".self_default = hasDefault error_chain_0_7_2_features;
error_chain_0_7_2_features."example_generated".self_default = hasDefault error_chain_0_7_2_features;
backtrace_0_0_0_features."default".from_error_chain_0_7_2__default = true;
flate2_0_2_19 = flate2_0_2_19_ rec {
dependencies = [ libc_0_2_21 miniz_sys_0_1_9 ]
++ (if lib.lists.any (x: x == "miniz-sys") features then [miniz_sys_0_1_9] else []);
features = mkFeatures flate2_0_2_19_features;
};
flate2_0_2_19_features."".self = true;
flate2_0_2_19_features."miniz-sys".self_default = hasDefault flate2_0_2_19_features;
flate2_0_2_19_features."tokio-io".self_tokio = hasFeature (flate2_0_2_19_features."tokio" or {});
flate2_0_2_19_features."futures".self_tokio = hasFeature (flate2_0_2_19_features."tokio" or {});
flate2_0_2_19_features."libz-sys".self_zlib = hasFeature (flate2_0_2_19_features."zlib" or {});
futures_0_0_0_features."default".from_flate2_0_2_19__default = true;
libc_0_2_21_features."default".from_flate2_0_2_19__default = true;
libz_sys_0_0_0_features."default".from_flate2_0_2_19__default = true;
miniz_sys_0_1_9_features."default".from_flate2_0_2_19__default = true;
tokio_io_0_0_0_features."default".from_flate2_0_2_19__default = true;
gcc_0_3_45 = gcc_0_3_45_ rec {
dependencies = [];
features = mkFeatures gcc_0_3_45_features;
};
gcc_0_3_45_features."rayon".self_parallel = hasFeature (gcc_0_3_45_features."parallel" or {});
rayon_0_0_0_features."default".from_gcc_0_3_45__default = true;
gif_0_9_1 = gif_0_9_1_ rec {
dependencies = [ color_quant_1_0_0 lzw_0_10_0 ];
features = mkFeatures gif_0_9_1_features;
};
gif_0_9_1_features."libc".self_c_api = hasFeature (gif_0_9_1_features."c_api" or {});
gif_0_9_1_features."raii_no_panic".self_default = hasDefault gif_0_9_1_features;
color_quant_1_0_0_features."default".from_gif_0_9_1__default = true;
libc_0_0_0_features."default".from_gif_0_9_1__default = true;
lzw_0_10_0_features."default".from_gif_0_9_1__default = true;
glob_0_2_11 = glob_0_2_11_ rec {};
image_0_10_4 = image_0_10_4_ rec {
dependencies = [ byteorder_0_5_3 enum_primitive_0_1_1 gif_0_9_1 glob_0_2_11 jpeg_decoder_0_1_12 num_iter_0_1_33 num_rational_0_1_36 num_traits_0_1_37 png_0_5_2 scoped_threadpool_0_1_7 ]
++ (if lib.lists.any (x: x == "gif") features then [gif_0_9_1] else []) ++ (if lib.lists.any (x: x == "jpeg-decoder") features then [jpeg_decoder_0_1_12] else []) ++ (if lib.lists.any (x: x == "png") features then [png_0_5_2] else []) ++ (if lib.lists.any (x: x == "scoped_threadpool") features then [scoped_threadpool_0_1_7] else []);
features = mkFeatures image_0_10_4_features;
};
image_0_10_4_features."".self = true;
image_0_10_4_features."gif_codec".self_default = hasDefault image_0_10_4_features;
image_0_10_4_features."jpeg".self_default = hasDefault image_0_10_4_features;
image_0_10_4_features."ico".self_default = hasDefault image_0_10_4_features;
image_0_10_4_features."png_codec".self_default = hasDefault image_0_10_4_features;
image_0_10_4_features."ppm".self_default = hasDefault image_0_10_4_features;
image_0_10_4_features."tga".self_default = hasDefault image_0_10_4_features;
image_0_10_4_features."tiff".self_default = hasDefault image_0_10_4_features;
image_0_10_4_features."webp".self_default = hasDefault image_0_10_4_features;
image_0_10_4_features."bmp".self_default = hasDefault image_0_10_4_features;
image_0_10_4_features."hdr".self_default = hasDefault image_0_10_4_features;
image_0_10_4_features."gif".self_gif_codec = hasFeature (image_0_10_4_features."gif_codec" or {});
image_0_10_4_features."scoped_threadpool".self_hdr = hasFeature (image_0_10_4_features."hdr" or {});
image_0_10_4_features."bmp".self_ico = hasFeature (image_0_10_4_features."ico" or {});
image_0_10_4_features."png_codec".self_ico = hasFeature (image_0_10_4_features."ico" or {});
image_0_10_4_features."jpeg-decoder".self_jpeg = hasFeature (image_0_10_4_features."jpeg" or {});
image_0_10_4_features."png".self_png_codec = hasFeature (image_0_10_4_features."png_codec" or {});
byteorder_0_5_3_features."default".from_image_0_10_4__default = true;
enum_primitive_0_1_1_features."default".from_image_0_10_4__default = true;
gif_0_9_1_features."default".from_image_0_10_4__default = true;
glob_0_2_11_features."default".from_image_0_10_4__default = true;
jpeg_decoder_0_1_12_features."default".from_image_0_10_4__default = true;
num_iter_0_1_33_features."default".from_image_0_10_4__default = true;
num_rational_0_1_36_features."default".from_image_0_10_4__default = true;
num_traits_0_1_37_features."default".from_image_0_10_4__default = true;
png_0_5_2_features."default".from_image_0_10_4__default = true;
scoped_threadpool_0_1_7_features."default".from_image_0_10_4__default = true;
inflate_0_1_1 = inflate_0_1_1_ rec {
features = mkFeatures inflate_0_1_1_features;
};
inflate_0_1_1_features."".self = true;
itoa_0_3_1 = itoa_0_3_1_ rec {};
jpeg_decoder_0_1_12 = jpeg_decoder_0_1_12_ rec {
dependencies = [ byteorder_1_0_0 rayon_0_7_0 ]
++ (if lib.lists.any (x: x == "rayon") features then [rayon_0_7_0] else []);
features = mkFeatures jpeg_decoder_0_1_12_features;
};
jpeg_decoder_0_1_12_features."".self = true;
jpeg_decoder_0_1_12_features."rayon".self_default = hasDefault jpeg_decoder_0_1_12_features;
byteorder_1_0_0_features."default".from_jpeg_decoder_0_1_12__default = true;
rayon_0_7_0_features."default".from_jpeg_decoder_0_1_12__default = true;
kernel32_sys_0_2_2 = kernel32_sys_0_2_2_ rec {
dependencies = [ winapi_0_2_8 ];
buildDependencies = [ winapi_build_0_1_1 ];
};
winapi_0_2_8_features."default".from_kernel32_sys_0_2_2__default = true;
lazy_static_0_1_16 = lazy_static_0_1_16_ rec {
features = mkFeatures lazy_static_0_1_16_features;
};
lazy_static_0_1_16_features."".self = true;
lazy_static_0_2_8 = lazy_static_0_2_8_ rec {
dependencies = [];
features = mkFeatures lazy_static_0_2_8_features;
};
lazy_static_0_2_8_features."nightly".self_spin_no_std = hasFeature (lazy_static_0_2_8_features."spin_no_std" or {});
lazy_static_0_2_8_features."spin".self_spin_no_std = hasFeature (lazy_static_0_2_8_features."spin_no_std" or {});
spin_0_0_0_features."default".from_lazy_static_0_2_8__default = true;
libc_0_2_21 = libc_0_2_21_ rec {
features = mkFeatures libc_0_2_21_features;
};
libc_0_2_21_features."use_std".self_default = hasDefault libc_0_2_21_features;
libloading_0_3_4 = libloading_0_3_4_ rec {
dependencies = [ lazy_static_0_2_8 ]
++ (if kernel == "windows" then [ kernel32_sys_0_2_2 winapi_0_2_8 ] else []);
buildDependencies = [ target_build_utils_0_3_0 ];
};
lazy_static_0_2_8_features."default".from_libloading_0_3_4__default = true;
kernel32_sys_0_2_2_features."default".from_libloading_0_3_4__default = true;
winapi_0_2_8_features."default".from_libloading_0_3_4__default = true;
lzw_0_10_0 = lzw_0_10_0_ rec {
features = mkFeatures lzw_0_10_0_features;
};
lzw_0_10_0_features."raii_no_panic".self_default = hasDefault lzw_0_10_0_features;
metadeps_1_1_1 = metadeps_1_1_1_ rec {
dependencies = [ error_chain_0_7_2 pkg_config_0_3_9 toml_0_2_1 ];
};
error_chain_0_7_2_features."default".from_metadeps_1_1_1__default = false;
pkg_config_0_3_9_features."default".from_metadeps_1_1_1__default = true;
toml_0_2_1_features."default".from_metadeps_1_1_1__default = false;
miniz_sys_0_1_9 = miniz_sys_0_1_9_ rec {
dependencies = [ libc_0_2_21 ];
buildDependencies = [ gcc_0_3_45 ];
};
libc_0_2_21_features."default".from_miniz_sys_0_1_9__default = true;
num_bigint_0_1_37 = num_bigint_0_1_37_ rec {
dependencies = [ num_integer_0_1_34 num_traits_0_1_37 rand_0_3_15 rustc_serialize_0_3_23 ]
++ (if lib.lists.any (x: x == "rand") features then [rand_0_3_15] else []) ++ (if lib.lists.any (x: x == "rustc-serialize") features then [rustc_serialize_0_3_23] else []);
features = mkFeatures num_bigint_0_1_37_features;
};
num_bigint_0_1_37_features."".self = true;
num_bigint_0_1_37_features."rand".self_default = hasDefault num_bigint_0_1_37_features;
num_bigint_0_1_37_features."rustc-serialize".self_default = hasDefault num_bigint_0_1_37_features;
num_integer_0_1_34_features."default".from_num_bigint_0_1_37__default = true;
num_traits_0_1_37_features."default".from_num_bigint_0_1_37__default = true;
rand_0_3_15_features."default".from_num_bigint_0_1_37__default = true;
rustc_serialize_0_3_23_features."default".from_num_bigint_0_1_37__default = true;
serde_0_0_0_features."default".from_num_bigint_0_1_37__default = true;
num_integer_0_1_34 = num_integer_0_1_34_ rec {
dependencies = [ num_traits_0_1_37 ];
};
num_traits_0_1_37_features."default".from_num_integer_0_1_34__default = true;
num_iter_0_1_33 = num_iter_0_1_33_ rec {
dependencies = [ num_integer_0_1_34 num_traits_0_1_37 ];
};
num_integer_0_1_34_features."default".from_num_iter_0_1_33__default = true;
num_traits_0_1_37_features."default".from_num_iter_0_1_33__default = true;
num_rational_0_1_36 = num_rational_0_1_36_ rec {
dependencies = [ num_bigint_0_1_37 num_integer_0_1_34 num_traits_0_1_37 rustc_serialize_0_3_23 ]
++ (if lib.lists.any (x: x == "num-bigint") features then [num_bigint_0_1_37] else []) ++ (if lib.lists.any (x: x == "rustc-serialize") features then [rustc_serialize_0_3_23] else []);
features = mkFeatures num_rational_0_1_36_features;
};
num_rational_0_1_36_features."".self = true;
num_rational_0_1_36_features."num-bigint".self_bigint = hasFeature (num_rational_0_1_36_features."bigint" or {});
num_rational_0_1_36_features."bigint".self_default = hasDefault num_rational_0_1_36_features;
num_rational_0_1_36_features."rustc-serialize".self_default = hasDefault num_rational_0_1_36_features;
num_bigint_0_1_37_features."default".from_num_rational_0_1_36__default = true;
num_integer_0_1_34_features."default".from_num_rational_0_1_36__default = true;
num_traits_0_1_37_features."default".from_num_rational_0_1_36__default = true;
rustc_serialize_0_3_23_features."default".from_num_rational_0_1_36__default = true;
serde_0_0_0_features."default".from_num_rational_0_1_36__default = true;
num_traits_0_1_37 = num_traits_0_1_37_ rec {};
num_cpus_1_3_0 = num_cpus_1_3_0_ rec {
dependencies = [ libc_0_2_21 ];
};
libc_0_2_21_features."default".from_num_cpus_1_3_0__default = true;
phf_0_7_21 = phf_0_7_21_ rec {
dependencies = [ phf_shared_0_7_21 ];
features = mkFeatures phf_0_7_21_features;
};
phf_0_7_21_features."".self = true;
phf_shared_0_7_21_features."core".from_phf_0_7_21__core = hasFeature (phf_0_7_21_features."core" or {});
phf_shared_0_7_21_features."unicase".from_phf_0_7_21__unicase = hasFeature (phf_0_7_21_features."unicase" or {});
phf_shared_0_7_21_features."default".from_phf_0_7_21__default = true;
phf_codegen_0_7_21 = phf_codegen_0_7_21_ rec {
dependencies = [ phf_generator_0_7_21 phf_shared_0_7_21 ];
};
phf_generator_0_7_21_features."default".from_phf_codegen_0_7_21__default = true;
phf_shared_0_7_21_features."default".from_phf_codegen_0_7_21__default = true;
phf_generator_0_7_21 = phf_generator_0_7_21_ rec {
dependencies = [ phf_shared_0_7_21 rand_0_3_15 ];
};
phf_shared_0_7_21_features."default".from_phf_generator_0_7_21__default = true;
rand_0_3_15_features."default".from_phf_generator_0_7_21__default = true;
phf_shared_0_7_21 = phf_shared_0_7_21_ rec {
dependencies = [ siphasher_0_2_2 ];
features = mkFeatures phf_shared_0_7_21_features;
};
phf_shared_0_7_21_features."".self = true;
siphasher_0_2_2_features."default".from_phf_shared_0_7_21__default = true;
unicase_0_0_0_features."default".from_phf_shared_0_7_21__default = true;
pkg_config_0_3_9 = pkg_config_0_3_9_ rec {};
png_0_5_2 = png_0_5_2_ rec {
dependencies = [ bitflags_0_7_0 flate2_0_2_19 inflate_0_1_1 num_iter_0_1_33 ]
++ (if lib.lists.any (x: x == "flate2") features then [flate2_0_2_19] else []);
features = mkFeatures png_0_5_2_features;
};
png_0_5_2_features."".self = true;
png_0_5_2_features."png-encoding".self_default = hasDefault png_0_5_2_features;
png_0_5_2_features."flate2".self_png-encoding = hasFeature (png_0_5_2_features."png-encoding" or {});
bitflags_0_7_0_features."default".from_png_0_5_2__default = true;
flate2_0_2_19_features."default".from_png_0_5_2__default = true;
inflate_0_1_1_features."default".from_png_0_5_2__default = true;
num_iter_0_1_33_features."default".from_png_0_5_2__default = true;
rand_0_3_15 = rand_0_3_15_ rec {
dependencies = [ libc_0_2_21 ];
};
libc_0_2_21_features."default".from_rand_0_3_15__default = true;
rayon_0_7_0 = rayon_0_7_0_ rec {
dependencies = [ rayon_core_1_0_0 ];
features = mkFeatures rayon_0_7_0_features;
};
rayon_0_7_0_features."".self = true;
rayon_core_1_0_0_features."unstable".from_rayon_0_7_0__unstable = hasFeature (rayon_0_7_0_features."unstable" or {});
rayon_core_1_0_0_features."default".from_rayon_0_7_0__default = true;
rayon_core_1_0_0 = rayon_core_1_0_0_ rec {
dependencies = [ deque_0_3_1 lazy_static_0_2_8 libc_0_2_21 num_cpus_1_3_0 rand_0_3_15 ];
features = mkFeatures rayon_core_1_0_0_features;
};
rayon_core_1_0_0_features."futures".self_unstable = hasFeature (rayon_core_1_0_0_features."unstable" or {});
deque_0_3_1_features."default".from_rayon_core_1_0_0__default = true;
futures_0_0_0_features."default".from_rayon_core_1_0_0__default = true;
lazy_static_0_2_8_features."default".from_rayon_core_1_0_0__default = true;
libc_0_2_21_features."default".from_rayon_core_1_0_0__default = true;
num_cpus_1_3_0_features."default".from_rayon_core_1_0_0__default = true;
rand_0_3_15_features."default".from_rayon_core_1_0_0__default = true;
rustc_serialize_0_3_23 = rustc_serialize_0_3_23_ rec {};
rustc_version_0_1_7 = rustc_version_0_1_7_ rec {
dependencies = [ semver_0_1_20 ];
};
semver_0_1_20_features."default".from_rustc_version_0_1_7__default = true;
scoped_threadpool_0_1_7 = scoped_threadpool_0_1_7_ rec {
features = mkFeatures scoped_threadpool_0_1_7_features;
};
scoped_threadpool_0_1_7_features."".self = true;
semver_0_1_20 = semver_0_1_20_ rec {};
serde_0_9_13 = serde_0_9_13_ rec {
dependencies = [];
features = mkFeatures serde_0_9_13_features;
};
serde_0_9_13_features."unstable".self_alloc = hasFeature (serde_0_9_13_features."alloc" or {});
serde_0_9_13_features."alloc".self_collections = hasFeature (serde_0_9_13_features."collections" or {});
serde_0_9_13_features."std".self_default = hasDefault serde_0_9_13_features;
serde_0_9_13_features."serde_derive".self_derive = hasFeature (serde_0_9_13_features."derive" or {});
serde_0_9_13_features."serde_derive".self_playground = hasFeature (serde_0_9_13_features."playground" or {});
serde_0_9_13_features."unstable".self_unstable-testing = hasFeature (serde_0_9_13_features."unstable-testing" or {});
serde_0_9_13_features."std".self_unstable-testing = hasFeature (serde_0_9_13_features."unstable-testing" or {});
serde_derive_0_0_0_features."default".from_serde_0_9_13__default = true;
serde_json_0_9_10 = serde_json_0_9_10_ rec {
dependencies = [ dtoa_0_4_1 itoa_0_3_1 num_traits_0_1_37 serde_0_9_13 ];
features = mkFeatures serde_json_0_9_10_features;
};
serde_json_0_9_10_features."linked-hash-map".self_preserve_order = hasFeature (serde_json_0_9_10_features."preserve_order" or {});
dtoa_0_4_1_features."default".from_serde_json_0_9_10__default = true;
itoa_0_3_1_features."default".from_serde_json_0_9_10__default = true;
linked_hash_map_0_0_0_features."default".from_serde_json_0_9_10__default = true;
num_traits_0_1_37_features."default".from_serde_json_0_9_10__default = true;
serde_0_9_13_features."default".from_serde_json_0_9_10__default = true;
siphasher_0_2_2 = siphasher_0_2_2_ rec {
dependencies = [];
};
clippy_0_0_0_features."default".from_siphasher_0_2_2__default = true;
strsim_0_6_0 = strsim_0_6_0_ rec {};
target_build_utils_0_3_0 = target_build_utils_0_3_0_ rec {
dependencies = [ phf_0_7_21 serde_json_0_9_10 ]
++ (if lib.lists.any (x: x == "serde_json") features then [serde_json_0_9_10] else []);
buildDependencies = [ phf_codegen_0_7_21 ];
features = mkFeatures target_build_utils_0_3_0_features;
};
target_build_utils_0_3_0_features."".self = true;
target_build_utils_0_3_0_features."serde_json".self_default = hasDefault target_build_utils_0_3_0_features;
phf_0_7_21_features."default".from_target_build_utils_0_3_0__default = true;
serde_json_0_9_10_features."default".from_target_build_utils_0_3_0__default = true;
tempfile_2_1_5 = tempfile_2_1_5_ rec {
dependencies = [ rand_0_3_15 ]
++ (if (kernel == "linux" || kernel == "darwin") then [ libc_0_2_21 ] else [])
++ (if kernel == "windows" then [ kernel32_sys_0_2_2 winapi_0_2_8 ] else []);
buildDependencies = [ rustc_version_0_1_7 ];
};
rand_0_3_15_features."default".from_tempfile_2_1_5__default = true;
libc_0_2_21_features."default".from_tempfile_2_1_5__default = true;
kernel32_sys_0_2_2_features."default".from_tempfile_2_1_5__default = true;
winapi_0_2_8_features."default".from_tempfile_2_1_5__default = true;
term_size_0_3_0 = term_size_0_3_0_ rec {
dependencies = []
++ (if !(kernel == "windows") then [ libc_0_2_21 ] else [])
++ (if kernel == "windows" then [ kernel32_sys_0_2_2 winapi_0_2_8 ] else []);
features = mkFeatures term_size_0_3_0_features;
};
term_size_0_3_0_features."clippy".self_lints = hasFeature (term_size_0_3_0_features."lints" or {});
term_size_0_3_0_features."nightly".self_lints = hasFeature (term_size_0_3_0_features."lints" or {});
term_size_0_3_0_features."lints".self_travis = hasFeature (term_size_0_3_0_features."travis" or {});
term_size_0_3_0_features."nightly".self_travis = hasFeature (term_size_0_3_0_features."travis" or {});
clippy_0_0_0_features."default".from_term_size_0_3_0__default = true;
libc_0_2_21_features."default".from_term_size_0_3_0__default = true;
kernel32_sys_0_2_2_features."default".from_term_size_0_3_0__default = true;
winapi_0_2_8_features."default".from_term_size_0_3_0__default = true;
toml_0_2_1 = toml_0_2_1_ rec {
dependencies = [];
};
toml_0_2_1_features."rustc-serialize".self_default = hasDefault toml_0_2_1_features;
rustc_serialize_0_0_0_features."default".from_toml_0_2_1__default = true;
serde_0_0_0_features."default".from_toml_0_2_1__default = true;
unicode_segmentation_1_1_0 = unicode_segmentation_1_1_0_ rec {
features = mkFeatures unicode_segmentation_1_1_0_features;
};
unicode_segmentation_1_1_0_features."".self = true;
unicode_width_0_1_4 = unicode_width_0_1_4_ rec {
features = mkFeatures unicode_width_0_1_4_features;
};
unicode_width_0_1_4_features."".self = true;
vec_map_0_7_0 = vec_map_0_7_0_ rec {
dependencies = [];
features = mkFeatures vec_map_0_7_0_features;
};
vec_map_0_7_0_features."serde".self_eders = hasFeature (vec_map_0_7_0_features."eders" or {});
vec_map_0_7_0_features."serde_derive".self_eders = hasFeature (vec_map_0_7_0_features."eders" or {});
serde_0_0_0_features."default".from_vec_map_0_7_0__default = true;
serde_derive_0_0_0_features."default".from_vec_map_0_7_0__default = true;
way_cooler_bg_0_2_1 = way_cooler_bg_0_2_1_ rec {
dependencies = [ byteorder_0_5_3 clap_2_23_2 dbus_0_5_2 image_0_10_4 tempfile_2_1_5 wayland_client_0_6_2 wayland_sys_0_6_0 ];
};
byteorder_0_5_3_features."default".from_way_cooler_bg_0_2_1__default = true;
clap_2_23_2_features."default".from_way_cooler_bg_0_2_1__default = true;
dbus_0_5_2_features."default".from_way_cooler_bg_0_2_1__default = true;
image_0_10_4_features."default".from_way_cooler_bg_0_2_1__default = true;
tempfile_2_1_5_features."default".from_way_cooler_bg_0_2_1__default = true;
wayland_client_0_6_2_features."cursor".from_way_cooler_bg_0_2_1 = true;
wayland_client_0_6_2_features."dlopen".from_way_cooler_bg_0_2_1 = true;
wayland_client_0_6_2_features."default".from_way_cooler_bg_0_2_1__default = true;
wayland_sys_0_6_0_features."client".from_way_cooler_bg_0_2_1 = true;
wayland_sys_0_6_0_features."dlopen".from_way_cooler_bg_0_2_1 = true;
wayland_sys_0_6_0_features."default".from_way_cooler_bg_0_2_1__default = true;
wayland_client_0_6_2 = wayland_client_0_6_2_ rec {
dependencies = [ bitflags_0_6_0 libc_0_2_21 wayland_sys_0_6_0 ];
buildDependencies = [ wayland_scanner_0_6_0 ];
features = mkFeatures wayland_client_0_6_2_features;
};
wayland_client_0_6_2_features."wp-presentation_time".self_all_stable_protocols = hasFeature (wayland_client_0_6_2_features."all_stable_protocols" or {});
wayland_client_0_6_2_features."wp-viewporter".self_all_stable_protocols = hasFeature (wayland_client_0_6_2_features."all_stable_protocols" or {});
wayland_client_0_6_2_features."unstable-protocols".self_all_unstable_protocols = hasFeature (wayland_client_0_6_2_features."all_unstable_protocols" or {});
wayland_client_0_6_2_features."wpu-xdg_shell".self_all_unstable_protocols = hasFeature (wayland_client_0_6_2_features."all_unstable_protocols" or {});
bitflags_0_6_0_features."default".from_wayland_client_0_6_2__default = true;
lazy_static_0_0_0_features."default".from_wayland_client_0_6_2__default = true;
libc_0_2_21_features."default".from_wayland_client_0_6_2__default = true;
wayland_sys_0_6_0_features."client".from_wayland_client_0_6_2 = true;
wayland_sys_0_6_0_features."cursor".from_wayland_client_0_6_2__cursor = hasFeature (wayland_client_0_6_2_features."cursor" or {});
wayland_sys_0_6_0_features."dlopen".from_wayland_client_0_6_2__dlopen = hasFeature (wayland_client_0_6_2_features."dlopen" or {});
wayland_sys_0_6_0_features."egl".from_wayland_client_0_6_2__egl = hasFeature (wayland_client_0_6_2_features."egl" or {});
wayland_sys_0_6_0_features."default".from_wayland_client_0_6_2__default = true;
wayland_scanner_0_6_0 = wayland_scanner_0_6_0_ rec {
dependencies = [ xml_rs_0_3_6 ];
};
xml_rs_0_3_6_features."default".from_wayland_scanner_0_6_0__default = true;
wayland_sys_0_6_0 = wayland_sys_0_6_0_ rec {
dependencies = [ dlib_0_3_1 lazy_static_0_1_16 ]
++ (if lib.lists.any (x: x == "lazy_static") features then [lazy_static_0_1_16] else []);
features = mkFeatures wayland_sys_0_6_0_features;
};
wayland_sys_0_6_0_features."".self = true;
wayland_sys_0_6_0_features."lazy_static".self_dlopen = hasFeature (wayland_sys_0_6_0_features."dlopen" or {});
wayland_sys_0_6_0_features."libc".self_server = hasFeature (wayland_sys_0_6_0_features."server" or {});
dlib_0_3_1_features."dlopen".from_wayland_sys_0_6_0__dlopen = hasFeature (wayland_sys_0_6_0_features."dlopen" or {});
dlib_0_3_1_features."default".from_wayland_sys_0_6_0__default = true;
lazy_static_0_1_16_features."default".from_wayland_sys_0_6_0__default = true;
libc_0_0_0_features."default".from_wayland_sys_0_6_0__default = true;
winapi_0_2_8 = winapi_0_2_8_ rec {};
winapi_build_0_1_1 = winapi_build_0_1_1_ rec {};
xml_rs_0_3_6 = xml_rs_0_3_6_ rec {
dependencies = [ bitflags_0_7_0 ];
};
bitflags_0_7_0_features."default".from_xml_rs_0_3_6__default = true;
}

View File

@ -0,0 +1,562 @@
# Generated by carnix 0.5.0: carnix -o wc-grab.nix Cargo.lock
{ lib, buildPlatform, buildRustCrate, fetchgit }:
let kernel = buildPlatform.parsed.kernel.name;
abi = buildPlatform.parsed.abi.name;
hasFeature = feature:
lib.lists.any
(originName: feature.${originName})
(builtins.attrNames feature);
hasDefault = feature:
let defaultFeatures = builtins.attrNames (feature."default" or {}); in
(defaultFeatures == [])
|| (lib.lists.any (originName: feature."default".${originName}) defaultFeatures);
mkFeatures = feat: lib.lists.foldl (features: featureName:
if featureName != "" && hasFeature feat.${featureName} then
[ featureName ] ++ features
else
features
) (if hasDefault feat then [ "default" ] else []) (builtins.attrNames feat);
adler32_1_0_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "adler32";
version = "1.0.0";
authors = [ "Remi Rampin <remirampin@gmail.com>" ];
sha256 = "0pj35a7m4apn5xjg9n63gsdj6w8iw76zg4p9znrij43xnfqp084w";
inherit dependencies buildDependencies features;
};
ansi_term_0_9_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "ansi_term";
version = "0.9.0";
authors = [ "ogham@bsago.me" "Ryan Scheel (Havvy) <ryan.havvy@gmail.com>" ];
sha256 = "1vcd8m2hglrdi4zmqnkkz5zy3c73ifgii245k7vj6qr5dzpn9hij";
inherit dependencies buildDependencies features;
};
atty_0_2_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "atty";
version = "0.2.2";
authors = [ "softprops <d.tangren@gmail.com>" ];
sha256 = "05c6jvrxljp4s1aycgq2z3y56f7f5yvc56v25cqlmpc1qx65z7ba";
inherit dependencies buildDependencies features;
};
bitflags_0_7_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "bitflags";
version = "0.7.0";
authors = [ "The Rust Project Developers" ];
sha256 = "1hr72xg5slm0z4pxs2hiy4wcyx3jva70h58b7mid8l0a4c8f7gn5";
inherit dependencies buildDependencies features;
};
bitflags_0_8_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "bitflags";
version = "0.8.0";
authors = [ "The Rust Project Developers" ];
sha256 = "1h489m0wzhng5gvvc40jgdbaf0ac3rgkka31vwinhsjmfvrqcc4v";
inherit dependencies buildDependencies features;
};
byteorder_1_0_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "byteorder";
version = "1.0.0";
authors = [ "Andrew Gallant <jamslam@gmail.com>" ];
sha256 = "14pdnds4517vcpablc51vv76hvc3glnpkpbb7qdil591q7lyb0m1";
inherit dependencies buildDependencies features;
};
clap_2_22_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "clap";
version = "2.22.0";
authors = [ "Kevin K. <kbknapp@gmail.com>" ];
sha256 = "0gdgyfh3ydpd2px4xh0i5qd6bhi2c5f43bqv9z4kla9vkmmfiavd";
inherit dependencies buildDependencies features;
};
color_quant_1_0_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "color_quant";
version = "1.0.0";
authors = [ "nwin <nwin@users.noreply.github.com>" ];
sha256 = "0jwr40lr115zm2bydk1wja12gcxrmgsx0n1z1pipq00sab71maaj";
inherit dependencies buildDependencies features;
};
dbus_0_5_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "dbus";
version = "0.5.2";
authors = [ "David Henningsson <diwic@ubuntu.com>" ];
sha256 = "1ga3p2myqxbz34n2bbw4gk1ipf76mjr8r2rvrvnalwggymzfkhj7";
build = "build.rs";
inherit dependencies buildDependencies features;
};
deflate_0_7_5_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "deflate";
version = "0.7.5";
authors = [ "oyvindln <oyvindln@users.noreply.github.com>" ];
sha256 = "18bcmdkyshnzpkxx22b29gn55g6bk5ysy98ghjpjhxy3hky96rvy";
inherit dependencies buildDependencies features;
};
deque_0_3_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "deque";
version = "0.3.1";
authors = [ "Alex Crichton <alex@alexcrichton.com>" "Samuel Fredrickson <kinghajj@gmail.com>" "Linus Färnstrand <faern@faern.net>" "Amanieu d'Antras <amanieu@gmail.com>" ];
sha256 = "04x8i5aagxmslk350i8qszyw7kmvrqc3d99g4qi1xnfmr61y7m68";
inherit dependencies buildDependencies features;
};
enum_primitive_0_1_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "enum_primitive";
version = "0.1.1";
authors = [ "Anders Kaseorg <andersk@mit.edu>" ];
sha256 = "1a225rlsz7sz3nn14dar71kp2f9v08s3rwl6j55xp51mv01f695y";
inherit dependencies buildDependencies features;
};
error_chain_0_7_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "error-chain";
version = "0.7.2";
authors = [ "Brian Anderson <banderson@mozilla.com>" "Paul Colomiets <paul@colomiets.name>" "Colin Kiegel <kiegel@gmx.de>" "Yamakaky <yamakaky@yamaworld.fr>" ];
sha256 = "0b1r4ggdgy1djfvz2s4l5kirmfsmxd286y6wx0p9ahv2phb7inyi";
inherit dependencies buildDependencies features;
};
gif_0_9_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "gif";
version = "0.9.1";
authors = [ "nwin <nwin@users.noreply.github.com>" ];
sha256 = "16s7b0rqc6gg1fcbppakm3jy2q462w3qvykcmcmifmg7q7lwsg6r";
inherit dependencies buildDependencies features;
};
glob_0_2_11_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "glob";
version = "0.2.11";
authors = [ "The Rust Project Developers" ];
sha256 = "104389jjxs8r2f5cc9p0axhjmndgln60ih5x4f00ccgg9d3zarlf";
inherit dependencies buildDependencies features;
};
image_0_12_3_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "image";
version = "0.12.3";
authors = [ "ccgn" "bvssvni <bvssvni@gmail.com>" "nwin" "TyOverby <ty@pre-alpha.com>" ];
sha256 = "12xdzi29vr19gz3h93c1ihyvyv9xar9sp0inrjwwvlbjvn8nn0p9";
libPath = "./src/lib.rs";
inherit dependencies buildDependencies features;
};
inflate_0_1_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "inflate";
version = "0.1.1";
authors = [ "nwin <nwin@users.noreply.github.com>" ];
sha256 = "112kh9hjcjjxdybl032mdhpwnr3qxw8j0ch6hwanwpcf3gz42g1h";
inherit dependencies buildDependencies features;
};
jpeg_decoder_0_1_11_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "jpeg-decoder";
version = "0.1.11";
authors = [ "Ulf Nilsson <kaksmet@gmail.com>" ];
sha256 = "1xm39c1cff5gkczs164371hk2gpkjpkbw63k4f8mjnpwwpn9xk4n";
inherit dependencies buildDependencies features;
};
kernel32_sys_0_2_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "kernel32-sys";
version = "0.2.2";
authors = [ "Peter Atashian <retep998@gmail.com>" ];
sha256 = "1lrw1hbinyvr6cp28g60z97w32w8vsk6pahk64pmrv2fmby8srfj";
libName = "kernel32";
build = "build.rs";
inherit dependencies buildDependencies features;
};
libc_0_2_21_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "libc";
version = "0.2.21";
authors = [ "The Rust Project Developers" ];
sha256 = "0glj3lxwc8358cfw9pb5dd4zr9iynzj6w2ly59nshrggsw021j75";
inherit dependencies buildDependencies features;
};
lzw_0_10_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "lzw";
version = "0.10.0";
authors = [ "nwin <nwin@users.noreply.github.com>" ];
sha256 = "1cfsy2w26kbz9bjaqp9dh1wyyh47rpmhwvj4jpc1rmffbf438fvb";
inherit dependencies buildDependencies features;
};
metadeps_1_1_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "metadeps";
version = "1.1.1";
authors = [ "Josh Triplett <josh@joshtriplett.org>" ];
sha256 = "1px8v94jn4ps63gqmvgsfcqxrwjhpa9z4xr0y1lh95wn2063fsar";
inherit dependencies buildDependencies features;
};
num_integer_0_1_33_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "num-integer";
version = "0.1.33";
authors = [ "The Rust Project Developers" ];
sha256 = "1rhy9lf4lhl7r8278n73mi9y55v9a71639as3v92bj2gk1x4k729";
inherit dependencies buildDependencies features;
};
num_iter_0_1_33_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "num-iter";
version = "0.1.33";
authors = [ "The Rust Project Developers" ];
sha256 = "1xjzf2p2vaqwknkr4s8ka5hn6cpr5rsshnydbpkn2pvapfzdrqd3";
inherit dependencies buildDependencies features;
};
num_rational_0_1_36_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "num-rational";
version = "0.1.36";
authors = [ "The Rust Project Developers" ];
sha256 = "0jibhs8xiap2wlv1xjwdvhyj4yrxwfisqbnfm53vjm5ldlijp87p";
inherit dependencies buildDependencies features;
};
num_traits_0_1_37_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "num-traits";
version = "0.1.37";
authors = [ "The Rust Project Developers" ];
sha256 = "0rwzfmdjq6iz6plva2gi7agvy1w9sjs7aqjh0p115w57xiix2224";
inherit dependencies buildDependencies features;
};
num_cpus_1_3_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "num_cpus";
version = "1.3.0";
authors = [ "Sean McArthur <sean.monstar@gmail.com>" ];
sha256 = "0i0zm6qh932k9b67qf7f1vsczkdim5kg9qv73m7y5hhw1i781rrb";
inherit dependencies buildDependencies features;
};
pkg_config_0_3_9_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "pkg-config";
version = "0.3.9";
authors = [ "Alex Crichton <alex@alexcrichton.com>" ];
sha256 = "06k8fxgrsrxj8mjpjcq1n7mn2p1shpxif4zg9y5h09c7vy20s146";
inherit dependencies buildDependencies features;
};
png_0_6_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "png";
version = "0.6.2";
authors = [ "nwin <nwin@users.noreply.github.com>" ];
sha256 = "03i78w5jbvk9y6babfrh7h0akvg81pcyyhniilv24z5v0vh5jvjs";
inherit dependencies buildDependencies features;
};
rand_0_3_15_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "rand";
version = "0.3.15";
authors = [ "The Rust Project Developers" ];
sha256 = "1fs30rc1xic40s1n7l3y7pxzfifpy03mgrvhy5ggp5p7zjfv3rr8";
inherit dependencies buildDependencies features;
};
rayon_0_6_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "rayon";
version = "0.6.0";
authors = [ "Niko Matsakis <niko@alum.mit.edu>" ];
sha256 = "0y2693bari5j4h46mjzkyc9lkfbnq2d1p0ldyn6sb02jn63lpw97";
inherit dependencies buildDependencies features;
};
scoped_threadpool_0_1_7_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "scoped_threadpool";
version = "0.1.7";
authors = [ "Marvin Löbel <loebel.marvin@gmail.com>" ];
sha256 = "0dg58f18i6v071640062n0vymr4h42cnj0xy8a7b80sc0mddykyk";
inherit dependencies buildDependencies features;
};
strsim_0_6_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "strsim";
version = "0.6.0";
authors = [ "Danny Guo <dannyguo91@gmail.com>" ];
sha256 = "1lz85l6y68hr62lv4baww29yy7g8pg20dlr0lbaswxmmcb0wl7gd";
inherit dependencies buildDependencies features;
};
term_size_0_2_3_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "term_size";
version = "0.2.3";
authors = [ "Kevin K. <kbknapp@gmail.com>" "Benjamin Sago <ogham@bsago.me>" ];
sha256 = "16b7gq2dmz7mws4vgai7whxy4xkg4yvlhm7spz0q6jyipqfq87ci";
inherit dependencies buildDependencies features;
};
toml_0_2_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "toml";
version = "0.2.1";
authors = [ "Alex Crichton <alex@alexcrichton.com>" ];
sha256 = "0p4rkaqhmk4fp6iqpxfgp3p98hxhbs2wmla3fq531n875h922yqs";
inherit dependencies buildDependencies features;
};
unicode_segmentation_1_1_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "unicode-segmentation";
version = "1.1.0";
authors = [ "kwantam <kwantam@gmail.com>" ];
sha256 = "10hk7wy0217jwdbp27p36skwkig5lbhk482yfzij9m87h247rry0";
inherit dependencies buildDependencies features;
};
unicode_width_0_1_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "unicode-width";
version = "0.1.4";
authors = [ "kwantam <kwantam@gmail.com>" ];
sha256 = "1rp7a04icn9y5c0lm74nrd4py0rdl0af8bhdwq7g478n1xifpifl";
inherit dependencies buildDependencies features;
};
vec_map_0_7_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "vec_map";
version = "0.7.0";
authors = [ "Alex Crichton <alex@alexcrichton.com>" "Jorge Aparicio <japaricious@gmail.com>" "Alexis Beingessner <a.beingessner@gmail.com>" "Brian Anderson <>" "tbu- <>" "Manish Goregaokar <>" "Aaron Turon <aturon@mozilla.com>" "Adolfo Ochagavía <>" "Niko Matsakis <>" "Steven Fackler <>" "Chase Southwood <csouth3@illinois.edu>" "Eduard Burtescu <>" "Florian Wilkens <>" "Félix Raimundo <>" "Tibor Benke <>" "Markus Siemens <markus@m-siemens.de>" "Josh Branchaud <jbranchaud@gmail.com>" "Huon Wilson <dbau.pp@gmail.com>" "Corey Farwell <coref@rwell.org>" "Aaron Liblong <>" "Nick Cameron <nrc@ncameron.org>" "Patrick Walton <pcwalton@mimiga.net>" "Felix S Klock II <>" "Andrew Paseltiner <apaseltiner@gmail.com>" "Sean McArthur <sean.monstar@gmail.com>" "Vadim Petrochenkov <>" ];
sha256 = "0jawvi83b1nm101nam0w71kdyh7cy3fr0l9qj1hfcjvzvihfk2l1";
inherit dependencies buildDependencies features;
};
wc_grab_0_2_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "wc-grab";
version = "0.2.0";
authors = [ "Timidger <APragmaticPlace@gmail.com>" ];
src = ./.;
inherit dependencies buildDependencies features;
};
winapi_0_2_8_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "winapi";
version = "0.2.8";
authors = [ "Peter Atashian <retep998@gmail.com>" ];
sha256 = "0a45b58ywf12vb7gvj6h3j264nydynmzyqz8d8rqxsj6icqv82as";
inherit dependencies buildDependencies features;
};
winapi_build_0_1_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "winapi-build";
version = "0.1.1";
authors = [ "Peter Atashian <retep998@gmail.com>" ];
sha256 = "1lxlpi87rkhxcwp2ykf1ldw3p108hwm24nywf3jfrvmff4rjhqga";
libName = "build";
inherit dependencies buildDependencies features;
};
in
rec {
adler32_1_0_0 = adler32_1_0_0_ rec {};
ansi_term_0_9_0 = ansi_term_0_9_0_ rec {};
atty_0_2_2 = atty_0_2_2_ rec {
dependencies = (if !(kernel == "windows") then [ libc_0_2_21 ] else [])
++ (if kernel == "windows" then [ kernel32_sys_0_2_2 winapi_0_2_8 ] else []);
};
libc_0_2_21_features."default".from_atty_0_2_2__default = true;
kernel32_sys_0_2_2_features."default".from_atty_0_2_2__default = true;
winapi_0_2_8_features."default".from_atty_0_2_2__default = true;
bitflags_0_7_0 = bitflags_0_7_0_ rec {};
bitflags_0_8_0 = bitflags_0_8_0_ rec {
features = mkFeatures bitflags_0_8_0_features;
};
bitflags_0_8_0_features."i128".self_unstable = hasFeature (bitflags_0_8_0_features."unstable" or {});
byteorder_1_0_0 = byteorder_1_0_0_ rec {
features = mkFeatures byteorder_1_0_0_features;
};
byteorder_1_0_0_features."std".self_default = hasDefault byteorder_1_0_0_features;
clap_2_22_0 = clap_2_22_0_ rec {
dependencies = [ ansi_term_0_9_0 atty_0_2_2 bitflags_0_8_0 strsim_0_6_0 term_size_0_2_3 unicode_segmentation_1_1_0 unicode_width_0_1_4 vec_map_0_7_0 ]
++ (if lib.lists.any (x: x == "ansi_term") features then [ansi_term_0_9_0] else []) ++ (if lib.lists.any (x: x == "atty") features then [atty_0_2_2] else []) ++ (if lib.lists.any (x: x == "strsim") features then [strsim_0_6_0] else []) ++ (if lib.lists.any (x: x == "term_size") features then [term_size_0_2_3] else []);
features = mkFeatures clap_2_22_0_features;
};
clap_2_22_0_features."".self = true;
clap_2_22_0_features."ansi_term".self_color = hasFeature (clap_2_22_0_features."color" or {});
clap_2_22_0_features."atty".self_color = hasFeature (clap_2_22_0_features."color" or {});
clap_2_22_0_features."suggestions".self_default = hasDefault clap_2_22_0_features;
clap_2_22_0_features."color".self_default = hasDefault clap_2_22_0_features;
clap_2_22_0_features."wrap_help".self_default = hasDefault clap_2_22_0_features;
clap_2_22_0_features."clippy".self_lints = hasFeature (clap_2_22_0_features."lints" or {});
clap_2_22_0_features."strsim".self_suggestions = hasFeature (clap_2_22_0_features."suggestions" or {});
clap_2_22_0_features."term_size".self_wrap_help = hasFeature (clap_2_22_0_features."wrap_help" or {});
clap_2_22_0_features."yaml-rust".self_yaml = hasFeature (clap_2_22_0_features."yaml" or {});
ansi_term_0_9_0_features."default".from_clap_2_22_0__default = true;
atty_0_2_2_features."default".from_clap_2_22_0__default = true;
bitflags_0_8_0_features."default".from_clap_2_22_0__default = true;
clippy_0_0_0_features."default".from_clap_2_22_0__default = true;
strsim_0_6_0_features."default".from_clap_2_22_0__default = true;
term_size_0_2_3_features."default".from_clap_2_22_0__default = true;
unicode_segmentation_1_1_0_features."default".from_clap_2_22_0__default = true;
unicode_width_0_1_4_features."default".from_clap_2_22_0__default = true;
vec_map_0_7_0_features."default".from_clap_2_22_0__default = true;
yaml_rust_0_0_0_features."default".from_clap_2_22_0__default = true;
color_quant_1_0_0 = color_quant_1_0_0_ rec {};
dbus_0_5_2 = dbus_0_5_2_ rec {
dependencies = [ libc_0_2_21 ];
buildDependencies = [ metadeps_1_1_1 ];
features = mkFeatures dbus_0_5_2_features;
};
dbus_0_5_2_features."".self = true;
libc_0_2_21_features."default".from_dbus_0_5_2__default = true;
deflate_0_7_5 = deflate_0_7_5_ rec {
dependencies = [ adler32_1_0_0 byteorder_1_0_0 ];
};
adler32_1_0_0_features."default".from_deflate_0_7_5__default = true;
byteorder_1_0_0_features."default".from_deflate_0_7_5__default = true;
deque_0_3_1 = deque_0_3_1_ rec {
dependencies = [ rand_0_3_15 ];
};
rand_0_3_15_features."default".from_deque_0_3_1__default = true;
enum_primitive_0_1_1 = enum_primitive_0_1_1_ rec {
dependencies = [ num_traits_0_1_37 ];
};
num_traits_0_1_37_features."default".from_enum_primitive_0_1_1__default = false;
error_chain_0_7_2 = error_chain_0_7_2_ rec {
dependencies = [];
features = mkFeatures error_chain_0_7_2_features;
};
error_chain_0_7_2_features."backtrace".self_default = hasDefault error_chain_0_7_2_features;
error_chain_0_7_2_features."example_generated".self_default = hasDefault error_chain_0_7_2_features;
backtrace_0_0_0_features."default".from_error_chain_0_7_2__default = true;
gif_0_9_1 = gif_0_9_1_ rec {
dependencies = [ color_quant_1_0_0 lzw_0_10_0 ];
features = mkFeatures gif_0_9_1_features;
};
gif_0_9_1_features."libc".self_c_api = hasFeature (gif_0_9_1_features."c_api" or {});
gif_0_9_1_features."raii_no_panic".self_default = hasDefault gif_0_9_1_features;
color_quant_1_0_0_features."default".from_gif_0_9_1__default = true;
libc_0_0_0_features."default".from_gif_0_9_1__default = true;
lzw_0_10_0_features."default".from_gif_0_9_1__default = true;
glob_0_2_11 = glob_0_2_11_ rec {};
image_0_12_3 = image_0_12_3_ rec {
dependencies = [ byteorder_1_0_0 enum_primitive_0_1_1 gif_0_9_1 glob_0_2_11 jpeg_decoder_0_1_11 num_iter_0_1_33 num_rational_0_1_36 num_traits_0_1_37 png_0_6_2 scoped_threadpool_0_1_7 ]
++ (if lib.lists.any (x: x == "gif") features then [gif_0_9_1] else []) ++ (if lib.lists.any (x: x == "jpeg-decoder") features then [jpeg_decoder_0_1_11] else []) ++ (if lib.lists.any (x: x == "png") features then [png_0_6_2] else []) ++ (if lib.lists.any (x: x == "scoped_threadpool") features then [scoped_threadpool_0_1_7] else []);
features = mkFeatures image_0_12_3_features;
};
image_0_12_3_features."".self = true;
image_0_12_3_features."gif_codec".self_default = hasDefault image_0_12_3_features;
image_0_12_3_features."jpeg".self_default = hasDefault image_0_12_3_features;
image_0_12_3_features."ico".self_default = hasDefault image_0_12_3_features;
image_0_12_3_features."png_codec".self_default = hasDefault image_0_12_3_features;
image_0_12_3_features."ppm".self_default = hasDefault image_0_12_3_features;
image_0_12_3_features."tga".self_default = hasDefault image_0_12_3_features;
image_0_12_3_features."tiff".self_default = hasDefault image_0_12_3_features;
image_0_12_3_features."webp".self_default = hasDefault image_0_12_3_features;
image_0_12_3_features."bmp".self_default = hasDefault image_0_12_3_features;
image_0_12_3_features."hdr".self_default = hasDefault image_0_12_3_features;
image_0_12_3_features."gif".self_gif_codec = hasFeature (image_0_12_3_features."gif_codec" or {});
image_0_12_3_features."scoped_threadpool".self_hdr = hasFeature (image_0_12_3_features."hdr" or {});
image_0_12_3_features."bmp".self_ico = hasFeature (image_0_12_3_features."ico" or {});
image_0_12_3_features."png_codec".self_ico = hasFeature (image_0_12_3_features."ico" or {});
image_0_12_3_features."jpeg-decoder".self_jpeg = hasFeature (image_0_12_3_features."jpeg" or {});
image_0_12_3_features."png".self_png_codec = hasFeature (image_0_12_3_features."png_codec" or {});
byteorder_1_0_0_features."default".from_image_0_12_3__default = true;
enum_primitive_0_1_1_features."default".from_image_0_12_3__default = true;
gif_0_9_1_features."default".from_image_0_12_3__default = true;
glob_0_2_11_features."default".from_image_0_12_3__default = true;
jpeg_decoder_0_1_11_features."default".from_image_0_12_3__default = true;
num_iter_0_1_33_features."default".from_image_0_12_3__default = true;
num_rational_0_1_36_features."default".from_image_0_12_3__default = false;
num_traits_0_1_37_features."default".from_image_0_12_3__default = true;
png_0_6_2_features."default".from_image_0_12_3__default = true;
scoped_threadpool_0_1_7_features."default".from_image_0_12_3__default = true;
inflate_0_1_1 = inflate_0_1_1_ rec {
features = mkFeatures inflate_0_1_1_features;
};
inflate_0_1_1_features."".self = true;
jpeg_decoder_0_1_11 = jpeg_decoder_0_1_11_ rec {
dependencies = [ byteorder_1_0_0 rayon_0_6_0 ]
++ (if lib.lists.any (x: x == "rayon") features then [rayon_0_6_0] else []);
features = mkFeatures jpeg_decoder_0_1_11_features;
};
jpeg_decoder_0_1_11_features."".self = true;
jpeg_decoder_0_1_11_features."rayon".self_default = hasDefault jpeg_decoder_0_1_11_features;
byteorder_1_0_0_features."default".from_jpeg_decoder_0_1_11__default = true;
rayon_0_6_0_features."default".from_jpeg_decoder_0_1_11__default = true;
kernel32_sys_0_2_2 = kernel32_sys_0_2_2_ rec {
dependencies = [ winapi_0_2_8 ];
buildDependencies = [ winapi_build_0_1_1 ];
};
winapi_0_2_8_features."default".from_kernel32_sys_0_2_2__default = true;
libc_0_2_21 = libc_0_2_21_ rec {
features = mkFeatures libc_0_2_21_features;
};
libc_0_2_21_features."use_std".self_default = hasDefault libc_0_2_21_features;
lzw_0_10_0 = lzw_0_10_0_ rec {
features = mkFeatures lzw_0_10_0_features;
};
lzw_0_10_0_features."raii_no_panic".self_default = hasDefault lzw_0_10_0_features;
metadeps_1_1_1 = metadeps_1_1_1_ rec {
dependencies = [ error_chain_0_7_2 pkg_config_0_3_9 toml_0_2_1 ];
};
error_chain_0_7_2_features."default".from_metadeps_1_1_1__default = false;
pkg_config_0_3_9_features."default".from_metadeps_1_1_1__default = true;
toml_0_2_1_features."default".from_metadeps_1_1_1__default = false;
num_integer_0_1_33 = num_integer_0_1_33_ rec {
dependencies = [ num_traits_0_1_37 ];
};
num_traits_0_1_37_features."default".from_num_integer_0_1_33__default = true;
num_iter_0_1_33 = num_iter_0_1_33_ rec {
dependencies = [ num_integer_0_1_33 num_traits_0_1_37 ];
};
num_integer_0_1_33_features."default".from_num_iter_0_1_33__default = true;
num_traits_0_1_37_features."default".from_num_iter_0_1_33__default = true;
num_rational_0_1_36 = num_rational_0_1_36_ rec {
dependencies = [ num_integer_0_1_33 num_traits_0_1_37 ];
features = mkFeatures num_rational_0_1_36_features;
};
num_rational_0_1_36_features."num-bigint".self_bigint = hasFeature (num_rational_0_1_36_features."bigint" or {});
num_rational_0_1_36_features."bigint".self_default = hasDefault num_rational_0_1_36_features;
num_rational_0_1_36_features."rustc-serialize".self_default = hasDefault num_rational_0_1_36_features;
num_bigint_0_0_0_features."default".from_num_rational_0_1_36__default = true;
num_integer_0_1_33_features."default".from_num_rational_0_1_36__default = true;
num_traits_0_1_37_features."default".from_num_rational_0_1_36__default = true;
rustc_serialize_0_0_0_features."default".from_num_rational_0_1_36__default = true;
serde_0_0_0_features."default".from_num_rational_0_1_36__default = true;
num_traits_0_1_37 = num_traits_0_1_37_ rec {};
num_cpus_1_3_0 = num_cpus_1_3_0_ rec {
dependencies = [ libc_0_2_21 ];
};
libc_0_2_21_features."default".from_num_cpus_1_3_0__default = true;
pkg_config_0_3_9 = pkg_config_0_3_9_ rec {};
png_0_6_2 = png_0_6_2_ rec {
dependencies = [ bitflags_0_7_0 deflate_0_7_5 inflate_0_1_1 num_iter_0_1_33 ]
++ (if lib.lists.any (x: x == "deflate") features then [deflate_0_7_5] else []);
features = mkFeatures png_0_6_2_features;
};
png_0_6_2_features."".self = true;
png_0_6_2_features."png-encoding".self_default = hasDefault png_0_6_2_features;
png_0_6_2_features."deflate".self_png-encoding = hasFeature (png_0_6_2_features."png-encoding" or {});
bitflags_0_7_0_features."default".from_png_0_6_2__default = true;
deflate_0_7_5_features."default".from_png_0_6_2__default = true;
inflate_0_1_1_features."default".from_png_0_6_2__default = true;
num_iter_0_1_33_features."default".from_png_0_6_2__default = true;
rand_0_3_15 = rand_0_3_15_ rec {
dependencies = [ libc_0_2_21 ];
};
libc_0_2_21_features."default".from_rand_0_3_15__default = true;
rayon_0_6_0 = rayon_0_6_0_ rec {
dependencies = [ deque_0_3_1 libc_0_2_21 num_cpus_1_3_0 rand_0_3_15 ];
features = mkFeatures rayon_0_6_0_features;
};
rayon_0_6_0_features."".self = true;
deque_0_3_1_features."default".from_rayon_0_6_0__default = true;
libc_0_2_21_features."default".from_rayon_0_6_0__default = true;
num_cpus_1_3_0_features."default".from_rayon_0_6_0__default = true;
rand_0_3_15_features."default".from_rayon_0_6_0__default = true;
scoped_threadpool_0_1_7 = scoped_threadpool_0_1_7_ rec {
features = mkFeatures scoped_threadpool_0_1_7_features;
};
scoped_threadpool_0_1_7_features."".self = true;
strsim_0_6_0 = strsim_0_6_0_ rec {};
term_size_0_2_3 = term_size_0_2_3_ rec {
dependencies = []
++ (if !(kernel == "windows") then [ libc_0_2_21 ] else [])
++ (if kernel == "windows" then [ kernel32_sys_0_2_2 winapi_0_2_8 ] else []);
features = mkFeatures term_size_0_2_3_features;
};
term_size_0_2_3_features."clippy".self_lints = hasFeature (term_size_0_2_3_features."lints" or {});
term_size_0_2_3_features."nightly".self_lints = hasFeature (term_size_0_2_3_features."lints" or {});
term_size_0_2_3_features."lints".self_travis = hasFeature (term_size_0_2_3_features."travis" or {});
term_size_0_2_3_features."nightly".self_travis = hasFeature (term_size_0_2_3_features."travis" or {});
clippy_0_0_0_features."default".from_term_size_0_2_3__default = true;
libc_0_2_21_features."default".from_term_size_0_2_3__default = true;
kernel32_sys_0_2_2_features."default".from_term_size_0_2_3__default = true;
winapi_0_2_8_features."default".from_term_size_0_2_3__default = true;
toml_0_2_1 = toml_0_2_1_ rec {
dependencies = [];
};
toml_0_2_1_features."rustc-serialize".self_default = hasDefault toml_0_2_1_features;
rustc_serialize_0_0_0_features."default".from_toml_0_2_1__default = true;
serde_0_0_0_features."default".from_toml_0_2_1__default = true;
unicode_segmentation_1_1_0 = unicode_segmentation_1_1_0_ rec {
features = mkFeatures unicode_segmentation_1_1_0_features;
};
unicode_segmentation_1_1_0_features."".self = true;
unicode_width_0_1_4 = unicode_width_0_1_4_ rec {
features = mkFeatures unicode_width_0_1_4_features;
};
unicode_width_0_1_4_features."".self = true;
vec_map_0_7_0 = vec_map_0_7_0_ rec {
dependencies = [];
features = mkFeatures vec_map_0_7_0_features;
};
vec_map_0_7_0_features."serde".self_eders = hasFeature (vec_map_0_7_0_features."eders" or {});
vec_map_0_7_0_features."serde_derive".self_eders = hasFeature (vec_map_0_7_0_features."eders" or {});
serde_0_0_0_features."default".from_vec_map_0_7_0__default = true;
serde_derive_0_0_0_features."default".from_vec_map_0_7_0__default = true;
wc_grab_0_2_0 = wc_grab_0_2_0_ rec {
dependencies = [ clap_2_22_0 dbus_0_5_2 image_0_12_3 ];
};
clap_2_22_0_features."default".from_wc_grab_0_2_0__default = true;
dbus_0_5_2_features."default".from_wc_grab_0_2_0__default = true;
image_0_12_3_features."default".from_wc_grab_0_2_0__default = true;
winapi_0_2_8 = winapi_0_2_8_ rec {};
winapi_build_0_1_1 = winapi_build_0_1_1_ rec {};
}

View File

@ -0,0 +1,625 @@
# Generated by carnix 0.5.0: carnix -o wc-lock.nix Cargo.lock
{ lib, buildPlatform, buildRustCrate, fetchgit }:
let kernel = buildPlatform.parsed.kernel.name;
abi = buildPlatform.parsed.abi.name;
hasFeature = feature:
lib.lists.any
(originName: feature.${originName})
(builtins.attrNames feature);
hasDefault = feature:
let defaultFeatures = builtins.attrNames (feature."default" or {}); in
(defaultFeatures == [])
|| (lib.lists.any (originName: feature."default".${originName}) defaultFeatures);
mkFeatures = feat: lib.lists.foldl (features: featureName:
if featureName != "" && hasFeature feat.${featureName} then
[ featureName ] ++ features
else
features
) (if hasDefault feat then [ "default" ] else []) (builtins.attrNames feat);
ansi_term_0_9_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "ansi_term";
version = "0.9.0";
authors = [ "ogham@bsago.me" "Ryan Scheel (Havvy) <ryan.havvy@gmail.com>" ];
sha256 = "1vcd8m2hglrdi4zmqnkkz5zy3c73ifgii245k7vj6qr5dzpn9hij";
inherit dependencies buildDependencies features;
};
atty_0_2_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "atty";
version = "0.2.2";
authors = [ "softprops <d.tangren@gmail.com>" ];
sha256 = "05c6jvrxljp4s1aycgq2z3y56f7f5yvc56v25cqlmpc1qx65z7ba";
inherit dependencies buildDependencies features;
};
bitflags_0_7_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "bitflags";
version = "0.7.0";
authors = [ "The Rust Project Developers" ];
sha256 = "1hr72xg5slm0z4pxs2hiy4wcyx3jva70h58b7mid8l0a4c8f7gn5";
inherit dependencies buildDependencies features;
};
bitflags_0_8_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "bitflags";
version = "0.8.2";
authors = [ "The Rust Project Developers" ];
sha256 = "0whaj3969ysqxzk620sk1isvq6vh85516f2fplvqjrw3syz44sb2";
inherit dependencies buildDependencies features;
};
byteorder_0_5_3_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "byteorder";
version = "0.5.3";
authors = [ "Andrew Gallant <jamslam@gmail.com>" ];
sha256 = "0zsr6b0m0yl5c0yy92nq7srfpczd1dx1xqcx3rlm5fbl8si9clqx";
inherit dependencies buildDependencies features;
};
clap_2_24_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "clap";
version = "2.24.2";
authors = [ "Kevin K. <kbknapp@gmail.com>" ];
sha256 = "0028bkzafprs6n7ing8lnf7iss2a2zq17qmgadipgdfgvww43rmv";
inherit dependencies buildDependencies features;
};
dlib_0_3_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "dlib";
version = "0.3.1";
authors = [ "Victor Berger <victor.berger@m4x.org>" ];
sha256 = "11mhh6g9vszp2ay3r46x4capnnmvvhx5hcp74bapxjhiixqjfvkr";
inherit dependencies buildDependencies features;
};
dtoa_0_4_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "dtoa";
version = "0.4.1";
authors = [ "David Tolnay <dtolnay@gmail.com>" ];
sha256 = "0mgg4r90yby68qg7y8csbclhsm53ac26vsyq615viq535plllhzw";
inherit dependencies buildDependencies features;
};
fs2_0_2_5_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "fs2";
version = "0.2.5";
authors = [ "Dan Burkert <dan@danburkert.com>" ];
sha256 = "0j6l5r95jigbl0lgkm69c82dzq10jipjbm9qnni147hb45gyw790";
inherit dependencies buildDependencies features;
};
gcc_0_3_50_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "gcc";
version = "0.3.50";
authors = [ "Alex Crichton <alex@alexcrichton.com>" ];
sha256 = "032izcbbyiakv9ck5j3s27p3ddx4468n7qpaxgwi5iswmimjaaj0";
inherit dependencies buildDependencies features;
};
itoa_0_3_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "itoa";
version = "0.3.1";
authors = [ "David Tolnay <dtolnay@gmail.com>" ];
sha256 = "0jp1wvfw0qqbyz0whbycp7xr5nx1ds5plh4wsfyj503xmjf9ab4k";
inherit dependencies buildDependencies features;
};
kernel32_sys_0_2_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "kernel32-sys";
version = "0.2.2";
authors = [ "Peter Atashian <retep998@gmail.com>" ];
sha256 = "1lrw1hbinyvr6cp28g60z97w32w8vsk6pahk64pmrv2fmby8srfj";
libName = "kernel32";
build = "build.rs";
inherit dependencies buildDependencies features;
};
lazy_static_0_1_16_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "lazy_static";
version = "0.1.16";
authors = [ "Marvin Löbel <loebel.marvin@gmail.com>" ];
sha256 = "0lc5ixs5bmnc43lfri2ynh9393l7vs0z3sw2v5rkaady2ivnznpc";
inherit dependencies buildDependencies features;
};
lazy_static_0_2_8_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "lazy_static";
version = "0.2.8";
authors = [ "Marvin Löbel <loebel.marvin@gmail.com>" ];
sha256 = "1xbpxx7cd5kl60g87g43q80jxyrsildhxfjc42jb1x4jncknpwbl";
inherit dependencies buildDependencies features;
};
libc_0_2_23_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "libc";
version = "0.2.23";
authors = [ "The Rust Project Developers" ];
sha256 = "1i29f6k26fmv81c5bjc6hw2j95sd01h9ad66qxdc755b24xfa9jm";
inherit dependencies buildDependencies features;
};
libloading_0_3_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "libloading";
version = "0.3.4";
authors = [ "Simonas Kazlauskas <libloading@kazlauskas.me>" ];
sha256 = "1f2vy32cr434n638nv8sdf05iwa53q9q5ahlcpw1l9ywh1bcbhf1";
build = "build.rs";
inherit dependencies buildDependencies features;
};
memmap_0_4_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "memmap";
version = "0.4.0";
authors = [ "Dan Burkert <dan@danburkert.com>" ];
sha256 = "0q2gm5p8n9najc8kccbxxkannmnjh85rin4k8d4y1kg5ymdp6kll";
inherit dependencies buildDependencies features;
};
num_traits_0_1_37_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "num-traits";
version = "0.1.37";
authors = [ "The Rust Project Developers" ];
sha256 = "0rwzfmdjq6iz6plva2gi7agvy1w9sjs7aqjh0p115w57xiix2224";
inherit dependencies buildDependencies features;
};
phf_0_7_21_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "phf";
version = "0.7.21";
authors = [ "Steven Fackler <sfackler@gmail.com>" ];
sha256 = "11m2rzm2s8s35m0s97gjxxb181xz352kjlhr387xj5c8q3qp5afg";
libPath = "src/lib.rs";
inherit dependencies buildDependencies features;
};
phf_codegen_0_7_21_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "phf_codegen";
version = "0.7.21";
authors = [ "Steven Fackler <sfackler@gmail.com>" ];
sha256 = "0kgy8s2q4zr0iqcm21mgq4ppc45wy6z7b5wn98xyfsrcad6lwmmj";
inherit dependencies buildDependencies features;
};
phf_generator_0_7_21_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "phf_generator";
version = "0.7.21";
authors = [ "Steven Fackler <sfackler@gmail.com>" ];
sha256 = "1jxjfzc6d6d4l9nv0r2bb66if5brk9lnncmg4dpjjifn6zhhqd9g";
inherit dependencies buildDependencies features;
};
phf_shared_0_7_21_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "phf_shared";
version = "0.7.21";
authors = [ "Steven Fackler <sfackler@gmail.com>" ];
sha256 = "0lxpg3wgxfhzfalmf9ha9my1lsvfjy74ah9f6mfw88xlp545jlln";
libPath = "src/lib.rs";
inherit dependencies buildDependencies features;
};
rand_0_3_15_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "rand";
version = "0.3.15";
authors = [ "The Rust Project Developers" ];
sha256 = "1fs30rc1xic40s1n7l3y7pxzfifpy03mgrvhy5ggp5p7zjfv3rr8";
inherit dependencies buildDependencies features;
};
rustc_version_0_1_7_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "rustc_version";
version = "0.1.7";
authors = [ "Marvin Löbel <loebel.marvin@gmail.com>" ];
sha256 = "0plm9pbyvcwfibd0kbhzil9xmr1bvqi8fgwlfw0x4vali8s6s99p";
inherit dependencies buildDependencies features;
};
semver_0_1_20_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "semver";
version = "0.1.20";
authors = [ "The Rust Project Developers" ];
sha256 = "05cdig0071hls2k8lxbqmyqpl0zjmc53i2d43mwzps033b8njh4n";
inherit dependencies buildDependencies features;
};
serde_0_9_15_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "serde";
version = "0.9.15";
authors = [ "Erick Tryzelaar <erick.tryzelaar@gmail.com>" ];
sha256 = "0rlflkc57kvy69hnhj4arfsj7ic4hpihxsb00zg5lkdxfj5qjx9b";
inherit dependencies buildDependencies features;
};
serde_json_0_9_10_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "serde_json";
version = "0.9.10";
authors = [ "Erick Tryzelaar <erick.tryzelaar@gmail.com>" ];
sha256 = "0g6bxlfnvf2miicnsizyrxm686rfval6gbss1i2qcna8msfwc005";
inherit dependencies buildDependencies features;
};
siphasher_0_2_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "siphasher";
version = "0.2.2";
authors = [ "Frank Denis <github@pureftpd.org>" ];
sha256 = "0iyx7nlzfny9ly1634a6zcq0yvrinhxhypwas4p8ry3zqnn76qqr";
inherit dependencies buildDependencies features;
};
strsim_0_6_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "strsim";
version = "0.6.0";
authors = [ "Danny Guo <dannyguo91@gmail.com>" ];
sha256 = "1lz85l6y68hr62lv4baww29yy7g8pg20dlr0lbaswxmmcb0wl7gd";
inherit dependencies buildDependencies features;
};
target_build_utils_0_3_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "target_build_utils";
version = "0.3.1";
authors = [ "Simonas Kazlauskas <target_build_utils@kazlauskas.me>" ];
sha256 = "1b450nyxlbgicp2p45mhxiv6yv0z7s4iw01lsaqh3v7b4bm53flj";
build = "build.rs";
inherit dependencies buildDependencies features;
};
tempfile_2_1_5_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "tempfile";
version = "2.1.5";
authors = [ "Steven Allen <steven@stebalien.com>" ];
sha256 = "1yz8aaj78z9gsn4b71y0m6fa5bnxhqafcczhxvmwra56k943aqkw";
build = "build.rs";
inherit dependencies buildDependencies features;
};
term_size_0_3_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "term_size";
version = "0.3.0";
authors = [ "Kevin K. <kbknapp@gmail.com>" "Benjamin Sago <ogham@bsago.me>" ];
sha256 = "054d5avad49sy5nfaaaphai4kv4rmdh6q0npchnvdhpxp02lcfhs";
inherit dependencies buildDependencies features;
};
unicode_segmentation_1_2_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "unicode-segmentation";
version = "1.2.0";
authors = [ "kwantam <kwantam@gmail.com>" ];
sha256 = "0yz43x7wrhr3n7a2zsinx3r60yxsdqicg8a5kycyyhdaq1zmiz1y";
inherit dependencies buildDependencies features;
};
unicode_width_0_1_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "unicode-width";
version = "0.1.4";
authors = [ "kwantam <kwantam@gmail.com>" ];
sha256 = "1rp7a04icn9y5c0lm74nrd4py0rdl0af8bhdwq7g478n1xifpifl";
inherit dependencies buildDependencies features;
};
vec_map_0_8_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "vec_map";
version = "0.8.0";
authors = [ "Alex Crichton <alex@alexcrichton.com>" "Jorge Aparicio <japaricious@gmail.com>" "Alexis Beingessner <a.beingessner@gmail.com>" "Brian Anderson <>" "tbu- <>" "Manish Goregaokar <>" "Aaron Turon <aturon@mozilla.com>" "Adolfo Ochagavía <>" "Niko Matsakis <>" "Steven Fackler <>" "Chase Southwood <csouth3@illinois.edu>" "Eduard Burtescu <>" "Florian Wilkens <>" "Félix Raimundo <>" "Tibor Benke <>" "Markus Siemens <markus@m-siemens.de>" "Josh Branchaud <jbranchaud@gmail.com>" "Huon Wilson <dbau.pp@gmail.com>" "Corey Farwell <coref@rwell.org>" "Aaron Liblong <>" "Nick Cameron <nrc@ncameron.org>" "Patrick Walton <pcwalton@mimiga.net>" "Felix S Klock II <>" "Andrew Paseltiner <apaseltiner@gmail.com>" "Sean McArthur <sean.monstar@gmail.com>" "Vadim Petrochenkov <>" ];
sha256 = "07sgxp3cf1a4cxm9n3r27fcvqmld32bl2576mrcahnvm34j11xay";
inherit dependencies buildDependencies features;
};
wayland_client_0_9_6_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "wayland-client";
version = "0.9.6";
authors = [ "Victor Berger <victor.berger@m4x.org>" ];
sha256 = "1908h6ilvq2cxph1lxv1vzrb3dcfx4x6pf6pszxwifsfqva8nm34";
build = "build.rs";
inherit dependencies buildDependencies features;
};
wayland_kbd_0_9_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "wayland-kbd";
version = "0.9.0";
authors = [ "Victor Berger <victor.berger@m4x.org>" ];
sha256 = "1x0f7n79hjwf5fclf62fpzjp05xdzc93xw84zgyrn8f1hill3qhj";
inherit dependencies buildDependencies features;
};
wayland_scanner_0_9_6_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "wayland-scanner";
version = "0.9.6";
authors = [ "Victor Berger <victor.berger@m4x.org>" ];
sha256 = "1w5cyc48g4x5w3rakb4sji5328rl5yph1abmjbh5h4slkm4n76g1";
inherit dependencies buildDependencies features;
};
wayland_sys_0_6_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "wayland-sys";
version = "0.6.0";
authors = [ "Victor Berger <victor.berger@m4x.org>" ];
sha256 = "0m6db0kld2d4xv4ai9kxlqrh362hwi0030b4zbss0sfha1hx5mfl";
inherit dependencies buildDependencies features;
};
wayland_sys_0_9_6_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "wayland-sys";
version = "0.9.6";
authors = [ "Victor Berger <victor.berger@m4x.org>" ];
sha256 = "0izw50pmj1r10hmr29gi8ps01avs6zjwisywijlq7wr268h6yxcg";
inherit dependencies buildDependencies features;
};
wc_lock_0_1_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "wc-lock";
version = "0.1.0";
authors = [ "Timidger <APragmaticPlace@gmail.com>" ];
sha256 = "1fwfqzhqa8zqxx18amc129xfp1lrb7y9qxi92jqr856xiq4r8ypk";
build = "build.rs";
inherit dependencies buildDependencies features;
};
winapi_0_2_8_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "winapi";
version = "0.2.8";
authors = [ "Peter Atashian <retep998@gmail.com>" ];
sha256 = "0a45b58ywf12vb7gvj6h3j264nydynmzyqz8d8rqxsj6icqv82as";
inherit dependencies buildDependencies features;
};
winapi_build_0_1_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "winapi-build";
version = "0.1.1";
authors = [ "Peter Atashian <retep998@gmail.com>" ];
sha256 = "1lxlpi87rkhxcwp2ykf1ldw3p108hwm24nywf3jfrvmff4rjhqga";
libName = "build";
inherit dependencies buildDependencies features;
};
xml_rs_0_3_6_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "xml-rs";
version = "0.3.6";
authors = [ "Vladimir Matveev <vladimir.matweev@gmail.com>" ];
sha256 = "1g1cclib7fj900m4669vxlz45lxcq0m36g7cd8chl494c2xsgj15";
libPath = "src/lib.rs";
libName = "xml";
crateBin = [ { name = "xml-analyze"; path = "src/analyze.rs"; } ];
inherit dependencies buildDependencies features;
};
in
rec {
ansi_term_0_9_0 = ansi_term_0_9_0_ rec {};
atty_0_2_2 = atty_0_2_2_ rec {
dependencies = (if !(kernel == "windows") then [ libc_0_2_23 ] else [])
++ (if kernel == "windows" then [ kernel32_sys_0_2_2 winapi_0_2_8 ] else []);
};
libc_0_2_23_features."default".from_atty_0_2_2__default = true;
kernel32_sys_0_2_2_features."default".from_atty_0_2_2__default = true;
winapi_0_2_8_features."default".from_atty_0_2_2__default = true;
bitflags_0_7_0 = bitflags_0_7_0_ rec {};
bitflags_0_8_2 = bitflags_0_8_2_ rec {
features = mkFeatures bitflags_0_8_2_features;
};
bitflags_0_8_2_features."i128".self_unstable = hasFeature (bitflags_0_8_2_features."unstable" or {});
byteorder_0_5_3 = byteorder_0_5_3_ rec {
features = mkFeatures byteorder_0_5_3_features;
};
byteorder_0_5_3_features."std".self_default = hasDefault byteorder_0_5_3_features;
clap_2_24_2 = clap_2_24_2_ rec {
dependencies = [ ansi_term_0_9_0 atty_0_2_2 bitflags_0_8_2 strsim_0_6_0 term_size_0_3_0 unicode_segmentation_1_2_0 unicode_width_0_1_4 vec_map_0_8_0 ]
++ (if lib.lists.any (x: x == "ansi_term") features then [ansi_term_0_9_0] else []) ++ (if lib.lists.any (x: x == "atty") features then [atty_0_2_2] else []) ++ (if lib.lists.any (x: x == "strsim") features then [strsim_0_6_0] else []) ++ (if lib.lists.any (x: x == "term_size") features then [term_size_0_3_0] else []);
features = mkFeatures clap_2_24_2_features;
};
clap_2_24_2_features."".self = true;
clap_2_24_2_features."ansi_term".self_color = hasFeature (clap_2_24_2_features."color" or {});
clap_2_24_2_features."atty".self_color = hasFeature (clap_2_24_2_features."color" or {});
clap_2_24_2_features."suggestions".self_default = hasDefault clap_2_24_2_features;
clap_2_24_2_features."color".self_default = hasDefault clap_2_24_2_features;
clap_2_24_2_features."wrap_help".self_default = hasDefault clap_2_24_2_features;
clap_2_24_2_features."clippy".self_lints = hasFeature (clap_2_24_2_features."lints" or {});
clap_2_24_2_features."strsim".self_suggestions = hasFeature (clap_2_24_2_features."suggestions" or {});
clap_2_24_2_features."term_size".self_wrap_help = hasFeature (clap_2_24_2_features."wrap_help" or {});
clap_2_24_2_features."yaml-rust".self_yaml = hasFeature (clap_2_24_2_features."yaml" or {});
ansi_term_0_9_0_features."default".from_clap_2_24_2__default = true;
atty_0_2_2_features."default".from_clap_2_24_2__default = true;
bitflags_0_8_2_features."default".from_clap_2_24_2__default = true;
clippy_0_0_0_features."default".from_clap_2_24_2__default = true;
strsim_0_6_0_features."default".from_clap_2_24_2__default = true;
term_size_0_3_0_features."default".from_clap_2_24_2__default = true;
unicode_segmentation_1_2_0_features."default".from_clap_2_24_2__default = true;
unicode_width_0_1_4_features."default".from_clap_2_24_2__default = true;
vec_map_0_8_0_features."default".from_clap_2_24_2__default = true;
yaml_rust_0_0_0_features."default".from_clap_2_24_2__default = true;
dlib_0_3_1 = dlib_0_3_1_ rec {
dependencies = [ libloading_0_3_4 ];
features = mkFeatures dlib_0_3_1_features;
};
dlib_0_3_1_features."".self = true;
libloading_0_3_4_features."default".from_dlib_0_3_1__default = true;
dtoa_0_4_1 = dtoa_0_4_1_ rec {};
fs2_0_2_5 = fs2_0_2_5_ rec {
dependencies = [ kernel32_sys_0_2_2 libc_0_2_23 winapi_0_2_8 ];
};
kernel32_sys_0_2_2_features."default".from_fs2_0_2_5__default = true;
libc_0_2_23_features."default".from_fs2_0_2_5__default = true;
winapi_0_2_8_features."default".from_fs2_0_2_5__default = true;
gcc_0_3_50 = gcc_0_3_50_ rec {
dependencies = [];
features = mkFeatures gcc_0_3_50_features;
};
gcc_0_3_50_features."rayon".self_parallel = hasFeature (gcc_0_3_50_features."parallel" or {});
rayon_0_0_0_features."default".from_gcc_0_3_50__default = true;
itoa_0_3_1 = itoa_0_3_1_ rec {};
kernel32_sys_0_2_2 = kernel32_sys_0_2_2_ rec {
dependencies = [ winapi_0_2_8 ];
buildDependencies = [ winapi_build_0_1_1 ];
};
winapi_0_2_8_features."default".from_kernel32_sys_0_2_2__default = true;
lazy_static_0_1_16 = lazy_static_0_1_16_ rec {
features = mkFeatures lazy_static_0_1_16_features;
};
lazy_static_0_1_16_features."".self = true;
lazy_static_0_2_8 = lazy_static_0_2_8_ rec {
dependencies = [];
features = mkFeatures lazy_static_0_2_8_features;
};
lazy_static_0_2_8_features."nightly".self_spin_no_std = hasFeature (lazy_static_0_2_8_features."spin_no_std" or {});
lazy_static_0_2_8_features."spin".self_spin_no_std = hasFeature (lazy_static_0_2_8_features."spin_no_std" or {});
spin_0_0_0_features."default".from_lazy_static_0_2_8__default = true;
libc_0_2_23 = libc_0_2_23_ rec {
features = mkFeatures libc_0_2_23_features;
};
libc_0_2_23_features."use_std".self_default = hasDefault libc_0_2_23_features;
libloading_0_3_4 = libloading_0_3_4_ rec {
dependencies = [ lazy_static_0_2_8 ]
++ (if kernel == "windows" then [ kernel32_sys_0_2_2 winapi_0_2_8 ] else []);
buildDependencies = [ target_build_utils_0_3_1 ];
};
lazy_static_0_2_8_features."default".from_libloading_0_3_4__default = true;
kernel32_sys_0_2_2_features."default".from_libloading_0_3_4__default = true;
winapi_0_2_8_features."default".from_libloading_0_3_4__default = true;
memmap_0_4_0 = memmap_0_4_0_ rec {
dependencies = [ fs2_0_2_5 kernel32_sys_0_2_2 libc_0_2_23 winapi_0_2_8 ];
};
fs2_0_2_5_features."default".from_memmap_0_4_0__default = true;
kernel32_sys_0_2_2_features."default".from_memmap_0_4_0__default = true;
libc_0_2_23_features."default".from_memmap_0_4_0__default = true;
winapi_0_2_8_features."default".from_memmap_0_4_0__default = true;
num_traits_0_1_37 = num_traits_0_1_37_ rec {};
phf_0_7_21 = phf_0_7_21_ rec {
dependencies = [ phf_shared_0_7_21 ];
features = mkFeatures phf_0_7_21_features;
};
phf_0_7_21_features."".self = true;
phf_shared_0_7_21_features."core".from_phf_0_7_21__core = hasFeature (phf_0_7_21_features."core" or {});
phf_shared_0_7_21_features."unicase".from_phf_0_7_21__unicase = hasFeature (phf_0_7_21_features."unicase" or {});
phf_shared_0_7_21_features."default".from_phf_0_7_21__default = true;
phf_codegen_0_7_21 = phf_codegen_0_7_21_ rec {
dependencies = [ phf_generator_0_7_21 phf_shared_0_7_21 ];
};
phf_generator_0_7_21_features."default".from_phf_codegen_0_7_21__default = true;
phf_shared_0_7_21_features."default".from_phf_codegen_0_7_21__default = true;
phf_generator_0_7_21 = phf_generator_0_7_21_ rec {
dependencies = [ phf_shared_0_7_21 rand_0_3_15 ];
};
phf_shared_0_7_21_features."default".from_phf_generator_0_7_21__default = true;
rand_0_3_15_features."default".from_phf_generator_0_7_21__default = true;
phf_shared_0_7_21 = phf_shared_0_7_21_ rec {
dependencies = [ siphasher_0_2_2 ];
features = mkFeatures phf_shared_0_7_21_features;
};
phf_shared_0_7_21_features."".self = true;
siphasher_0_2_2_features."default".from_phf_shared_0_7_21__default = true;
unicase_0_0_0_features."default".from_phf_shared_0_7_21__default = true;
rand_0_3_15 = rand_0_3_15_ rec {
dependencies = [ libc_0_2_23 ];
};
libc_0_2_23_features."default".from_rand_0_3_15__default = true;
rustc_version_0_1_7 = rustc_version_0_1_7_ rec {
dependencies = [ semver_0_1_20 ];
};
semver_0_1_20_features."default".from_rustc_version_0_1_7__default = true;
semver_0_1_20 = semver_0_1_20_ rec {};
serde_0_9_15 = serde_0_9_15_ rec {
dependencies = [];
features = mkFeatures serde_0_9_15_features;
};
serde_0_9_15_features."unstable".self_alloc = hasFeature (serde_0_9_15_features."alloc" or {});
serde_0_9_15_features."alloc".self_collections = hasFeature (serde_0_9_15_features."collections" or {});
serde_0_9_15_features."std".self_default = hasDefault serde_0_9_15_features;
serde_0_9_15_features."serde_derive".self_derive = hasFeature (serde_0_9_15_features."derive" or {});
serde_0_9_15_features."serde_derive".self_playground = hasFeature (serde_0_9_15_features."playground" or {});
serde_0_9_15_features."unstable".self_unstable-testing = hasFeature (serde_0_9_15_features."unstable-testing" or {});
serde_0_9_15_features."std".self_unstable-testing = hasFeature (serde_0_9_15_features."unstable-testing" or {});
serde_derive_0_0_0_features."default".from_serde_0_9_15__default = true;
serde_json_0_9_10 = serde_json_0_9_10_ rec {
dependencies = [ dtoa_0_4_1 itoa_0_3_1 num_traits_0_1_37 serde_0_9_15 ];
features = mkFeatures serde_json_0_9_10_features;
};
serde_json_0_9_10_features."linked-hash-map".self_preserve_order = hasFeature (serde_json_0_9_10_features."preserve_order" or {});
dtoa_0_4_1_features."default".from_serde_json_0_9_10__default = true;
itoa_0_3_1_features."default".from_serde_json_0_9_10__default = true;
linked_hash_map_0_0_0_features."default".from_serde_json_0_9_10__default = true;
num_traits_0_1_37_features."default".from_serde_json_0_9_10__default = true;
serde_0_9_15_features."default".from_serde_json_0_9_10__default = true;
siphasher_0_2_2 = siphasher_0_2_2_ rec {
dependencies = [];
};
clippy_0_0_0_features."default".from_siphasher_0_2_2__default = true;
strsim_0_6_0 = strsim_0_6_0_ rec {};
target_build_utils_0_3_1 = target_build_utils_0_3_1_ rec {
dependencies = [ phf_0_7_21 serde_json_0_9_10 ]
++ (if lib.lists.any (x: x == "serde_json") features then [serde_json_0_9_10] else []);
buildDependencies = [ phf_codegen_0_7_21 ];
features = mkFeatures target_build_utils_0_3_1_features;
};
target_build_utils_0_3_1_features."".self = true;
target_build_utils_0_3_1_features."serde_json".self_default = hasDefault target_build_utils_0_3_1_features;
phf_0_7_21_features."default".from_target_build_utils_0_3_1__default = true;
serde_json_0_9_10_features."default".from_target_build_utils_0_3_1__default = true;
tempfile_2_1_5 = tempfile_2_1_5_ rec {
dependencies = [ rand_0_3_15 ]
++ (if (kernel == "linux" || kernel == "darwin") then [ libc_0_2_23 ] else [])
++ (if kernel == "windows" then [ kernel32_sys_0_2_2 winapi_0_2_8 ] else []);
buildDependencies = [ rustc_version_0_1_7 ];
};
rand_0_3_15_features."default".from_tempfile_2_1_5__default = true;
libc_0_2_23_features."default".from_tempfile_2_1_5__default = true;
kernel32_sys_0_2_2_features."default".from_tempfile_2_1_5__default = true;
winapi_0_2_8_features."default".from_tempfile_2_1_5__default = true;
term_size_0_3_0 = term_size_0_3_0_ rec {
dependencies = []
++ (if !(kernel == "windows") then [ libc_0_2_23 ] else [])
++ (if kernel == "windows" then [ kernel32_sys_0_2_2 winapi_0_2_8 ] else []);
features = mkFeatures term_size_0_3_0_features;
};
term_size_0_3_0_features."clippy".self_lints = hasFeature (term_size_0_3_0_features."lints" or {});
term_size_0_3_0_features."nightly".self_lints = hasFeature (term_size_0_3_0_features."lints" or {});
term_size_0_3_0_features."lints".self_travis = hasFeature (term_size_0_3_0_features."travis" or {});
term_size_0_3_0_features."nightly".self_travis = hasFeature (term_size_0_3_0_features."travis" or {});
clippy_0_0_0_features."default".from_term_size_0_3_0__default = true;
libc_0_2_23_features."default".from_term_size_0_3_0__default = true;
kernel32_sys_0_2_2_features."default".from_term_size_0_3_0__default = true;
winapi_0_2_8_features."default".from_term_size_0_3_0__default = true;
unicode_segmentation_1_2_0 = unicode_segmentation_1_2_0_ rec {
features = mkFeatures unicode_segmentation_1_2_0_features;
};
unicode_segmentation_1_2_0_features."".self = true;
unicode_width_0_1_4 = unicode_width_0_1_4_ rec {
features = mkFeatures unicode_width_0_1_4_features;
};
unicode_width_0_1_4_features."".self = true;
vec_map_0_8_0 = vec_map_0_8_0_ rec {
dependencies = [];
features = mkFeatures vec_map_0_8_0_features;
};
vec_map_0_8_0_features."serde".self_eders = hasFeature (vec_map_0_8_0_features."eders" or {});
vec_map_0_8_0_features."serde_derive".self_eders = hasFeature (vec_map_0_8_0_features."eders" or {});
serde_0_0_0_features."default".from_vec_map_0_8_0__default = true;
serde_derive_0_0_0_features."default".from_vec_map_0_8_0__default = true;
wayland_client_0_9_6 = wayland_client_0_9_6_ rec {
dependencies = [ bitflags_0_7_0 libc_0_2_23 wayland_sys_0_9_6 ];
buildDependencies = [ wayland_scanner_0_9_6 ];
features = mkFeatures wayland_client_0_9_6_features;
};
wayland_client_0_9_6_features."egl".self_default = hasDefault wayland_client_0_9_6_features;
wayland_client_0_9_6_features."cursor".self_default = hasDefault wayland_client_0_9_6_features;
bitflags_0_7_0_features."default".from_wayland_client_0_9_6__default = true;
libc_0_2_23_features."default".from_wayland_client_0_9_6__default = true;
wayland_sys_0_9_6_features."client".from_wayland_client_0_9_6 = true;
wayland_sys_0_9_6_features."cursor".from_wayland_client_0_9_6__cursor = hasFeature (wayland_client_0_9_6_features."cursor" or {});
wayland_sys_0_9_6_features."dlopen".from_wayland_client_0_9_6__dlopen = hasFeature (wayland_client_0_9_6_features."dlopen" or {});
wayland_sys_0_9_6_features."egl".from_wayland_client_0_9_6__egl = hasFeature (wayland_client_0_9_6_features."egl" or {});
wayland_sys_0_9_6_features."default".from_wayland_client_0_9_6__default = true;
wayland_kbd_0_9_0 = wayland_kbd_0_9_0_ rec {
dependencies = [ bitflags_0_7_0 dlib_0_3_1 lazy_static_0_2_8 memmap_0_4_0 wayland_client_0_9_6 ];
};
bitflags_0_7_0_features."default".from_wayland_kbd_0_9_0__default = true;
dlib_0_3_1_features."default".from_wayland_kbd_0_9_0__default = true;
lazy_static_0_2_8_features."default".from_wayland_kbd_0_9_0__default = true;
memmap_0_4_0_features."default".from_wayland_kbd_0_9_0__default = true;
wayland_client_0_9_6_features."default".from_wayland_kbd_0_9_0__default = true;
wayland_scanner_0_9_6 = wayland_scanner_0_9_6_ rec {
dependencies = [ xml_rs_0_3_6 ];
};
xml_rs_0_3_6_features."default".from_wayland_scanner_0_9_6__default = true;
wayland_sys_0_6_0 = wayland_sys_0_6_0_ rec {
dependencies = [ dlib_0_3_1 lazy_static_0_1_16 ]
++ (if lib.lists.any (x: x == "lazy_static") features then [lazy_static_0_1_16] else []);
features = mkFeatures wayland_sys_0_6_0_features;
};
wayland_sys_0_6_0_features."".self = true;
wayland_sys_0_6_0_features."lazy_static".self_dlopen = hasFeature (wayland_sys_0_6_0_features."dlopen" or {});
wayland_sys_0_6_0_features."libc".self_server = hasFeature (wayland_sys_0_6_0_features."server" or {});
dlib_0_3_1_features."dlopen".from_wayland_sys_0_6_0__dlopen = hasFeature (wayland_sys_0_6_0_features."dlopen" or {});
dlib_0_3_1_features."default".from_wayland_sys_0_6_0__default = true;
lazy_static_0_1_16_features."default".from_wayland_sys_0_6_0__default = true;
libc_0_0_0_features."default".from_wayland_sys_0_6_0__default = true;
wayland_sys_0_9_6 = wayland_sys_0_9_6_ rec {
dependencies = [ dlib_0_3_1 lazy_static_0_2_8 ]
++ (if lib.lists.any (x: x == "lazy_static") features then [lazy_static_0_2_8] else []);
features = mkFeatures wayland_sys_0_9_6_features;
};
wayland_sys_0_9_6_features."".self = true;
wayland_sys_0_9_6_features."lazy_static".self_dlopen = hasFeature (wayland_sys_0_9_6_features."dlopen" or {});
wayland_sys_0_9_6_features."libc".self_server = hasFeature (wayland_sys_0_9_6_features."server" or {});
dlib_0_3_1_features."dlopen".from_wayland_sys_0_9_6__dlopen = hasFeature (wayland_sys_0_9_6_features."dlopen" or {});
dlib_0_3_1_features."default".from_wayland_sys_0_9_6__default = true;
lazy_static_0_2_8_features."default".from_wayland_sys_0_9_6__default = true;
libc_0_0_0_features."default".from_wayland_sys_0_9_6__default = true;
wc_lock_0_1_0 = wc_lock_0_1_0_ rec {
dependencies = [ byteorder_0_5_3 clap_2_24_2 libc_0_2_23 tempfile_2_1_5 wayland_client_0_9_6 wayland_kbd_0_9_0 wayland_sys_0_6_0 ];
buildDependencies = [ gcc_0_3_50 ];
};
byteorder_0_5_3_features."default".from_wc_lock_0_1_0__default = true;
clap_2_24_2_features."default".from_wc_lock_0_1_0__default = true;
libc_0_2_23_features."default".from_wc_lock_0_1_0__default = true;
tempfile_2_1_5_features."default".from_wc_lock_0_1_0__default = true;
wayland_client_0_9_6_features."cursor".from_wc_lock_0_1_0 = true;
wayland_client_0_9_6_features."dlopen".from_wc_lock_0_1_0 = true;
wayland_client_0_9_6_features."default".from_wc_lock_0_1_0__default = true;
wayland_kbd_0_9_0_features."default".from_wc_lock_0_1_0__default = true;
wayland_sys_0_6_0_features."client".from_wc_lock_0_1_0 = true;
wayland_sys_0_6_0_features."dlopen".from_wc_lock_0_1_0 = true;
wayland_sys_0_6_0_features."default".from_wc_lock_0_1_0__default = true;
winapi_0_2_8 = winapi_0_2_8_ rec {};
winapi_build_0_1_1 = winapi_build_0_1_1_ rec {};
xml_rs_0_3_6 = xml_rs_0_3_6_ rec {
dependencies = [ bitflags_0_7_0 ];
};
bitflags_0_7_0_features."default".from_xml_rs_0_3_6__default = true;
}

View File

@ -0,0 +1,46 @@
{ lib, stdenv }:
# A special kind of derivation that is only meant to be consumed by the
# nix-shell.
{
inputsFrom ? [], # a list of derivations whose inputs will be made available to the environment
buildInputs ? [],
nativeBuildInputs ? [],
propagatedBuildInputs ? [],
propagatedNativeBuildInputs ? [],
...
}@attrs:
let
mergeInputs = name:
let
op = item: sum: sum ++ item."${name}" or [];
nul = [];
list = [attrs] ++ inputsFrom;
in
lib.foldr op nul list;
rest = builtins.removeAttrs attrs [
"inputsFrom"
"buildInputs"
"nativeBuildInputs"
"propagatedBuildInputs"
"propagatedNativeBuildInputs"
];
in
stdenv.mkDerivation ({
name = "nix-shell";
phases = ["nobuildPhase"];
buildInputs = mergeInputs "buildInputs";
nativeBuildInputs = mergeInputs "nativeBuildInputs";
propagatedBuildInputs = mergeInputs "propagatedBuildInputs";
propagatedNativeBuildInputs = mergeInputs "propagatedNativeBuildInputs";
nobuildPhase = ''
echo
echo "This derivation is not meant to be built, aborting";
echo
exit 1
'';
} // rest)

View File

@ -64,11 +64,11 @@ in stdenv.mkDerivation {
buildCommand = ''
mkdir -p $out/share/fonts/truetype
cp ${full-ttf}/share/fonts/truetype/*.ttf $out/share/fonts/truetype/
ln -s --force ${minimal}/share/fonts/truetype/DejaVuSans.ttf $out/share/fonts/truetype/DejaVuSans.ttf
ln -s --relative --force --target-directory=$out/share/fonts/truetype ${minimal}/share/fonts/truetype/DejaVuSans.ttf
'';
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "1nf0h15p8yvjx36syq1034i3hix99lm8p54iyjw8dpa19i9jfkmd";
outputHash = "15l93xm9mg2ziaxv4nqy2a4jaz54d05xf0hfz1h84bclzb882llh";
inherit meta;
passthru.minimal = minimal;

View File

@ -0,0 +1,26 @@
{ stdenv, fetchurl, osinfo-db-tools, intltool, libxml2 }:
stdenv.mkDerivation rec {
name = "osinfo-db-20170813";
src = fetchurl {
url = "https://releases.pagure.org/libosinfo/${name}.tar.xz";
sha256 = "0v9i325aaflzj2y5780mj9b0jv5ysb1bn90bm3s4f2ck5n124ffw";
};
nativeBuildInputs = [ osinfo-db-tools intltool libxml2 ];
phases = [ "installPhase" ];
installPhase = ''
osinfo-db-import --dir "$out/share/osinfo" "${src}"
'';
meta = with stdenv.lib; {
description = "Osinfo database of information about operating systems for virtualization provisioning tools";
homepage = https://libosinfo.org/;
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}

View File

@ -11,7 +11,7 @@ gnome3.vte.overrideAttrs (oldAttrs: rec {
sha256 = "0i6hfzw9sq8521kz0l7lld2km56r0bfp1hw6kxq3j1msb8z8svcf";
};
preConfigure = oldAttrs.preConfigure + "; ./autogen.sh";
preConfigure = oldAttrs.preConfigure + "; NOCONFIGURE=1 ./autogen.sh";
nativeBuildInputs = oldAttrs.nativeBuildInputs or []
++ [ gtk_doc autoconf automake gettext libtool gperf ];

View File

@ -21,8 +21,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig intltool ];
buildInputs = [ mate.mate-icon-theme gtk2 gtk_engines gtk-engine-murrine
gdk_pixbuf librsvg ];
buildInputs = [ mate.mate-icon-theme gtk2 gtk_engines gdk_pixbuf librsvg ];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
meta = {
description = "A set of themes from MATE";

View File

@ -0,0 +1,90 @@
diff -urNZ a/mousepad/mousepad-action-group.c b/mousepad/mousepad-action-group.c
--- a/mousepad/mousepad-action-group.c 2014-09-01 20:50:07.000000000 +0000
+++ b/mousepad/mousepad-action-group.c 2017-12-18 16:57:46.836538403 +0000
@@ -302,11 +302,6 @@
gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), TRUE);
self->locked = FALSE;
- /* update the setting when the active action is changed */
- self->locked = TRUE;
- MOUSEPAD_SETTING_SET_STRING (COLOR_SCHEME, gtk_source_style_scheme_get_id (scheme));
- self->locked = FALSE;
-
g_object_notify (G_OBJECT (self), "active-style-scheme");
}
@@ -473,6 +468,8 @@
mousepad_action_group_style_scheme_action_activate (MousepadActionGroup *self,
MousepadStyleSchemeAction *action)
{
+ const gchar *scheme_name = NULL;
+
/* only update the active action if we're not already in the process of
* setting it and the sender action is actually active */
if (! self->locked &&
@@ -481,7 +478,14 @@
GtkSourceStyleScheme *scheme;
scheme = mousepad_style_scheme_action_get_style_scheme (action);
- mousepad_action_group_set_active_style_scheme (self, scheme);
+
+ /* update the setting when the active action is changed */
+ if (scheme != NULL)
+ scheme_name = gtk_source_style_scheme_get_id(scheme);
+
+ self->locked = TRUE;
+ MOUSEPAD_SETTING_SET_STRING (COLOR_SCHEME, scheme_name);
+ self->locked = FALSE;
}
}
diff -urNZ a/mousepad/mousepad-window.c b/mousepad/mousepad-window.c
--- a/mousepad/mousepad-window.c 2014-09-01 20:58:02.000000000 +0000
+++ b/mousepad/mousepad-window.c 2017-12-18 17:07:51.099321408 +0000
@@ -712,32 +712,6 @@
static void
-mousepad_window_action_group_style_scheme_changed (MousepadWindow *window,
- GParamSpec *pspec,
- MousepadActionGroup *group)
-{
- GtkSourceStyleScheme *scheme;
- const gchar *scheme_id;
- gint npages, i;
-
- /* get the new active language */
- scheme = mousepad_action_group_get_active_style_scheme (group);
- scheme_id = gtk_source_style_scheme_get_id (scheme);
-
- /* update the color scheme on all the documents */
- npages = gtk_notebook_get_n_pages (GTK_NOTEBOOK (window->notebook));
- for (i = 0; i < npages; i++)
- {
- MousepadDocument *document;
-
- document = MOUSEPAD_DOCUMENT (gtk_notebook_get_nth_page (GTK_NOTEBOOK (window->notebook), i));
- mousepad_view_set_color_scheme (document->textview, scheme_id);
- }
-}
-
-
-
-static void
mousepad_window_create_style_schemes_menu (MousepadWindow *window)
{
GtkWidget *menu, *item;
@@ -751,13 +725,6 @@
gtk_menu_item_set_submenu (GTK_MENU_ITEM (item), menu);
gtk_widget_show_all (menu);
gtk_widget_show (item);
-
- /* watch for activations of the style schemes actions */
- g_signal_connect_object (window->action_group,
- "notify::active-style-scheme",
- G_CALLBACK (mousepad_window_action_group_style_scheme_changed),
- window,
- G_CONNECT_SWAPPED);
}

View File

@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
};
name = "${p_name}-${ver_maj}.${ver_min}";
patches = [ ./mousepad-12134.patch ];
buildInputs =
[ pkgconfig intltool libxfce4util
gtk gtksourceview dbus dbus_glib makeWrapper

View File

@ -1,16 +1,25 @@
--- ./scripts/xflock4.orig 2017-08-06 23:05:53.807688995 +0100
+++ ./scripts/xflock4 2017-08-06 23:09:06.171789989 +0100
@@ -24,10 +24,11 @@
@@ -24,12 +24,19 @
PATH=/bin:/usr/bin
export PATH
-# Lock by xscreensaver or gnome-screensaver, if a respective daemon is running
+# Lock by xscreensaver, gnome-screensaver or light-locker, if a respective daemon is running
+# First test for the command set in the session's xfconf channel
+LOCK_CMD=$(xfconf-query -c xfce4-session -p /general/LockCommand)
+
+# Lock by xscreensaver, gnome-screensaver, or light-locker, if a respective daemon is running
for lock_cmd in \
+ "$LOCK_CMD" \
"xscreensaver-command -lock" \
- "gnome-screensaver-command --lock"
+ "gnome-screensaver-command --lock" \
+ "light-locker-command -l"
do
$lock_cmd >/dev/null 2>&1 && exit
- $lock_cmd >/dev/null 2>&1 && exit
+ if [ ! -z "$lock_cmd" ]; then
+ $lock_cmd >/dev/null 2>&1 && exit
+ fi
done
# else run another access locking utility, if installed

View File

@ -58,17 +58,14 @@ xfce_self = rec { # the lines are very long but it seems better than the even-od
parole = callPackage ./applications/parole.nix { };
ristretto = callPackage ./applications/ristretto.nix { };
terminal = xfce4terminal; # it has changed its name
xfce4mixer = callPackage ./applications/xfce4-mixer.nix {
pulseaudioSupport = config.pulseaudio or false;
};
xfce4mixer = callPackage ./applications/xfce4-mixer.nix { };
xfce4mixer_pulse = callPackage ./applications/xfce4-mixer.nix { pulseaudioSupport = true; };
xfce4notifyd = callPackage ./applications/xfce4-notifyd.nix { };
xfce4taskmanager= callPackage ./applications/xfce4-taskmanager.nix { };
xfce4terminal = callPackage ./applications/terminal.nix { };
xfce4-screenshooter = callPackage ./applications/xfce4-screenshooter.nix { };
xfce4volumed = let
gst = callPackage ./applications/xfce4-volumed.nix { };
pulse = callPackage ./applications/xfce4-volumed-pulse.nix { };
in if config.pulseaudio or false then pulse else gst;
xfce4volumed = callPackage ./applications/xfce4-volumed.nix { };
xfce4volumed_pulse = callPackage ./applications/xfce4-volumed-pulse.nix { };
#### ART from "mirror://xfce/src/art/${p_name}/${ver_maj}/${name}.tar.bz2"

View File

@ -1,119 +0,0 @@
{ stdenv, lib, fetchurl, bootPkgs, perl, ncurses, libiconv, targetPackages, coreutils
, autoconf, automake, happy, alex, python3, sphinx, hscolour
, buildPlatform, targetPlatform , selfPkgs, cross ? null
# If enabled GHC will be build with the GPL-free but slower integer-simple
# library instead of the faster but GPLed integer-gmp library.
, enableIntegerSimple ? false, gmp
}:
let
inherit (bootPkgs) ghc;
version = "8.2.1";
commonBuildInputs = [ alex autoconf automake ghc happy hscolour perl python3 sphinx ];
commonPreConfigure = ''
sed -i -e 's|-isysroot /Developer/SDKs/MacOSX10.5.sdk||' configure
'' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
export NIX_LDFLAGS="$NIX_LDFLAGS -rpath $out/lib/ghc-${version}"
'' + stdenv.lib.optionalString stdenv.isDarwin ''
export NIX_LDFLAGS+=" -no_dtrace_dof"
'' + stdenv.lib.optionalString enableIntegerSimple ''
echo "INTEGER_LIBRARY=integer-simple" > mk/build.mk
'';
in stdenv.mkDerivation (rec {
inherit version;
name = "ghc-${version}";
src = fetchurl {
url = "https://downloads.haskell.org/~ghc/${version}/${name}-src.tar.xz";
sha256 = "1w4k0n23b9fg8kmarqhfamzpmf91p6jcdr6xlwzfmb4df2bd9hng";
};
postPatch = "patchShebangs .";
patches = [ ./ghc-gold-linker.patch ];
preConfigure = commonPreConfigure;
buildInputs = commonBuildInputs;
enableParallelBuilding = true;
configureFlags = [
"CC=${stdenv.cc}/bin/cc"
"--with-curses-includes=${ncurses.dev}/include" "--with-curses-libraries=${ncurses.out}/lib"
"--datadir=$doc/share/doc/ghc"
] ++ stdenv.lib.optional (! enableIntegerSimple) [
"--with-gmp-includes=${gmp.dev}/include" "--with-gmp-libraries=${gmp.out}/lib"
] ++ stdenv.lib.optional stdenv.isDarwin [
"--with-iconv-includes=${libiconv}/include" "--with-iconv-libraries=${libiconv}/lib"
];
# required, because otherwise all symbols from HSffi.o are stripped, and
# that in turn causes GHCi to abort
stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!stdenv.isDarwin) "--keep-file-symbols";
checkTarget = "test";
postInstall = ''
paxmark m $out/lib/${name}/bin/{ghc,haddock}
# Install the bash completion file.
install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/ghc
# Patch scripts to include "readelf" and "cat" in $PATH.
for i in "$out/bin/"*; do
test ! -h $i || continue
egrep --quiet '^#!' <(head -n 1 $i) || continue
sed -i -e '2i export PATH="$PATH:${stdenv.lib.makeBinPath [ targetPackages.stdenv.cc.bintools coreutils ]}"' $i
done
'';
outputs = [ "out" "doc" ];
passthru = {
inherit bootPkgs;
} // stdenv.lib.optionalAttrs (targetPlatform != buildPlatform) {
crossCompiler = selfPkgs.ghc.override {
cross = targetPlatform;
bootPkgs = selfPkgs;
};
};
meta = {
homepage = http://haskell.org/ghc;
description = "The Glasgow Haskell Compiler";
maintainers = with stdenv.lib.maintainers; [ marcweber andres peti ];
inherit (ghc.meta) license platforms;
};
} // stdenv.lib.optionalAttrs (cross != null) {
name = "${cross.config}-ghc-${version}";
preConfigure = commonPreConfigure + ''
sed 's|#BuildFlavour = quick-cross|BuildFlavour = perf-cross|' mk/build.mk.sample > mk/build.mk
'';
configureFlags = [
"CC=${stdenv.ccCross}/bin/${cross.config}-cc"
"LD=${targetPackages.stdenv.cc.bintools}/bin/${cross.config}-ld"
"AR=${targetPackages.stdenv.cc.bintools}/bin/${cross.config}-ar"
"NM=${targetPackages.stdenv.cc.bintools}/bin/${cross.config}-nm"
"RANLIB=${targetPackages.stdenv.cc.bintools}/bin/${cross.config}-ranlib"
"--target=${cross.config}"
"--enable-bootstrap-with-devel-snapshot"
] ++
# fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/
lib.optional (cross.config or null == "aarch64-apple-darwin14") "--disable-large-address-space";
buildInputs = commonBuildInputs ++ [ stdenv.ccCross stdenv.targetPackages.stdenv.cc.bintools ];
dontSetConfigureCross = true;
passthru = {
inherit bootPkgs cross;
cc = "${stdenv.ccCross}/bin/${cross.config}-cc";
ld = "${stdenv.targetPackages.stdenv.cc.bintools}/bin/${cross.config}-ld";
};
})

View File

@ -1,35 +1,40 @@
{ stdenv, fetchurl, gcc, makeWrapper
, db, gmp, ncurses }:
let version = {
maj = "2.0";
min = "rc-2";
};
let
version = "2.2";
lib = stdenv.lib;
in
stdenv.mkDerivation rec {
name = "gnu-cobol-${version.maj}${version.min}";
name = "gnu-cobol-${version}";
inherit version;
src = fetchurl {
url = "https://sourceforge.com/projects/open-cobol/files/gnu-cobol/${version.maj}/gnu-cobol-${version.maj}_${version.min}.tar.gz";
sha256 = "1pj7mjnp3l76zvzrh1xa6d4kw3jkvzqh39sbf02kiinq4y65s7zj";
url = "https://sourceforge.com/projects/open-cobol/files/gnu-cobol/${version}/gnucobol-${version}.tar.gz";
sha256 = "1jrjmdx0swssjh388pp08awhiisbrs2i7gx4lcm4p1k5rpg3hn4j";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ db gmp ncurses ];
cflags = stdenv.lib.concatMapStringsSep " " (p: "-L" + (lib.getLib p) + "/lib ") buildInputs;
ldflags = stdenv.lib.concatMapStringsSep " " (p: "-I" + (lib.getDev p) + "/include ") buildInputs;
cobolCCFlags = "-I$out/include ${ldflags} -L$out/lib ${cflags}";
postInstall = with stdenv.lib; ''
wrapProgram "$out/bin/cobc" \
--prefix PATH ':' "${gcc}/bin" \
--prefix NIX_LDFLAGS ' ' "'$NIX_LDFLAGS'" \
--prefix NIX_CFLAGS_COMPILE ' ' "'$NIX_CFLAGS_COMPILE'"
--set COB_CC "${gcc}/bin/gcc" \
--prefix COB_LDFLAGS " " "${cobolCCFlags}" \
--prefix COB_CFLAGS " " "${cobolCCFlags}"
'';
meta = with stdenv.lib; {
description = "An open-source COBOL compiler";
homepage = https://sourceforge.net/projects/open-cobol/;
license = licenses.gpl3;
maintainers = with maintainers; [ ericsagnes ];
maintainers = with maintainers; [ ericsagnes the-kenny ];
platforms = platforms.linux;
};
}

View File

@ -1,56 +1,31 @@
{ stdenv, fetchurl, fetchpatch, boehmgc, zlib, sqlite, pcre, cmake, pkgconfig
, git, apacheHttpd, apr, aprutil, mariadb, mbedtls, openssl, pkgs, gtk2
{ stdenv, fetchurl, boehmgc, zlib, sqlite, pcre, cmake, pkgconfig
, git, apacheHttpd, apr, aprutil, mariadb, mbedtls, openssl, pkgs, gtk2, libpthreadstubs
}:
stdenv.mkDerivation rec {
name = "neko-${version}";
version = "2.1.0";
version = "2.2.0";
src = fetchurl {
url = "http://nekovm.org/media/neko-${version}-src.tar.gz";
sha256 = "15ng9ad0jspnhj38csli1pvsv3nxm75f0nlps7i10194jvzdb4qc";
sha256 = "1qv47zaa0vzhjlq5wb71627n7dbsxpc1gqpg0hsngjxnbnh1q46g";
};
# Patches backported with reference to https://github.com/HaxeFoundation/neko/issues/131
# They can probably be removed when bumping to next version
patches = [
(fetchpatch {
url = "https://github.com/HaxeFoundation/neko/commit/"
+ "a8c71ad97faaccff6c6e9e09eba2d5efd022f8dc.patch";
sha256 = "0mnx15cdjs8mnl01mhc9z2gpzh4d1q0ygqnjackrqxz6x235ydyp";
})
(fetchpatch {
url = "https://github.com/HaxeFoundation/neko/commit/"
+ "fe87462d9c7a6ee27e28f5be5e4fc0ac87b34574.patch";
sha256 = "1jbmq6j32vg3qv20dbh82cp54886lgrh7gkcqins8a2y4l4dl3sc";
})
# https://github.com/HaxeFoundation/neko/pull/165
(fetchpatch {
url = "https://github.com/HaxeFoundation/neko/commit/"
+ "c6d9c6d796200990b3b6a53a4dc716c9192398e6.patch";
sha256 = "1pq0qhhb9gbhc3zbgylwp0amhwsz0q0ggpj6v2xgv0hfy7d63rcd";
})
# Glibc 2.26 no longer has xlocale.h, patch backported from upstream commit
# e286c8f3301fa443255a3101d14b7392467051b8.
./xlocale-fix.patch
];
nativeBuildInputs = [ cmake pkgconfig git ];
buildInputs =
[ boehmgc zlib sqlite pcre cmake pkgconfig git apacheHttpd apr aprutil
mariadb.client mbedtls openssl ]
[ boehmgc zlib sqlite pcre apacheHttpd apr aprutil
mariadb.client mbedtls openssl libpthreadstubs ]
++ stdenv.lib.optional stdenv.isLinux gtk2
++ stdenv.lib.optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.Security
pkgs.darwin.apple_sdk.frameworks.Carbon];
cmakeFlags = [ "-DRUN_LDCONFIG=OFF" ];
prePatch = ''
sed -i -e '/allocated = strdup/s|"[^"]*"|"'"$out/lib/neko:$out/bin"'"|' vm/load.c
'';
checkPhase = ''
installCheckPhase = ''
bin/neko bin/test.n
'';
doCheck = true;
doInstallCheck = true;
dontPatchELF = true;
dontStrip = true;
meta = with stdenv.lib; {

View File

@ -1,59 +0,0 @@
commit 31d3ac3d691b2a1b07991e67302fd52b0f409cac
Author: Andy Li <andy@onthewings.net>
Date: Thu Jul 13 13:23:33 2017 +0800
include xlocale.h only if it is available since it is removed in recent glibc
see: https://bugzilla.redhat.com/show_bug.cgi?id=1464244
(Backported from e286c8f3301fa443255a3101d14b7392467051b8)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8de1702..d64cab9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 2.8.7)
+include(CheckIncludeFile)
project(neko C)
set(CMAKE_OSX_ARCHITECTURES x86_64)
@@ -48,6 +49,8 @@ set(NEKO_VERSION_MAJOR 2)
set(NEKO_VERSION_MINOR 1)
set(NEKO_VERSION_PATCH 0)
+check_include_file(xlocale.h HAVE_XLOCALE_H)
+
configure_file (
"${CMAKE_SOURCE_DIR}/vm/neko.h.in"
"${CMAKE_BINARY_DIR}/neko.h"
diff --git a/libs/std/sys.c b/libs/std/sys.c
index 8003d41..ae0cfee 100644
--- a/libs/std/sys.c
+++ b/libs/std/sys.c
@@ -41,7 +41,11 @@
# include <sys/time.h>
# include <sys/times.h>
# include <sys/wait.h>
+#ifdef HAVE_XLOCALE_H
# include <xlocale.h>
+#else
+# include <locale.h>
+#endif
#endif
#ifdef NEKO_MAC
diff --git a/vm/neko.h.in b/vm/neko.h.in
index bb9ec1b..147ecce 100644
--- a/vm/neko.h.in
+++ b/vm/neko.h.in
@@ -88,6 +88,8 @@
# include <stdint.h>
#endif
+#cmakedefine HAVE_XLOCALE_H
+
#define NEKO_VERSION_MAJOR @NEKO_VERSION_MAJOR@
#define NEKO_VERSION_MINOR @NEKO_VERSION_MINOR@
#define NEKO_VERSION_PATCH @NEKO_VERSION_PATCH@

View File

@ -29,12 +29,6 @@ let
in rec {
vala_0_23 = generic {
major = "0.23";
minor = "2";
sha256 = "0g22ss9qbm3fqhx4fxhsyfmdc5g1hgdw4dz9d37f4489kl0qf8pl";
};
vala_0_26 = generic {
major = "0.26";
minor = "2";

File diff suppressed because it is too large Load Diff

View File

@ -3,15 +3,15 @@
let param =
{
"8.6" = {
version = "1.0-beta";
rev = "v1.0-beta";
sha256 = "00pzlh5ij7s2hmpvimq1hjq3fjf0nrk997l3dl51kigx5r5dnvxd";
version = "1.0";
rev = "v1.0";
sha256 = "19ylw9v9g35607w4hm86j7mmkghh07hmkc1ls5bqlz3dizh5q4pj";
};
"8.7" = {
version = "cdf8c53";
rev = "cdf8c53f1f2274b29506f53bff476409ce717dc5";
sha256 = "0ipjzmviwnp0ippbkn03ld4j4j0dkzmyidmj4dvpdvymrkv31ai1";
version = "1.0";
rev = "v1.0-8.7";
sha256 = "1bavg4zl1xn0jqrdq8iw7xqzdvdf39ligj9saz5m9c507zri952h";
};
}."${coq.coq-version}"

View File

@ -220,6 +220,7 @@ go.stdenv.mkDerivation (
meta = {
# Add default meta information
homepage = "https://${goPackagePath}";
platforms = go.meta.platforms or lib.platforms.all;
} // meta // {
# add an extra maintainer to every package

View File

@ -15,13 +15,6 @@ with haskellLib;
self: super: {
attoparsec-time_1 = super.attoparsec-time_1.override {
doctest = super.doctest_0_13_0;
};
attoparsec-data = super.attoparsec-data.override {
attoparsec-time = self.attoparsec-time_1;
};
# This used to be a core package provided by GHC, but then the compiler
# dropped it. We define the name here to make sure that old packages which
# depend on this library still evaluate (even though they won't compile
@ -39,9 +32,8 @@ self: super: {
# compiled on Linux. We provide the name to avoid evaluation errors.
unbuildable = throw "package depends on meta package 'unbuildable'";
# cabal-install needs Cabal 2.x. hackage-security's test suite does not compile with
# Cabal 2.x, though. See https://github.com/haskell/hackage-security/issues/188.
cabal-install = super.cabal-install.overrideScope (self: super: { Cabal = self.Cabal_2_0_1_1; });
# hackage-security's test suite does not compile with Cabal 2.x.
# See https://github.com/haskell/hackage-security/issues/188.
hackage-security = dontCheck super.hackage-security;
# Link statically to avoid runtime dependency on GHC.
@ -64,6 +56,7 @@ self: super: {
nanospec = dontCheck super.nanospec;
options = dontCheck super.options;
statistics = dontCheck super.statistics;
vector-builder = dontCheck super.vector-builder;
# https://github.com/gilith/hol/pull/1
hol = appendPatch (doJailbreak super.hol) (pkgs.fetchpatch {
@ -88,9 +81,7 @@ self: super: {
# The Hackage tarball is purposefully broken, because it's not intended to be, like, useful.
# https://git-annex.branchable.com/bugs/bash_completion_file_is_missing_in_the_6.20160527_tarball_on_hackage/
git-annex = (overrideCabal (super.git-annex.overrideScope (self: super: {
optparse-applicative = self.optparse-applicative_0_14_0_0;
})) (drv: {
git-annex = (overrideCabal super.git-annex (drv: {
src = pkgs.fetchgit {
name = "git-annex-${drv.version}-src";
url = "git://git-annex.branchable.com/";
@ -152,8 +143,6 @@ self: super: {
extraLibraries = [ pkgs.openblasCompat ];
});
LambdaHack = super.LambdaHack.override { sdl2-ttf = super.sdl2-ttf_2_0_2; };
# The Haddock phase fails for one reason or another.
acme-one = dontHaddock super.acme-one;
attoparsec-conduit = dontHaddock super.attoparsec-conduit;
@ -453,11 +442,6 @@ self: super: {
# https://github.com/basvandijk/threads/issues/10
threads = dontCheck super.threads;
# https://github.com/NixOS/nixpkgs/issues/32138
purescript = super.purescript.override {
optparse-applicative = self.optparse-applicative_0_14_0_0;
};
# Missing module.
rematch = dontCheck super.rematch; # https://github.com/tcrayford/rematch/issues/5
rematch-text = dontCheck super.rematch-text; # https://github.com/tcrayford/rematch/issues/6
@ -504,26 +488,6 @@ self: super: {
# https://github.com/junjihashimoto/test-sandbox-compose/issues/2
test-sandbox-compose = dontCheck super.test-sandbox-compose;
# Relax overspecified constraints. Unfortunately, jailbreak won't work.
pandoc = overrideCabal super.pandoc (drv: {
preConfigure = "sed -i -e 's,time .* < 1.6,time >= 1.5,' -e 's,haddock-library >= 1.1 && < 1.3,haddock-library >= 1.1,' pandoc.cabal";
});
# pandoc 2 dependency resolution
hslua_0_9_3 = super.hslua_0_9_3.override { lua5_1 = pkgs.lua5_3; };
hslua-module-text = super.hslua-module-text.override { hslua = self.hslua_0_9_3; };
texmath_0_10 = super.texmath_0_10.override { pandoc-types = self.pandoc-types_1_17_3; };
pandoc_2_0_5 = super.pandoc_2_0_5.override {
doctemplates = self.doctemplates_0_2_1;
pandoc-types = self.pandoc-types_1_17_3;
skylighting = self.skylighting_0_4_4_1;
texmath = self.texmath_0_10;
};
pandoc-citeproc_0_12_1 = super.pandoc-citeproc_0_12_1.override {
pandoc = self.pandoc_2_0_5;
pandoc-types = self.pandoc-types_1_17_3;
};
# https://github.com/tych0/xcffib/issues/37
xcffib = dontCheck super.xcffib;
@ -677,9 +641,7 @@ self: super: {
mkdir -p $data/share/emacs
ln -s $lispdir $data/share/emacs/site-lisp
'';
})).override {
haskell-src-exts = self.haskell-src-exts_1_19_1;
};
}));
# Make elisp files available at a location where people expect it.
hindent = (overrideCabal super.hindent (drv: {
@ -691,9 +653,7 @@ self: super: {
ln -s $lispdir $data/share/emacs/site-lisp
'';
doCheck = false; # https://github.com/chrisdone/hindent/issues/299
})).override {
haskell-src-exts = self.haskell-src-exts_1_19_1;
};
}));
# https://github.com/bos/configurator/issues/22
configurator = dontCheck super.configurator;
@ -914,9 +874,6 @@ self: super: {
# https://github.com/danidiaz/tailfile-hinotify/issues/2
tailfile-hinotify = dontCheck super.tailfile-hinotify;
# build liquidhaskell with the proper (new) aeson version
liquidhaskell = super.liquidhaskell.override { aeson = dontCheck self.aeson_1_2_3_0; };
# Test suite fails: https://github.com/lymar/hastache/issues/46.
# Don't install internal mkReadme tool.
hastache = overrideCabal super.hastache (drv: {
@ -945,9 +902,6 @@ self: super: {
# missing dependencies: doctest ==0.12.*
html-entities = doJailbreak super.html-entities;
# Needs a version that's newer than what we have in lts-9.
sbv = super.sbv.override { doctest = self.doctest_0_13_0; };
# https://github.com/takano-akio/filelock/issues/5
filelock = dontCheck super.filelock;
@ -967,29 +921,13 @@ self: super: {
# https://github.com/graknlabs/grakn-haskell/pull/1
grakn = dontCheck (doJailbreak super.grakn);
# cryptonite == 0.24.x, protolude == 0.2.x
wai-secure-cookies = super.wai-secure-cookies.override {
cryptonite = super.cryptonite_0_24;
protolude = super.protolude_0_2;
};
# test suite requires git and does a bunch of git operations
restless-git = dontCheck super.restless-git;
# This tool needs the latest hackage-db version. Using the latest version of
# optparse-applicative allows us to generate completions for fish and zsh.
cabal2nix = super.cabal2nix.overrideScope (self: super: {
hackage-db = self.hackage-db_2_0;
optparse-applicative = self.optparse-applicative_0_14_0_0;
});
# Depends on broken fluid.
fluid-idl-http-client = markBroken super.fluid-idl-http-client;
fluid-idl-scotty = markBroken super.fluid-idl-scotty;
# depends on amqp >= 0.17
amqp-utils = super.amqp-utils.override { amqp = dontCheck super.amqp_0_18_1; };
# Build with gi overloading feature disabled.
ltk = super.ltk.overrideScope (self: super: { haskell-gi-overloading = self.haskell-gi-overloading_0_0; });
@ -1014,23 +952,49 @@ self: super: {
testToolDepends = drv.testToolDepends or [] ++ [pkgs.procps];
});
# Newer hpack's needs newer HUnit, but we cannot easily override the version
# used in the build, so we take the easy way out and disable the test suite.
hpack_0_20_0 = dontCheck super.hpack_0_20_0;
hpack_0_21_2 = dontCheck super.hpack_0_21_2;
# https://github.com/fpco/stackage/issues/3126
stack = doJailbreak super.stack;
# Stack 1.6.1 needs newer versions than LTS-9 provides.
stack = super.stack.overrideScope (self: super: {
ansi-terminal = self.ansi-terminal_0_7_1_1;
ansi-wl-pprint = self.ansi-wl-pprint_0_6_8_1;
extra = dontCheck super.extra_1_6_2;
hpack = super.hpack_0_20_0;
path = dontCheck super.path_0_6_1;
path-io = self.path-io_1_3_3;
unliftio = self.unliftio_0_2_0_0;
});
# Hoogle needs a newer version than lts-9 provides.
# Hoogle needs a newer version than lts-10 provides.
hoogle = super.hoogle.override { haskell-src-exts = self.haskell-src-exts_1_20_1; };
# These packages depend on each other, forming an infinte loop.
scalendar = markBroken super.scalendar;
SCalendar = markBroken super.SCalendar;
# Needs QuickCheck <2.10, which we don't have.
edit-distance = doJailbreak super.edit-distance;
blaze-markup = doJailbreak super.blaze-markup;
blaze-html = doJailbreak super.blaze-html;
attoparsec = dontCheck super.attoparsec; # 1 out of 67 tests fails
int-cast = doJailbreak super.int-cast;
nix-derivation = doJailbreak super.nix-derivation;
graphviz = doJailbreak super.graphviz;
# Needs QuickCheck <2.10, HUnit <1.6 and base <4.10
pointfree = doJailbreak super.pointfree;
# Needs time<1.7
taffybar = doJailbreak super.taffybar;
# Needs tasty-quickcheck ==0.8.*, which we don't have.
cryptohash-sha256 = doJailbreak super.cryptohash-sha256;
cryptohash-sha1 = doJailbreak super.cryptohash-sha1;
cryptohash-md5 = doJailbreak super.cryptohash-md5;
text-short = doJailbreak super.text-short;
# https://github.com/aisamanra/config-ini/issues/12
config-ini = dontCheck super.config-ini;
# doctest >=0.9 && <0.12
genvalidity-property = doJailbreak super.genvalidity-property;
path = dontCheck super.path;
# Duplicate instance with smallcheck.
store = dontCheck super.store;
# With ghc-8.2.x haddock would time out for unknown reason
# See https://github.com/haskell/haddock/issues/679
language-puppet = dontHaddock super.language-puppet;
}

View File

@ -71,11 +71,4 @@ self: super: {
# https://github.com/aristidb/aws/issues/238
aws = doJailbreak super.aws;
# LTS-9 versions do not compile.
path = dontCheck super.path;
path-io = super.path-io_1_3_3;
trifecta = super.trifecta_1_7_1_1;
aeson-compat = dontCheck super.aeson-compat_0_3_7_1; # test suite needs QuickCheck 2.10.*
binary-orphans = dontCheck super.binary-orphans_0_1_8_0; # test suite needs QuickCheck 2.10.*
}

File diff suppressed because it is too large Load Diff

View File

@ -463,9 +463,6 @@ self: super: builtins.intersectAttrs super {
# This propagates this to everything depending on haskell-gi-base
haskell-gi-base = addBuildDepend super.haskell-gi-base pkgs.gobjectIntrospection;
# Requires gi-javascriptcore API version 4
gi-webkit2 = super.gi-webkit2.override { gi-javascriptcore = self.gi-javascriptcore_4_0_14; };
# requires valid, writeable $HOME
hatex-guide = overrideCabal super.hatex-guide (drv: {
preConfigure = ''
@ -501,9 +498,6 @@ self: super: builtins.intersectAttrs super {
# Without this override, the builds lacks pkg-config.
opencv-extra = addPkgconfigDepend super.opencv-extra (pkgs.opencv3.override { enableContrib = true; });
# Written against the 6.X series of megaparsec
htoml-megaparsec = super.htoml-megaparsec.override { megaparsec = self.megaparsec_6_2_0; };
# Break cyclic reference that results in an infinite recursion.
partial-semigroup = dontCheck super.partial-semigroup;
colour = dontCheck super.colour;

View File

@ -362,7 +362,8 @@ stdenv.mkDerivation ({
env = stdenv.mkDerivation {
name = "interactive-${pname}-${version}-environment";
nativeBuildInputs = [ ghcEnv systemBuildInputs ];
buildInputs = systemBuildInputs;
nativeBuildInputs = [ ghcEnv ];
LANG = "en_US.UTF-8";
LOCALE_ARCHIVE = optionalString stdenv.isLinux "${glibcLocales}/lib/locale/locale-archive";
shellHook = ''

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
{ mkDerivation }:
mkDerivation rec {
version = "1.5.2";
sha256 = "0ng7z2gz1c8lkn07fric18b3awcw886s9xb864kmnn2iah5gc65j";
version = "1.5.3";
sha256 = "00kgqcn9g6vflc551wniz9pwv7pszyf8v6smpkqs50j3kbliihy5";
minimumOTPVersion = "18";
}

View File

@ -1,8 +1,8 @@
{ mkDerivation, fetchurl }:
mkDerivation rec {
version = "20.1.7";
sha256 = "0sbxl10d76bm7awxb9s07l9815jiwfg78bps07xj2ircxdr08pls";
version = "20.2.2";
sha256 = "1cns1qcmmr00nyvcvcj4p4n2gvliyjynlwfqc7qzpkjjnkb7fzl6";
prePatch = ''
substituteInPlace configure.in --replace '`sw_vers -productVersion`' '10.10'

View File

@ -5,7 +5,7 @@
, glib, dbus_glib, gtkVersion
, gtk2 ? null, libindicator-gtk2 ? null, libdbusmenu-gtk2 ? null
, gtk3 ? null, libindicator-gtk3 ? null, libdbusmenu-gtk3 ? null
, python2Packages, gobjectIntrospection, vala_0_23
, python2Packages, gobjectIntrospection, vala
, monoSupport ? false, mono ? null, gtk-sharp-2_0 ? null
}:
@ -34,7 +34,7 @@ in stdenv.mkDerivation rec {
buildInputs = [
glib dbus_glib
python pygobject2 pygtk gobjectIntrospection vala_0_23
python pygobject2 pygtk gobjectIntrospection vala
] ++ (if gtkVersion == "2"
then [ libindicator-gtk2 ] ++ optionals monoSupport [ mono gtk-sharp-2_0 ]
else [ libindicator-gtk3 ]);

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