diff options
-rw-r--r-- | flake.nix | 3 | ||||
-rw-r--r-- | pkgs/overlay.nix | 21 |
2 files changed, 23 insertions, 1 deletions
@@ -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 + ''; + }) {}; } |