A better Rust ATProto crate
1{inputs, ...}: {
2 perSystem = {
3 config,
4 self',
5 pkgs,
6 lib,
7 ...
8 }: {
9 devShells.default = pkgs.mkShell {
10 name = "jacquard-shell";
11 inputsFrom = [
12 self'.devShells.rust
13 config.pre-commit.devShell # See ./nix/modules/pre-commit.nix
14 ];
15 packages = with pkgs; [
16 just
17 nixd # Nix language server
18 bacon
19 rust-analyzer
20 cargo-machete
21 cargo-semver-checks
22 cargo-binstall
23 cargo-dist
24 cargo-nextest
25 zip
26 atproto-goat
27 ];
28 };
29 apps = {
30 default.program = "${self'.packages.jacquard-lexgen}/bin/lex-fetch";
31 lexgen.program = "${self'.packages.jacquard-lexgen}/bin/lex-fetch";
32 };
33 };
34}