summaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/overlay.nix2
-rw-r--r--pkgs/radicle.nix22
2 files changed, 20 insertions, 4 deletions
diff --git a/pkgs/overlay.nix b/pkgs/overlay.nix
index 59905f9..15781d9 100644
--- a/pkgs/overlay.nix
+++ b/pkgs/overlay.nix
@@ -117,4 +117,6 @@ in
heartwood = self.callPackage radicle.heartwood { inherit (rustPlatform) buildRustPackage; };
radicle-interface = self.callPackage radicle.interface {};
+
+ radicle-tui = self.callPackage radicle.tui { inherit (rustPlatform) buildRustPackage; };
}
diff --git a/pkgs/radicle.nix b/pkgs/radicle.nix
index ff65ecc..ff2ed8b 100644
--- a/pkgs/radicle.nix
+++ b/pkgs/radicle.nix
@@ -1,4 +1,4 @@
-let
+{
interface = { lib, buildNpmPackage, fetchgit, bash, config ? null, ...}: buildNpmPackage {
pname = "radicle-interface";
version = "git";
@@ -41,7 +41,21 @@ let
# tests seem to be a little nondeterministic, and sometimes hang
doCheck = false;
};
-in
-{
- inherit interface heartwood;
+
+ tui = { lib, buildRustPackage, fetchgit }: buildRustPackage rec {
+ pname = "radicle-tui";
+ version = "git";
+ src = fetchgit {
+ url = "https://seed.radicle.xyz/z39mP9rQAaGmERfUMPULfPUi473tY.git";
+ rev = "96967897b0a436d3298d0d21562081fe3bb3052b";
+ hash = "sha256-jLhL2dl7aywFHG8naTjb250znJJYW2i6YdEqKaRJZzs=";
+ };
+ cargoLock = {
+ lockFile = "${src}/Cargo.lock";
+ outputHashes = {
+ "tui-realm-textarea-1.1.2" = "sha256-7dKyEUm4g+Hub2ouIBBSOnY9MDJcvD22At0Zi5CdmmY=";
+ "tui-textarea-0.2.0" = "sha256-aeQJh1SG6ICaqZIsQZo101ANNSkSw8NdtHuNHZXnEPA=";
+ };
+ };
+ };
}