From f8a24a332d535634cf612c8cac87005adfe817b7 Mon Sep 17 00:00:00 2001 From: Seongmin Lee Date: Fri, 17 Oct 2025 02:13:44 +0900 Subject: [PATCH] nix: add indigo/tap as nix package Signed-off-by: Seongmin Lee --- flake.nix | 4 +++- nix/pkgs/tap.nix | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 nix/pkgs/tap.nix diff --git a/flake.nix b/flake.nix index b932cb79..81e410ef 100644 --- a/flake.nix +++ b/flake.nix @@ -106,10 +106,11 @@ knot-unwrapped = self.callPackage ./nix/pkgs/knot-unwrapped.nix {}; knot = self.callPackage ./nix/pkgs/knot.nix {}; dolly = self.callPackage ./nix/pkgs/dolly.nix {}; + tap = self.callPackage ./nix/pkgs/tap.nix {}; }); in { overlays.default = final: prev: { - inherit (mkPackageSet final) lexgen goat sqlite-lib spindle knot-unwrapped knot appview docs dolly; + inherit (mkPackageSet final) lexgen goat sqlite-lib spindle knot-unwrapped knot appview docs dolly tap; }; packages = forAllSystems (system: let @@ -130,6 +131,7 @@ sqlite-lib docs dolly + tap ; pkgsStatic-appview = staticPackages.appview; diff --git a/nix/pkgs/tap.nix b/nix/pkgs/tap.nix new file mode 100644 index 00000000..604727ef --- /dev/null +++ b/nix/pkgs/tap.nix @@ -0,0 +1,20 @@ +{ + buildGoModule, + fetchFromGitHub, +}: +buildGoModule { + pname = "tap"; + version = "0.1.0"; + src = fetchFromGitHub { + owner = "bluesky-social"; + repo = "indigo"; + rev = "498ecb9693e8ae050f73234c86f340f51ad896a9"; + sha256 = "sha256-KASCdwkg/hlKBt7RTW3e3R5J3hqJkphoarFbaMgtN1k="; + }; + subPackages = ["cmd/tap"]; + vendorHash = "sha256-UOedwNYnM8Jx6B7Y9tFcZX8IeUBESAFAPTRYk7n0yo8="; + doCheck = false; + meta = { + mainProgram = "tap"; + }; +} -- 2.51.2