From 074a7f21ab6c4786d8b8a829d259a48efed198d4 Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Fri, 27 Apr 2018 23:48:56 +0200 Subject: [PATCH] Nonatomic --- home-common/configs/vimrc | 28 +- home-common/configs/zshrc | 8 +- home-common/default.nix | 28 +- home-common/graphical/eventd.nix | 2 +- home-common/graphical/rofi/default.nix | 80 +- home-common/graphical/rofi/tasklauncher.py | 2 +- home-common/my-systems.nix | 3 + home-common/taskwarrior.nix | 2 +- homes/apollo/home.nix | 2 + hosts/charon/configuration.nix | 4 +- packages/rust-scripts/Cargo.lock | 422 +++++ packages/rust-scripts/Cargo.toml | 8 + packages/rust-scripts/default.nix | 8 + packages/rust-scripts/src/bin/hotkeys.rs | 74 + packages/rust-scripts/src/lib.rs | 108 ++ packages/tasktree/default.nix | 1 + packages/tasktree/deps.nix | 1786 ++++++++++++++++++++ 17 files changed, 2517 insertions(+), 49 deletions(-) create mode 100644 packages/rust-scripts/Cargo.lock create mode 100644 packages/rust-scripts/Cargo.toml create mode 100644 packages/rust-scripts/default.nix create mode 100644 packages/rust-scripts/src/bin/hotkeys.rs create mode 100644 packages/rust-scripts/src/lib.rs create mode 100644 packages/tasktree/deps.nix diff --git a/home-common/configs/vimrc b/home-common/configs/vimrc index ae29720d..15ac16b1 100644 --- a/home-common/configs/vimrc +++ b/home-common/configs/vimrc @@ -16,13 +16,14 @@ set backupdir=~/.vimhist/bak set showcmd nnoremap :nohlsearch vnoremap < >gv u -nnoremap -nnoremap -nnoremap -nnoremap -nnoremap gT -nnoremap gt +vnoremap > >gv +nnoremap +nnoremap +nnoremap +nnoremap +nnoremap gT +nnoremap gt +let mapleader="," set colorcolumn=81,121 hi ColorColumn ctermbg=black @@ -42,6 +43,7 @@ noremap g if !exists('g:deoplete#omni#input_patterns') let g:deoplete#omni#input_patterns = {} endif +let $NVIM_TUI_ENABLE_CURSOR_SHAPE=1 set statusline+=%#warningmsg# set statusline+=%{syntasticstatuslineflag()} set statusline+=%* @@ -50,19 +52,19 @@ let g:syntastic_auto_loc_list = 1 let g:syntastic_check_on_open = 1 let g:syntastic_check_on_wq = 0 let g:syntastic_aggregate_errors = 1 -let g:syntastic_enable_highlighting = 0 -let g:syntastic_loc_list_height = 3 +let g:syntastic_enable_highlighting = 1 +let g:syntastic_loc_list_height = 5 let g:rustfmt_autosave = 1 "let g:ycm_rust_src_path = '/usr/src/rust/src' "let g:ftplugin_rust_source_path = '/usr/src/rust/src' let g:syntastic_rust_checkers = [ 'cargo'] let g:rust_recommend_style = 1 let g:rust_fold =1 -let g:syntastic_rust_rustc_exe = 'cargo check' -let g:syntastic_rust_rustc_fname = "" -let g:syntastic_rust_rustc_args = '--' +"let g:syntastic_rust_rustc_exe = 'cargo check' let g:deoplete#enable_at_startup = 1 let g:deoplete#auto_complete_start_length = 1 -let g:deoplete#sources#rust#racer_binary='racer' +"let g:deoplete#sources#rust#racer_binary='racer' +"let g:rustfmt_command = "rustfmt" +"let g:racer_cmd = "racer" diff --git a/home-common/configs/zshrc b/home-common/configs/zshrc index 3ce4aec2..d07f3664 100644 --- a/home-common/configs/zshrc +++ b/home-common/configs/zshrc @@ -7,9 +7,9 @@ if [[ -z "$TMUX" ]] { } } precmd() { - local s=$? c=( $(fc -l -d -1 ) ) - if [[ $launched && "''${c[2]}" != "0:00" ]] { - eventc command $([[ ''${s} == 0 ]] && echo success || echo failure) -d command="\"''${c[3,-1]}\"" -d time="\"''${c[2]}\"" -d host="\"$host\"" + local s=$? c=( $(fc -L -D -l -1) ) + if [[ $launched && "${c[2]}" != "0:00" ]] { + eventc command $([[ ${s} == 0 ]] && echo success || echo failure) -d command="\"${c[3,-1]}\"" -d time="\"${c[2]}\"" -d host="\"$HOST\"" } else { export launched=true; } @@ -27,3 +27,5 @@ alias ls=exa export BROWSER=qutebrowser export EDITOR=nvim export MANPAGER="most -s" + +bindkey '^R' history-incremental-pattern-search-backward diff --git a/home-common/default.nix b/home-common/default.nix index 0dd8b692..ab865fa0 100644 --- a/home-common/default.nix +++ b/home-common/default.nix @@ -1,5 +1,7 @@ { pkgs, ... }: -{ +let + rust-scripts = with pkgs; callPackage ../packages/rust-scripts {}; +in { programs = { home-manager = { enable = true; @@ -103,33 +105,45 @@ pythonPackages.qrcode ranger +# rust-scripts (pkgs.neovim.override { vimAlias = true; + withPython3 = true; configure = { - customRC = builtins.readFile ./configs/vimrc; + customRC = '' + let $RUST_SRC_PATH="${pkgs.rustPlatform.rustcSrc}" + let g:rustfmt_command = "${pkgs.rustfmt}/bin/rustfmt" + let g:racer_cmd = "${pkgs.rustracer}/bin/racer" + let g:deoplete#sources#rust#racer_binary='${pkgs.rustracer}/bin/racer' + let g:syntastic_rust_rustc_exe = '${pkgs.cargo}/bin/cargo check' + ${builtins.readFile ./configs/vimrc} + ''; packages.myVimPackage = with pkgs.vimPlugins; { start = [ - deoplete-nvim +# deoplete-nvim vim-nix + ctrlp vimtex Syntastic UltiSnips airline rust-vim - deoplete-rust +# deoplete-rust fugitive airline - vim-snippets +# ale +# vim-snippets vim-trailing-whitespace - vim-racer + vim-polyglot + nvim-cm-racer + nvim-completion-manager vim-pandoc nerdcommenter vim-signify ]; }; }; - withPython3 = true; }) ]; xdg.enable = true; diff --git a/home-common/graphical/eventd.nix b/home-common/graphical/eventd.nix index 37dbbb65..e44951f7 100644 --- a/home-common/graphical/eventd.nix +++ b/home-common/graphical/eventd.nix @@ -1,7 +1,7 @@ { pkgs, lib, config, ... }: let eventd-pkgs = import (fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/fe61c3b84e8e81a8ec2bf6b3ed2a0e8652cea190.tar.gz) {}; - eventd = with eventd-pkgs; callPackage ../../packages/eventd {}; + eventd = eventd-pkgs.callPackage ../../packages/eventd {}; colors = config.common.colors; in { home = { diff --git a/home-common/graphical/rofi/default.nix b/home-common/graphical/rofi/default.nix index 12b3911b..1ef4be9c 100644 --- a/home-common/graphical/rofi/default.nix +++ b/home-common/graphical/rofi/default.nix @@ -47,30 +47,68 @@ in { rofi.sidebar-mode: true rofi.combi-modi: window,drun,run ''; - separator = "solid"; + borderWidth = 0; + separator = "none"; + fullscreen = false; + width = 1920; terminal = terminal; - location = "left"; + location = "center"; scrollbar = false; - width = 1500; - yoffset = -10; - lines = 35; + padding = 200; + lines = 30; colors = { - window = { - background = colors.background; - border = colors.blue; - separator = colors.blue; - }; - rows = { - normal = { - background = colors.background; - foreground = colors.foreground; - backgroundAlt = colors.black; - highlight = { - background = colors.blue; - foreground = colors.white; - }; - }; - }; + window = { + background = "argb:a0${builtins.substring 1 6 colors.background}"; + border = colors.blue; + separator = colors.blue; + }; + + rows = { + normal = { + background = colors.background; + foreground = colors.foreground; + backgroundAlt = colors.black; + highlight = { + background = colors.blue; + foreground = colors.white; + }; + }; + active = { + background = colors.background; + foreground = colors.foreground; + backgroundAlt = colors.black; + highlight = { + background = colors.blue; + foreground = colors.white; + }; + }; + urgent = { + background = colors.background; + foreground = colors.foreground; + backgroundAlt = colors.black; + highlight = { + background = colors.blue; + foreground = colors.white; + }; + }; + }; + #colors = { + #window = { + #background = "argb:${builtins.substring 1 6 colors.background}22"; + #border = colors.blue; + #separator = colors.blue; + #}; + #rows = { + #normal = { + #background = colors.background; + #foreground = colors.foreground; + #backgroundAlt = colors.black; + #highlight = { + #background = colors.blue; + #foreground = colors.white; + #}; + #}; + #}; }; }; }; diff --git a/home-common/graphical/rofi/tasklauncher.py b/home-common/graphical/rofi/tasklauncher.py index a8e2b3db..86c78402 100644 --- a/home-common/graphical/rofi/tasklauncher.py +++ b/home-common/graphical/rofi/tasklauncher.py @@ -20,7 +20,7 @@ while True: with open(filename) as filterfile: filter = filterfile.read().strip() tasklist = call_task(["default"] + filter.split()) - rofi_list_cmd = ['rofi', '-dmenu', '-p', 'task: ', '-mesg', '\n'.join([lastresult, "filter: {}".format(filter)]).strip()] + rofi_list_cmd = ['rofi', '-dmenu', '-p', 'task', '-mesg', '\n'.join([lastresult, "filter: {}".format(filter)]).strip()] rofi = subprocess.Popen(rofi_list_cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) entered_command = rofi.communicate(input=tasklist)[0].decode('utf8').strip() if entered_command == "": diff --git a/home-common/my-systems.nix b/home-common/my-systems.nix index d5c28857..95a588a8 100644 --- a/home-common/my-systems.nix +++ b/home-common/my-systems.nix @@ -9,6 +9,9 @@ youtubeDL cargo + gcc + binutils-unwrapped rustfmt + carnix ]; } diff --git a/home-common/taskwarrior.nix b/home-common/taskwarrior.nix index 5636d609..d96f7e3b 100644 --- a/home-common/taskwarrior.nix +++ b/home-common/taskwarrior.nix @@ -1,7 +1,7 @@ { pkgs, lib, ... }: { home = { - packages = with pkgs; [ taskwarrior ]; + packages = [ pkgs.taskwarrior ]; file = { taskwarrior-on-add-hook = { target = ".task/hooks/on-add.eventd-notification"; diff --git a/homes/apollo/home.nix b/homes/apollo/home.nix index d21fa436..ed212d75 100644 --- a/homes/apollo/home.nix +++ b/homes/apollo/home.nix @@ -37,6 +37,8 @@ arandr qutebrowser + mumble + # tools & office gimp imagemagick diff --git a/hosts/charon/configuration.nix b/hosts/charon/configuration.nix index a8585f5c..fa9bc743 100644 --- a/hosts/charon/configuration.nix +++ b/hosts/charon/configuration.nix @@ -16,8 +16,8 @@ imports = [ ./hardware-configuration.nix - ../../snippets/common.nix - ../../snippets/init_ssh.nix + ../../host-common/common.nix + ../../host-common/init_ssh.nix /etc/nixos/local/config.nix ./dav.nix ./mail.nix diff --git a/packages/rust-scripts/Cargo.lock b/packages/rust-scripts/Cargo.lock new file mode 100644 index 00000000..4606dab3 --- /dev/null +++ b/packages/rust-scripts/Cargo.lock @@ -0,0 +1,422 @@ +[[package]] +name = "backtrace" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "backtrace-sys 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)", + "rustc-demangle 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "backtrace-sys" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "cc 1.0.10 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "bitflags" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "bitflags" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "cc" +version = "1.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "cfg-if" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "chrono" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "num-integer 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)", + "num-traits 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "time 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "derive_builder" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "derive_builder_core 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "derive_builder_core" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "dialog" +version = "0.1.0" +source = "git+https://git.darmstadt.ccc.de/maralorn/dialog-rs.git#f33f0c9ac4f4407899da55507147a8a808e2f521" +dependencies = [ + "error-chain 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rustyline 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "termios 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "dtoa" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "encode_unicode" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "error-chain" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "backtrace 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "fuchsia-zircon" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "bitflags 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "fuchsia-zircon-sys" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "itoa" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "kernel32-sys" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "libc" +version = "0.2.40" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "log" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "cfg-if 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "nix" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "bitflags 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "num-integer" +version = "0.1.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "num-traits 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "num-traits" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "proc-macro2" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "quote" +version = "0.3.15" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "quote" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "proc-macro2 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "rand" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "redox_syscall" +version = "0.1.37" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "rust-scripts" +version = "0.1.0" +dependencies = [ + "dialog 0.1.0 (git+https://git.darmstadt.ccc.de/maralorn/dialog-rs.git)", + "task-hookrs 0.5.0 (git+https://github.com/maralorn/task-hookrs.git?branch=preview)", +] + +[[package]] +name = "rustc-demangle" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "rustyline" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "encode_unicode 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)", + "nix 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "unicode-width 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "serde" +version = "1.0.42" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "serde_derive" +version = "1.0.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "proc-macro2 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive_internals 0.23.1 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.13.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "serde_derive_internals" +version = "0.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "proc-macro2 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.13.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "serde_json" +version = "1.0.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "dtoa 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "itoa 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.42 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "syn" +version = "0.11.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)", + "synom 0.11.3 (registry+https://github.com/rust-lang/crates.io-index)", + "unicode-xid 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "syn" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "proc-macro2 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", + "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "synom" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "unicode-xid 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "task-hookrs" +version = "0.5.0" +source = "git+https://github.com/maralorn/task-hookrs.git?branch=preview#24a3ad5519a9bb26fcf0eeee368f8899211e47e1" +dependencies = [ + "chrono 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "derive_builder 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "error-chain 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.42 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.42 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_json 1.0.16 (registry+https://github.com/rust-lang/crates.io-index)", + "uuid 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "termios" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "time" +version = "0.1.39" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)", + "redox_syscall 0.1.37 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "unicode-width" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "unicode-xid" +version = "0.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "unicode-xid" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "uuid" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "cfg-if 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.42 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "winapi" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "winapi" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "winapi-build" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[metadata] +"checksum backtrace 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "ebbe525f66f42d207968308ee86bc2dd60aa5fab535b22e616323a173d097d8e" +"checksum backtrace-sys 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)" = "44585761d6161b0f57afc49482ab6bd067e4edef48c12a152c237eb0203f7661" +"checksum bitflags 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8dead7461c1127cf637931a1e50934eb6eee8bff2f74433ac7909e9afcee04a3" +"checksum bitflags 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b3c30d3802dfb7281680d6285f2ccdaa8c2d8fee41f93805dba5c4cf50dc23cf" +"checksum cc 1.0.10 (registry+https://github.com/rust-lang/crates.io-index)" = "8b9d2900f78631a5876dc5d6c9033ede027253efcd33dd36b1309fc6cab97ee0" +"checksum cfg-if 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "d4c819a1287eb618df47cc647173c5c4c66ba19d888a6e50d605672aed3140de" +"checksum chrono 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "1cce36c92cb605414e9b824f866f5babe0a0368e39ea07393b9b63cf3844c0e6" +"checksum derive_builder 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c998e6ab02a828dd9735c18f154e14100e674ed08cb4e1938f0e4177543f439" +"checksum derive_builder_core 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "735e24ee9e5fa8e16b86da5007856e97d592e11867e45d76e0c0d0a164a0b757" +"checksum dialog 0.1.0 (git+https://git.darmstadt.ccc.de/maralorn/dialog-rs.git)" = "" +"checksum dtoa 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "09c3753c3db574d215cba4ea76018483895d7bff25a31b49ba45db21c48e50ab" +"checksum encode_unicode 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "28d65f1f5841ef7c6792861294b72beda34c664deb8be27970f36c306b7da1ce" +"checksum error-chain 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ff511d5dc435d703f4971bc399647c9bc38e20cb41452e3b9feb4765419ed3f3" +"checksum fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" +"checksum fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" +"checksum itoa 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c069bbec61e1ca5a596166e55dfe4773ff745c3d16b700013bcaff9a6df2c682" +"checksum kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" +"checksum libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)" = "6fd41f331ac7c5b8ac259b8bf82c75c0fb2e469bbf37d2becbba9a6a2221965b" +"checksum log 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "89f010e843f2b1a31dbd316b3b8d443758bc634bed37aabade59c686d644e0a2" +"checksum nix 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "bfb3ddedaa14746434a02041940495bf11325c22f6d36125d3bdd56090d50a79" +"checksum num-integer 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)" = "f8d26da319fb45674985c78f1d1caf99aa4941f785d384a2ae36d0740bc3e2fe" +"checksum num-traits 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dee092fcdf725aee04dd7da1d21debff559237d49ef1cb3e69bcb8ece44c7364" +"checksum proc-macro2 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "49b6a521dc81b643e9a51e0d1cf05df46d5a2f3c0280ea72bcb68276ba64a118" +"checksum quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6e920b65c65f10b2ae65c831a81a073a89edd28c7cce89475bff467ab4167a" +"checksum quote 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9949cfe66888ffe1d53e6ec9d9f3b70714083854be20fd5e271b232a017401e8" +"checksum rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "eba5f8cb59cc50ed56be8880a5c7b496bfd9bd26394e176bc67884094145c2c5" +"checksum redox_syscall 0.1.37 (registry+https://github.com/rust-lang/crates.io-index)" = "0d92eecebad22b767915e4d529f89f28ee96dbbf5a4810d2b844373f136417fd" +"checksum rustc-demangle 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "11fb43a206a04116ffd7cfcf9bcb941f8eb6cc7ff667272246b0a1c74259a3cb" +"checksum rustyline 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "00b06ac9c8e8e3e83b33d175d39a9f7b6c2c930c82990593719c8e48788ae2d9" +"checksum serde 1.0.42 (registry+https://github.com/rust-lang/crates.io-index)" = "a73973861352c932ed1365ce22b32467ce260ac4c8db11cf750ce56334ff2dcf" +"checksum serde_derive 1.0.42 (registry+https://github.com/rust-lang/crates.io-index)" = "b392c5a0cebb98121454531c50e60e2ffe0fbeb1a44da277da2d681d08d7dc0b" +"checksum serde_derive_internals 0.23.1 (registry+https://github.com/rust-lang/crates.io-index)" = "9d30c4596450fd7bbda79ef15559683f9a79ac0193ea819db90000d7e1cae794" +"checksum serde_json 1.0.16 (registry+https://github.com/rust-lang/crates.io-index)" = "8c6c4e049dc657a99e394bd85c22acbf97356feeec6dbf44150f2dcf79fb3118" +"checksum syn 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)" = "d3b891b9015c88c576343b9b3e41c2c11a51c219ef067b264bd9c8aa9b441dad" +"checksum syn 0.13.1 (registry+https://github.com/rust-lang/crates.io-index)" = "91b52877572087400e83d24b9178488541e3d535259e04ff17a63df1e5ceff59" +"checksum synom 0.11.3 (registry+https://github.com/rust-lang/crates.io-index)" = "a393066ed9010ebaed60b9eafa373d4b1baac186dd7e008555b0f702b51945b6" +"checksum task-hookrs 0.5.0 (git+https://github.com/maralorn/task-hookrs.git?branch=preview)" = "" +"checksum termios 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "70226acdf12d182df757d9fb07c0257a1558ec48c8059f607d6b38145ce4e2fa" +"checksum time 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)" = "a15375f1df02096fb3317256ce2cee6a1f42fc84ea5ad5fc8c421cfe40c73098" +"checksum unicode-width 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "bf3a113775714a22dcb774d8ea3655c53a32debae63a063acc00a91cc586245f" +"checksum unicode-xid 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f860d7d29cf02cb2f3f359fd35991af3d30bac52c57d265a3c461074cb4dc" +"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" +"checksum uuid 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)" = "8630752f979f1b6b87c49830a5e3784082545de63920d59fbaac252474319447" +"checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" +"checksum winapi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "04e3bd221fcbe8a271359c04f21a76db7d0c6028862d1bb5512d85e1e2eb5bb3" +"checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" +"checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" +"checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" diff --git a/packages/rust-scripts/Cargo.toml b/packages/rust-scripts/Cargo.toml new file mode 100644 index 00000000..e95e4cab --- /dev/null +++ b/packages/rust-scripts/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "rust-scripts" +version = "0.1.0" +authors = ["Malte Brandy "] + +[dependencies] +task-hookrs = { git = "https://github.com/maralorn/task-hookrs.git", branch = "preview"} +dialog = { git = "https://git.darmstadt.ccc.de/maralorn/dialog-rs.git" } diff --git a/packages/rust-scripts/default.nix b/packages/rust-scripts/default.nix new file mode 100644 index 00000000..6990394d --- /dev/null +++ b/packages/rust-scripts/default.nix @@ -0,0 +1,8 @@ +{ rustPlatform }: +with rustPlatform; buildRustPackage rec { + name = "rust-scripts"; + src = ./.; +# depsSha256 = ""; + cargoSha256 = "0h1fimvkm05y5vi2c2baxys5scv2icf0g6bjp62p7x935y5j85ks"; + doCheck = false; +} diff --git a/packages/rust-scripts/src/bin/hotkeys.rs b/packages/rust-scripts/src/bin/hotkeys.rs new file mode 100644 index 00000000..39f6e5c5 --- /dev/null +++ b/packages/rust-scripts/src/bin/hotkeys.rs @@ -0,0 +1,74 @@ +extern crate rust_scripts; +use rust_scripts::hotkeys::*; + +fn main() { + let state; + let location; + + let volume_up = ( + c("Volume up"), + Fork(cmd( + vec!["pactl", "set-sink-volume", "@DEFAULT_SINK@", "+5%"], + )), + ); + let volume_down = ( + c("Volume down"), + Fork(cmd( + vec!["pactl", "set-sink-volume", "@DEFAULT_SINK@", "-5%"], + )), + ); + let ncmpcpp = (c("Music"), Exec(cmd(vec!["urxvt", "-e", "ncmpcpp"]))); + let wizard = (c("Magic"), Script); + let startmenu = Menu((c("Hauptmenü"), vec![wizard])) + // arandr? + // keymap + // shutdown options + // lautstärken micro, lautsprecher, regler zeigen + // zeige Buchhaltung + // mumble + // hub.w17.io + // select wifi + // debug network + // grammofy + // browser + pm + // IM dienste + // evolution + // door options, music options, hub options + // lock inhibit + // suspend inhibit + // ssh kiva, ag, whisky, vorstand, shells, charon + let w17menu + main_loop(startmenu); + // Brightness -> i3 + // Basic Sound -> i3 +} + +fn wizard() -> Next { + // states: work, research, normal, idle + // enter new tasks + // always: add task/subtask + // what about running tasks? + // check unread E-Mail + ak? + // update + // system + // home + // inbox + // + // treesort + // mails + // sort inbox + // sort inboxkiva + // sort inboxak + // sort to sort + // go trough todo + // go trough toread + // go trough readlater + // pick tasks + // optional, later + // await + // do accounting own, cda + // dirty gits + + // task generator + // task completion helper +} diff --git a/packages/rust-scripts/src/lib.rs b/packages/rust-scripts/src/lib.rs new file mode 100644 index 00000000..af7f9a2f --- /dev/null +++ b/packages/rust-scripts/src/lib.rs @@ -0,0 +1,108 @@ +extern crate dialog; +extern crate task_hookrs; + + +pub mod hotkeys { + use std::rc::Rc; + use dialog::DialogProvider; + use dialog::errors::Error; + use dialog::errors::ErrorKind::*; + use dialog::rofi::RofiDialogProvider; + use std::process::Command as StdCommand; + use std::os::unix::process::CommandExt; + pub use hotkeys::Next::*; + + #[derive(Clone)] + pub enum Next { + Menu(Dialog), + TmpMenu(Dialog), + Run(Command), + Fork(Command), + Exec(Command), + Back, + Exit, + Stay, + Script(Rc Next>), + } + + type Dialog = (String, Vec); + + type Item = (String, Next); + + type Command = Vec; + + type State = String; + + pub fn c(string: T) -> String + where + T: Into, + { + string.into() + } + + pub fn cmd(argv: S) -> Command + where + S: IntoIterator, + K: Into, + { + argv.into_iter().map(|x| x.into()).collect() + } + + + fn show_menu(dialog_provider: &mut T, menu: Dialog) -> Next { + let (msg, options) = menu; + match dialog_provider.select_option(msg, options) { + Ok(next) => next, + Err(Error(InputCanceled, _)) => Exit, + Err(Error(InvalidUserInput, _)) => Stay, + Err(err) => { + println!("DialogError: {}", err); + Stay + } + } + } + + + fn build_command(cmd: Command) -> StdCommand { + let mut cmd_iter = cmd.iter(); + let mut prg = StdCommand::new(cmd_iter.next().expect("Called program without name")); + for arg in cmd_iter { + prg.arg(arg); + } + prg + } + + pub fn main_loop(startmenu: Next) { + let mut dialog_provider = RofiDialogProvider; + let mut history = vec![]; + let mut next = startmenu; + loop { + next = match next { + Exit => break, + Back => { + history.pop().expect("Empty history"); + Stay + } + Script(script) => script(c("work")), + TmpMenu(menu) => show_menu(&mut dialog_provider, menu), + Menu(menu) => { + history.push(menu.clone()); + show_menu(&mut dialog_provider, menu) + } + Fork(cmd) => { + build_command(cmd).spawn().is_ok(); + Stay + } + Run(cmd) => { + build_command(cmd).output().is_ok(); + Stay + } + Exec(cmd) => { + build_command(cmd).exec(); + break; + } + Stay => Menu(history.pop().expect("Empty history").clone()), + }; + } + } +} diff --git a/packages/tasktree/default.nix b/packages/tasktree/default.nix index 7a77d925..ea3a309a 100644 --- a/packages/tasktree/default.nix +++ b/packages/tasktree/default.nix @@ -35,4 +35,5 @@ with rustPlatform; buildRustPackage rec { mkdir -p $out/share/applications ln -s ${desktopItem}/share/applications/* $out/share/applications/ ''; + doCheck = false; } diff --git a/packages/tasktree/deps.nix b/packages/tasktree/deps.nix new file mode 100644 index 00000000..6f3385a1 --- /dev/null +++ b/packages/tasktree/deps.nix @@ -0,0 +1,1786 @@ +# Generated by carnix 0.6.6: carnix -o deps.nix /home/maralorn/code/tasktree/Cargo.lock +{ lib, buildPlatform, buildRustCrate, fetchgit }: +let kernel = buildPlatform.parsed.kernel.name; + abi = buildPlatform.parsed.abi.name; + include = includedFiles: src: builtins.filterSource (path: type: + lib.lists.any (f: + let p = toString (src + ("/" + f)); in + (path == p) || (type == "directory" && lib.strings.hasPrefix path p) + ) includedFiles + ) src; + 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 { + tasktree = f: tasktree_0_1_0 { features = tasktree_0_1_0_features { tasktree_0_1_0 = f; }; }; + aho_corasick_0_6_3_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "aho-corasick"; + version = "0.6.3"; + authors = [ "Andrew Gallant " ]; + sha256 = "1cpqzf6acj8lm06z3f1cg41wn6c2n9l3v49nh0dvimv4055qib6k"; + libName = "aho_corasick"; + crateBin = [ { name = "aho-corasick-dot"; } ]; + inherit dependencies buildDependencies features; + }; + atk_sys_0_3_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "atk-sys"; + version = "0.3.4"; + authors = [ "The Gtk-rs Project Developers" ]; + sha256 = "0185ggdpwi9rg9spk4ff3v3sz01grbaihxlsim89i7gndj20g4ah"; + libName = "atk_sys"; + build = "build.rs"; + 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_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 " ]; + 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; + }; + chrono_0_2_25_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "chrono"; + version = "0.2.25"; + authors = [ "Kang Seonghoon " ]; + sha256 = "0gsvqk8cnmm43qj3xyngqvfqh50cbdbqas7ik0wjgnvknirmmca7"; + inherit dependencies buildDependencies features; + }; + dtoa_0_4_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "dtoa"; + version = "0.4.1"; + authors = [ "David Tolnay " ]; + sha256 = "0mgg4r90yby68qg7y8csbclhsm53ac26vsyq615viq535plllhzw"; + inherit dependencies buildDependencies features; + }; + gdk_0_5_3_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "gdk"; + version = "0.5.3"; + authors = [ "The Gtk-rs Project Developers" ]; + sha256 = "1745lxr0sgvs7kfkq71ri5brbxkxrfm5hxmz6ajywcpgx5zkk1w8"; + build = "build.rs"; + inherit dependencies buildDependencies features; + }; + gdk_pixbuf_0_1_3_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "gdk-pixbuf"; + version = "0.1.3"; + authors = [ "The Gtk-rs Project Developers" ]; + sha256 = "0ndq5fqhh3j2vax9vxhgslrvhpia8w4b2pczlpnaixiwy0jy3wwz"; + libName = "gdk_pixbuf"; + build = "build.rs"; + inherit dependencies buildDependencies features; + }; + gdk_pixbuf_sys_0_3_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "gdk-pixbuf-sys"; + version = "0.3.4"; + authors = [ "The Gtk-rs Project Developers" ]; + sha256 = "0rp98zx7pcibp6wzxnwfpggvcbbnnlvnxgqsgqzdwhjzdlqk963i"; + libName = "gdk_pixbuf_sys"; + build = "build.rs"; + inherit dependencies buildDependencies features; + }; + gdk_sys_0_3_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "gdk-sys"; + version = "0.3.4"; + authors = [ "The Gtk-rs Project Developers" ]; + sha256 = "1c59xij0lyxmmicwv6q8d91m3aikfqmva63rn6qr04rq141rkqz3"; + libName = "gdk_sys"; + build = "build.rs"; + inherit dependencies buildDependencies features; + }; + gio_0_1_3_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "gio"; + version = "0.1.3"; + authors = [ "The Gtk-rs Project Developers" ]; + sha256 = "1y4vrb41cwsqv8zhdqaddlsvn9v8x1ainqmcim169wr5lkk6ja62"; + build = "build.rs"; + inherit dependencies buildDependencies features; + }; + gio_sys_0_3_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "gio-sys"; + version = "0.3.4"; + authors = [ "The Gtk-rs Project Developers" ]; + sha256 = "1w1d68v5mk93s9cz0m499wrgnkx3ksvy8hgfwncq2lqxvray9z7m"; + libName = "gio_sys"; + build = "build.rs"; + 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; + }; + gtk_0_1_3_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "gtk"; + version = "0.1.3"; + authors = [ "The Gtk-rs Project Developers" ]; + sha256 = "0zs95szbmxpg9kndd756pa9xwqqq3xw0jmmqp23lr55znxv087ss"; + build = "build.rs"; + inherit dependencies buildDependencies features; + }; + gtk_sys_0_3_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "gtk-sys"; + version = "0.3.4"; + authors = [ "The Gtk-rs Project Developers" ]; + sha256 = "04fqaxynjmc4vjpx7x2nbwck2s7vj8h299xb5j5l0njnbj50b7hd"; + libName = "gtk_sys"; + build = "build.rs"; + inherit dependencies buildDependencies features; + }; + itoa_0_3_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "itoa"; + version = "0.3.1"; + authors = [ "David Tolnay " ]; + 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 " ]; + sha256 = "1lrw1hbinyvr6cp28g60z97w32w8vsk6pahk64pmrv2fmby8srfj"; + libName = "kernel32"; + build = "build.rs"; + inherit dependencies buildDependencies features; + }; + lazy_static_0_2_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "lazy_static"; + version = "0.2.2"; + authors = [ "Marvin Löbel " ]; + sha256 = "006gi7k0a5s67hwd6csfqddzq7pxwwgasyxch0hdhghjk9bj11yz"; + inherit dependencies buildDependencies features; + }; + libc_0_2_20_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "libc"; + version = "0.2.20"; + authors = [ "The Rust Project Developers" ]; + sha256 = "0lp90zvxlr2nfk512vsrhfwxn9mav5p944yjihklph9r8vbn1pr8"; + inherit dependencies buildDependencies features; + }; + log_0_3_6_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "log"; + version = "0.3.6"; + authors = [ "The Rust Project Developers" ]; + sha256 = "1gnphjzqkbnqwvv7160syhvggcyry0nrgjzlvk8mvc0pkw1nfpwv"; + inherit dependencies buildDependencies features; + }; + memchr_1_0_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "memchr"; + version = "1.0.1"; + authors = [ "Andrew Gallant " "bluss" ]; + sha256 = "071m5y0zm9p1k7pzqm20f44ixvmycf71xsrpayqaypxrjwchnkxm"; + inherit dependencies buildDependencies features; + }; + num_0_1_36_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "num"; + version = "0.1.36"; + authors = [ "The Rust Project Developers" ]; + sha256 = "1p1vyczf75a39vxcid8d5w1jmjybd0akgn3s3vmrjslhv9sfvqb3"; + inherit dependencies buildDependencies features; + }; + num_integer_0_1_32_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "num-integer"; + version = "0.1.32"; + authors = [ "The Rust Project Developers" ]; + sha256 = "0l52mizdca5967vnsscwahwg27aklih52cznmvlrx7sina87jcg0"; + inherit dependencies buildDependencies features; + }; + num_iter_0_1_32_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "num-iter"; + version = "0.1.32"; + authors = [ "The Rust Project Developers" ]; + sha256 = "14a4710b037jih43fxav1ahzh2k419vsz9ym5pkrcciynczr4niv"; + inherit dependencies buildDependencies features; + }; + num_traits_0_1_36_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "num-traits"; + version = "0.1.36"; + authors = [ "The Rust Project Developers" ]; + sha256 = "1wzf0jd77dbagjqk9ygd6dy1729zg7gj7flf3sa54n7qvfhcwi79"; + inherit dependencies buildDependencies features; + }; + pango_0_1_3_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "pango"; + version = "0.1.3"; + authors = [ "The Gtk-rs Project Developers" ]; + sha256 = "19i470lwxxk91zidr881w3ggf6kg1s05my9cgn9dgnybr90y9sw9"; + inherit dependencies buildDependencies features; + }; + pango_sys_0_3_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "pango-sys"; + version = "0.3.4"; + authors = [ "The Gtk-rs Project Developers" ]; + sha256 = "0wllm1ydr0if5qh1rybipdj3ry28ha1va00bn6vskb757x2f1mgx"; + libName = "pango_sys"; + build = "build.rs"; + inherit dependencies buildDependencies features; + }; + pkg_config_0_3_8_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "pkg-config"; + version = "0.3.8"; + authors = [ "Alex Crichton " ]; + sha256 = "1s8gbbp3vijr4vr97hqs77bwn0d3jqqbv68v03xaxw6ak3ha8w3k"; + inherit dependencies buildDependencies features; + }; + quote_0_3_15_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "quote"; + version = "0.3.15"; + authors = [ "David Tolnay " ]; + sha256 = "09il61jv4kd1360spaj46qwyl21fv1qz18fsv2jra8wdnlgl5jsg"; + inherit dependencies buildDependencies features; + }; + redox_syscall_0_1_16_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "redox_syscall"; + version = "0.1.16"; + authors = [ "Jeremy Soller " ]; + sha256 = "1ggap33xvsa5gqp9kwf26fnc9b377h3d0i0l4cdij3g8zv158kad"; + libName = "syscall"; + inherit dependencies buildDependencies features; + }; + regex_0_2_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "regex"; + version = "0.2.2"; + authors = [ "The Rust Project Developers" ]; + sha256 = "1f1zrrynfylg0vcfyfp60bybq4rp5g1yk2k7lc7fyz7mmc7k2qr7"; + inherit dependencies buildDependencies features; + }; + regex_syntax_0_4_1_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "regex-syntax"; + version = "0.4.1"; + authors = [ "The Rust Project Developers" ]; + sha256 = "01yrsm68lj86ad1whgg1z95c2pfsvv58fz8qjcgw7mlszc0c08ls"; + inherit dependencies buildDependencies features; + }; + serde_0_9_15_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "serde"; + version = "0.9.15"; + authors = [ "Erick Tryzelaar " ]; + sha256 = "0rlflkc57kvy69hnhj4arfsj7ic4hpihxsb00zg5lkdxfj5qjx9b"; + inherit dependencies buildDependencies features; + }; + serde_codegen_internals_0_14_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "serde_codegen_internals"; + version = "0.14.2"; + authors = [ "Erick Tryzelaar " ]; + sha256 = "1v7kbxfhg42nmxwbchd6wgp1b3q5xfay3vii4f4jf0h1grn8mr9r"; + inherit dependencies buildDependencies features; + }; + serde_derive_0_9_15_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "serde_derive"; + version = "0.9.15"; + authors = [ "Erick Tryzelaar " ]; + sha256 = "11f78k33nvyfhbi2j4qjxz42l8d7s2nhcfarp4g4izvh81yq7hgw"; + procMacro = true; + inherit dependencies buildDependencies features; + }; + serde_json_0_9_10_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "serde_json"; + version = "0.9.10"; + authors = [ "Erick Tryzelaar " ]; + sha256 = "0g6bxlfnvf2miicnsizyrxm686rfval6gbss1i2qcna8msfwc005"; + inherit dependencies buildDependencies features; + }; + syn_0_11_11_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "syn"; + version = "0.11.11"; + authors = [ "David Tolnay " ]; + sha256 = "0yw8ng7x1dn5a6ykg0ib49y7r9nhzgpiq2989rqdp7rdz3n85502"; + inherit dependencies buildDependencies features; + }; + synom_0_11_3_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "synom"; + version = "0.11.3"; + authors = [ "David Tolnay " ]; + sha256 = "1l6d1s9qjfp6ng2s2z8219igvlv7gyk8gby97sdykqc1r93d8rhc"; + inherit dependencies buildDependencies features; + }; + task_hookrs_0_3_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "task-hookrs"; + version = "0.3.0"; + authors = [ "Matthias Beyer " "Mario Krehl " ]; + sha256 = "1awfd9fy1j960y8ss70s1y58kbwqg0lvzr2bq85mkbbacn6ky7v2"; + inherit dependencies buildDependencies features; + }; + tasktree_0_1_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "tasktree"; + version = "0.1.0"; + authors = [ "Malte Brandy " ]; + src = /home/maralorn/code/tasktree; + inherit dependencies buildDependencies features; + }; + thread_local_0_3_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "thread_local"; + version = "0.3.4"; + authors = [ "Amanieu d'Antras " ]; + sha256 = "1y6cwyhhx2nkz4b3dziwhqdvgq830z8wjp32b40pjd8r0hxqv2jr"; + inherit dependencies buildDependencies features; + }; + time_0_1_36_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "time"; + version = "0.1.36"; + authors = [ "The Rust Project Developers" ]; + sha256 = "16202ihqbjhha0npv6v0wd69pz65gz8mwkj9yd6dwjqb9lm2mib5"; + inherit dependencies buildDependencies features; + }; + unicode_xid_0_0_4_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "unicode-xid"; + version = "0.0.4"; + authors = [ "erick.tryzelaar " "kwantam " ]; + sha256 = "1dc8wkkcd3s6534s5aw4lbjn8m67flkkbnajp5bl8408wdg8rh9v"; + inherit dependencies buildDependencies features; + }; + unreachable_1_0_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "unreachable"; + version = "1.0.0"; + authors = [ "Jonathan Reem " ]; + sha256 = "1am8czbk5wwr25gbp2zr007744fxjshhdqjz9liz7wl4pnv3whcf"; + inherit dependencies buildDependencies features; + }; + utf8_ranges_1_0_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "utf8-ranges"; + version = "1.0.0"; + authors = [ "Andrew Gallant " ]; + sha256 = "0rzmqprwjv9yp1n0qqgahgm24872x6c0xddfym5pfndy7a36vkn0"; + inherit dependencies buildDependencies features; + }; + uuid_0_4_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "uuid"; + version = "0.4.0"; + authors = [ "The Rust Project Developers" ]; + sha256 = "1fzgp3ayz7g5zx4gvxkxxm9jkrllj5qlvlyp6r2an0wyqm2y9qlh"; + inherit dependencies buildDependencies features; + }; + void_1_0_2_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "void"; + version = "1.0.2"; + authors = [ "Jonathan Reem " ]; + sha256 = "0h1dm0dx8dhf56a83k68mijyxigqhizpskwxfdrs1drwv2cdclv3"; + inherit dependencies buildDependencies features; + }; + winapi_0_2_8_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate { + crateName = "winapi"; + version = "0.2.8"; + authors = [ "Peter Atashian " ]; + 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 " ]; + sha256 = "1lxlpi87rkhxcwp2ykf1ldw3p108hwm24nywf3jfrvmff4rjhqga"; + libName = "build"; + inherit dependencies buildDependencies features; + }; + aho_corasick_0_6_3 = { features?(aho_corasick_0_6_3_features {}) }: aho_corasick_0_6_3_ { + dependencies = mapFeatures features ([ memchr_1_0_1 ]); + }; + aho_corasick_0_6_3_features = f: updateFeatures f (rec { + aho_corasick_0_6_3.default = (f.aho_corasick_0_6_3.default or true); + memchr_1_0_1.default = true; + }) [ memchr_1_0_1_features ]; + atk_sys_0_3_4 = { features?(atk_sys_0_3_4_features {}) }: atk_sys_0_3_4_ { + dependencies = mapFeatures features ([ bitflags_0_8_2 glib_sys_0_3_4 gobject_sys_0_3_4 libc_0_2_20 ]); + buildDependencies = mapFeatures features ([ pkg_config_0_3_8 ]); + features = mkFeatures (features.atk_sys_0_3_4 or {}); + }; + atk_sys_0_3_4_features = f: updateFeatures f (rec { + atk_sys_0_3_4.default = (f.atk_sys_0_3_4.default or true); + atk_sys_0_3_4.v2_10 = + (f.atk_sys_0_3_4.v2_10 or false) || + (f.atk_sys_0_3_4.v2_12 or false) || + (atk_sys_0_3_4.v2_12 or false); + atk_sys_0_3_4.v2_12 = + (f.atk_sys_0_3_4.v2_12 or false) || + (f.atk_sys_0_3_4.v2_14 or false) || + (atk_sys_0_3_4.v2_14 or false); + atk_sys_0_3_4.v2_7_4 = + (f.atk_sys_0_3_4.v2_7_4 or false) || + (f.atk_sys_0_3_4.v2_7_90 or false) || + (atk_sys_0_3_4.v2_7_90 or false); + atk_sys_0_3_4.v2_7_90 = + (f.atk_sys_0_3_4.v2_7_90 or false) || + (f.atk_sys_0_3_4.v2_8 or false) || + (atk_sys_0_3_4.v2_8 or false); + atk_sys_0_3_4.v2_8 = + (f.atk_sys_0_3_4.v2_8 or false) || + (f.atk_sys_0_3_4.v2_9_3 or false) || + (atk_sys_0_3_4.v2_9_3 or false); + atk_sys_0_3_4.v2_9_3 = + (f.atk_sys_0_3_4.v2_9_3 or false) || + (f.atk_sys_0_3_4.v2_9_4 or false) || + (atk_sys_0_3_4.v2_9_4 or false); + atk_sys_0_3_4.v2_9_4 = + (f.atk_sys_0_3_4.v2_9_4 or false) || + (f.atk_sys_0_3_4.v2_10 or false) || + (atk_sys_0_3_4.v2_10 or false); + bitflags_0_8_2.default = true; + glib_sys_0_3_4.default = true; + gobject_sys_0_3_4.default = true; + libc_0_2_20.default = true; + pkg_config_0_3_8.default = true; + }) [ bitflags_0_8_2_features glib_sys_0_3_4_features gobject_sys_0_3_4_features libc_0_2_20_features pkg_config_0_3_8_features ]; + bitflags_0_5_0 = { features?(bitflags_0_5_0_features {}) }: bitflags_0_5_0_ { + features = mkFeatures (features.bitflags_0_5_0 or {}); + }; + bitflags_0_5_0_features = f: updateFeatures f (rec { + bitflags_0_5_0.default = (f.bitflags_0_5_0.default or true); + }) []; + bitflags_0_8_2 = { features?(bitflags_0_8_2_features {}) }: bitflags_0_8_2_ { + features = mkFeatures (features.bitflags_0_8_2 or {}); + }; + bitflags_0_8_2_features = f: updateFeatures f (rec { + bitflags_0_8_2.default = (f.bitflags_0_8_2.default or true); + bitflags_0_8_2.i128 = + (f.bitflags_0_8_2.i128 or false) || + (f.bitflags_0_8_2.unstable or false) || + (bitflags_0_8_2.unstable or false); + }) []; + c_vec_1_2_1 = { features?(c_vec_1_2_1_features {}) }: c_vec_1_2_1_ {}; + c_vec_1_2_1_features = f: updateFeatures f (rec { + c_vec_1_2_1.default = (f.c_vec_1_2_1.default or true); + }) []; + cairo_rs_0_1_3 = { features?(cairo_rs_0_1_3_features {}) }: cairo_rs_0_1_3_ { + dependencies = mapFeatures features ([ c_vec_1_2_1 cairo_sys_rs_0_3_4 libc_0_2_20 ] + ++ (if features.cairo_rs_0_1_3.glib or false then [ glib_0_1_3 ] else [])) + ++ (if kernel == "windows" then mapFeatures features ([ winapi_0_2_8 ]) else []); + buildDependencies = mapFeatures features ([]); + features = mkFeatures (features.cairo_rs_0_1_3 or {}); + }; + cairo_rs_0_1_3_features = f: updateFeatures f (rec { + c_vec_1_2_1.default = true; + cairo_rs_0_1_3.default = (f.cairo_rs_0_1_3.default or true); + cairo_rs_0_1_3.glib = + (f.cairo_rs_0_1_3.glib or false) || + (f.cairo_rs_0_1_3.default or false) || + (cairo_rs_0_1_3.default or false); + cairo_rs_0_1_3.gtk-rs-lgpl-docs = + (f.cairo_rs_0_1_3.gtk-rs-lgpl-docs or false) || + (f.cairo_rs_0_1_3.embed-lgpl-docs or false) || + (cairo_rs_0_1_3.embed-lgpl-docs or false) || + (f.cairo_rs_0_1_3.purge-lgpl-docs or false) || + (cairo_rs_0_1_3.purge-lgpl-docs or false); + cairo_sys_rs_0_3_4.default = true; + cairo_sys_rs_0_3_4.png = + (f.cairo_sys_rs_0_3_4.png or false) || + (cairo_rs_0_1_3.png or false) || + (f.cairo_rs_0_1_3.png or false); + cairo_sys_rs_0_3_4.v1_12 = + (f.cairo_sys_rs_0_3_4.v1_12 or false) || + (cairo_rs_0_1_3.v1_12 or false) || + (f.cairo_rs_0_1_3.v1_12 or false); + cairo_sys_rs_0_3_4.xcb = + (f.cairo_sys_rs_0_3_4.xcb or false) || + (cairo_rs_0_1_3.xcb or false) || + (f.cairo_rs_0_1_3.xcb or false); + glib_0_1_3.default = true; + libc_0_2_20.default = true; + winapi_0_2_8.default = true; + }) [ c_vec_1_2_1_features cairo_sys_rs_0_3_4_features glib_0_1_3_features libc_0_2_20_features winapi_0_2_8_features ]; + cairo_sys_rs_0_3_4 = { features?(cairo_sys_rs_0_3_4_features {}) }: cairo_sys_rs_0_3_4_ { + dependencies = mapFeatures features ([ libc_0_2_20 ]) + ++ (if kernel == "windows" then mapFeatures features ([ winapi_0_2_8 ]) else []); + buildDependencies = mapFeatures features ([ pkg_config_0_3_8 ]); + features = mkFeatures (features.cairo_sys_rs_0_3_4 or {}); + }; + cairo_sys_rs_0_3_4_features = f: updateFeatures f (rec { + cairo_sys_rs_0_3_4.default = (f.cairo_sys_rs_0_3_4.default or true); + cairo_sys_rs_0_3_4.v1_12 = + (f.cairo_sys_rs_0_3_4.v1_12 or false) || + (f.cairo_sys_rs_0_3_4.v1_14 or false) || + (cairo_sys_rs_0_3_4.v1_14 or false); + cairo_sys_rs_0_3_4.x11 = + (f.cairo_sys_rs_0_3_4.x11 or false) || + (f.cairo_sys_rs_0_3_4.xlib or false) || + (cairo_sys_rs_0_3_4.xlib or false); + libc_0_2_20.default = true; + pkg_config_0_3_8.default = true; + winapi_0_2_8.default = true; + }) [ libc_0_2_20_features pkg_config_0_3_8_features winapi_0_2_8_features ]; + chrono_0_2_25 = { features?(chrono_0_2_25_features {}) }: chrono_0_2_25_ { + dependencies = mapFeatures features ([ num_0_1_36 time_0_1_36 ]); + }; + chrono_0_2_25_features = f: updateFeatures f (rec { + chrono_0_2_25.default = (f.chrono_0_2_25.default or true); + num_0_1_36.default = (f.num_0_1_36.default or false); + time_0_1_36.default = true; + }) [ num_0_1_36_features time_0_1_36_features ]; + dtoa_0_4_1 = { features?(dtoa_0_4_1_features {}) }: dtoa_0_4_1_ {}; + dtoa_0_4_1_features = f: updateFeatures f (rec { + dtoa_0_4_1.default = (f.dtoa_0_4_1.default or true); + }) []; + gdk_0_5_3 = { features?(gdk_0_5_3_features {}) }: gdk_0_5_3_ { + dependencies = mapFeatures features ([ bitflags_0_5_0 cairo_rs_0_1_3 cairo_sys_rs_0_3_4 gdk_pixbuf_0_1_3 gdk_sys_0_3_4 gio_0_1_3 glib_0_1_3 glib_sys_0_3_4 gobject_sys_0_3_4 libc_0_2_20 pango_0_1_3 ]); + buildDependencies = mapFeatures features ([]); + features = mkFeatures (features.gdk_0_5_3 or {}); + }; + gdk_0_5_3_features = f: updateFeatures f (rec { + bitflags_0_5_0.default = true; + cairo_rs_0_1_3.default = true; + cairo_rs_0_1_3.embed-lgpl-docs = + (f.cairo_rs_0_1_3.embed-lgpl-docs or false) || + (gdk_0_5_3.embed-lgpl-docs or false) || + (f.gdk_0_5_3.embed-lgpl-docs or false); + cairo_rs_0_1_3.purge-lgpl-docs = + (f.cairo_rs_0_1_3.purge-lgpl-docs or false) || + (gdk_0_5_3.purge-lgpl-docs or false) || + (f.gdk_0_5_3.purge-lgpl-docs or false); + cairo_rs_0_1_3.v1_12 = + (f.cairo_rs_0_1_3.v1_12 or false) || + (gdk_0_5_3.v3_10 or false) || + (f.gdk_0_5_3.v3_10 or false); + cairo_sys_rs_0_3_4.default = true; + gdk_0_5_3.default = (f.gdk_0_5_3.default or true); + gdk_0_5_3.gtk-rs-lgpl-docs = + (f.gdk_0_5_3.gtk-rs-lgpl-docs or false) || + (f.gdk_0_5_3.embed-lgpl-docs or false) || + (gdk_0_5_3.embed-lgpl-docs or false) || + (f.gdk_0_5_3.purge-lgpl-docs or false) || + (gdk_0_5_3.purge-lgpl-docs or false); + gdk_0_5_3.v3_10 = + (f.gdk_0_5_3.v3_10 or false) || + (f.gdk_0_5_3.v3_12 or false) || + (gdk_0_5_3.v3_12 or false); + gdk_0_5_3.v3_12 = + (f.gdk_0_5_3.v3_12 or false) || + (f.gdk_0_5_3.v3_14 or false) || + (gdk_0_5_3.v3_14 or false); + gdk_0_5_3.v3_14 = + (f.gdk_0_5_3.v3_14 or false) || + (f.gdk_0_5_3.v3_16 or false) || + (gdk_0_5_3.v3_16 or false); + gdk_0_5_3.v3_16 = + (f.gdk_0_5_3.v3_16 or false) || + (f.gdk_0_5_3.v3_18 or false) || + (gdk_0_5_3.v3_18 or false); + gdk_0_5_3.v3_18 = + (f.gdk_0_5_3.v3_18 or false) || + (f.gdk_0_5_3.v3_20 or false) || + (gdk_0_5_3.v3_20 or false); + gdk_0_5_3.v3_20 = + (f.gdk_0_5_3.v3_20 or false) || + (f.gdk_0_5_3.v3_22 or false) || + (gdk_0_5_3.v3_22 or false); + gdk_0_5_3.v3_6 = + (f.gdk_0_5_3.v3_6 or false) || + (f.gdk_0_5_3.v3_8 or false) || + (gdk_0_5_3.v3_8 or false); + gdk_0_5_3.v3_8 = + (f.gdk_0_5_3.v3_8 or false) || + (f.gdk_0_5_3.v3_10 or false) || + (gdk_0_5_3.v3_10 or false); + gdk_pixbuf_0_1_3.default = true; + gdk_pixbuf_0_1_3.embed-lgpl-docs = + (f.gdk_pixbuf_0_1_3.embed-lgpl-docs or false) || + (gdk_0_5_3.embed-lgpl-docs or false) || + (f.gdk_0_5_3.embed-lgpl-docs or false); + gdk_pixbuf_0_1_3.purge-lgpl-docs = + (f.gdk_pixbuf_0_1_3.purge-lgpl-docs or false) || + (gdk_0_5_3.purge-lgpl-docs or false) || + (f.gdk_0_5_3.purge-lgpl-docs or false); + gdk_pixbuf_0_1_3.v2_28 = + (f.gdk_pixbuf_0_1_3.v2_28 or false) || + (gdk_0_5_3.v3_8 or false) || + (f.gdk_0_5_3.v3_8 or false); + gdk_pixbuf_0_1_3.v2_30 = + (f.gdk_pixbuf_0_1_3.v2_30 or false) || + (gdk_0_5_3.v3_14 or false) || + (f.gdk_0_5_3.v3_14 or false); + gdk_sys_0_3_4.default = true; + gdk_sys_0_3_4.v3_10 = + (f.gdk_sys_0_3_4.v3_10 or false) || + (gdk_0_5_3.v3_10 or false) || + (f.gdk_0_5_3.v3_10 or false); + gdk_sys_0_3_4.v3_12 = + (f.gdk_sys_0_3_4.v3_12 or false) || + (gdk_0_5_3.v3_12 or false) || + (f.gdk_0_5_3.v3_12 or false); + gdk_sys_0_3_4.v3_14 = + (f.gdk_sys_0_3_4.v3_14 or false) || + (gdk_0_5_3.v3_14 or false) || + (f.gdk_0_5_3.v3_14 or false); + gdk_sys_0_3_4.v3_16 = + (f.gdk_sys_0_3_4.v3_16 or false) || + (gdk_0_5_3.v3_16 or false) || + (f.gdk_0_5_3.v3_16 or false); + gdk_sys_0_3_4.v3_18 = + (f.gdk_sys_0_3_4.v3_18 or false) || + (gdk_0_5_3.v3_18 or false) || + (f.gdk_0_5_3.v3_18 or false); + gdk_sys_0_3_4.v3_20 = + (f.gdk_sys_0_3_4.v3_20 or false) || + (gdk_0_5_3.v3_20 or false) || + (f.gdk_0_5_3.v3_20 or false); + gdk_sys_0_3_4.v3_22 = + (f.gdk_sys_0_3_4.v3_22 or false) || + (gdk_0_5_3.v3_22 or false) || + (f.gdk_0_5_3.v3_22 or false); + gdk_sys_0_3_4.v3_6 = + (f.gdk_sys_0_3_4.v3_6 or false) || + (gdk_0_5_3.v3_6 or false) || + (f.gdk_0_5_3.v3_6 or false); + gdk_sys_0_3_4.v3_8 = + (f.gdk_sys_0_3_4.v3_8 or false) || + (gdk_0_5_3.v3_8 or false) || + (f.gdk_0_5_3.v3_8 or false); + gio_0_1_3.default = true; + gio_0_1_3.embed-lgpl-docs = + (f.gio_0_1_3.embed-lgpl-docs or false) || + (gdk_0_5_3.embed-lgpl-docs or false) || + (f.gdk_0_5_3.embed-lgpl-docs or false); + gio_0_1_3.purge-lgpl-docs = + (f.gio_0_1_3.purge-lgpl-docs or false) || + (gdk_0_5_3.purge-lgpl-docs or false) || + (f.gdk_0_5_3.purge-lgpl-docs or false); + gio_0_1_3.v2_34 = + (f.gio_0_1_3.v2_34 or false) || + (gdk_0_5_3.v3_8 or false) || + (f.gdk_0_5_3.v3_8 or false); + gio_0_1_3.v2_36 = + (f.gio_0_1_3.v2_36 or false) || + (gdk_0_5_3.v3_10 or false) || + (f.gdk_0_5_3.v3_10 or false); + gio_0_1_3.v2_38 = + (f.gio_0_1_3.v2_38 or false) || + (gdk_0_5_3.v3_12 or false) || + (f.gdk_0_5_3.v3_12 or false); + gio_0_1_3.v2_40 = + (f.gio_0_1_3.v2_40 or false) || + (gdk_0_5_3.v3_14 or false) || + (f.gdk_0_5_3.v3_14 or false); + gio_0_1_3.v2_42 = + (f.gio_0_1_3.v2_42 or false) || + (gdk_0_5_3.v3_16 or false) || + (f.gdk_0_5_3.v3_16 or false); + gio_0_1_3.v2_44 = + (f.gio_0_1_3.v2_44 or false) || + (gdk_0_5_3.v3_18 or false) || + (f.gdk_0_5_3.v3_18 or false); + gio_0_1_3.v2_48 = + (f.gio_0_1_3.v2_48 or false) || + (gdk_0_5_3.v3_20 or false) || + (f.gdk_0_5_3.v3_20 or false); + glib_0_1_3.default = true; + glib_sys_0_3_4.default = true; + gobject_sys_0_3_4.default = true; + libc_0_2_20.default = true; + pango_0_1_3.default = true; + pango_0_1_3.v1_32_4 = + (f.pango_0_1_3.v1_32_4 or false) || + (gdk_0_5_3.v3_8 or false) || + (f.gdk_0_5_3.v3_8 or false); + pango_0_1_3.v1_34 = + (f.pango_0_1_3.v1_34 or false) || + (gdk_0_5_3.v3_14 or false) || + (f.gdk_0_5_3.v3_14 or false); + }) [ bitflags_0_5_0_features cairo_rs_0_1_3_features cairo_sys_rs_0_3_4_features gdk_pixbuf_0_1_3_features gdk_sys_0_3_4_features gio_0_1_3_features glib_0_1_3_features glib_sys_0_3_4_features gobject_sys_0_3_4_features libc_0_2_20_features pango_0_1_3_features ]; + gdk_pixbuf_0_1_3 = { features?(gdk_pixbuf_0_1_3_features {}) }: gdk_pixbuf_0_1_3_ { + dependencies = mapFeatures features ([ gdk_pixbuf_sys_0_3_4 glib_0_1_3 libc_0_2_20 ]); + buildDependencies = mapFeatures features ([]); + features = mkFeatures (features.gdk_pixbuf_0_1_3 or {}); + }; + gdk_pixbuf_0_1_3_features = f: updateFeatures f (rec { + gdk_pixbuf_0_1_3.default = (f.gdk_pixbuf_0_1_3.default or true); + gdk_pixbuf_0_1_3.gtk-rs-lgpl-docs = + (f.gdk_pixbuf_0_1_3.gtk-rs-lgpl-docs or false) || + (f.gdk_pixbuf_0_1_3.embed-lgpl-docs or false) || + (gdk_pixbuf_0_1_3.embed-lgpl-docs or false) || + (f.gdk_pixbuf_0_1_3.purge-lgpl-docs or false) || + (gdk_pixbuf_0_1_3.purge-lgpl-docs or false); + gdk_pixbuf_0_1_3.v2_28 = + (f.gdk_pixbuf_0_1_3.v2_28 or false) || + (f.gdk_pixbuf_0_1_3.v2_30 or false) || + (gdk_pixbuf_0_1_3.v2_30 or false); + gdk_pixbuf_0_1_3.v2_30 = + (f.gdk_pixbuf_0_1_3.v2_30 or false) || + (f.gdk_pixbuf_0_1_3.v2_32 or false) || + (gdk_pixbuf_0_1_3.v2_32 or false); + gdk_pixbuf_0_1_3.v2_32 = + (f.gdk_pixbuf_0_1_3.v2_32 or false) || + (f.gdk_pixbuf_0_1_3.v2_36 or false) || + (gdk_pixbuf_0_1_3.v2_36 or false); + gdk_pixbuf_sys_0_3_4.default = true; + gdk_pixbuf_sys_0_3_4.v2_28 = + (f.gdk_pixbuf_sys_0_3_4.v2_28 or false) || + (gdk_pixbuf_0_1_3.v2_28 or false) || + (f.gdk_pixbuf_0_1_3.v2_28 or false); + gdk_pixbuf_sys_0_3_4.v2_30 = + (f.gdk_pixbuf_sys_0_3_4.v2_30 or false) || + (gdk_pixbuf_0_1_3.v2_30 or false) || + (f.gdk_pixbuf_0_1_3.v2_30 or false); + gdk_pixbuf_sys_0_3_4.v2_32 = + (f.gdk_pixbuf_sys_0_3_4.v2_32 or false) || + (gdk_pixbuf_0_1_3.v2_32 or false) || + (f.gdk_pixbuf_0_1_3.v2_32 or false); + gdk_pixbuf_sys_0_3_4.v2_36 = + (f.gdk_pixbuf_sys_0_3_4.v2_36 or false) || + (gdk_pixbuf_0_1_3.v2_36 or false) || + (f.gdk_pixbuf_0_1_3.v2_36 or false); + glib_0_1_3.default = true; + libc_0_2_20.default = true; + }) [ gdk_pixbuf_sys_0_3_4_features glib_0_1_3_features libc_0_2_20_features ]; + gdk_pixbuf_sys_0_3_4 = { features?(gdk_pixbuf_sys_0_3_4_features {}) }: gdk_pixbuf_sys_0_3_4_ { + dependencies = mapFeatures features ([ bitflags_0_8_2 gio_sys_0_3_4 glib_sys_0_3_4 gobject_sys_0_3_4 libc_0_2_20 ]); + buildDependencies = mapFeatures features ([ pkg_config_0_3_8 ]); + features = mkFeatures (features.gdk_pixbuf_sys_0_3_4 or {}); + }; + gdk_pixbuf_sys_0_3_4_features = f: updateFeatures f (rec { + bitflags_0_8_2.default = true; + gdk_pixbuf_sys_0_3_4.default = (f.gdk_pixbuf_sys_0_3_4.default or true); + gdk_pixbuf_sys_0_3_4.v2_28 = + (f.gdk_pixbuf_sys_0_3_4.v2_28 or false) || + (f.gdk_pixbuf_sys_0_3_4.v2_30 or false) || + (gdk_pixbuf_sys_0_3_4.v2_30 or false); + gdk_pixbuf_sys_0_3_4.v2_30 = + (f.gdk_pixbuf_sys_0_3_4.v2_30 or false) || + (f.gdk_pixbuf_sys_0_3_4.v2_32 or false) || + (gdk_pixbuf_sys_0_3_4.v2_32 or false); + gdk_pixbuf_sys_0_3_4.v2_32 = + (f.gdk_pixbuf_sys_0_3_4.v2_32 or false) || + (f.gdk_pixbuf_sys_0_3_4.v2_36 or false) || + (gdk_pixbuf_sys_0_3_4.v2_36 or false); + gio_sys_0_3_4.default = true; + glib_sys_0_3_4.default = true; + gobject_sys_0_3_4.default = true; + libc_0_2_20.default = true; + pkg_config_0_3_8.default = true; + }) [ bitflags_0_8_2_features gio_sys_0_3_4_features glib_sys_0_3_4_features gobject_sys_0_3_4_features libc_0_2_20_features pkg_config_0_3_8_features ]; + gdk_sys_0_3_4 = { features?(gdk_sys_0_3_4_features {}) }: gdk_sys_0_3_4_ { + dependencies = mapFeatures features ([ bitflags_0_8_2 cairo_sys_rs_0_3_4 gdk_pixbuf_sys_0_3_4 gio_sys_0_3_4 glib_sys_0_3_4 gobject_sys_0_3_4 libc_0_2_20 pango_sys_0_3_4 ]); + buildDependencies = mapFeatures features ([ pkg_config_0_3_8 ]); + features = mkFeatures (features.gdk_sys_0_3_4 or {}); + }; + gdk_sys_0_3_4_features = f: updateFeatures f (rec { + bitflags_0_8_2.default = true; + cairo_sys_rs_0_3_4.default = true; + gdk_pixbuf_sys_0_3_4.default = true; + gdk_sys_0_3_4.default = (f.gdk_sys_0_3_4.default or true); + gdk_sys_0_3_4.v3_10 = + (f.gdk_sys_0_3_4.v3_10 or false) || + (f.gdk_sys_0_3_4.v3_12 or false) || + (gdk_sys_0_3_4.v3_12 or false); + gdk_sys_0_3_4.v3_12 = + (f.gdk_sys_0_3_4.v3_12 or false) || + (f.gdk_sys_0_3_4.v3_14 or false) || + (gdk_sys_0_3_4.v3_14 or false); + gdk_sys_0_3_4.v3_14 = + (f.gdk_sys_0_3_4.v3_14 or false) || + (f.gdk_sys_0_3_4.v3_16 or false) || + (gdk_sys_0_3_4.v3_16 or false); + gdk_sys_0_3_4.v3_16 = + (f.gdk_sys_0_3_4.v3_16 or false) || + (f.gdk_sys_0_3_4.v3_18 or false) || + (gdk_sys_0_3_4.v3_18 or false); + gdk_sys_0_3_4.v3_18 = + (f.gdk_sys_0_3_4.v3_18 or false) || + (f.gdk_sys_0_3_4.v3_20 or false) || + (gdk_sys_0_3_4.v3_20 or false); + gdk_sys_0_3_4.v3_20 = + (f.gdk_sys_0_3_4.v3_20 or false) || + (f.gdk_sys_0_3_4.v3_22 or false) || + (gdk_sys_0_3_4.v3_22 or false); + gdk_sys_0_3_4.v3_6 = + (f.gdk_sys_0_3_4.v3_6 or false) || + (f.gdk_sys_0_3_4.v3_8 or false) || + (gdk_sys_0_3_4.v3_8 or false); + gdk_sys_0_3_4.v3_8 = + (f.gdk_sys_0_3_4.v3_8 or false) || + (f.gdk_sys_0_3_4.v3_10 or false) || + (gdk_sys_0_3_4.v3_10 or false); + gio_sys_0_3_4.default = true; + glib_sys_0_3_4.default = true; + gobject_sys_0_3_4.default = true; + libc_0_2_20.default = true; + pango_sys_0_3_4.default = true; + pkg_config_0_3_8.default = true; + }) [ bitflags_0_8_2_features cairo_sys_rs_0_3_4_features gdk_pixbuf_sys_0_3_4_features gio_sys_0_3_4_features glib_sys_0_3_4_features gobject_sys_0_3_4_features libc_0_2_20_features pango_sys_0_3_4_features pkg_config_0_3_8_features ]; + gio_0_1_3 = { features?(gio_0_1_3_features {}) }: gio_0_1_3_ { + dependencies = mapFeatures features ([ bitflags_0_5_0 gio_sys_0_3_4 glib_0_1_3 glib_sys_0_3_4 gobject_sys_0_3_4 libc_0_2_20 ]); + buildDependencies = mapFeatures features ([]); + features = mkFeatures (features.gio_0_1_3 or {}); + }; + gio_0_1_3_features = f: updateFeatures f (rec { + bitflags_0_5_0.default = true; + gio_0_1_3.default = (f.gio_0_1_3.default or true); + gio_0_1_3.gtk-rs-lgpl-docs = + (f.gio_0_1_3.gtk-rs-lgpl-docs or false) || + (f.gio_0_1_3.embed-lgpl-docs or false) || + (gio_0_1_3.embed-lgpl-docs or false) || + (f.gio_0_1_3.purge-lgpl-docs or false) || + (gio_0_1_3.purge-lgpl-docs or false); + gio_0_1_3.v2_34 = + (f.gio_0_1_3.v2_34 or false) || + (f.gio_0_1_3.v2_36 or false) || + (gio_0_1_3.v2_36 or false); + gio_0_1_3.v2_36 = + (f.gio_0_1_3.v2_36 or false) || + (f.gio_0_1_3.v2_38 or false) || + (gio_0_1_3.v2_38 or false); + gio_0_1_3.v2_38 = + (f.gio_0_1_3.v2_38 or false) || + (f.gio_0_1_3.v2_40 or false) || + (gio_0_1_3.v2_40 or false); + gio_0_1_3.v2_40 = + (f.gio_0_1_3.v2_40 or false) || + (f.gio_0_1_3.v2_42 or false) || + (gio_0_1_3.v2_42 or false); + gio_0_1_3.v2_42 = + (f.gio_0_1_3.v2_42 or false) || + (f.gio_0_1_3.v2_44 or false) || + (gio_0_1_3.v2_44 or false); + gio_0_1_3.v2_44 = + (f.gio_0_1_3.v2_44 or false) || + (f.gio_0_1_3.v2_46 or false) || + (gio_0_1_3.v2_46 or false); + gio_0_1_3.v2_46 = + (f.gio_0_1_3.v2_46 or false) || + (f.gio_0_1_3.v2_48 or false) || + (gio_0_1_3.v2_48 or false); + gio_0_1_3.v2_48 = + (f.gio_0_1_3.v2_48 or false) || + (f.gio_0_1_3.v2_50 or false) || + (gio_0_1_3.v2_50 or false); + gio_sys_0_3_4.default = true; + gio_sys_0_3_4.v2_34 = + (f.gio_sys_0_3_4.v2_34 or false) || + (gio_0_1_3.v2_34 or false) || + (f.gio_0_1_3.v2_34 or false); + gio_sys_0_3_4.v2_36 = + (f.gio_sys_0_3_4.v2_36 or false) || + (gio_0_1_3.v2_36 or false) || + (f.gio_0_1_3.v2_36 or false); + gio_sys_0_3_4.v2_38 = + (f.gio_sys_0_3_4.v2_38 or false) || + (gio_0_1_3.v2_38 or false) || + (f.gio_0_1_3.v2_38 or false); + gio_sys_0_3_4.v2_40 = + (f.gio_sys_0_3_4.v2_40 or false) || + (gio_0_1_3.v2_40 or false) || + (f.gio_0_1_3.v2_40 or false); + gio_sys_0_3_4.v2_42 = + (f.gio_sys_0_3_4.v2_42 or false) || + (gio_0_1_3.v2_42 or false) || + (f.gio_0_1_3.v2_42 or false); + gio_sys_0_3_4.v2_44 = + (f.gio_sys_0_3_4.v2_44 or false) || + (gio_0_1_3.v2_44 or false) || + (f.gio_0_1_3.v2_44 or false); + gio_sys_0_3_4.v2_46 = + (f.gio_sys_0_3_4.v2_46 or false) || + (gio_0_1_3.v2_46 or false) || + (f.gio_0_1_3.v2_46 or false); + gio_sys_0_3_4.v2_48 = + (f.gio_sys_0_3_4.v2_48 or false) || + (gio_0_1_3.v2_48 or false) || + (f.gio_0_1_3.v2_48 or false); + gio_sys_0_3_4.v2_50 = + (f.gio_sys_0_3_4.v2_50 or false) || + (gio_0_1_3.v2_50 or false) || + (f.gio_0_1_3.v2_50 or false); + glib_0_1_3.default = true; + glib_sys_0_3_4.default = true; + gobject_sys_0_3_4.default = true; + libc_0_2_20.default = true; + }) [ bitflags_0_5_0_features gio_sys_0_3_4_features glib_0_1_3_features glib_sys_0_3_4_features gobject_sys_0_3_4_features libc_0_2_20_features ]; + gio_sys_0_3_4 = { features?(gio_sys_0_3_4_features {}) }: gio_sys_0_3_4_ { + dependencies = mapFeatures features ([ bitflags_0_8_2 glib_sys_0_3_4 gobject_sys_0_3_4 libc_0_2_20 ]); + buildDependencies = mapFeatures features ([ pkg_config_0_3_8 ]); + features = mkFeatures (features.gio_sys_0_3_4 or {}); + }; + gio_sys_0_3_4_features = f: updateFeatures f (rec { + bitflags_0_8_2.default = true; + gio_sys_0_3_4.default = (f.gio_sys_0_3_4.default or true); + gio_sys_0_3_4.v2_34 = + (f.gio_sys_0_3_4.v2_34 or false) || + (f.gio_sys_0_3_4.v2_36 or false) || + (gio_sys_0_3_4.v2_36 or false); + gio_sys_0_3_4.v2_36 = + (f.gio_sys_0_3_4.v2_36 or false) || + (f.gio_sys_0_3_4.v2_38 or false) || + (gio_sys_0_3_4.v2_38 or false); + gio_sys_0_3_4.v2_38 = + (f.gio_sys_0_3_4.v2_38 or false) || + (f.gio_sys_0_3_4.v2_40 or false) || + (gio_sys_0_3_4.v2_40 or false); + gio_sys_0_3_4.v2_40 = + (f.gio_sys_0_3_4.v2_40 or false) || + (f.gio_sys_0_3_4.v2_42 or false) || + (gio_sys_0_3_4.v2_42 or false); + gio_sys_0_3_4.v2_42 = + (f.gio_sys_0_3_4.v2_42 or false) || + (f.gio_sys_0_3_4.v2_44 or false) || + (gio_sys_0_3_4.v2_44 or false); + gio_sys_0_3_4.v2_44 = + (f.gio_sys_0_3_4.v2_44 or false) || + (f.gio_sys_0_3_4.v2_46 or false) || + (gio_sys_0_3_4.v2_46 or false); + gio_sys_0_3_4.v2_46 = + (f.gio_sys_0_3_4.v2_46 or false) || + (f.gio_sys_0_3_4.v2_48 or false) || + (gio_sys_0_3_4.v2_48 or false); + gio_sys_0_3_4.v2_48 = + (f.gio_sys_0_3_4.v2_48 or false) || + (f.gio_sys_0_3_4.v2_50 or false) || + (gio_sys_0_3_4.v2_50 or false); + glib_sys_0_3_4.default = true; + gobject_sys_0_3_4.default = true; + libc_0_2_20.default = true; + pkg_config_0_3_8.default = true; + }) [ bitflags_0_8_2_features glib_sys_0_3_4_features gobject_sys_0_3_4_features libc_0_2_20_features pkg_config_0_3_8_features ]; + glib_0_1_3 = { features?(glib_0_1_3_features {}) }: glib_0_1_3_ { + dependencies = mapFeatures features ([ bitflags_0_5_0 glib_sys_0_3_4 gobject_sys_0_3_4 lazy_static_0_2_2 libc_0_2_20 ]); + features = mkFeatures (features.glib_0_1_3 or {}); + }; + glib_0_1_3_features = f: updateFeatures f (rec { + bitflags_0_5_0.default = true; + glib_0_1_3.default = (f.glib_0_1_3.default or true); + glib_0_1_3.v2_38 = + (f.glib_0_1_3.v2_38 or false) || + (f.glib_0_1_3.v2_40 or false) || + (glib_0_1_3.v2_40 or false); + glib_0_1_3.v2_40 = + (f.glib_0_1_3.v2_40 or false) || + (f.glib_0_1_3.v2_44 or false) || + (glib_0_1_3.v2_44 or false); + glib_0_1_3.v2_44 = + (f.glib_0_1_3.v2_44 or false) || + (f.glib_0_1_3.v2_46 or false) || + (glib_0_1_3.v2_46 or false); + glib_0_1_3.v2_46 = + (f.glib_0_1_3.v2_46 or false) || + (f.glib_0_1_3.v2_48 or false) || + (glib_0_1_3.v2_48 or false); + glib_0_1_3.v2_48 = + (f.glib_0_1_3.v2_48 or false) || + (f.glib_0_1_3.v2_50 or false) || + (glib_0_1_3.v2_50 or false); + glib_sys_0_3_4.default = true; + glib_sys_0_3_4.v2_38 = + (f.glib_sys_0_3_4.v2_38 or false) || + (glib_0_1_3.v2_38 or false) || + (f.glib_0_1_3.v2_38 or false); + glib_sys_0_3_4.v2_40 = + (f.glib_sys_0_3_4.v2_40 or false) || + (glib_0_1_3.v2_40 or false) || + (f.glib_0_1_3.v2_40 or false); + glib_sys_0_3_4.v2_44 = + (f.glib_sys_0_3_4.v2_44 or false) || + (glib_0_1_3.v2_44 or false) || + (f.glib_0_1_3.v2_44 or false); + glib_sys_0_3_4.v2_46 = + (f.glib_sys_0_3_4.v2_46 or false) || + (glib_0_1_3.v2_46 or false) || + (f.glib_0_1_3.v2_46 or false); + glib_sys_0_3_4.v2_48 = + (f.glib_sys_0_3_4.v2_48 or false) || + (glib_0_1_3.v2_48 or false) || + (f.glib_0_1_3.v2_48 or false); + glib_sys_0_3_4.v2_50 = + (f.glib_sys_0_3_4.v2_50 or false) || + (glib_0_1_3.v2_50 or false) || + (f.glib_0_1_3.v2_50 or false); + gobject_sys_0_3_4.default = true; + gobject_sys_0_3_4.v2_38 = + (f.gobject_sys_0_3_4.v2_38 or false) || + (glib_0_1_3.v2_38 or false) || + (f.glib_0_1_3.v2_38 or false); + gobject_sys_0_3_4.v2_44 = + (f.gobject_sys_0_3_4.v2_44 or false) || + (glib_0_1_3.v2_44 or false) || + (f.glib_0_1_3.v2_44 or false); + gobject_sys_0_3_4.v2_46 = + (f.gobject_sys_0_3_4.v2_46 or false) || + (glib_0_1_3.v2_46 or false) || + (f.glib_0_1_3.v2_46 or false); + lazy_static_0_2_2.default = true; + libc_0_2_20.default = true; + }) [ bitflags_0_5_0_features glib_sys_0_3_4_features gobject_sys_0_3_4_features lazy_static_0_2_2_features libc_0_2_20_features ]; + glib_sys_0_3_4 = { features?(glib_sys_0_3_4_features {}) }: glib_sys_0_3_4_ { + dependencies = mapFeatures features ([ bitflags_0_8_2 libc_0_2_20 ]); + buildDependencies = mapFeatures features ([ pkg_config_0_3_8 ]); + features = mkFeatures (features.glib_sys_0_3_4 or {}); + }; + glib_sys_0_3_4_features = f: updateFeatures f (rec { + bitflags_0_8_2.default = true; + glib_sys_0_3_4.default = (f.glib_sys_0_3_4.default or true); + glib_sys_0_3_4.v2_34 = + (f.glib_sys_0_3_4.v2_34 or false) || + (f.glib_sys_0_3_4.v2_36 or false) || + (glib_sys_0_3_4.v2_36 or false); + glib_sys_0_3_4.v2_36 = + (f.glib_sys_0_3_4.v2_36 or false) || + (f.glib_sys_0_3_4.v2_38 or false) || + (glib_sys_0_3_4.v2_38 or false); + glib_sys_0_3_4.v2_38 = + (f.glib_sys_0_3_4.v2_38 or false) || + (f.glib_sys_0_3_4.v2_40 or false) || + (glib_sys_0_3_4.v2_40 or false); + glib_sys_0_3_4.v2_40 = + (f.glib_sys_0_3_4.v2_40 or false) || + (f.glib_sys_0_3_4.v2_44 or false) || + (glib_sys_0_3_4.v2_44 or false); + glib_sys_0_3_4.v2_44 = + (f.glib_sys_0_3_4.v2_44 or false) || + (f.glib_sys_0_3_4.v2_46 or false) || + (glib_sys_0_3_4.v2_46 or false); + glib_sys_0_3_4.v2_46 = + (f.glib_sys_0_3_4.v2_46 or false) || + (f.glib_sys_0_3_4.v2_48 or false) || + (glib_sys_0_3_4.v2_48 or false); + glib_sys_0_3_4.v2_48 = + (f.glib_sys_0_3_4.v2_48 or false) || + (f.glib_sys_0_3_4.v2_50 or false) || + (glib_sys_0_3_4.v2_50 or false); + libc_0_2_20.default = true; + pkg_config_0_3_8.default = true; + }) [ bitflags_0_8_2_features libc_0_2_20_features pkg_config_0_3_8_features ]; + gobject_sys_0_3_4 = { features?(gobject_sys_0_3_4_features {}) }: gobject_sys_0_3_4_ { + dependencies = mapFeatures features ([ bitflags_0_8_2 glib_sys_0_3_4 libc_0_2_20 ]); + buildDependencies = mapFeatures features ([ pkg_config_0_3_8 ]); + features = mkFeatures (features.gobject_sys_0_3_4 or {}); + }; + gobject_sys_0_3_4_features = f: updateFeatures f (rec { + bitflags_0_8_2.default = true; + glib_sys_0_3_4.default = true; + gobject_sys_0_3_4.default = (f.gobject_sys_0_3_4.default or true); + gobject_sys_0_3_4.v2_34 = + (f.gobject_sys_0_3_4.v2_34 or false) || + (f.gobject_sys_0_3_4.v2_36 or false) || + (gobject_sys_0_3_4.v2_36 or false); + gobject_sys_0_3_4.v2_36 = + (f.gobject_sys_0_3_4.v2_36 or false) || + (f.gobject_sys_0_3_4.v2_38 or false) || + (gobject_sys_0_3_4.v2_38 or false); + gobject_sys_0_3_4.v2_38 = + (f.gobject_sys_0_3_4.v2_38 or false) || + (f.gobject_sys_0_3_4.v2_42 or false) || + (gobject_sys_0_3_4.v2_42 or false); + gobject_sys_0_3_4.v2_42 = + (f.gobject_sys_0_3_4.v2_42 or false) || + (f.gobject_sys_0_3_4.v2_44 or false) || + (gobject_sys_0_3_4.v2_44 or false); + gobject_sys_0_3_4.v2_44 = + (f.gobject_sys_0_3_4.v2_44 or false) || + (f.gobject_sys_0_3_4.v2_46 or false) || + (gobject_sys_0_3_4.v2_46 or false); + libc_0_2_20.default = true; + pkg_config_0_3_8.default = true; + }) [ bitflags_0_8_2_features glib_sys_0_3_4_features libc_0_2_20_features pkg_config_0_3_8_features ]; + gtk_0_1_3 = { features?(gtk_0_1_3_features {}) }: gtk_0_1_3_ { + dependencies = mapFeatures features ([ bitflags_0_5_0 cairo_rs_0_1_3 cairo_sys_rs_0_3_4 gdk_0_5_3 gdk_pixbuf_0_1_3 gdk_pixbuf_sys_0_3_4 gdk_sys_0_3_4 gio_0_1_3 gio_sys_0_3_4 glib_0_1_3 glib_sys_0_3_4 gobject_sys_0_3_4 gtk_sys_0_3_4 libc_0_2_20 pango_0_1_3 ]); + buildDependencies = mapFeatures features ([]); + features = mkFeatures (features.gtk_0_1_3 or {}); + }; + gtk_0_1_3_features = f: updateFeatures f (rec { + bitflags_0_5_0.default = true; + cairo_rs_0_1_3.default = true; + cairo_sys_rs_0_3_4.default = true; + gdk_0_5_3.default = true; + gdk_0_5_3.embed-lgpl-docs = + (f.gdk_0_5_3.embed-lgpl-docs or false) || + (gtk_0_1_3.embed-lgpl-docs or false) || + (f.gtk_0_1_3.embed-lgpl-docs or false); + gdk_0_5_3.purge-lgpl-docs = + (f.gdk_0_5_3.purge-lgpl-docs or false) || + (gtk_0_1_3.purge-lgpl-docs or false) || + (f.gtk_0_1_3.purge-lgpl-docs or false); + gdk_0_5_3.v3_10 = + (f.gdk_0_5_3.v3_10 or false) || + (gtk_0_1_3.v3_10 or false) || + (f.gtk_0_1_3.v3_10 or false); + gdk_0_5_3.v3_12 = + (f.gdk_0_5_3.v3_12 or false) || + (gtk_0_1_3.v3_12 or false) || + (f.gtk_0_1_3.v3_12 or false); + gdk_0_5_3.v3_14 = + (f.gdk_0_5_3.v3_14 or false) || + (gtk_0_1_3.v3_14 or false) || + (f.gtk_0_1_3.v3_14 or false); + gdk_0_5_3.v3_16 = + (f.gdk_0_5_3.v3_16 or false) || + (gtk_0_1_3.v3_16 or false) || + (f.gtk_0_1_3.v3_16 or false); + gdk_0_5_3.v3_18 = + (f.gdk_0_5_3.v3_18 or false) || + (gtk_0_1_3.v3_18 or false) || + (f.gtk_0_1_3.v3_18 or false); + gdk_0_5_3.v3_20 = + (f.gdk_0_5_3.v3_20 or false) || + (gtk_0_1_3.v3_20 or false) || + (f.gtk_0_1_3.v3_20 or false); + gdk_0_5_3.v3_22 = + (f.gdk_0_5_3.v3_22 or false) || + (gtk_0_1_3.v3_22 or false) || + (f.gtk_0_1_3.v3_22 or false); + gdk_0_5_3.v3_6 = + (f.gdk_0_5_3.v3_6 or false) || + (gtk_0_1_3.v3_6 or false) || + (f.gtk_0_1_3.v3_6 or false); + gdk_0_5_3.v3_8 = + (f.gdk_0_5_3.v3_8 or false) || + (gtk_0_1_3.v3_8 or false) || + (f.gtk_0_1_3.v3_8 or false); + gdk_pixbuf_0_1_3.default = true; + gdk_pixbuf_sys_0_3_4.default = true; + gdk_sys_0_3_4.default = true; + gio_0_1_3.default = true; + gio_sys_0_3_4.default = true; + glib_0_1_3.default = true; + glib_sys_0_3_4.default = true; + gobject_sys_0_3_4.default = true; + gtk_0_1_3.default = (f.gtk_0_1_3.default or true); + gtk_0_1_3.gtk-rs-lgpl-docs = + (f.gtk_0_1_3.gtk-rs-lgpl-docs or false) || + (f.gtk_0_1_3.embed-lgpl-docs or false) || + (gtk_0_1_3.embed-lgpl-docs or false) || + (f.gtk_0_1_3.purge-lgpl-docs or false) || + (gtk_0_1_3.purge-lgpl-docs or false); + gtk_0_1_3.v3_10 = + (f.gtk_0_1_3.v3_10 or false) || + (f.gtk_0_1_3.v3_12 or false) || + (gtk_0_1_3.v3_12 or false); + gtk_0_1_3.v3_12 = + (f.gtk_0_1_3.v3_12 or false) || + (f.gtk_0_1_3.v3_14 or false) || + (gtk_0_1_3.v3_14 or false); + gtk_0_1_3.v3_14 = + (f.gtk_0_1_3.v3_14 or false) || + (f.gtk_0_1_3.v3_16 or false) || + (gtk_0_1_3.v3_16 or false); + gtk_0_1_3.v3_16 = + (f.gtk_0_1_3.v3_16 or false) || + (f.gtk_0_1_3.v3_18 or false) || + (gtk_0_1_3.v3_18 or false); + gtk_0_1_3.v3_18 = + (f.gtk_0_1_3.v3_18 or false) || + (f.gtk_0_1_3.v3_20 or false) || + (gtk_0_1_3.v3_20 or false); + gtk_0_1_3.v3_20 = + (f.gtk_0_1_3.v3_20 or false) || + (f.gtk_0_1_3.v3_22 or false) || + (gtk_0_1_3.v3_22 or false); + gtk_0_1_3.v3_6 = + (f.gtk_0_1_3.v3_6 or false) || + (f.gtk_0_1_3.v3_8 or false) || + (gtk_0_1_3.v3_8 or false); + gtk_0_1_3.v3_8 = + (f.gtk_0_1_3.v3_8 or false) || + (f.gtk_0_1_3.v3_10 or false) || + (gtk_0_1_3.v3_10 or false); + gtk_sys_0_3_4.default = true; + gtk_sys_0_3_4.v3_10 = + (f.gtk_sys_0_3_4.v3_10 or false) || + (gtk_0_1_3.v3_10 or false) || + (f.gtk_0_1_3.v3_10 or false); + gtk_sys_0_3_4.v3_12 = + (f.gtk_sys_0_3_4.v3_12 or false) || + (gtk_0_1_3.v3_12 or false) || + (f.gtk_0_1_3.v3_12 or false); + gtk_sys_0_3_4.v3_14 = + (f.gtk_sys_0_3_4.v3_14 or false) || + (gtk_0_1_3.v3_14 or false) || + (f.gtk_0_1_3.v3_14 or false); + gtk_sys_0_3_4.v3_16 = + (f.gtk_sys_0_3_4.v3_16 or false) || + (gtk_0_1_3.v3_16 or false) || + (f.gtk_0_1_3.v3_16 or false); + gtk_sys_0_3_4.v3_18 = + (f.gtk_sys_0_3_4.v3_18 or false) || + (gtk_0_1_3.v3_18 or false) || + (f.gtk_0_1_3.v3_18 or false); + gtk_sys_0_3_4.v3_20 = + (f.gtk_sys_0_3_4.v3_20 or false) || + (gtk_0_1_3.v3_20 or false) || + (f.gtk_0_1_3.v3_20 or false); + gtk_sys_0_3_4.v3_22 = + (f.gtk_sys_0_3_4.v3_22 or false) || + (gtk_0_1_3.v3_22 or false) || + (f.gtk_0_1_3.v3_22 or false); + gtk_sys_0_3_4.v3_6 = + (f.gtk_sys_0_3_4.v3_6 or false) || + (gtk_0_1_3.v3_6 or false) || + (f.gtk_0_1_3.v3_6 or false); + gtk_sys_0_3_4.v3_8 = + (f.gtk_sys_0_3_4.v3_8 or false) || + (gtk_0_1_3.v3_8 or false) || + (f.gtk_0_1_3.v3_8 or false); + libc_0_2_20.default = true; + pango_0_1_3.default = true; + }) [ bitflags_0_5_0_features cairo_rs_0_1_3_features cairo_sys_rs_0_3_4_features gdk_0_5_3_features gdk_pixbuf_0_1_3_features gdk_pixbuf_sys_0_3_4_features gdk_sys_0_3_4_features gio_0_1_3_features gio_sys_0_3_4_features glib_0_1_3_features glib_sys_0_3_4_features gobject_sys_0_3_4_features gtk_sys_0_3_4_features libc_0_2_20_features pango_0_1_3_features ]; + gtk_sys_0_3_4 = { features?(gtk_sys_0_3_4_features {}) }: gtk_sys_0_3_4_ { + dependencies = mapFeatures features ([ atk_sys_0_3_4 bitflags_0_8_2 cairo_sys_rs_0_3_4 gdk_pixbuf_sys_0_3_4 gdk_sys_0_3_4 gio_sys_0_3_4 glib_sys_0_3_4 gobject_sys_0_3_4 libc_0_2_20 pango_sys_0_3_4 ]); + buildDependencies = mapFeatures features ([ pkg_config_0_3_8 ]); + features = mkFeatures (features.gtk_sys_0_3_4 or {}); + }; + gtk_sys_0_3_4_features = f: updateFeatures f (rec { + atk_sys_0_3_4.default = true; + bitflags_0_8_2.default = true; + cairo_sys_rs_0_3_4.default = true; + gdk_pixbuf_sys_0_3_4.default = true; + gdk_sys_0_3_4.default = true; + gio_sys_0_3_4.default = true; + glib_sys_0_3_4.default = true; + gobject_sys_0_3_4.default = true; + gtk_sys_0_3_4.default = (f.gtk_sys_0_3_4.default or true); + gtk_sys_0_3_4.v3_10 = + (f.gtk_sys_0_3_4.v3_10 or false) || + (f.gtk_sys_0_3_4.v3_12 or false) || + (gtk_sys_0_3_4.v3_12 or false); + gtk_sys_0_3_4.v3_12 = + (f.gtk_sys_0_3_4.v3_12 or false) || + (f.gtk_sys_0_3_4.v3_14 or false) || + (gtk_sys_0_3_4.v3_14 or false); + gtk_sys_0_3_4.v3_14 = + (f.gtk_sys_0_3_4.v3_14 or false) || + (f.gtk_sys_0_3_4.v3_16 or false) || + (gtk_sys_0_3_4.v3_16 or false); + gtk_sys_0_3_4.v3_16 = + (f.gtk_sys_0_3_4.v3_16 or false) || + (f.gtk_sys_0_3_4.v3_18 or false) || + (gtk_sys_0_3_4.v3_18 or false); + gtk_sys_0_3_4.v3_18 = + (f.gtk_sys_0_3_4.v3_18 or false) || + (f.gtk_sys_0_3_4.v3_20 or false) || + (gtk_sys_0_3_4.v3_20 or false); + gtk_sys_0_3_4.v3_20 = + (f.gtk_sys_0_3_4.v3_20 or false) || + (f.gtk_sys_0_3_4.v3_22 or false) || + (gtk_sys_0_3_4.v3_22 or false); + gtk_sys_0_3_4.v3_6 = + (f.gtk_sys_0_3_4.v3_6 or false) || + (f.gtk_sys_0_3_4.v3_8 or false) || + (gtk_sys_0_3_4.v3_8 or false); + gtk_sys_0_3_4.v3_8 = + (f.gtk_sys_0_3_4.v3_8 or false) || + (f.gtk_sys_0_3_4.v3_10 or false) || + (gtk_sys_0_3_4.v3_10 or false); + libc_0_2_20.default = true; + pango_sys_0_3_4.default = true; + pkg_config_0_3_8.default = true; + }) [ atk_sys_0_3_4_features bitflags_0_8_2_features cairo_sys_rs_0_3_4_features gdk_pixbuf_sys_0_3_4_features gdk_sys_0_3_4_features gio_sys_0_3_4_features glib_sys_0_3_4_features gobject_sys_0_3_4_features libc_0_2_20_features pango_sys_0_3_4_features pkg_config_0_3_8_features ]; + itoa_0_3_1 = { features?(itoa_0_3_1_features {}) }: itoa_0_3_1_ {}; + itoa_0_3_1_features = f: updateFeatures f (rec { + itoa_0_3_1.default = (f.itoa_0_3_1.default or true); + }) []; + 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 (rec { + 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 ]; + lazy_static_0_2_2 = { features?(lazy_static_0_2_2_features {}) }: lazy_static_0_2_2_ { + dependencies = mapFeatures features ([]); + features = mkFeatures (features.lazy_static_0_2_2 or {}); + }; + lazy_static_0_2_2_features = f: updateFeatures f (rec { + lazy_static_0_2_2.default = (f.lazy_static_0_2_2.default or true); + lazy_static_0_2_2.nightly = + (f.lazy_static_0_2_2.nightly or false) || + (f.lazy_static_0_2_2.spin_no_std or false) || + (lazy_static_0_2_2.spin_no_std or false); + lazy_static_0_2_2.spin = + (f.lazy_static_0_2_2.spin or false) || + (f.lazy_static_0_2_2.spin_no_std or false) || + (lazy_static_0_2_2.spin_no_std or false); + }) []; + libc_0_2_20 = { features?(libc_0_2_20_features {}) }: libc_0_2_20_ { + features = mkFeatures (features.libc_0_2_20 or {}); + }; + libc_0_2_20_features = f: updateFeatures f (rec { + libc_0_2_20.default = (f.libc_0_2_20.default or true); + libc_0_2_20.use_std = + (f.libc_0_2_20.use_std or false) || + (f.libc_0_2_20.default or false) || + (libc_0_2_20.default or false); + }) []; + log_0_3_6 = { features?(log_0_3_6_features {}) }: log_0_3_6_ { + features = mkFeatures (features.log_0_3_6 or {}); + }; + log_0_3_6_features = f: updateFeatures f (rec { + log_0_3_6.default = (f.log_0_3_6.default or true); + log_0_3_6.use_std = + (f.log_0_3_6.use_std or false) || + (f.log_0_3_6.default or false) || + (log_0_3_6.default or false); + }) []; + memchr_1_0_1 = { features?(memchr_1_0_1_features {}) }: memchr_1_0_1_ { + dependencies = mapFeatures features ([ libc_0_2_20 ]); + features = mkFeatures (features.memchr_1_0_1 or {}); + }; + memchr_1_0_1_features = f: updateFeatures f (rec { + libc_0_2_20.default = (f.libc_0_2_20.default or false); + libc_0_2_20.use_std = + (f.libc_0_2_20.use_std or false) || + (memchr_1_0_1.use_std or false) || + (f.memchr_1_0_1.use_std or false); + memchr_1_0_1.default = (f.memchr_1_0_1.default or true); + memchr_1_0_1.use_std = + (f.memchr_1_0_1.use_std or false) || + (f.memchr_1_0_1.default or false) || + (memchr_1_0_1.default or false); + }) [ libc_0_2_20_features ]; + num_0_1_36 = { features?(num_0_1_36_features {}) }: num_0_1_36_ { + dependencies = mapFeatures features ([ num_integer_0_1_32 num_iter_0_1_32 num_traits_0_1_36 ]); + features = mkFeatures (features.num_0_1_36 or {}); + }; + num_0_1_36_features = f: updateFeatures f (rec { + num_0_1_36.bigint = + (f.num_0_1_36.bigint or false) || + (f.num_0_1_36.default or false) || + (num_0_1_36.default or false); + num_0_1_36.complex = + (f.num_0_1_36.complex or false) || + (f.num_0_1_36.default or false) || + (num_0_1_36.default or false); + num_0_1_36.default = (f.num_0_1_36.default or true); + num_0_1_36.num-bigint = + (f.num_0_1_36.num-bigint or false) || + (f.num_0_1_36.bigint or false) || + (num_0_1_36.bigint or false); + num_0_1_36.num-complex = + (f.num_0_1_36.num-complex or false) || + (f.num_0_1_36.complex or false) || + (num_0_1_36.complex or false); + num_0_1_36.num-rational = + (f.num_0_1_36.num-rational or false) || + (f.num_0_1_36.rational or false) || + (num_0_1_36.rational or false); + num_0_1_36.rational = + (f.num_0_1_36.rational or false) || + (f.num_0_1_36.default or false) || + (num_0_1_36.default or false); + num_0_1_36.rustc-serialize = + (f.num_0_1_36.rustc-serialize or false) || + (f.num_0_1_36.default or false) || + (num_0_1_36.default or false); + num_integer_0_1_32.default = true; + num_iter_0_1_32.default = true; + num_traits_0_1_36.default = true; + }) [ num_integer_0_1_32_features num_iter_0_1_32_features num_traits_0_1_36_features ]; + num_integer_0_1_32 = { features?(num_integer_0_1_32_features {}) }: num_integer_0_1_32_ { + dependencies = mapFeatures features ([ num_traits_0_1_36 ]); + }; + num_integer_0_1_32_features = f: updateFeatures f (rec { + num_integer_0_1_32.default = (f.num_integer_0_1_32.default or true); + num_traits_0_1_36.default = true; + }) [ num_traits_0_1_36_features ]; + num_iter_0_1_32 = { features?(num_iter_0_1_32_features {}) }: num_iter_0_1_32_ { + dependencies = mapFeatures features ([ num_integer_0_1_32 num_traits_0_1_36 ]); + }; + num_iter_0_1_32_features = f: updateFeatures f (rec { + num_integer_0_1_32.default = true; + num_iter_0_1_32.default = (f.num_iter_0_1_32.default or true); + num_traits_0_1_36.default = true; + }) [ num_integer_0_1_32_features num_traits_0_1_36_features ]; + num_traits_0_1_36 = { features?(num_traits_0_1_36_features {}) }: num_traits_0_1_36_ {}; + num_traits_0_1_36_features = f: updateFeatures f (rec { + num_traits_0_1_36.default = (f.num_traits_0_1_36.default or true); + }) []; + pango_0_1_3 = { features?(pango_0_1_3_features {}) }: pango_0_1_3_ { + dependencies = mapFeatures features ([ bitflags_0_5_0 glib_0_1_3 libc_0_2_20 pango_sys_0_3_4 ]); + features = mkFeatures (features.pango_0_1_3 or {}); + }; + pango_0_1_3_features = f: updateFeatures f (rec { + bitflags_0_5_0.default = true; + glib_0_1_3.default = true; + libc_0_2_20.default = true; + pango_0_1_3.default = (f.pango_0_1_3.default or true); + pango_0_1_3.v1_31 = + (f.pango_0_1_3.v1_31 or false) || + (f.pango_0_1_3.v1_32 or false) || + (pango_0_1_3.v1_32 or false); + pango_0_1_3.v1_32 = + (f.pango_0_1_3.v1_32 or false) || + (f.pango_0_1_3.v1_32_4 or false) || + (pango_0_1_3.v1_32_4 or false); + pango_0_1_3.v1_32_4 = + (f.pango_0_1_3.v1_32_4 or false) || + (f.pango_0_1_3.v1_34 or false) || + (pango_0_1_3.v1_34 or false); + pango_0_1_3.v1_34 = + (f.pango_0_1_3.v1_34 or false) || + (f.pango_0_1_3.v1_36_7 or false) || + (pango_0_1_3.v1_36_7 or false); + pango_0_1_3.v1_36_7 = + (f.pango_0_1_3.v1_36_7 or false) || + (f.pango_0_1_3.v1_38 or false) || + (pango_0_1_3.v1_38 or false); + pango_0_1_3.v1_38 = + (f.pango_0_1_3.v1_38 or false) || + (f.pango_0_1_3.v1_42 or false) || + (pango_0_1_3.v1_42 or false); + pango_sys_0_3_4.default = true; + pango_sys_0_3_4.v1_31 = + (f.pango_sys_0_3_4.v1_31 or false) || + (pango_0_1_3.v1_31 or false) || + (f.pango_0_1_3.v1_31 or false); + pango_sys_0_3_4.v1_32 = + (f.pango_sys_0_3_4.v1_32 or false) || + (pango_0_1_3.v1_32 or false) || + (f.pango_0_1_3.v1_32 or false); + pango_sys_0_3_4.v1_32_4 = + (f.pango_sys_0_3_4.v1_32_4 or false) || + (pango_0_1_3.v1_32_4 or false) || + (f.pango_0_1_3.v1_32_4 or false); + pango_sys_0_3_4.v1_34 = + (f.pango_sys_0_3_4.v1_34 or false) || + (pango_0_1_3.v1_34 or false) || + (f.pango_0_1_3.v1_34 or false); + pango_sys_0_3_4.v1_36_7 = + (f.pango_sys_0_3_4.v1_36_7 or false) || + (pango_0_1_3.v1_36_7 or false) || + (f.pango_0_1_3.v1_36_7 or false); + pango_sys_0_3_4.v1_38 = + (f.pango_sys_0_3_4.v1_38 or false) || + (pango_0_1_3.v1_38 or false) || + (f.pango_0_1_3.v1_38 or false); + pango_sys_0_3_4.v1_42 = + (f.pango_sys_0_3_4.v1_42 or false) || + (pango_0_1_3.v1_42 or false) || + (f.pango_0_1_3.v1_42 or false); + }) [ bitflags_0_5_0_features glib_0_1_3_features libc_0_2_20_features pango_sys_0_3_4_features ]; + pango_sys_0_3_4 = { features?(pango_sys_0_3_4_features {}) }: pango_sys_0_3_4_ { + dependencies = mapFeatures features ([ bitflags_0_8_2 glib_sys_0_3_4 gobject_sys_0_3_4 libc_0_2_20 ]); + buildDependencies = mapFeatures features ([ pkg_config_0_3_8 ]); + features = mkFeatures (features.pango_sys_0_3_4 or {}); + }; + pango_sys_0_3_4_features = f: updateFeatures f (rec { + bitflags_0_8_2.default = true; + glib_sys_0_3_4.default = true; + gobject_sys_0_3_4.default = true; + libc_0_2_20.default = true; + pango_sys_0_3_4.default = (f.pango_sys_0_3_4.default or true); + pango_sys_0_3_4.v1_31 = + (f.pango_sys_0_3_4.v1_31 or false) || + (f.pango_sys_0_3_4.v1_32 or false) || + (pango_sys_0_3_4.v1_32 or false); + pango_sys_0_3_4.v1_32 = + (f.pango_sys_0_3_4.v1_32 or false) || + (f.pango_sys_0_3_4.v1_32_4 or false) || + (pango_sys_0_3_4.v1_32_4 or false); + pango_sys_0_3_4.v1_32_4 = + (f.pango_sys_0_3_4.v1_32_4 or false) || + (f.pango_sys_0_3_4.v1_34 or false) || + (pango_sys_0_3_4.v1_34 or false); + pango_sys_0_3_4.v1_34 = + (f.pango_sys_0_3_4.v1_34 or false) || + (f.pango_sys_0_3_4.v1_36_7 or false) || + (pango_sys_0_3_4.v1_36_7 or false); + pango_sys_0_3_4.v1_36_7 = + (f.pango_sys_0_3_4.v1_36_7 or false) || + (f.pango_sys_0_3_4.v1_38 or false) || + (pango_sys_0_3_4.v1_38 or false); + pango_sys_0_3_4.v1_38 = + (f.pango_sys_0_3_4.v1_38 or false) || + (f.pango_sys_0_3_4.v1_42 or false) || + (pango_sys_0_3_4.v1_42 or false); + pkg_config_0_3_8.default = true; + }) [ bitflags_0_8_2_features glib_sys_0_3_4_features gobject_sys_0_3_4_features libc_0_2_20_features pkg_config_0_3_8_features ]; + pkg_config_0_3_8 = { features?(pkg_config_0_3_8_features {}) }: pkg_config_0_3_8_ {}; + pkg_config_0_3_8_features = f: updateFeatures f (rec { + pkg_config_0_3_8.default = (f.pkg_config_0_3_8.default or true); + }) []; + quote_0_3_15 = { features?(quote_0_3_15_features {}) }: quote_0_3_15_ {}; + quote_0_3_15_features = f: updateFeatures f (rec { + quote_0_3_15.default = (f.quote_0_3_15.default or true); + }) []; + redox_syscall_0_1_16 = { features?(redox_syscall_0_1_16_features {}) }: redox_syscall_0_1_16_ {}; + redox_syscall_0_1_16_features = f: updateFeatures f (rec { + redox_syscall_0_1_16.default = (f.redox_syscall_0_1_16.default or true); + }) []; + regex_0_2_2 = { features?(regex_0_2_2_features {}) }: regex_0_2_2_ { + dependencies = mapFeatures features ([ aho_corasick_0_6_3 memchr_1_0_1 regex_syntax_0_4_1 thread_local_0_3_4 utf8_ranges_1_0_0 ]); + features = mkFeatures (features.regex_0_2_2 or {}); + }; + regex_0_2_2_features = f: updateFeatures f (rec { + aho_corasick_0_6_3.default = true; + memchr_1_0_1.default = true; + regex_0_2_2.default = (f.regex_0_2_2.default or true); + regex_0_2_2.simd = + (f.regex_0_2_2.simd or false) || + (f.regex_0_2_2.simd-accel or false) || + (regex_0_2_2.simd-accel or false); + regex_syntax_0_4_1.default = true; + thread_local_0_3_4.default = true; + utf8_ranges_1_0_0.default = true; + }) [ aho_corasick_0_6_3_features memchr_1_0_1_features regex_syntax_0_4_1_features thread_local_0_3_4_features utf8_ranges_1_0_0_features ]; + regex_syntax_0_4_1 = { features?(regex_syntax_0_4_1_features {}) }: regex_syntax_0_4_1_ {}; + regex_syntax_0_4_1_features = f: updateFeatures f (rec { + regex_syntax_0_4_1.default = (f.regex_syntax_0_4_1.default or true); + }) []; + serde_0_9_15 = { features?(serde_0_9_15_features {}) }: serde_0_9_15_ { + dependencies = mapFeatures features ([]); + features = mkFeatures (features.serde_0_9_15 or {}); + }; + serde_0_9_15_features = f: updateFeatures f (rec { + serde_0_9_15.alloc = + (f.serde_0_9_15.alloc or false) || + (f.serde_0_9_15.collections or false) || + (serde_0_9_15.collections or false); + serde_0_9_15.default = (f.serde_0_9_15.default or true); + serde_0_9_15.serde_derive = + (f.serde_0_9_15.serde_derive or false) || + (f.serde_0_9_15.derive or false) || + (serde_0_9_15.derive or false) || + (f.serde_0_9_15.playground or false) || + (serde_0_9_15.playground or false); + serde_0_9_15.std = + (f.serde_0_9_15.std or false) || + (f.serde_0_9_15.default or false) || + (serde_0_9_15.default or false) || + (f.serde_0_9_15.unstable-testing or false) || + (serde_0_9_15.unstable-testing or false); + serde_0_9_15.unstable = + (f.serde_0_9_15.unstable or false) || + (f.serde_0_9_15.alloc or false) || + (serde_0_9_15.alloc or false) || + (f.serde_0_9_15.unstable-testing or false) || + (serde_0_9_15.unstable-testing or false); + }) []; + serde_codegen_internals_0_14_2 = { features?(serde_codegen_internals_0_14_2_features {}) }: serde_codegen_internals_0_14_2_ { + dependencies = mapFeatures features ([ syn_0_11_11 ]); + }; + serde_codegen_internals_0_14_2_features = f: updateFeatures f (rec { + serde_codegen_internals_0_14_2.default = (f.serde_codegen_internals_0_14_2.default or true); + syn_0_11_11.default = (f.syn_0_11_11.default or false); + syn_0_11_11.parsing = true; + }) [ syn_0_11_11_features ]; + serde_derive_0_9_15 = { features?(serde_derive_0_9_15_features {}) }: serde_derive_0_9_15_ { + dependencies = mapFeatures features ([ quote_0_3_15 serde_codegen_internals_0_14_2 syn_0_11_11 ]); + features = mkFeatures (features.serde_derive_0_9_15 or {}); + }; + serde_derive_0_9_15_features = f: updateFeatures f (rec { + quote_0_3_15.default = true; + serde_codegen_internals_0_14_2.default = (f.serde_codegen_internals_0_14_2.default or false); + serde_derive_0_9_15.default = (f.serde_derive_0_9_15.default or true); + syn_0_11_11.default = true; + syn_0_11_11.visit = true; + }) [ quote_0_3_15_features serde_codegen_internals_0_14_2_features syn_0_11_11_features ]; + serde_json_0_9_10 = { features?(serde_json_0_9_10_features {}) }: serde_json_0_9_10_ { + dependencies = mapFeatures features ([ dtoa_0_4_1 itoa_0_3_1 num_traits_0_1_36 serde_0_9_15 ]); + features = mkFeatures (features.serde_json_0_9_10 or {}); + }; + serde_json_0_9_10_features = f: updateFeatures f (rec { + dtoa_0_4_1.default = true; + itoa_0_3_1.default = true; + num_traits_0_1_36.default = true; + serde_0_9_15.default = true; + serde_json_0_9_10.default = (f.serde_json_0_9_10.default or true); + serde_json_0_9_10.linked-hash-map = + (f.serde_json_0_9_10.linked-hash-map or false) || + (f.serde_json_0_9_10.preserve_order or false) || + (serde_json_0_9_10.preserve_order or false); + }) [ dtoa_0_4_1_features itoa_0_3_1_features num_traits_0_1_36_features serde_0_9_15_features ]; + syn_0_11_11 = { features?(syn_0_11_11_features {}) }: syn_0_11_11_ { + dependencies = mapFeatures features ([ ] + ++ (if features.syn_0_11_11.quote or false then [ quote_0_3_15 ] else []) + ++ (if features.syn_0_11_11.synom or false then [ synom_0_11_3 ] else []) + ++ (if features.syn_0_11_11.unicode-xid or false then [ unicode_xid_0_0_4 ] else [])); + features = mkFeatures (features.syn_0_11_11 or {}); + }; + syn_0_11_11_features = f: updateFeatures f (rec { + quote_0_3_15.default = true; + syn_0_11_11.default = (f.syn_0_11_11.default or true); + syn_0_11_11.parsing = + (f.syn_0_11_11.parsing or false) || + (f.syn_0_11_11.default or false) || + (syn_0_11_11.default or false); + syn_0_11_11.printing = + (f.syn_0_11_11.printing or false) || + (f.syn_0_11_11.default or false) || + (syn_0_11_11.default or false); + syn_0_11_11.quote = + (f.syn_0_11_11.quote or false) || + (f.syn_0_11_11.printing or false) || + (syn_0_11_11.printing or false); + syn_0_11_11.synom = + (f.syn_0_11_11.synom or false) || + (f.syn_0_11_11.parsing or false) || + (syn_0_11_11.parsing or false); + syn_0_11_11.unicode-xid = + (f.syn_0_11_11.unicode-xid or false) || + (f.syn_0_11_11.parsing or false) || + (syn_0_11_11.parsing or false); + synom_0_11_3.default = true; + unicode_xid_0_0_4.default = true; + }) [ quote_0_3_15_features synom_0_11_3_features unicode_xid_0_0_4_features ]; + synom_0_11_3 = { features?(synom_0_11_3_features {}) }: synom_0_11_3_ { + dependencies = mapFeatures features ([ unicode_xid_0_0_4 ]); + }; + synom_0_11_3_features = f: updateFeatures f (rec { + synom_0_11_3.default = (f.synom_0_11_3.default or true); + unicode_xid_0_0_4.default = true; + }) [ unicode_xid_0_0_4_features ]; + task_hookrs_0_3_0 = { features?(task_hookrs_0_3_0_features {}) }: task_hookrs_0_3_0_ { + dependencies = mapFeatures features ([ chrono_0_2_25 log_0_3_6 serde_0_9_15 serde_derive_0_9_15 serde_json_0_9_10 uuid_0_4_0 ]); + }; + task_hookrs_0_3_0_features = f: updateFeatures f (rec { + chrono_0_2_25.default = true; + log_0_3_6.default = true; + serde_0_9_15.default = true; + serde_derive_0_9_15.default = true; + serde_json_0_9_10.default = true; + task_hookrs_0_3_0.default = (f.task_hookrs_0_3_0.default or true); + uuid_0_4_0.default = true; + uuid_0_4_0.serde = true; + }) [ chrono_0_2_25_features log_0_3_6_features serde_0_9_15_features serde_derive_0_9_15_features serde_json_0_9_10_features uuid_0_4_0_features ]; + tasktree_0_1_0 = { features?(tasktree_0_1_0_features {}) }: tasktree_0_1_0_ { + dependencies = mapFeatures features ([ gdk_0_5_3 glib_0_1_3 gtk_0_1_3 lazy_static_0_2_2 regex_0_2_2 serde_0_9_15 serde_derive_0_9_15 serde_json_0_9_10 task_hookrs_0_3_0 uuid_0_4_0 ]); + features = mkFeatures (features.tasktree_0_1_0 or {}); + }; + tasktree_0_1_0_features = f: updateFeatures f (rec { + gdk_0_5_3.default = (f.gdk_0_5_3.default or false); + glib_0_1_3.default = (f.glib_0_1_3.default or false); + gtk_0_1_3.default = (f.gtk_0_1_3.default or false); + gtk_0_1_3.v3_22 = true; + lazy_static_0_2_2.default = true; + regex_0_2_2.default = true; + serde_0_9_15.default = true; + serde_derive_0_9_15.default = true; + serde_json_0_9_10.default = true; + task_hookrs_0_3_0.default = true; + tasktree_0_1_0.default = (f.tasktree_0_1_0.default or true); + tasktree_0_1_0.set_project = + (f.tasktree_0_1_0.set_project or false) || + (f.tasktree_0_1_0.default or false) || + (tasktree_0_1_0.default or false); + tasktree_0_1_0.set_project_tag = + (f.tasktree_0_1_0.set_project_tag or false) || + (f.tasktree_0_1_0.default or false) || + (tasktree_0_1_0.default or false); + uuid_0_4_0.default = true; + uuid_0_4_0.serde = true; + }) [ gdk_0_5_3_features glib_0_1_3_features gtk_0_1_3_features lazy_static_0_2_2_features regex_0_2_2_features serde_0_9_15_features serde_derive_0_9_15_features serde_json_0_9_10_features task_hookrs_0_3_0_features uuid_0_4_0_features ]; + thread_local_0_3_4 = { features?(thread_local_0_3_4_features {}) }: thread_local_0_3_4_ { + dependencies = mapFeatures features ([ lazy_static_0_2_2 unreachable_1_0_0 ]); + }; + thread_local_0_3_4_features = f: updateFeatures f (rec { + lazy_static_0_2_2.default = true; + thread_local_0_3_4.default = (f.thread_local_0_3_4.default or true); + unreachable_1_0_0.default = true; + }) [ lazy_static_0_2_2_features unreachable_1_0_0_features ]; + time_0_1_36 = { features?(time_0_1_36_features {}) }: time_0_1_36_ { + dependencies = mapFeatures features ([ libc_0_2_20 ]) + ++ (if kernel == "redox" then mapFeatures features ([ redox_syscall_0_1_16 ]) else []) + ++ (if kernel == "windows" then mapFeatures features ([ kernel32_sys_0_2_2 winapi_0_2_8 ]) else []); + }; + time_0_1_36_features = f: updateFeatures f (rec { + kernel32_sys_0_2_2.default = true; + libc_0_2_20.default = true; + redox_syscall_0_1_16.default = true; + time_0_1_36.default = (f.time_0_1_36.default or true); + winapi_0_2_8.default = true; + }) [ libc_0_2_20_features redox_syscall_0_1_16_features kernel32_sys_0_2_2_features winapi_0_2_8_features ]; + unicode_xid_0_0_4 = { features?(unicode_xid_0_0_4_features {}) }: unicode_xid_0_0_4_ { + features = mkFeatures (features.unicode_xid_0_0_4 or {}); + }; + unicode_xid_0_0_4_features = f: updateFeatures f (rec { + unicode_xid_0_0_4.default = (f.unicode_xid_0_0_4.default or true); + }) []; + unreachable_1_0_0 = { features?(unreachable_1_0_0_features {}) }: unreachable_1_0_0_ { + dependencies = mapFeatures features ([ void_1_0_2 ]); + }; + unreachable_1_0_0_features = f: updateFeatures f (rec { + unreachable_1_0_0.default = (f.unreachable_1_0_0.default or true); + void_1_0_2.default = (f.void_1_0_2.default or false); + }) [ void_1_0_2_features ]; + utf8_ranges_1_0_0 = { features?(utf8_ranges_1_0_0_features {}) }: utf8_ranges_1_0_0_ {}; + utf8_ranges_1_0_0_features = f: updateFeatures f (rec { + utf8_ranges_1_0_0.default = (f.utf8_ranges_1_0_0.default or true); + }) []; + uuid_0_4_0 = { features?(uuid_0_4_0_features {}) }: uuid_0_4_0_ { + dependencies = mapFeatures features ([ ] + ++ (if features.uuid_0_4_0.serde or false then [ serde_0_9_15 ] else [])); + features = mkFeatures (features.uuid_0_4_0 or {}); + }; + uuid_0_4_0_features = f: updateFeatures f (rec { + serde_0_9_15.default = true; + uuid_0_4_0.default = (f.uuid_0_4_0.default or true); + uuid_0_4_0.rand = + (f.uuid_0_4_0.rand or false) || + (f.uuid_0_4_0.v4 or false) || + (uuid_0_4_0.v4 or false); + uuid_0_4_0.sha1 = + (f.uuid_0_4_0.sha1 or false) || + (f.uuid_0_4_0.v5 or false) || + (uuid_0_4_0.v5 or false); + }) [ serde_0_9_15_features ]; + void_1_0_2 = { features?(void_1_0_2_features {}) }: void_1_0_2_ { + features = mkFeatures (features.void_1_0_2 or {}); + }; + void_1_0_2_features = f: updateFeatures f (rec { + void_1_0_2.default = (f.void_1_0_2.default or true); + void_1_0_2.std = + (f.void_1_0_2.std or false) || + (f.void_1_0_2.default or false) || + (void_1_0_2.default or false); + }) []; + winapi_0_2_8 = { features?(winapi_0_2_8_features {}) }: winapi_0_2_8_ {}; + winapi_0_2_8_features = f: updateFeatures f (rec { + 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 (rec { + winapi_build_0_1_1.default = (f.winapi_build_0_1_1.default or true); + }) []; +}