diff options
Diffstat (limited to 'Cargo.nix')
| -rw-r--r-- | Cargo.nix | 153 |
1 files changed, 153 insertions, 0 deletions
diff --git a/Cargo.nix b/Cargo.nix new file mode 100644 index 0000000..df855cb --- /dev/null +++ b/Cargo.nix @@ -0,0 +1,153 @@ +# Generated by carnix 0.9.8: carnix generate-nix --standalone --src ./. +with import <nixpkgs> {}; +with buildRustCrateHelpers; +let inherit (lib.lists) fold; + inherit (lib.attrsets) recursiveUpdate; + cratesIO = (callPackage ./crates-io.nix { }); +in +rec { + crates = cratesIO // rec { +# stallman-shooter-1.0.0 + + crates.stallman_shooter."1.0.0" = deps: { features?(features_.stallman_shooter."1.0.0" deps {}) }: buildRustCrate { + crateName = "stallman-shooter"; + version = "1.0.0"; + authors = [ "Raymond Hogenson <rhogenson@posteo.net>" ]; + src = exclude [ ".git" "target" ] ./.; + dependencies = mapFeatures features ([ + (cratesIO.crates."rand"."${deps."stallman_shooter"."1.0.0"."rand"}" deps) + (cratesIO.crates."sdl2"."${deps."stallman_shooter"."1.0.0"."sdl2"}" deps) + (cratesIO.crates."sdl2_sys"."${deps."stallman_shooter"."1.0.0"."sdl2_sys"}" deps) + ]); + }; + features_.stallman_shooter."1.0.0" = deps: f: updateFeatures f (rec { + rand."${deps.stallman_shooter."1.0.0".rand}".default = true; + sdl2 = fold recursiveUpdate {} [ + { "${deps.stallman_shooter."1.0.0".sdl2}"."image" = true; } + { "${deps.stallman_shooter."1.0.0".sdl2}".default = (f.sdl2."${deps.stallman_shooter."1.0.0".sdl2}".default or false); } + ]; + sdl2_sys = fold recursiveUpdate {} [ + { "${deps.stallman_shooter."1.0.0".sdl2_sys}"."image" = true; } + { "${deps.stallman_shooter."1.0.0".sdl2_sys}".default = (f.sdl2_sys."${deps.stallman_shooter."1.0.0".sdl2_sys}".default or false); } + ]; + stallman_shooter."1.0.0".default = (f.stallman_shooter."1.0.0".default or true); + }) [ + (cratesIO.features_.rand."${deps."stallman_shooter"."1.0.0"."rand"}" deps) + (cratesIO.features_.sdl2."${deps."stallman_shooter"."1.0.0"."sdl2"}" deps) + (cratesIO.features_.sdl2_sys."${deps."stallman_shooter"."1.0.0"."sdl2_sys"}" deps) + ]; + + +# end + + }; + + stallman_shooter = crates.crates.stallman_shooter."1.0.0" deps; + __all = [ (stallman_shooter {}) ]; + deps.autocfg."0.1.5" = {}; + deps.bitflags."1.1.0" = {}; + deps.cfg_if."0.1.9" = {}; + deps.cloudabi."0.0.3" = { + bitflags = "1.1.0"; + }; + deps.fuchsia_cprng."0.1.1" = {}; + deps.lazy_static."1.3.0" = {}; + deps.libc."0.2.60" = {}; + deps.num."0.1.42" = { + num_integer = "0.1.41"; + num_iter = "0.1.39"; + num_traits = "0.2.8"; + }; + deps.num_integer."0.1.41" = { + num_traits = "0.2.8"; + autocfg = "0.1.5"; + }; + deps.num_iter."0.1.39" = { + num_integer = "0.1.41"; + num_traits = "0.2.8"; + autocfg = "0.1.5"; + }; + deps.num_traits."0.2.8" = { + autocfg = "0.1.5"; + }; + deps.rand."0.5.6" = { + rand_core = "0.3.1"; + cloudabi = "0.0.3"; + fuchsia_cprng = "0.1.1"; + libc = "0.2.60"; + winapi = "0.3.7"; + }; + deps.rand."0.6.5" = { + rand_chacha = "0.1.1"; + rand_core = "0.4.0"; + rand_hc = "0.1.0"; + rand_isaac = "0.1.1"; + rand_jitter = "0.1.4"; + rand_os = "0.1.3"; + rand_pcg = "0.1.2"; + rand_xorshift = "0.1.1"; + autocfg = "0.1.5"; + libc = "0.2.60"; + winapi = "0.3.7"; + }; + deps.rand_chacha."0.1.1" = { + rand_core = "0.3.1"; + autocfg = "0.1.5"; + }; + deps.rand_core."0.3.1" = { + rand_core = "0.4.0"; + }; + deps.rand_core."0.4.0" = {}; + deps.rand_hc."0.1.0" = { + rand_core = "0.3.1"; + }; + deps.rand_isaac."0.1.1" = { + rand_core = "0.3.1"; + }; + deps.rand_jitter."0.1.4" = { + rand_core = "0.4.0"; + libc = "0.2.60"; + winapi = "0.3.7"; + }; + deps.rand_os."0.1.3" = { + rand_core = "0.4.0"; + rdrand = "0.4.0"; + cloudabi = "0.0.3"; + fuchsia_cprng = "0.1.1"; + libc = "0.2.60"; + winapi = "0.3.7"; + }; + deps.rand_pcg."0.1.2" = { + rand_core = "0.4.0"; + autocfg = "0.1.5"; + }; + deps.rand_xorshift."0.1.1" = { + rand_core = "0.3.1"; + }; + deps.rdrand."0.4.0" = { + rand_core = "0.3.1"; + }; + deps.sdl2."0.32.2" = { + bitflags = "1.1.0"; + lazy_static = "1.3.0"; + libc = "0.2.60"; + num = "0.1.42"; + rand = "0.6.5"; + sdl2_sys = "0.32.6"; + }; + deps.sdl2_sys."0.32.6" = { + libc = "0.2.60"; + cfg_if = "0.1.9"; + }; + deps.stallman_shooter."1.0.0" = { + rand = "0.5.6"; + sdl2 = "0.32.2"; + sdl2_sys = "0.32.6"; + }; + deps.winapi."0.3.7" = { + winapi_i686_pc_windows_gnu = "0.4.0"; + winapi_x86_64_pc_windows_gnu = "0.4.0"; + }; + deps.winapi_i686_pc_windows_gnu."0.4.0" = {}; + deps.winapi_x86_64_pc_windows_gnu."0.4.0" = {}; +} |
