way-cooler: Remove

As of 2020-01-09, way-cooler is officially dead:

    http://way-cooler.org/blog/2020/01/09/way-cooler-post-mortem.html

hence, remove the package and the module.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>

docs/release-notes: remove way-cooler

way-cooler: show warnings about removal

Apply suggestions from code review

Co-Authored-By: worldofpeace <worldofpeace@protonmail.ch>

way-cooler: add suggestion by @Infinisil
This commit is contained in:
Matthias Beyer 2020-01-13 15:59:11 +01:00 committed by gnidorah
parent 100012e55b
commit 29bb16a9cd
14 changed files with 13 additions and 7235 deletions

View file

@ -168,6 +168,12 @@ services.xserver.displayManager.defaultSession = "xfce+icewm";
SDDM, GDM, or using the startx module which uses Xinitrc.
</para>
</listitem>
<listitem>
<para>
The Way Cooler wayland compositor has been removed, as the project has been officially canceled.
There are no more <literal>way-cooler</literal> attribute and <literal>programs.way-cooler</literal> options.
</para>
</listitem>
<listitem>
<para>
The BEAM package set has been deleted. You will only find there the different interpreters.

View file

@ -43,11 +43,11 @@ in
description = ''
Whether to enable OpenGL drivers. This is needed to enable
OpenGL support in X11 systems, as well as for Wayland compositors
like sway, way-cooler and Weston. It is enabled by default
like sway and Weston. It is enabled by default
by the corresponding modules, so you do not usually have to
set it yourself, only if there is no module for your wayland
compositor of choice. See services.xserver.enable,
programs.sway.enable, and programs.way-cooler.enable.
compositor of choice. See services.xserver.enable and
programs.sway.enable.
'';
type = types.bool;
default = false;

View file

@ -158,7 +158,6 @@
./programs/venus.nix
./programs/vim.nix
./programs/wavemon.nix
./programs/way-cooler.nix
./programs/waybar.nix
./programs/wireshark.nix
./programs/x2goserver.nix

View file

@ -1,78 +0,0 @@
{ 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}/bin/dbus-run-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

@ -27,6 +27,8 @@ with lib;
(mkRemovedOptionModule [ "services.osquery" ] "The osquery module has been removed")
(mkRemovedOptionModule [ "services.fourStore" ] "The fourStore module has been removed")
(mkRemovedOptionModule [ "services.fourStoreEndpoint" ] "The fourStoreEndpoint module has been removed")
(mkRemovedOptionModule [ "programs" "way-cooler" ] ("way-cooler is abandoned by its author: " +
"https://way-cooler.org/blog/2020/01/09/way-cooler-post-mortem.html"))
# Do NOT add any option renames here, see top of the file
];

View file

@ -1,37 +0,0 @@
--- 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(" ", " ") + " "

File diff suppressed because it is too large Load diff

View file

@ -1,113 +0,0 @@
{ stdenv, fetchurl, makeWrapper, symlinkJoin, writeShellScriptBin, callPackage, defaultCrateOverrides
, wayland, cairo, libxkbcommon, pam, python3Packages, lemonbar, gdk-pixbuf
}:
let
wlc = callPackage ./wlc.nix {};
# refer to
# https://github.com/way-cooler/way-cooler.github.io/blob/master/way-cooler-release-i3-default.sh
# for version numbers
cratesIO = callPackage ./crates-io.nix {};
fakegit = writeShellScriptBin "git" ''
echo ""
'';
# https://nest.pijul.com/pmeunier/carnix/discussions/22
version = "0.8.1";
deps = (callPackage ./way-cooler.nix {}).deps;
way_cooler_ = f: cratesIO.crates.way_cooler.${version} deps {
features = cratesIO.features_.way_cooler.${version} deps {
way_cooler.${version} = f;
};
};
way-cooler = ((way_cooler_ { builtin-lua = true; }).override {
crateOverrides = defaultCrateOverrides // {
way-cooler = attrs: { buildInputs = [ wlc cairo libxkbcommon fakegit gdk-pixbuf wayland ]; };
};}).overrideAttrs (oldAttrs: {
postBuild = ''
mkdir -p $out/etc
cp -r config $out/etc/way-cooler
'';
});
wc-bg = ((callPackage ./wc-bg.nix {}).wc_bg {}).overrideAttrs (oldAttrs: {
nativeBuildInputs = [ makeWrapper ];
postFixup = ''
makeWrapper $out/bin/wc-bg $out/bin/wc-bg \
--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ wayland ]}"
'';
});
wc-grab = (callPackage ./wc-grab.nix {}).wc_grab {};
wc-lock = (((callPackage ./wc-lock.nix {}).wc_lock {}).override {
crateOverrides = defaultCrateOverrides // {
wc-lock = attrs: { buildInputs = [ pam ]; };
};}).overrideAttrs (oldAttrs: {
nativeBuildInputs = [ makeWrapper ];
postFixup = ''
makeWrapper $out/bin/wc-lock $out/bin/wc-lock \
--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ libxkbcommon wayland ]}"
'';
});
# 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
'';
};
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 {
inherit version;
name = "way-cooler-with-extensions-${version}";
paths = [ way-cooler wc-bg wc-grab wc-lock wc-bar ];
meta = with stdenv.lib; {
description = "Customizable Wayland compositor (window manager)";
longDescription = ''
Way Cooler is a customizable tiling window manager written in Rust
for Wayland and configurable using Lua. It is heavily inspired by
the tiling and extensibility of both i3 and awesome. While Lua is
used for the configuration, like awesome, extensions for Way Cooler
are implemented as totally separate client programs using D-Bus.
This means that you can use virtually any language to extend the
window manager, with much better guarantees about interoperability
between extensions.
'';
homepage = http://way-cooler.org/;
license = with licenses; [ mit ];
maintainers = [ maintainers.miltador ];
platforms = platforms.all;
broken = true;
};
}

View file

@ -1,314 +0,0 @@
# Generated by carnix 0.9.2: carnix generate-nix
{ lib, buildPlatform, buildRustCrate, buildRustCrateHelpers, cratesIO, fetchgit }:
with buildRustCrateHelpers;
let inherit (lib.lists) fold;
inherit (lib.attrsets) recursiveUpdate;
in
let crates = cratesIO; in
rec {
way_cooler = crates.crates.way_cooler."0.8.1" deps;
__all = [ (way_cooler {}) ];
deps.aho_corasick."0.5.3" = {
memchr = "0.1.11";
};
deps.bitflags."0.4.0" = {};
deps.bitflags."0.6.0" = {};
deps.bitflags."0.7.0" = {};
deps.bitflags."0.9.1" = {};
deps.bitflags."1.0.4" = {};
deps.c_vec."1.2.1" = {};
deps.cairo_rs."0.2.0" = {
c_vec = "1.2.1";
cairo_sys_rs = "0.4.0";
glib = "0.3.1";
glib_sys = "0.4.0";
libc = "0.2.44";
winapi = "0.2.8";
};
deps.cairo_sys_rs."0.4.0" = {
libc = "0.2.44";
pkg_config = "0.3.14";
winapi = "0.2.8";
};
deps.cc."1.0.25" = {};
deps.cfg_if."0.1.6" = {};
deps.cloudabi."0.0.3" = {
bitflags = "1.0.4";
};
deps.dbus."0.4.1" = {
libc = "0.2.44";
pkg_config = "0.3.14";
};
deps.dbus_macros."0.0.6" = {
dbus = "0.4.1";
};
deps.dlib."0.3.1" = {
libloading = "0.3.4";
};
deps.dlib."0.4.1" = {
libloading = "0.5.0";
};
deps.dtoa."0.4.3" = {};
deps.dummy_rustwlc."0.7.1" = {
bitflags = "0.6.0";
libc = "0.2.44";
wayland_sys = "0.9.10";
};
deps.env_logger."0.3.5" = {
log = "0.3.9";
regex = "0.1.80";
};
deps.fixedbitset."0.1.9" = {};
deps.fuchsia_zircon."0.3.3" = {
bitflags = "1.0.4";
fuchsia_zircon_sys = "0.3.3";
};
deps.fuchsia_zircon_sys."0.3.3" = {};
deps.gcc."0.3.55" = {};
deps.gdk_pixbuf."0.2.0" = {
gdk_pixbuf_sys = "0.4.0";
glib = "0.3.1";
glib_sys = "0.4.0";
gobject_sys = "0.4.0";
libc = "0.2.44";
};
deps.gdk_pixbuf_sys."0.4.0" = {
bitflags = "0.9.1";
gio_sys = "0.4.0";
glib_sys = "0.4.0";
gobject_sys = "0.4.0";
libc = "0.2.44";
pkg_config = "0.3.14";
};
deps.getopts."0.2.18" = {
unicode_width = "0.1.5";
};
deps.gio_sys."0.4.0" = {
bitflags = "0.9.1";
glib_sys = "0.4.0";
gobject_sys = "0.4.0";
libc = "0.2.44";
pkg_config = "0.3.14";
};
deps.glib."0.3.1" = {
bitflags = "0.9.1";
glib_sys = "0.4.0";
gobject_sys = "0.4.0";
lazy_static = "0.2.11";
libc = "0.2.44";
};
deps.glib_sys."0.4.0" = {
bitflags = "0.9.1";
libc = "0.2.44";
pkg_config = "0.3.14";
};
deps.gobject_sys."0.4.0" = {
bitflags = "0.9.1";
glib_sys = "0.4.0";
libc = "0.2.44";
pkg_config = "0.3.14";
};
deps.itoa."0.3.4" = {};
deps.json_macro."0.1.1" = {
rustc_serialize = "0.3.24";
};
deps.kernel32_sys."0.2.2" = {
winapi = "0.2.8";
winapi_build = "0.1.1";
};
deps.lazy_static."0.2.11" = {};
deps.lazy_static."1.2.0" = {};
deps.libc."0.2.44" = {};
deps.libloading."0.3.4" = {
lazy_static = "0.2.11";
target_build_utils = "0.3.1";
kernel32_sys = "0.2.2";
winapi = "0.2.8";
};
deps.libloading."0.5.0" = {
cc = "1.0.25";
winapi = "0.3.6";
};
deps.log."0.3.9" = {
log = "0.4.6";
};
deps.log."0.4.6" = {
cfg_if = "0.1.6";
};
deps.memchr."0.1.11" = {
libc = "0.2.44";
};
deps.nix."0.6.0" = {
bitflags = "0.4.0";
cfg_if = "0.1.6";
libc = "0.2.44";
void = "1.0.2";
rustc_version = "0.1.7";
semver = "0.1.20";
};
deps.nix."0.9.0" = {
bitflags = "0.9.1";
cfg_if = "0.1.6";
libc = "0.2.44";
void = "1.0.2";
};
deps.num_traits."0.1.43" = {
num_traits = "0.2.6";
};
deps.num_traits."0.2.6" = {};
deps.ordermap."0.3.5" = {};
deps.petgraph."0.4.13" = {
fixedbitset = "0.1.9";
ordermap = "0.3.5";
};
deps.phf."0.7.23" = {
phf_shared = "0.7.23";
};
deps.phf_codegen."0.7.23" = {
phf_generator = "0.7.23";
phf_shared = "0.7.23";
};
deps.phf_generator."0.7.23" = {
phf_shared = "0.7.23";
rand = "0.5.5";
};
deps.phf_shared."0.7.23" = {
siphasher = "0.2.3";
};
deps.pkg_config."0.3.14" = {};
deps.rand."0.3.22" = {
libc = "0.2.44";
rand = "0.4.3";
fuchsia_zircon = "0.3.3";
};
deps.rand."0.4.3" = {
fuchsia_zircon = "0.3.3";
libc = "0.2.44";
winapi = "0.3.6";
};
deps.rand."0.5.5" = {
rand_core = "0.2.2";
cloudabi = "0.0.3";
fuchsia_zircon = "0.3.3";
libc = "0.2.44";
winapi = "0.3.6";
};
deps.rand_core."0.2.2" = {
rand_core = "0.3.0";
};
deps.rand_core."0.3.0" = {};
deps.regex."0.1.80" = {
aho_corasick = "0.5.3";
memchr = "0.1.11";
regex_syntax = "0.3.9";
thread_local = "0.2.7";
utf8_ranges = "0.1.3";
};
deps.regex_syntax."0.3.9" = {};
deps.rlua."0.9.7" = {
libc = "0.2.44";
gcc = "0.3.55";
};
deps.rustc_serialize."0.3.24" = {};
deps.rustc_version."0.1.7" = {
semver = "0.1.20";
};
deps.rustwlc."0.7.0" = {
bitflags = "0.7.0";
libc = "0.2.44";
wayland_sys = "0.6.0";
};
deps.semver."0.1.20" = {};
deps.serde."0.9.15" = {};
deps.serde_json."0.9.10" = {
dtoa = "0.4.3";
itoa = "0.3.4";
num_traits = "0.1.43";
serde = "0.9.15";
};
deps.siphasher."0.2.3" = {};
deps.target_build_utils."0.3.1" = {
phf = "0.7.23";
serde_json = "0.9.10";
phf_codegen = "0.7.23";
};
deps.thread_id."2.0.0" = {
kernel32_sys = "0.2.2";
libc = "0.2.44";
};
deps.thread_local."0.2.7" = {
thread_id = "2.0.0";
};
deps.token_store."0.1.2" = {};
deps.unicode_width."0.1.5" = {};
deps.utf8_ranges."0.1.3" = {};
deps.uuid."0.3.1" = {
rand = "0.3.22";
rustc_serialize = "0.3.24";
};
deps.void."1.0.2" = {};
deps.way_cooler."0.8.1" = {
bitflags = "0.7.0";
cairo_rs = "0.2.0";
cairo_sys_rs = "0.4.0";
dbus = "0.4.1";
dbus_macros = "0.0.6";
env_logger = "0.3.5";
gdk_pixbuf = "0.2.0";
getopts = "0.2.18";
glib = "0.3.1";
json_macro = "0.1.1";
lazy_static = "0.2.11";
log = "0.3.9";
nix = "0.6.0";
petgraph = "0.4.13";
rlua = "0.9.7";
rustc_serialize = "0.3.24";
rustwlc = "0.7.0";
uuid = "0.3.1";
wayland_server = "0.12.5";
wayland_sys = "0.12.5";
xcb = "0.8.2";
wayland_scanner = "0.12.5";
};
deps.wayland_scanner."0.12.5" = {
xml_rs = "0.7.0";
};
deps.wayland_server."0.12.5" = {
bitflags = "1.0.4";
libc = "0.2.44";
nix = "0.9.0";
token_store = "0.1.2";
wayland_sys = "0.12.5";
wayland_scanner = "0.12.5";
};
deps.wayland_sys."0.6.0" = {
dlib = "0.3.1";
libc = "0.2.44";
};
deps.wayland_sys."0.9.10" = {
dlib = "0.3.1";
lazy_static = "0.2.11";
libc = "0.2.44";
};
deps.wayland_sys."0.12.5" = {
dlib = "0.4.1";
lazy_static = "1.2.0";
libc = "0.2.44";
};
deps.winapi."0.2.8" = {};
deps.winapi."0.3.6" = {
winapi_i686_pc_windows_gnu = "0.4.0";
winapi_x86_64_pc_windows_gnu = "0.4.0";
};
deps.winapi_build."0.1.1" = {};
deps.winapi_i686_pc_windows_gnu."0.4.0" = {};
deps.winapi_x86_64_pc_windows_gnu."0.4.0" = {};
deps.xcb."0.8.2" = {
libc = "0.2.44";
log = "0.4.6";
};
deps.xml_rs."0.7.0" = {
bitflags = "1.0.4";
};
}

File diff suppressed because it is too large Load diff

View file

@ -1,794 +0,0 @@
# Generated by carnix 0.6.5: carnix -o wc-grab.nix Cargo.lock
{ lib, stdenv, buildRustCrate, fetchgit }:
let kernel = stdenv.hostPlatform.parsed.kernel.name;
updateFeatures = f: up: functions: builtins.deepSeq f (lib.lists.foldl' (features: fun: fun features) (lib.attrsets.recursiveUpdate f up) functions);
mapFeatures = features: map (fun: fun { features = features; });
mkFeatures = feat: lib.lists.foldl (features: featureName:
if feat.${featureName} or false then
[ featureName ] ++ features
else
features
) [] (builtins.attrNames feat);
in
rec {
wc_grab = f: wc_grab_0_3_0 { features = wc_grab_0_3_0_features { wc_grab_0_3_0 = f; }; };
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_3_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
crateName = "wc-grab";
version = "0.3.0";
authors = [ "Timidger <APragmaticPlace@gmail.com>" ];
sha256 = "02dkjxffzh38h3hiwfypkjv0g8dsfkp9wk20j04x4qydg4dr8a8h";
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;
};
adler32_1_0_0 = { features?(adler32_1_0_0_features {}) }: adler32_1_0_0_ {};
adler32_1_0_0_features = f: updateFeatures f ({
adler32_1_0_0.default = (f.adler32_1_0_0.default or true);
}) [];
ansi_term_0_9_0 = { features?(ansi_term_0_9_0_features {}) }: ansi_term_0_9_0_ {};
ansi_term_0_9_0_features = f: updateFeatures f ({
ansi_term_0_9_0.default = (f.ansi_term_0_9_0.default or true);
}) [];
atty_0_2_2 = { features?(atty_0_2_2_features {}) }: atty_0_2_2_ {
dependencies = (if !(kernel == "windows") then mapFeatures features ([ libc_0_2_21 ]) else [])
++ (if kernel == "windows" then mapFeatures features ([ kernel32_sys_0_2_2 winapi_0_2_8 ]) else []);
};
atty_0_2_2_features = f: updateFeatures f ({
atty_0_2_2.default = (f.atty_0_2_2.default or true);
kernel32_sys_0_2_2.default = true;
libc_0_2_21.default = true;
winapi_0_2_8.default = true;
}) [ libc_0_2_21_features kernel32_sys_0_2_2_features winapi_0_2_8_features ];
bitflags_0_7_0 = { features?(bitflags_0_7_0_features {}) }: bitflags_0_7_0_ {};
bitflags_0_7_0_features = f: updateFeatures f ({
bitflags_0_7_0.default = (f.bitflags_0_7_0.default or true);
}) [];
bitflags_0_8_0 = { features?(bitflags_0_8_0_features {}) }: bitflags_0_8_0_ {
features = mkFeatures (features.bitflags_0_8_0 or {});
};
bitflags_0_8_0_features = f: updateFeatures f (rec {
bitflags_0_8_0.default = (f.bitflags_0_8_0.default or true);
bitflags_0_8_0.i128 =
(f.bitflags_0_8_0.i128 or false) ||
(f.bitflags_0_8_0.unstable or false) ||
(bitflags_0_8_0.unstable or false);
}) [];
byteorder_1_0_0 = { features?(byteorder_1_0_0_features {}) }: byteorder_1_0_0_ {
features = mkFeatures (features.byteorder_1_0_0 or {});
};
byteorder_1_0_0_features = f: updateFeatures f (rec {
byteorder_1_0_0.default = (f.byteorder_1_0_0.default or true);
byteorder_1_0_0.std =
(f.byteorder_1_0_0.std or false) ||
(f.byteorder_1_0_0.default or false) ||
(byteorder_1_0_0.default or false);
}) [];
clap_2_22_0 = { features?(clap_2_22_0_features {}) }: clap_2_22_0_ {
dependencies = mapFeatures features ([ bitflags_0_8_0 unicode_segmentation_1_1_0 unicode_width_0_1_4 vec_map_0_7_0 ]
++ (if features.clap_2_22_0.ansi_term or false then [ ansi_term_0_9_0 ] else [])
++ (if features.clap_2_22_0.atty or false then [ atty_0_2_2 ] else [])
++ (if features.clap_2_22_0.strsim or false then [ strsim_0_6_0 ] else [])
++ (if features.clap_2_22_0.term_size or false then [ term_size_0_2_3 ] else []));
features = mkFeatures (features.clap_2_22_0 or {});
};
clap_2_22_0_features = f: updateFeatures f (rec {
ansi_term_0_9_0.default = true;
atty_0_2_2.default = true;
bitflags_0_8_0.default = true;
clap_2_22_0.ansi_term =
(f.clap_2_22_0.ansi_term or false) ||
(f.clap_2_22_0.color or false) ||
(clap_2_22_0.color or false);
clap_2_22_0.atty =
(f.clap_2_22_0.atty or false) ||
(f.clap_2_22_0.color or false) ||
(clap_2_22_0.color or false);
clap_2_22_0.clippy =
(f.clap_2_22_0.clippy or false) ||
(f.clap_2_22_0.lints or false) ||
(clap_2_22_0.lints or false);
clap_2_22_0.color =
(f.clap_2_22_0.color or false) ||
(f.clap_2_22_0.default or false) ||
(clap_2_22_0.default or false);
clap_2_22_0.default = (f.clap_2_22_0.default or true);
clap_2_22_0.strsim =
(f.clap_2_22_0.strsim or false) ||
(f.clap_2_22_0.suggestions or false) ||
(clap_2_22_0.suggestions or false);
clap_2_22_0.suggestions =
(f.clap_2_22_0.suggestions or false) ||
(f.clap_2_22_0.default or false) ||
(clap_2_22_0.default or false);
clap_2_22_0.term_size =
(f.clap_2_22_0.term_size or false) ||
(f.clap_2_22_0.wrap_help or false) ||
(clap_2_22_0.wrap_help or false);
clap_2_22_0.wrap_help =
(f.clap_2_22_0.wrap_help or false) ||
(f.clap_2_22_0.default or false) ||
(clap_2_22_0.default or false);
clap_2_22_0.yaml-rust =
(f.clap_2_22_0.yaml-rust or false) ||
(f.clap_2_22_0.yaml or false) ||
(clap_2_22_0.yaml or false);
strsim_0_6_0.default = true;
term_size_0_2_3.default = true;
unicode_segmentation_1_1_0.default = true;
unicode_width_0_1_4.default = true;
vec_map_0_7_0.default = true;
}) [ ansi_term_0_9_0_features atty_0_2_2_features bitflags_0_8_0_features strsim_0_6_0_features term_size_0_2_3_features unicode_segmentation_1_1_0_features unicode_width_0_1_4_features vec_map_0_7_0_features ];
color_quant_1_0_0 = { features?(color_quant_1_0_0_features {}) }: color_quant_1_0_0_ {};
color_quant_1_0_0_features = f: updateFeatures f ({
color_quant_1_0_0.default = (f.color_quant_1_0_0.default or true);
}) [];
dbus_0_5_2 = { features?(dbus_0_5_2_features {}) }: dbus_0_5_2_ {
dependencies = mapFeatures features ([ libc_0_2_21 ]);
buildDependencies = mapFeatures features ([ metadeps_1_1_1 ]);
features = mkFeatures (features.dbus_0_5_2 or {});
};
dbus_0_5_2_features = f: updateFeatures f ({
dbus_0_5_2.default = (f.dbus_0_5_2.default or true);
libc_0_2_21.default = true;
metadeps_1_1_1.default = true;
}) [ libc_0_2_21_features metadeps_1_1_1_features ];
deflate_0_7_5 = { features?(deflate_0_7_5_features {}) }: deflate_0_7_5_ {
dependencies = mapFeatures features ([ adler32_1_0_0 byteorder_1_0_0 ]);
};
deflate_0_7_5_features = f: updateFeatures f ({
adler32_1_0_0.default = true;
byteorder_1_0_0.default = true;
deflate_0_7_5.default = (f.deflate_0_7_5.default or true);
}) [ adler32_1_0_0_features byteorder_1_0_0_features ];
deque_0_3_1 = { features?(deque_0_3_1_features {}) }: deque_0_3_1_ {
dependencies = mapFeatures features ([ rand_0_3_15 ]);
};
deque_0_3_1_features = f: updateFeatures f ({
deque_0_3_1.default = (f.deque_0_3_1.default or true);
rand_0_3_15.default = true;
}) [ rand_0_3_15_features ];
enum_primitive_0_1_1 = { features?(enum_primitive_0_1_1_features {}) }: enum_primitive_0_1_1_ {
dependencies = mapFeatures features ([ num_traits_0_1_37 ]);
};
enum_primitive_0_1_1_features = f: updateFeatures f ({
enum_primitive_0_1_1.default = (f.enum_primitive_0_1_1.default or true);
num_traits_0_1_37.default = (f.num_traits_0_1_37.default or false);
}) [ num_traits_0_1_37_features ];
error_chain_0_7_2 = { features?(error_chain_0_7_2_features {}) }: error_chain_0_7_2_ {
dependencies = mapFeatures features ([]);
features = mkFeatures (features.error_chain_0_7_2 or {});
};
error_chain_0_7_2_features = f: updateFeatures f (rec {
error_chain_0_7_2.backtrace =
(f.error_chain_0_7_2.backtrace or false) ||
(f.error_chain_0_7_2.default or false) ||
(error_chain_0_7_2.default or false);
error_chain_0_7_2.default = (f.error_chain_0_7_2.default or true);
error_chain_0_7_2.example_generated =
(f.error_chain_0_7_2.example_generated or false) ||
(f.error_chain_0_7_2.default or false) ||
(error_chain_0_7_2.default or false);
}) [];
gif_0_9_1 = { features?(gif_0_9_1_features {}) }: gif_0_9_1_ {
dependencies = mapFeatures features ([ color_quant_1_0_0 lzw_0_10_0 ]);
features = mkFeatures (features.gif_0_9_1 or {});
};
gif_0_9_1_features = f: updateFeatures f (rec {
color_quant_1_0_0.default = true;
gif_0_9_1.default = (f.gif_0_9_1.default or true);
gif_0_9_1.libc =
(f.gif_0_9_1.libc or false) ||
(f.gif_0_9_1.c_api or false) ||
(gif_0_9_1.c_api or false);
gif_0_9_1.raii_no_panic =
(f.gif_0_9_1.raii_no_panic or false) ||
(f.gif_0_9_1.default or false) ||
(gif_0_9_1.default or false);
lzw_0_10_0.default = true;
}) [ color_quant_1_0_0_features lzw_0_10_0_features ];
glob_0_2_11 = { features?(glob_0_2_11_features {}) }: glob_0_2_11_ {};
glob_0_2_11_features = f: updateFeatures f ({
glob_0_2_11.default = (f.glob_0_2_11.default or true);
}) [];
image_0_12_3 = { features?(image_0_12_3_features {}) }: image_0_12_3_ {
dependencies = mapFeatures features ([ byteorder_1_0_0 enum_primitive_0_1_1 glob_0_2_11 num_iter_0_1_33 num_rational_0_1_36 num_traits_0_1_37 ]
++ (if features.image_0_12_3.gif or false then [ gif_0_9_1 ] else [])
++ (if features.image_0_12_3.jpeg-decoder or false then [ jpeg_decoder_0_1_11 ] else [])
++ (if features.image_0_12_3.png or false then [ png_0_6_2 ] else [])
++ (if features.image_0_12_3.scoped_threadpool or false then [ scoped_threadpool_0_1_7 ] else []));
features = mkFeatures (features.image_0_12_3 or {});
};
image_0_12_3_features = f: updateFeatures f (rec {
byteorder_1_0_0.default = true;
enum_primitive_0_1_1.default = true;
gif_0_9_1.default = true;
glob_0_2_11.default = true;
image_0_12_3.bmp =
(f.image_0_12_3.bmp or false) ||
(f.image_0_12_3.default or false) ||
(image_0_12_3.default or false) ||
(f.image_0_12_3.ico or false) ||
(image_0_12_3.ico or false);
image_0_12_3.default = (f.image_0_12_3.default or true);
image_0_12_3.gif =
(f.image_0_12_3.gif or false) ||
(f.image_0_12_3.gif_codec or false) ||
(image_0_12_3.gif_codec or false);
image_0_12_3.gif_codec =
(f.image_0_12_3.gif_codec or false) ||
(f.image_0_12_3.default or false) ||
(image_0_12_3.default or false);
image_0_12_3.hdr =
(f.image_0_12_3.hdr or false) ||
(f.image_0_12_3.default or false) ||
(image_0_12_3.default or false);
image_0_12_3.ico =
(f.image_0_12_3.ico or false) ||
(f.image_0_12_3.default or false) ||
(image_0_12_3.default or false);
image_0_12_3.jpeg =
(f.image_0_12_3.jpeg or false) ||
(f.image_0_12_3.default or false) ||
(image_0_12_3.default or false);
image_0_12_3.jpeg-decoder =
(f.image_0_12_3.jpeg-decoder or false) ||
(f.image_0_12_3.jpeg or false) ||
(image_0_12_3.jpeg or false);
image_0_12_3.png =
(f.image_0_12_3.png or false) ||
(f.image_0_12_3.png_codec or false) ||
(image_0_12_3.png_codec or false);
image_0_12_3.png_codec =
(f.image_0_12_3.png_codec or false) ||
(f.image_0_12_3.default or false) ||
(image_0_12_3.default or false) ||
(f.image_0_12_3.ico or false) ||
(image_0_12_3.ico or false);
image_0_12_3.ppm =
(f.image_0_12_3.ppm or false) ||
(f.image_0_12_3.default or false) ||
(image_0_12_3.default or false);
image_0_12_3.scoped_threadpool =
(f.image_0_12_3.scoped_threadpool or false) ||
(f.image_0_12_3.hdr or false) ||
(image_0_12_3.hdr or false);
image_0_12_3.tga =
(f.image_0_12_3.tga or false) ||
(f.image_0_12_3.default or false) ||
(image_0_12_3.default or false);
image_0_12_3.tiff =
(f.image_0_12_3.tiff or false) ||
(f.image_0_12_3.default or false) ||
(image_0_12_3.default or false);
image_0_12_3.webp =
(f.image_0_12_3.webp or false) ||
(f.image_0_12_3.default or false) ||
(image_0_12_3.default or false);
jpeg_decoder_0_1_11.default = true;
num_iter_0_1_33.default = true;
num_rational_0_1_36.default = (f.num_rational_0_1_36.default or false);
num_traits_0_1_37.default = true;
png_0_6_2.default = true;
scoped_threadpool_0_1_7.default = true;
}) [ byteorder_1_0_0_features enum_primitive_0_1_1_features gif_0_9_1_features glob_0_2_11_features jpeg_decoder_0_1_11_features num_iter_0_1_33_features num_rational_0_1_36_features num_traits_0_1_37_features png_0_6_2_features scoped_threadpool_0_1_7_features ];
inflate_0_1_1 = { features?(inflate_0_1_1_features {}) }: inflate_0_1_1_ {
features = mkFeatures (features.inflate_0_1_1 or {});
};
inflate_0_1_1_features = f: updateFeatures f ({
inflate_0_1_1.default = (f.inflate_0_1_1.default or true);
}) [];
jpeg_decoder_0_1_11 = { features?(jpeg_decoder_0_1_11_features {}) }: jpeg_decoder_0_1_11_ {
dependencies = mapFeatures features ([ byteorder_1_0_0 ]
++ (if features.jpeg_decoder_0_1_11.rayon or false then [ rayon_0_6_0 ] else []));
features = mkFeatures (features.jpeg_decoder_0_1_11 or {});
};
jpeg_decoder_0_1_11_features = f: updateFeatures f (rec {
byteorder_1_0_0.default = true;
jpeg_decoder_0_1_11.default = (f.jpeg_decoder_0_1_11.default or true);
jpeg_decoder_0_1_11.rayon =
(f.jpeg_decoder_0_1_11.rayon or false) ||
(f.jpeg_decoder_0_1_11.default or false) ||
(jpeg_decoder_0_1_11.default or false);
rayon_0_6_0.default = true;
}) [ byteorder_1_0_0_features rayon_0_6_0_features ];
kernel32_sys_0_2_2 = { features?(kernel32_sys_0_2_2_features {}) }: kernel32_sys_0_2_2_ {
dependencies = mapFeatures features ([ winapi_0_2_8 ]);
buildDependencies = mapFeatures features ([ winapi_build_0_1_1 ]);
};
kernel32_sys_0_2_2_features = f: updateFeatures f ({
kernel32_sys_0_2_2.default = (f.kernel32_sys_0_2_2.default or true);
winapi_0_2_8.default = true;
winapi_build_0_1_1.default = true;
}) [ winapi_0_2_8_features winapi_build_0_1_1_features ];
libc_0_2_21 = { features?(libc_0_2_21_features {}) }: libc_0_2_21_ {
features = mkFeatures (features.libc_0_2_21 or {});
};
libc_0_2_21_features = f: updateFeatures f (rec {
libc_0_2_21.default = (f.libc_0_2_21.default or true);
libc_0_2_21.use_std =
(f.libc_0_2_21.use_std or false) ||
(f.libc_0_2_21.default or false) ||
(libc_0_2_21.default or false);
}) [];
lzw_0_10_0 = { features?(lzw_0_10_0_features {}) }: lzw_0_10_0_ {
features = mkFeatures (features.lzw_0_10_0 or {});
};
lzw_0_10_0_features = f: updateFeatures f (rec {
lzw_0_10_0.default = (f.lzw_0_10_0.default or true);
lzw_0_10_0.raii_no_panic =
(f.lzw_0_10_0.raii_no_panic or false) ||
(f.lzw_0_10_0.default or false) ||
(lzw_0_10_0.default or false);
}) [];
metadeps_1_1_1 = { features?(metadeps_1_1_1_features {}) }: metadeps_1_1_1_ {
dependencies = mapFeatures features ([ error_chain_0_7_2 pkg_config_0_3_9 toml_0_2_1 ]);
};
metadeps_1_1_1_features = f: updateFeatures f ({
error_chain_0_7_2.default = (f.error_chain_0_7_2.default or false);
metadeps_1_1_1.default = (f.metadeps_1_1_1.default or true);
pkg_config_0_3_9.default = true;
toml_0_2_1.default = (f.toml_0_2_1.default or false);
}) [ error_chain_0_7_2_features pkg_config_0_3_9_features toml_0_2_1_features ];
num_integer_0_1_33 = { features?(num_integer_0_1_33_features {}) }: num_integer_0_1_33_ {
dependencies = mapFeatures features ([ num_traits_0_1_37 ]);
};
num_integer_0_1_33_features = f: updateFeatures f ({
num_integer_0_1_33.default = (f.num_integer_0_1_33.default or true);
num_traits_0_1_37.default = true;
}) [ num_traits_0_1_37_features ];
num_iter_0_1_33 = { features?(num_iter_0_1_33_features {}) }: num_iter_0_1_33_ {
dependencies = mapFeatures features ([ num_integer_0_1_33 num_traits_0_1_37 ]);
};
num_iter_0_1_33_features = f: updateFeatures f ({
num_integer_0_1_33.default = true;
num_iter_0_1_33.default = (f.num_iter_0_1_33.default or true);
num_traits_0_1_37.default = true;
}) [ num_integer_0_1_33_features num_traits_0_1_37_features ];
num_rational_0_1_36 = { features?(num_rational_0_1_36_features {}) }: num_rational_0_1_36_ {
dependencies = mapFeatures features ([ num_integer_0_1_33 num_traits_0_1_37 ]);
features = mkFeatures (features.num_rational_0_1_36 or {});
};
num_rational_0_1_36_features = f: updateFeatures f (rec {
num_integer_0_1_33.default = true;
num_rational_0_1_36.bigint =
(f.num_rational_0_1_36.bigint or false) ||
(f.num_rational_0_1_36.default or false) ||
(num_rational_0_1_36.default or false);
num_rational_0_1_36.default = (f.num_rational_0_1_36.default or true);
num_rational_0_1_36.num-bigint =
(f.num_rational_0_1_36.num-bigint or false) ||
(f.num_rational_0_1_36.bigint or false) ||
(num_rational_0_1_36.bigint or false);
num_rational_0_1_36.rustc-serialize =
(f.num_rational_0_1_36.rustc-serialize or false) ||
(f.num_rational_0_1_36.default or false) ||
(num_rational_0_1_36.default or false);
num_traits_0_1_37.default = true;
}) [ num_integer_0_1_33_features num_traits_0_1_37_features ];
num_traits_0_1_37 = { features?(num_traits_0_1_37_features {}) }: num_traits_0_1_37_ {};
num_traits_0_1_37_features = f: updateFeatures f ({
num_traits_0_1_37.default = (f.num_traits_0_1_37.default or true);
}) [];
num_cpus_1_3_0 = { features?(num_cpus_1_3_0_features {}) }: num_cpus_1_3_0_ {
dependencies = mapFeatures features ([ libc_0_2_21 ]);
};
num_cpus_1_3_0_features = f: updateFeatures f ({
libc_0_2_21.default = true;
num_cpus_1_3_0.default = (f.num_cpus_1_3_0.default or true);
}) [ libc_0_2_21_features ];
pkg_config_0_3_9 = { features?(pkg_config_0_3_9_features {}) }: pkg_config_0_3_9_ {};
pkg_config_0_3_9_features = f: updateFeatures f ({
pkg_config_0_3_9.default = (f.pkg_config_0_3_9.default or true);
}) [];
png_0_6_2 = { features?(png_0_6_2_features {}) }: png_0_6_2_ {
dependencies = mapFeatures features ([ bitflags_0_7_0 inflate_0_1_1 num_iter_0_1_33 ]
++ (if features.png_0_6_2.deflate or false then [ deflate_0_7_5 ] else []));
features = mkFeatures (features.png_0_6_2 or {});
};
png_0_6_2_features = f: updateFeatures f (rec {
bitflags_0_7_0.default = true;
deflate_0_7_5.default = true;
inflate_0_1_1.default = true;
num_iter_0_1_33.default = true;
png_0_6_2.default = (f.png_0_6_2.default or true);
png_0_6_2.deflate =
(f.png_0_6_2.deflate or false) ||
(f.png_0_6_2.png-encoding or false) ||
(png_0_6_2.png-encoding or false);
png_0_6_2.png-encoding =
(f.png_0_6_2.png-encoding or false) ||
(f.png_0_6_2.default or false) ||
(png_0_6_2.default or false);
}) [ bitflags_0_7_0_features deflate_0_7_5_features inflate_0_1_1_features num_iter_0_1_33_features ];
rand_0_3_15 = { features?(rand_0_3_15_features {}) }: rand_0_3_15_ {
dependencies = mapFeatures features ([ libc_0_2_21 ]);
};
rand_0_3_15_features = f: updateFeatures f ({
libc_0_2_21.default = true;
rand_0_3_15.default = (f.rand_0_3_15.default or true);
}) [ libc_0_2_21_features ];
rayon_0_6_0 = { features?(rayon_0_6_0_features {}) }: rayon_0_6_0_ {
dependencies = mapFeatures features ([ deque_0_3_1 libc_0_2_21 num_cpus_1_3_0 rand_0_3_15 ]);
features = mkFeatures (features.rayon_0_6_0 or {});
};
rayon_0_6_0_features = f: updateFeatures f ({
deque_0_3_1.default = true;
libc_0_2_21.default = true;
num_cpus_1_3_0.default = true;
rand_0_3_15.default = true;
rayon_0_6_0.default = (f.rayon_0_6_0.default or true);
}) [ deque_0_3_1_features libc_0_2_21_features num_cpus_1_3_0_features rand_0_3_15_features ];
scoped_threadpool_0_1_7 = { features?(scoped_threadpool_0_1_7_features {}) }: scoped_threadpool_0_1_7_ {
features = mkFeatures (features.scoped_threadpool_0_1_7 or {});
};
scoped_threadpool_0_1_7_features = f: updateFeatures f ({
scoped_threadpool_0_1_7.default = (f.scoped_threadpool_0_1_7.default or true);
}) [];
strsim_0_6_0 = { features?(strsim_0_6_0_features {}) }: strsim_0_6_0_ {};
strsim_0_6_0_features = f: updateFeatures f ({
strsim_0_6_0.default = (f.strsim_0_6_0.default or true);
}) [];
term_size_0_2_3 = { features?(term_size_0_2_3_features {}) }: term_size_0_2_3_ {
dependencies = mapFeatures features ([])
++ (if !(kernel == "windows") then mapFeatures features ([ libc_0_2_21 ]) else [])
++ (if kernel == "windows" then mapFeatures features ([ kernel32_sys_0_2_2 winapi_0_2_8 ]) else []);
features = mkFeatures (features.term_size_0_2_3 or {});
};
term_size_0_2_3_features = f: updateFeatures f (rec {
kernel32_sys_0_2_2.default = true;
libc_0_2_21.default = true;
term_size_0_2_3.clippy =
(f.term_size_0_2_3.clippy or false) ||
(f.term_size_0_2_3.lints or false) ||
(term_size_0_2_3.lints or false);
term_size_0_2_3.default = (f.term_size_0_2_3.default or true);
term_size_0_2_3.lints =
(f.term_size_0_2_3.lints or false) ||
(f.term_size_0_2_3.travis or false) ||
(term_size_0_2_3.travis or false);
term_size_0_2_3.nightly =
(f.term_size_0_2_3.nightly or false) ||
(f.term_size_0_2_3.lints or false) ||
(term_size_0_2_3.lints or false) ||
(f.term_size_0_2_3.travis or false) ||
(term_size_0_2_3.travis or false);
winapi_0_2_8.default = true;
}) [ libc_0_2_21_features kernel32_sys_0_2_2_features winapi_0_2_8_features ];
toml_0_2_1 = { features?(toml_0_2_1_features {}) }: toml_0_2_1_ {
dependencies = mapFeatures features ([]);
};
toml_0_2_1_features = f: updateFeatures f (rec {
toml_0_2_1.default = (f.toml_0_2_1.default or true);
toml_0_2_1.rustc-serialize =
(f.toml_0_2_1.rustc-serialize or false) ||
(f.toml_0_2_1.default or false) ||
(toml_0_2_1.default or false);
}) [];
unicode_segmentation_1_1_0 = { features?(unicode_segmentation_1_1_0_features {}) }: unicode_segmentation_1_1_0_ {
features = mkFeatures (features.unicode_segmentation_1_1_0 or {});
};
unicode_segmentation_1_1_0_features = f: updateFeatures f ({
unicode_segmentation_1_1_0.default = (f.unicode_segmentation_1_1_0.default or true);
}) [];
unicode_width_0_1_4 = { features?(unicode_width_0_1_4_features {}) }: unicode_width_0_1_4_ {
features = mkFeatures (features.unicode_width_0_1_4 or {});
};
unicode_width_0_1_4_features = f: updateFeatures f ({
unicode_width_0_1_4.default = (f.unicode_width_0_1_4.default or true);
}) [];
vec_map_0_7_0 = { features?(vec_map_0_7_0_features {}) }: vec_map_0_7_0_ {
dependencies = mapFeatures features ([]);
features = mkFeatures (features.vec_map_0_7_0 or {});
};
vec_map_0_7_0_features = f: updateFeatures f (rec {
vec_map_0_7_0.default = (f.vec_map_0_7_0.default or true);
vec_map_0_7_0.serde =
(f.vec_map_0_7_0.serde or false) ||
(f.vec_map_0_7_0.eders or false) ||
(vec_map_0_7_0.eders or false);
vec_map_0_7_0.serde_derive =
(f.vec_map_0_7_0.serde_derive or false) ||
(f.vec_map_0_7_0.eders or false) ||
(vec_map_0_7_0.eders or false);
}) [];
wc_grab_0_3_0 = { features?(wc_grab_0_3_0_features {}) }: wc_grab_0_3_0_ {
dependencies = mapFeatures features ([ clap_2_22_0 dbus_0_5_2 image_0_12_3 ]);
};
wc_grab_0_3_0_features = f: updateFeatures f ({
clap_2_22_0.default = true;
dbus_0_5_2.default = true;
image_0_12_3.default = true;
wc_grab_0_3_0.default = (f.wc_grab_0_3_0.default or true);
}) [ clap_2_22_0_features dbus_0_5_2_features image_0_12_3_features ];
winapi_0_2_8 = { features?(winapi_0_2_8_features {}) }: winapi_0_2_8_ {};
winapi_0_2_8_features = f: updateFeatures f ({
winapi_0_2_8.default = (f.winapi_0_2_8.default or true);
}) [];
winapi_build_0_1_1 = { features?(winapi_build_0_1_1_features {}) }: winapi_build_0_1_1_ {};
winapi_build_0_1_1_features = f: updateFeatures f ({
winapi_build_0_1_1.default = (f.winapi_build_0_1_1.default or true);
}) [];
}

File diff suppressed because it is too large Load diff

View file

@ -1,39 +0,0 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig
, wayland, pixman, libxkbcommon, libinput, xcbutilwm, xcbutilimage, libGL
, libX11, dbus, wayland-protocols, libdrm, mesa
, libpthreadstubs, libXdmcp, libXext, libXfixes
, withOptionalPackages ? true, zlib, valgrind, doxygen
}:
stdenv.mkDerivation rec {
pname = "wlc";
version = "0.0.11";
src = fetchFromGitHub {
owner = "Cloudef";
repo = "wlc";
rev = "v${version}";
fetchSubmodules = true;
sha256 = "1qnak907gjd35hq4b0rrhgb7kz5iwnirh8yk372yzxpgk7dq0gz9";
};
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [
wayland pixman libxkbcommon libinput xcbutilwm xcbutilimage libGL
libX11 libXfixes dbus wayland-protocols
libpthreadstubs libXdmcp libXext libdrm mesa ]
++ stdenv.lib.optionals withOptionalPackages [ zlib valgrind doxygen ];
doCheck = true;
checkTarget = "test";
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "A library for making a simple Wayland compositor";
homepage = https://github.com/Cloudef/wlc;
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ primeos ]; # Trying to keep it up-to-date.
};
}

View file

@ -21994,7 +21994,8 @@ in
pythonPackages = python3Packages;
};
way-cooler = callPackage ../applications/window-managers/way-cooler {};
way-cooler = throw ("way-cooler is abandoned by its author: " +
"https://way-cooler.org/blog/2020/01/09/way-cooler-post-mortem.html");
waypipe = callPackage ../applications/networking/remote/waypipe { };