2021-04-10 02:13:18 +02:00
|
|
|
|
{ depot, pkgs, ... }:
|
2021-04-02 21:59:25 +02:00
|
|
|
|
|
2021-04-04 00:38:30 +02:00
|
|
|
|
# TVL tool rust crate dependencies, where tools like carnix are not used.
|
2023-12-06 11:30:39 +01:00
|
|
|
|
# Intended for manual updates, which makes sure we never actually update.
|
2021-04-04 00:38:30 +02:00
|
|
|
|
|
2021-04-02 21:59:25 +02:00
|
|
|
|
let
|
2024-02-13 14:32:21 +01:00
|
|
|
|
inherit (pkgs) fetchpatch;
|
|
|
|
|
|
2021-04-04 15:38:06 +02:00
|
|
|
|
buildRustCrate =
|
|
|
|
|
attrs@{ edition ? "2018"
|
2021-12-24 12:45:06 +01:00
|
|
|
|
, pname
|
|
|
|
|
, crateName ? pname
|
2021-04-04 15:38:06 +02:00
|
|
|
|
, ...
|
2021-04-10 02:13:18 +02:00
|
|
|
|
}: pkgs.buildRustCrate (attrs // {
|
2021-04-04 15:38:06 +02:00
|
|
|
|
inherit
|
2021-12-24 12:45:06 +01:00
|
|
|
|
crateName
|
2021-04-04 15:38:06 +02:00
|
|
|
|
edition
|
|
|
|
|
;
|
|
|
|
|
});
|
2021-12-24 12:51:59 +01:00
|
|
|
|
in
|
2023-12-12 21:11:36 +01:00
|
|
|
|
depot.nix.readTree.drvTargets rec{
|
2021-04-04 00:22:37 +02:00
|
|
|
|
cfg-if = buildRustCrate {
|
2021-01-16 14:09:26 +01:00
|
|
|
|
pname = "cfg-if";
|
|
|
|
|
version = "1.0.0";
|
|
|
|
|
sha256 = "1fzidq152hnxhg4lj6r2gv4jpnn8yivp27z6q6xy7w6v0dp6bai9";
|
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
cc = buildRustCrate {
|
2021-01-16 14:09:26 +01:00
|
|
|
|
pname = "cc";
|
|
|
|
|
version = "1.0.66";
|
|
|
|
|
sha256 = "12q71z6ck8wlqrwgi25x3lrryyks9djymswn9b1c6qq0i01jpc1p";
|
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
ascii = buildRustCrate {
|
2021-01-29 16:35:02 +01:00
|
|
|
|
pname = "ascii";
|
|
|
|
|
version = "1.0.0";
|
2021-04-04 15:38:06 +02:00
|
|
|
|
edition = "2015";
|
2021-01-29 16:35:02 +01:00
|
|
|
|
sha256 = "0gam8xsn981wfa40srsniivffjsfz1pg0xnigmczk9k7azb1ks1m";
|
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
regex-syntax = buildRustCrate {
|
2021-01-16 14:09:26 +01:00
|
|
|
|
pname = "regex-syntax";
|
2022-05-04 16:10:11 +02:00
|
|
|
|
version = "0.6.25";
|
2021-04-04 15:38:06 +02:00
|
|
|
|
edition = "2015";
|
2022-05-04 16:10:11 +02:00
|
|
|
|
sha256 = "0i211p26m97ii169g0f4gf2a99r8an4xc1fdqj0sf5wpn17qhs29";
|
2021-01-16 14:09:26 +01:00
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
regex = buildRustCrate {
|
2021-01-16 14:09:26 +01:00
|
|
|
|
pname = "regex";
|
2022-05-04 16:10:11 +02:00
|
|
|
|
version = "1.5.5";
|
2021-01-16 14:09:26 +01:00
|
|
|
|
features = [ "std" ];
|
2021-04-19 20:14:41 +02:00
|
|
|
|
dependencies = [ regex-syntax ];
|
2022-05-04 16:10:11 +02:00
|
|
|
|
edition = "2018";
|
|
|
|
|
sha256 = "0i7yrxsvxpx682vdbkvj7j4w3a3z2c1qwmaa795mm9a9prx4yzjk";
|
2021-01-16 14:09:26 +01:00
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
libloading = buildRustCrate {
|
2021-01-16 14:09:26 +01:00
|
|
|
|
pname = "libloading";
|
|
|
|
|
version = "0.6.7";
|
2021-04-19 20:14:41 +02:00
|
|
|
|
dependencies = [ cfg-if ];
|
2021-04-04 15:38:06 +02:00
|
|
|
|
edition = "2015";
|
2021-01-16 14:09:26 +01:00
|
|
|
|
sha256 = "111d8zsizswnxiqn43vcgnc2ym9spsx1i6pcfp35ca3yw2ixq95j";
|
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
tree-sitter = buildRustCrate {
|
2021-12-24 12:45:06 +01:00
|
|
|
|
pname = "tree-sitter";
|
2021-01-16 14:09:26 +01:00
|
|
|
|
# buildRustCrate isn’t really smart enough to detect the subdir
|
|
|
|
|
libPath = "binding_rust/lib.rs";
|
|
|
|
|
# and the build.rs is also not where buildRustCrate would find it
|
|
|
|
|
build = "binding_rust/build.rs";
|
|
|
|
|
version = "0.17.1";
|
2021-04-19 20:14:41 +02:00
|
|
|
|
dependencies = [ regex ];
|
|
|
|
|
buildDependencies = [ cc ];
|
2021-01-16 14:09:26 +01:00
|
|
|
|
sha256 = "0jwwbvs4icpra7m1ycvnyri5h3sbw4qrfvgnnvnk72h4w93qhzhr";
|
|
|
|
|
};
|
2021-01-17 12:32:09 +01:00
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
libc = buildRustCrate {
|
2021-01-17 12:32:09 +01:00
|
|
|
|
pname = "libc";
|
2024-02-13 14:32:21 +01:00
|
|
|
|
version = "0.2.153";
|
2021-04-04 15:38:06 +02:00
|
|
|
|
edition = "2015";
|
2024-02-13 14:32:21 +01:00
|
|
|
|
sha256 = "1xz1nz9k0vrv7lbir7ma0q4ii9cp3c0s9fbxp6268film2wrxs19";
|
2021-01-17 12:32:09 +01:00
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
bitflags = buildRustCrate {
|
2021-01-17 12:32:09 +01:00
|
|
|
|
pname = "bitflags";
|
2024-02-13 14:32:21 +01:00
|
|
|
|
version = "2.4.2";
|
|
|
|
|
sha256 = "1p370m8qh3clk33rqmyglcphlsq0gpf69j22d61fy4kkmrfn8hbd";
|
2021-01-17 12:32:09 +01:00
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
inotify-sys = buildRustCrate {
|
2021-01-17 12:32:09 +01:00
|
|
|
|
pname = "inotify-sys";
|
|
|
|
|
version = "0.1.5";
|
2021-04-19 20:14:41 +02:00
|
|
|
|
dependencies = [ libc ];
|
2021-01-17 12:32:09 +01:00
|
|
|
|
sha256 = "1yiy577xxhi0j90nbg9nkd8cqwc1xix62rz55jjngvxa5jl5613v";
|
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
inotify = buildRustCrate {
|
2021-01-17 12:32:09 +01:00
|
|
|
|
pname = "inotify";
|
2024-02-13 14:32:21 +01:00
|
|
|
|
version = "0.10.2";
|
|
|
|
|
patches = [
|
|
|
|
|
# Unreleased compat patch for bitflags >= 2
|
|
|
|
|
(fetchpatch {
|
|
|
|
|
name = "inotify-bitflags-2.patch";
|
|
|
|
|
url = "https://github.com/hannobraun/inotify-rs/commit/f4765593894ef0b36d39739cf3349485ca88b1ce.patch";
|
|
|
|
|
sha256 = "107r9jai0jdr0hybsvbjyjn23vyk2lp1l1pmznb7jp38my0grh4b";
|
|
|
|
|
excludes = [ "Cargo.toml" ];
|
|
|
|
|
})
|
|
|
|
|
];
|
2021-04-19 20:14:41 +02:00
|
|
|
|
dependencies = [ bitflags libc inotify-sys ];
|
2024-02-13 14:32:21 +01:00
|
|
|
|
sha256 = "0lqwk7yf6bzc2jzj5iji2p3f29zdpllqd207vgg7jswmg2gqnlqc";
|
2021-01-17 12:32:09 +01:00
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
httparse = buildRustCrate {
|
2021-01-27 12:52:38 +01:00
|
|
|
|
pname = "httparse";
|
|
|
|
|
version = "1.3.4";
|
2021-04-04 15:38:06 +02:00
|
|
|
|
edition = "2015";
|
2021-01-27 12:52:38 +01:00
|
|
|
|
sha256 = "0dggj4s0cq69bn63q9nqzzay5acmwl33nrbhjjsh5xys8sk2x4jw";
|
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
version-check = buildRustCrate {
|
2023-12-12 21:11:36 +01:00
|
|
|
|
pname = "version_check";
|
2021-02-13 14:38:01 +01:00
|
|
|
|
version = "0.9.2";
|
2021-04-04 15:38:06 +02:00
|
|
|
|
edition = "2015";
|
2021-02-13 14:38:01 +01:00
|
|
|
|
sha256 = "1vwvc1mzwv8ana9jv8z933p2xzgj1533qwwl5zr8mi89azyhq21v";
|
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
memchr = buildRustCrate {
|
2021-02-13 14:38:01 +01:00
|
|
|
|
pname = "memchr";
|
|
|
|
|
version = "2.3.3";
|
2021-04-04 15:38:06 +02:00
|
|
|
|
edition = "2015";
|
2021-02-13 14:38:01 +01:00
|
|
|
|
sha256 = "1ivxvlswglk6wd46gadkbbsknr94gwryk6y21v64ja7x4icrpihw";
|
|
|
|
|
};
|
2021-04-04 00:22:37 +02:00
|
|
|
|
nom = buildRustCrate {
|
2021-02-13 14:38:01 +01:00
|
|
|
|
pname = "nom";
|
|
|
|
|
version = "5.1.1";
|
|
|
|
|
sha256 = "1gb4r6mjwd645jqh02nhn60i7qkw8cgy3xq1r4clnmvz3cmkv1l0";
|
2021-04-19 20:14:41 +02:00
|
|
|
|
dependencies = [ memchr ];
|
|
|
|
|
buildDependencies = [ version-check ];
|
2021-02-13 14:38:01 +01:00
|
|
|
|
features = [ "std" "alloc" ];
|
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
base64 = buildRustCrate {
|
2021-03-22 01:08:24 +01:00
|
|
|
|
pname = "base64";
|
|
|
|
|
version = "0.13.0";
|
|
|
|
|
sha256 = "0i0jk5sgq37kc4c90d1g7dp7zvphbg0dbqc1ajnn0vffjxblgamg";
|
|
|
|
|
features = [ "alloc" "std" ];
|
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
bufstream = buildRustCrate {
|
2021-03-22 01:08:24 +01:00
|
|
|
|
pname = "bufstream";
|
|
|
|
|
version = "0.1.4";
|
|
|
|
|
sha256 = "10rqm7jly5jjx7wcc19q6q4m2zsrw3l2v3m1054wnbwvdh42xxf1";
|
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
autocfg = buildRustCrate {
|
2021-03-22 01:08:24 +01:00
|
|
|
|
pname = "autocfg";
|
|
|
|
|
version = "1.0.1";
|
2021-04-04 15:38:06 +02:00
|
|
|
|
edition = "2015";
|
2021-03-22 01:08:24 +01:00
|
|
|
|
sha256 = "1lsjz23jdcchcqbsmlzd4iksg3hc8bdvy677jy0938i2gp24frw1";
|
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
num-traits = buildRustCrate {
|
2021-03-22 01:08:24 +01:00
|
|
|
|
pname = "num-traits";
|
|
|
|
|
version = "0.2.14";
|
2021-04-04 15:38:06 +02:00
|
|
|
|
edition = "2015";
|
2021-04-19 20:14:41 +02:00
|
|
|
|
buildDependencies = [ autocfg ];
|
2021-03-22 01:08:24 +01:00
|
|
|
|
sha256 = "09ac9dcp6cr57vjzyiy213y7312jqcy84mkamp99zr40qd1gwnyk";
|
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
num-integer = buildRustCrate {
|
2021-03-22 01:08:24 +01:00
|
|
|
|
pname = "num-integer";
|
|
|
|
|
version = "0.1.44";
|
2021-04-04 15:38:06 +02:00
|
|
|
|
edition = "2015";
|
2021-04-19 20:14:41 +02:00
|
|
|
|
dependencies = [ num-traits ];
|
|
|
|
|
buildDependencies = [ autocfg ];
|
2021-03-22 01:08:24 +01:00
|
|
|
|
sha256 = "1gdbnfgnivp90h644wmqj4a20yfmdga2xxxacx53pjbcazvfvajc";
|
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
chrono = buildRustCrate {
|
2021-03-22 01:08:24 +01:00
|
|
|
|
pname = "chrono";
|
2022-10-01 18:52:02 +02:00
|
|
|
|
version = "0.4.22";
|
|
|
|
|
edition = "2018";
|
2021-04-19 20:14:41 +02:00
|
|
|
|
dependencies = [ num-traits num-integer ];
|
2021-03-22 01:08:24 +01:00
|
|
|
|
features = [ "alloc" "std" ];
|
2022-10-01 18:52:02 +02:00
|
|
|
|
sha256 = "01vbn93ba1q2afq10qis41j847damk5ifgn1all337mcscl345fn";
|
2021-03-22 01:08:24 +01:00
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
imap-proto = buildRustCrate {
|
2021-03-22 01:08:24 +01:00
|
|
|
|
pname = "imap-proto";
|
|
|
|
|
version = "0.10.2";
|
2021-04-19 20:14:41 +02:00
|
|
|
|
dependencies = [ nom ];
|
2021-03-22 01:08:24 +01:00
|
|
|
|
sha256 = "1bf5r4d0z7c8wxrvr7kjy26500wr7cd4sxz49ix3b3yzc6ayyqv1";
|
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
lazy_static = buildRustCrate {
|
2021-03-22 01:08:24 +01:00
|
|
|
|
pname = "lazy_static";
|
|
|
|
|
version = "1.4.0";
|
|
|
|
|
sha256 = "13h6sdghdcy7vcqsm2gasfw3qg7ssa0fl3sw7lq6pdkbk52wbyfr";
|
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
imap = buildRustCrate {
|
2021-03-22 01:08:24 +01:00
|
|
|
|
pname = "imap";
|
|
|
|
|
version = "2.4.0";
|
|
|
|
|
dependencies = [
|
2021-04-19 20:14:41 +02:00
|
|
|
|
base64
|
|
|
|
|
bufstream
|
|
|
|
|
chrono
|
|
|
|
|
imap-proto
|
|
|
|
|
lazy_static
|
|
|
|
|
nom
|
|
|
|
|
regex
|
2021-03-22 01:08:24 +01:00
|
|
|
|
];
|
|
|
|
|
sha256 = "1nj6x45qnid98nv637623rrh7imcxk0kad89ry8j5dkkgccvjyc0";
|
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
epoll = buildRustCrate {
|
2021-03-22 01:08:24 +01:00
|
|
|
|
pname = "epoll";
|
2024-02-13 14:32:21 +01:00
|
|
|
|
version = "4.3.3";
|
2021-04-19 20:14:41 +02:00
|
|
|
|
dependencies = [ bitflags libc ];
|
2024-02-13 14:32:21 +01:00
|
|
|
|
sha256 = "1wc8dsd0dhqgskmkwd82fzqsy2hg0wm3833jxhzxkrwcip25yr3a";
|
2021-03-22 01:08:24 +01:00
|
|
|
|
};
|
|
|
|
|
|
2021-04-02 21:59:25 +02:00
|
|
|
|
serde = buildRustCrate {
|
|
|
|
|
pname = "serde";
|
|
|
|
|
version = "1.0.123";
|
2021-04-04 15:38:06 +02:00
|
|
|
|
edition = "2015";
|
2021-04-02 21:59:25 +02:00
|
|
|
|
sha256 = "05xl2s1vpf3p7fi2yc9qlzw88d5ap0z3qmhmd7axa6pp9pn1s5xc";
|
|
|
|
|
features = [ "std" ];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
ryu = buildRustCrate {
|
|
|
|
|
pname = "ryu";
|
|
|
|
|
version = "1.0.5";
|
|
|
|
|
sha256 = "060y2ln1csix593ingwxr2y3wl236ls0ly1ffkv39h5im7xydhrc";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
itoa = buildRustCrate {
|
|
|
|
|
pname = "itoa";
|
|
|
|
|
version = "0.4.7";
|
|
|
|
|
sha256 = "0079jlkcmcaw37wljrvb6r3dqq15nfahkqnl5npvlpdvkg31k11x";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
serde_json = buildRustCrate {
|
|
|
|
|
pname = "serde_json";
|
|
|
|
|
version = "1.0.62";
|
|
|
|
|
sha256 = "0sgc8dycigq0nxr4j613m4q733alfb2i10s6nz80lsbbqgrka21q";
|
2021-04-19 20:14:41 +02:00
|
|
|
|
dependencies = [ serde ryu itoa ];
|
2021-04-02 21:59:25 +02:00
|
|
|
|
features = [ "std" ];
|
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
log = buildRustCrate {
|
2021-04-02 21:59:25 +02:00
|
|
|
|
pname = "log";
|
|
|
|
|
version = "0.4.11";
|
|
|
|
|
sha256 = "0m6xhqxsps5mgd7r91g5mqkndbh8zbjd58p7w75r330zl4n40l07";
|
2021-04-19 20:14:41 +02:00
|
|
|
|
dependencies = [ cfg-if ];
|
2021-04-02 21:59:25 +02:00
|
|
|
|
};
|
|
|
|
|
|
2021-04-04 00:22:37 +02:00
|
|
|
|
mustache = buildRustCrate {
|
2021-04-02 21:59:25 +02:00
|
|
|
|
pname = "mustache";
|
|
|
|
|
version = "0.9.0";
|
2021-04-04 15:38:06 +02:00
|
|
|
|
edition = "2015";
|
2021-04-02 21:59:25 +02:00
|
|
|
|
sha256 = "1zgl8l15i19lzp90icgwyi6zqdd31b9vm8w129f41d1zd0hs7ayq";
|
2021-04-19 20:14:41 +02:00
|
|
|
|
dependencies = [ log serde ];
|
2021-04-02 21:59:25 +02:00
|
|
|
|
};
|
2021-04-04 04:04:20 +02:00
|
|
|
|
|
|
|
|
|
semver-parser = buildRustCrate {
|
|
|
|
|
pname = "semver-parser";
|
|
|
|
|
version = "0.7.0";
|
|
|
|
|
edition = "2015";
|
|
|
|
|
sha256 = "1da66c8413yakx0y15k8c055yna5lyb6fr0fw9318kdwkrk5k12h";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
semver = buildRustCrate {
|
|
|
|
|
pname = "semver";
|
|
|
|
|
version = "0.10.0";
|
|
|
|
|
edition = "2015";
|
|
|
|
|
sha256 = "0pbkdwlpq4d0hgdrymm2rcw31plni2siwd882gbcbscjvyvrrrqa";
|
2021-04-19 20:14:41 +02:00
|
|
|
|
dependencies = [ semver-parser ];
|
2021-04-04 04:04:20 +02:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
toml = buildRustCrate {
|
|
|
|
|
pname = "toml";
|
|
|
|
|
version = "0.5.8";
|
|
|
|
|
sha256 = "1vwjwmwsy83pbgvvm11a6grbhb09zkcrv9v95wfwv48wjm01wdj4";
|
|
|
|
|
edition = "2018";
|
2021-04-19 20:14:41 +02:00
|
|
|
|
dependencies = [ serde ];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
pkg-config = buildRustCrate {
|
|
|
|
|
pname = "pkg-config";
|
|
|
|
|
version = "0.3.19";
|
|
|
|
|
sha256 = "1kd047p8jv6mhmfzddjvfa2nwkfrb3l1wml6lfm51n1cr06cc9lz";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
libz-sys = buildRustCrate {
|
|
|
|
|
pname = "libz-sys";
|
|
|
|
|
version = "1.1.2";
|
|
|
|
|
sha256 = "1y7v6bkwr4b6yaf951p1ns7mx47b29ziwdd5wziaic14gs1gwq30";
|
|
|
|
|
buildDependencies = [
|
|
|
|
|
cc
|
|
|
|
|
pkg-config
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
libgit2-sys = buildRustCrate {
|
|
|
|
|
pname = "libgit2-sys";
|
2024-04-27 10:48:58 +02:00
|
|
|
|
version = "0.16.2+1.7.2";
|
|
|
|
|
sha256 = "0bs446idbmg8s13jvb0ck6qmrskcdn2mp3d4mn9ggxbmiw4ryd3g";
|
2021-04-19 20:14:41 +02:00
|
|
|
|
dependencies = [
|
|
|
|
|
libc
|
|
|
|
|
libz-sys
|
|
|
|
|
];
|
|
|
|
|
libPath = "lib.rs";
|
|
|
|
|
libName = "libgit2_sys";
|
|
|
|
|
# TODO: this should be available via `pkgs.defaultCrateOverrides`,
|
|
|
|
|
# I thought that was included by default?
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
buildInputs = [ pkgs.zlib pkgs.libgit2 ];
|
|
|
|
|
buildDependencies = [
|
|
|
|
|
cc
|
|
|
|
|
pkg-config
|
|
|
|
|
];
|
2024-02-13 14:32:21 +01:00
|
|
|
|
env.LIBGIT2_NO_VENDOR = "1";
|
2024-09-01 00:03:16 +02:00
|
|
|
|
meta.broken = true; # TODO(profpatsch): fix git version mismatch
|
2021-04-19 20:14:41 +02:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
matches = buildRustCrate {
|
|
|
|
|
pname = "matches";
|
|
|
|
|
version = "0.1.8";
|
|
|
|
|
sha256 = "03hl636fg6xggy0a26200xs74amk3k9n0908rga2szn68agyz3cv";
|
|
|
|
|
libPath = "lib.rs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
percent-encoding = buildRustCrate {
|
2023-12-27 10:29:50 +01:00
|
|
|
|
pname = "percent-encoding";
|
2021-04-19 20:14:41 +02:00
|
|
|
|
version = "2.1.0";
|
|
|
|
|
sha256 = "0i838f2nr81585ckmfymf8l1x1vdmx6n8xqvli0lgcy60yl2axy3";
|
|
|
|
|
libPath = "lib.rs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
form_urlencoded = buildRustCrate {
|
|
|
|
|
pname = "form_urlencoded";
|
|
|
|
|
version = "1.0.1";
|
|
|
|
|
sha256 = "0rhv2hfrzk2smdh27walkm66zlvccnnwrbd47fmf8jh6m420dhj8";
|
|
|
|
|
dependencies = [
|
|
|
|
|
matches
|
|
|
|
|
percent-encoding
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
tinyvec_macros = buildRustCrate {
|
|
|
|
|
pname = "tinyvec_macros";
|
|
|
|
|
version = "0.1.0";
|
|
|
|
|
sha256 = "0aim73hyq5g8b2hs9gjq2sv0xm4xzfbwp5fdyg1frljqzkapq682";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
tinyvec = buildRustCrate {
|
|
|
|
|
pname = "tinyvec";
|
|
|
|
|
version = "1.2.0";
|
|
|
|
|
sha256 = "1c95nma20kiyrjwfsk7hzd5ir6yy4bm63fmfbfb4dm9ahnlvdp3y";
|
|
|
|
|
features = [ "alloc" ];
|
|
|
|
|
dependencies = [
|
|
|
|
|
tinyvec_macros
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
unicode-normalization = buildRustCrate {
|
|
|
|
|
pname = "unicode-normalization";
|
|
|
|
|
version = "0.1.17";
|
|
|
|
|
sha256 = "0w4s0avzlf7pzcclhhih93aap613398sshm6jrxcwq0f9lhis11c";
|
|
|
|
|
dependencies = [
|
|
|
|
|
tinyvec
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
unicode-bidi = buildRustCrate {
|
|
|
|
|
pname = "unicode-bidi";
|
|
|
|
|
version = "0.3.5";
|
|
|
|
|
sha256 = "193jzlxj1dfcms2381lyd45zh4ywlicj9lzcfpid1zbkmfarymkz";
|
|
|
|
|
dependencies = [
|
|
|
|
|
matches
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
idna = buildRustCrate {
|
|
|
|
|
pname = "idna";
|
|
|
|
|
version = "0.2.3";
|
|
|
|
|
sha256 = "0hwypd0fpym9lmd4bbqpwyr5lhrlvmvzhi1vy9asc5wxwkzrh299";
|
|
|
|
|
dependencies = [
|
|
|
|
|
matches
|
|
|
|
|
unicode-normalization
|
|
|
|
|
unicode-bidi
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
url = buildRustCrate {
|
|
|
|
|
pname = "url";
|
|
|
|
|
version = "2.2.1";
|
|
|
|
|
sha256 = "1ci1djafh83qhpzbmxnr9w5gcrjs3ghf8rrxdy4vklqyji6fvn5v";
|
|
|
|
|
dependencies = [
|
|
|
|
|
form_urlencoded
|
|
|
|
|
idna
|
|
|
|
|
matches
|
|
|
|
|
percent-encoding
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
git2 = buildRustCrate {
|
|
|
|
|
pname = "git2";
|
|
|
|
|
edition = "2018";
|
2024-02-13 14:32:21 +01:00
|
|
|
|
version = "0.18.1";
|
|
|
|
|
sha256 = "1d1wm8cn37svyxgvzfapwilkkc9d2x7fcrgciwn8b2pv9aqz102k";
|
2021-04-19 20:14:41 +02:00
|
|
|
|
dependencies = [
|
|
|
|
|
bitflags
|
|
|
|
|
libc
|
|
|
|
|
libgit2-sys
|
|
|
|
|
log
|
|
|
|
|
url
|
|
|
|
|
];
|
2024-09-01 00:03:16 +02:00
|
|
|
|
meta.broken = true; # TODO(Profpatsch): see libgit2-sys
|
2021-04-04 04:04:20 +02:00
|
|
|
|
};
|
2021-01-16 14:09:26 +01:00
|
|
|
|
}
|