diff options
author | Profpatsch <mail@profpatsch.de> | 2021-02-13T13·38+0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2021-02-13T20·00+0000 |
commit | d6bca7084090b8519d0b881b6d78f2db19afc0d9 (patch) | |
tree | 1994f6ac6e568b8973e4e893f90d645864b937be /users/Profpatsch/netencode/default.nix | |
parent | 708f17d49b2efd721371fec88509f1e70e56b6e0 (diff) |
chore(users/Profpatsch/netencode): move nom dependencies to pkgset r/2211
Change-Id: I7393f60e4b29f24399d681d4546ac35140650d1a Reviewed-on: https://cl.tvl.fyi/c/depot/+/2524 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de>
Diffstat (limited to 'users/Profpatsch/netencode/default.nix')
-rw-r--r-- | users/Profpatsch/netencode/default.nix | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/users/Profpatsch/netencode/default.nix b/users/Profpatsch/netencode/default.nix index a54a946d6e0a..95d05a6ac7f5 100644 --- a/users/Profpatsch/netencode/default.nix +++ b/users/Profpatsch/netencode/default.nix @@ -6,32 +6,10 @@ let writers; }; - version-check = pkgs.buildRustCrate { - pname = "version-check"; - version = "0.9.2"; - crateName = "version-check"; - sha256 = "1vwvc1mzwv8ana9jv8z933p2xzgj1533qwwl5zr8mi89azyhq21v"; - }; - memchr = pkgs.buildRustCrate { - pname = "memchr"; - version = "2.3.3"; - crateName = "memchr"; - sha256 = "1ivxvlswglk6wd46gadkbbsknr94gwryk6y21v64ja7x4icrpihw"; - }; - nom = pkgs.buildRustCrate { - pname = "nom"; - version = "5.1.1"; - crateName = "nom"; - sha256 = "1gb4r6mjwd645jqh02nhn60i7qkw8cgy3xq1r4clnmvz3cmkv1l0"; - dependencies = [ memchr ]; - buildDependencies = [ version-check ]; - features = [ "std" "alloc" ]; - }; - netencode-rs-common = tests: imports.writers.rustSimpleLib { name = "netencode"; dependencies = [ - nom + depot.users.Profpatsch.rust-crates.nom depot.users.Profpatsch.execline.exec-helpers ]; buildTests = tests; |