aturi indexer with listRecords and countRecords endpoints
1{
2 lib,
3 rustPlatform,
4 cmake,
5 ...
6}:
7rustPlatform.buildRustPackage {
8 pname = "aturlist";
9 version = "main";
10
11 src = lib.fileset.toSource {
12 root = ./.;
13 fileset = lib.fileset.unions [
14 ./src ./Cargo.toml ./Cargo.lock
15 ];
16 };
17
18 nativeBuildInputs = [cmake];
19
20 cargoLock = {
21 lockFile = ./Cargo.lock;
22 outputHashes = {
23 "sockudo-ws-1.7.4" = "sha256-1fYcTXLvJfdU6RTT+omMVlzENCPNMwLNpt3RrHLkQ5E=";
24 "tapped-0.2.0" = "sha256-PFP0dvjcZOdOMNc0CTXJ+sDGz4CJXlac8ZKwGOwc8Rw=";
25 };
26 };
27}