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. --- flake.nix | 3 ++- pkgs/overlay.nix | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 318a804..4ea0bcd 100644 --- a/flake.nix +++ b/flake.nix @@ -138,7 +138,8 @@ galmon-core galmon-full glitchtip typst almanac rustex kijetesantakaluotokieni showrt isabelle-utils isabat travelynx crs-tracker crs-php bahnhof-name matrix-to - hikari_unstable heartwood radicle-interface radicle-tui; + hikari_unstable heartwood radicle-interface radicle-tui + inweb; }; nixosModules = { glitchtip = import ./modules/glitchtip.nix; }; 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