num_format: Add to carnix

This commit is contained in:
Graham Christensen 2019-04-13 20:45:03 -04:00
parent a114e86cbb
commit 9ada5c239a
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C
3 changed files with 156 additions and 0 deletions

View file

@ -123,6 +123,7 @@ let crates = cratesIO // rec {
(cratesIO.crates."lru_cache"."${deps."ofborg"."0.1.8"."lru_cache"}" deps)
(cratesIO.crates."md5"."${deps."ofborg"."0.1.8"."md5"}" deps)
(cratesIO.crates."nom"."${deps."ofborg"."0.1.8"."nom"}" deps)
(cratesIO.crates."num_format"."${deps."ofborg"."0.1.8"."num_format"}" deps)
(cratesIO.crates."serde"."${deps."ofborg"."0.1.8"."serde"}" deps)
(cratesIO.crates."serde_derive"."${deps."ofborg"."0.1.8"."serde_derive"}" deps)
(cratesIO.crates."serde_json"."${deps."ofborg"."0.1.8"."serde_json"}" deps)
@ -144,6 +145,7 @@ let crates = cratesIO // rec {
lru_cache."${deps.ofborg."0.1.8".lru_cache}".default = true;
md5."${deps.ofborg."0.1.8".md5}".default = true;
nom."${deps.ofborg."0.1.8".nom}".default = true;
num_format."${deps.ofborg."0.1.8".num_format}".default = true;
ofborg."0.1.8".default = (f.ofborg."0.1.8".default or true);
serde."${deps.ofborg."0.1.8".serde}".default = true;
serde_derive."${deps.ofborg."0.1.8".serde_derive}".default = true;
@ -167,6 +169,7 @@ let crates = cratesIO // rec {
(cratesIO.features_.lru_cache."${deps."ofborg"."0.1.8"."lru_cache"}" deps)
(cratesIO.features_.md5."${deps."ofborg"."0.1.8"."md5"}" deps)
(cratesIO.features_.nom."${deps."ofborg"."0.1.8"."nom"}" deps)
(cratesIO.features_.num_format."${deps."ofborg"."0.1.8"."num_format"}" deps)
(cratesIO.features_.serde."${deps."ofborg"."0.1.8"."serde"}" deps)
(cratesIO.features_.serde_derive."${deps."ofborg"."0.1.8"."serde_derive"}" deps)
(cratesIO.features_.serde_json."${deps."ofborg"."0.1.8"."serde_json"}" deps)
@ -206,6 +209,9 @@ rec {
url = "1.7.2";
};
deps.antidote."1.0.0" = {};
deps.arrayvec."0.4.10" = {
nodrop = "0.1.13";
};
deps.autocfg."0.1.1" = {};
deps.backtrace."0.3.13" = {
cfg_if = "0.1.6";
@ -349,9 +355,14 @@ rec {
openssl = "0.9.24";
schannel = "0.1.14";
};
deps.nodrop."0.1.13" = {};
deps.nom."4.1.1" = {
memchr = "2.1.2";
};
deps.num_format."0.4.0" = {
arrayvec = "0.4.10";
itoa = "0.4.3";
};
deps.num_integer."0.1.39" = {
num_traits = "0.2.6";
};
@ -375,6 +386,7 @@ rec {
lru_cache = "0.1.1";
md5 = "0.3.8";
nom = "4.1.1";
num_format = "0.4.0";
serde = "1.0.84";
serde_derive = "1.0.84";
serde_json = "1.0.34";

View file

@ -2,6 +2,7 @@ aho-corasick-0.5.3
aho-corasick-0.6.9
amq-proto-0.1.0
antidote-1.0.0
arrayvec-0.4.10
autocfg-0.1.1
backtrace-0.3.13
backtrace-sys-0.1.28
@ -47,7 +48,9 @@ memchr-0.1.11
memchr-2.1.2
mime-0.2.6
native-tls-0.1.5
nodrop-0.1.13
nom-4.1.1
num-format-0.4.0
num-integer-0.1.39
num-traits-0.1.43
num-traits-0.2.6

View file

@ -99,6 +99,37 @@ rec {
}) [];
# end
# arrayvec-0.4.10
crates.arrayvec."0.4.10" = deps: { features?(features_.arrayvec."0.4.10" deps {}) }: buildRustCrate {
crateName = "arrayvec";
version = "0.4.10";
authors = [ "bluss" ];
sha256 = "0qbh825i59w5wfdysqdkiwbwkrsy7lgbd4pwbyb8pxx8wc36iny8";
dependencies = mapFeatures features ([
(crates."nodrop"."${deps."arrayvec"."0.4.10"."nodrop"}" deps)
]);
features = mkFeatures (features."arrayvec"."0.4.10" or {});
};
features_.arrayvec."0.4.10" = deps: f: updateFeatures f (rec {
arrayvec = fold recursiveUpdate {} [
{ "0.4.10".default = (f.arrayvec."0.4.10".default or true); }
{ "0.4.10".serde =
(f.arrayvec."0.4.10".serde or false) ||
(f.arrayvec."0.4.10".serde-1 or false) ||
(arrayvec."0.4.10"."serde-1" or false); }
{ "0.4.10".std =
(f.arrayvec."0.4.10".std or false) ||
(f.arrayvec."0.4.10".default or false) ||
(arrayvec."0.4.10"."default" or false); }
];
nodrop."${deps.arrayvec."0.4.10".nodrop}".default = (f.nodrop."${deps.arrayvec."0.4.10".nodrop}".default or false);
}) [
(features_.nodrop."${deps."arrayvec"."0.4.10"."nodrop"}" deps)
];
# end
# autocfg-0.1.1
@ -1319,6 +1350,33 @@ rec {
];
# end
# nodrop-0.1.13
crates.nodrop."0.1.13" = deps: { features?(features_.nodrop."0.1.13" deps {}) }: buildRustCrate {
crateName = "nodrop";
version = "0.1.13";
authors = [ "bluss" ];
sha256 = "0gkfx6wihr9z0m8nbdhma5pyvbipznjpkzny2d4zkc05b0vnhinb";
dependencies = mapFeatures features ([
]);
features = mkFeatures (features."nodrop"."0.1.13" or {});
};
features_.nodrop."0.1.13" = deps: f: updateFeatures f (rec {
nodrop = fold recursiveUpdate {} [
{ "0.1.13".default = (f.nodrop."0.1.13".default or true); }
{ "0.1.13".nodrop-union =
(f.nodrop."0.1.13".nodrop-union or false) ||
(f.nodrop."0.1.13".use_union or false) ||
(nodrop."0.1.13"."use_union" or false); }
{ "0.1.13".std =
(f.nodrop."0.1.13".std or false) ||
(f.nodrop."0.1.13".default or false) ||
(nodrop."0.1.13"."default" or false); }
];
}) [];
# end
# nom-4.1.1
@ -1370,6 +1428,89 @@ rec {
];
# end
# num-format-0.4.0
crates.num_format."0.4.0" = deps: { features?(features_.num_format."0.4.0" deps {}) }: buildRustCrate {
crateName = "num-format";
version = "0.4.0";
authors = [ "Brian Myers <brian.carl.myers@gmail.com>" ];
sha256 = "0vvvv4bc47h30b6k7m3dzzg9zzsw4g9f84dc2q9sswm51l2hij00";
dependencies = mapFeatures features ([
(crates."arrayvec"."${deps."num_format"."0.4.0"."arrayvec"}" deps)
(crates."itoa"."${deps."num_format"."0.4.0"."itoa"}" deps)
])
++ (if (kernel == "linux" || kernel == "darwin") then mapFeatures features ([
]) else [])
++ (if kernel == "windows" then mapFeatures features ([
]) else []);
features = mkFeatures (features."num_format"."0.4.0" or {});
};
features_.num_format."0.4.0" = deps: f: updateFeatures f (rec {
arrayvec = fold recursiveUpdate {} [
{ "${deps.num_format."0.4.0".arrayvec}"."default" =
(f.arrayvec."${deps.num_format."0.4.0".arrayvec}"."default" or false) ||
(num_format."0.4.0"."std" or false) ||
(f."num_format"."0.4.0"."std" or false); }
{ "${deps.num_format."0.4.0".arrayvec}"."serde-1" =
(f.arrayvec."${deps.num_format."0.4.0".arrayvec}"."serde-1" or false) ||
(num_format."0.4.0"."with-serde" or false) ||
(f."num_format"."0.4.0"."with-serde" or false); }
{ "${deps.num_format."0.4.0".arrayvec}".default = (f.arrayvec."${deps.num_format."0.4.0".arrayvec}".default or false); }
];
itoa = fold recursiveUpdate {} [
{ "${deps.num_format."0.4.0".itoa}"."default" =
(f.itoa."${deps.num_format."0.4.0".itoa}"."default" or false) ||
(num_format."0.4.0"."std" or false) ||
(f."num_format"."0.4.0"."std" or false); }
{ "${deps.num_format."0.4.0".itoa}"."i128" = true; }
{ "${deps.num_format."0.4.0".itoa}".default = (f.itoa."${deps.num_format."0.4.0".itoa}".default or false); }
];
num_format = fold recursiveUpdate {} [
{ "0.4.0".cfg-if =
(f.num_format."0.4.0".cfg-if or false) ||
(f.num_format."0.4.0".with-system-locale or false) ||
(num_format."0.4.0"."with-system-locale" or false); }
{ "0.4.0".default = (f.num_format."0.4.0".default or true); }
{ "0.4.0".encoding_rs =
(f.num_format."0.4.0".encoding_rs or false) ||
(f.num_format."0.4.0".with-system-locale or false) ||
(num_format."0.4.0"."with-system-locale" or false); }
{ "0.4.0".lazy_static =
(f.num_format."0.4.0".lazy_static or false) ||
(f.num_format."0.4.0".with-system-locale or false) ||
(num_format."0.4.0"."with-system-locale" or false); }
{ "0.4.0".libc =
(f.num_format."0.4.0".libc or false) ||
(f.num_format."0.4.0".with-system-locale or false) ||
(num_format."0.4.0"."with-system-locale" or false); }
{ "0.4.0".num-bigint =
(f.num_format."0.4.0".num-bigint or false) ||
(f.num_format."0.4.0".with-num-bigint or false) ||
(num_format."0.4.0"."with-num-bigint" or false); }
{ "0.4.0".num-format-windows =
(f.num_format."0.4.0".num-format-windows or false) ||
(f.num_format."0.4.0".with-system-locale or false) ||
(num_format."0.4.0"."with-system-locale" or false); }
{ "0.4.0".std =
(f.num_format."0.4.0".std or false) ||
(f.num_format."0.4.0".default or false) ||
(num_format."0.4.0"."default" or false) ||
(f.num_format."0.4.0".with-num-bigint or false) ||
(num_format."0.4.0"."with-num-bigint" or false) ||
(f.num_format."0.4.0".with-system-locale or false) ||
(num_format."0.4.0"."with-system-locale" or false); }
{ "0.4.0".widestring =
(f.num_format."0.4.0".widestring or false) ||
(f.num_format."0.4.0".with-system-locale or false) ||
(num_format."0.4.0"."with-system-locale" or false); }
];
}) [
(features_.arrayvec."${deps."num_format"."0.4.0"."arrayvec"}" deps)
(features_.itoa."${deps."num_format"."0.4.0"."itoa"}" deps)
];
# end
# num-integer-0.1.39