tvl-depot/users/Profpatsch/read-http.nix
Profpatsch eb41eef612 chore(nix): move rustSimple from users.Profpatsch.writers
I think it’s solid enough to use in a wider context.

Change-Id: If53e8bbb6b90fa88d73fb42730db470e822ea182
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3055
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Reviewed-by: lukegb <lukegb@tvl.fyi>
2021-04-24 10:23:55 +00:00

16 lines
420 B
Nix

{ depot, pkgs, ... }:
let
read-http = depot.nix.writers.rustSimple {
name = "read-http";
dependencies = [
depot.third_party.rust-crates.ascii
depot.third_party.rust-crates.httparse
depot.users.Profpatsch.netencode.netencode-rs
depot.users.Profpatsch.arglib.netencode.rust
depot.users.Profpatsch.execline.exec-helpers
];
} (builtins.readFile ./read-http.rs);
in read-http