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