From 98ed1b242fdfc483c617d83c3c7b1e2b5870815f Mon Sep 17 00:00:00 2001 From: stuebinm Date: Fri, 3 Nov 2023 00:10:19 +0100 Subject: package inweb not tested, but like, why not? Might be fun playing around with it. --- pkgs/overlay.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'pkgs') diff --git a/pkgs/overlay.nix b/pkgs/overlay.nix index 449182d..7449786 100644 --- a/pkgs/overlay.nix +++ b/pkgs/overlay.nix @@ -129,4 +129,25 @@ in heartwood = self.callPackage radicle.heartwood { inherit (rustPlatform) buildRustPackage; }; radicle-interface = self.callPackage radicle.interface {}; radicle-tui = self.callPackage radicle.tui { inherit (rustPlatform) buildRustPackage; }; + + inweb = self.callPackage ({stdenv, gnumake, fetchFromGitHub}: stdenv.mkDerivation rec { + pname = "inweb"; + version = "v7.2.0"; + src = fetchFromGitHub { + repo = "inweb"; + owner = "ganelson"; + rev = version; + hash = "sha256-kgyMzqGyZ1aihx8f9OCFOd2dlAUhUp98ni4rcgNrPq0="; + }; + + buildPhase = '' + ln -s . inweb + bash inweb/scripts/first.sh linux + ''; + + installPhase = '' + mkdir -p $out/bin + cp Tangled/inweb $out/bin + ''; + }) {}; } -- cgit v1.2.3