Personal Monorepo ❄️
1{
2 lib,
3 rustPlatform,
4 fetchgit,
5 pkg-config,
6 openssl,
7 dbus,
8}:
9rustPlatform.buildRustPackage {
10 pname = "tangled-cli";
11 version = "unstable-2026-01-05";
12
13 src = fetchgit {
14 url = "https://tangled.org/vitorpy.com/tangled-cli";
15 rev = "b9d979e10a5f418614ce452774536c653fd97118";
16 hash = "sha256-hzgkqeniD5Us05ifD5qNmgQPGCLg4IVst1pRuf0COsc=";
17 };
18
19 cargoHash = "sha256-giqpVvnJqj1G1heidfmGKIoiJ6DSBACWoiQyIvD0id0=";
20
21 nativeBuildInputs = [
22 pkg-config
23 ];
24
25 buildInputs = [
26 openssl
27 dbus
28 ];
29
30 cargoBuildFlags = ["-p" "tangled-cli"];
31
32 # Integration tests require network access and a running server
33 doCheck = false;
34
35 meta = {
36 description = "Rust CLI for Tangled, a decentralized git collaboration platform built on the AT Protocol";
37 homepage = "https://tangled.org/vitorpy.com/tangled-cli";
38 license = with lib.licenses; [mit asl20];
39 maintainers = with lib.maintainers; [noverby];
40 mainProgram = "tangled-cli";
41 };
42}