summaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authorstuebinm2023-11-03 00:10:19 +0100
committerstuebinm2023-11-03 00:10:19 +0100
commit98ed1b242fdfc483c617d83c3c7b1e2b5870815f (patch)
tree1c53df9ee922c7bed333112a23629f3e5a11f499 /pkgs
parentde221bc27afeaee894c0531eb0f0dd946ee6a9af (diff)
package inweb
not tested, but like, why not? Might be fun playing around with it.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/overlay.nix21
1 files changed, 21 insertions, 0 deletions
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
+ '';
+ }) {};
}