zaphyra's git: tgcNUR

fork of https://git.transgirl.cafe/zaphoid/tgc-nix-user-repository

commit 24c41ce554350194de51fb725012f45fd859d16e
parent fb54852e0189d18cfe855400ba7855d82252eb81
Author: Hannah Izzie Gesser <hannah@totient.eu>
Date: Thu, 24 Jul 2025 21:29:02 +0200

deppa: init at 1.2
1 file changed, 44 insertions(+), 0 deletions(-)
A
pkgs/deppa/package.nix
|
44
++++++++++++++++++++++++++++++++++++++++++++
diff --git a/pkgs/deppa/package.nix b/pkgs/deppa/package.nix
@@ -0,0 +1,44 @@
+{
+  buildGoModule,
+  fetchFromGitea,
+  installShellFiles,
+  lib,
+  ...
+}:
+buildGoModule {
+  pname = "deppa";
+  version = "1.2";
+
+  src = fetchFromGitea {
+    domain = "git.linfan.moe";
+    owner = "chiyokolinux";
+    repo = "deppa";
+    rev = "56827d62a6c5734b4aa16d4d4871a8ccc6172b54";
+    hash = "sha256-inpFeQR2cZTIZidGPn2sZptvWnZAIrT3/Z1jZZAgMHE=";
+  };
+
+  nativeBuildInputs = [
+    installShellFiles
+  ];
+
+  prePatch = ''
+    cat <<EOF > go.mod
+    module linfan.moe/deppa
+    go 1.24.0
+    EOF
+  '';
+
+  postInstall = ''
+    installManPage deppa.8
+  '';
+
+  vendorHash = null;
+
+  meta = {
+    description = "Server implementation of the internet gopher protocol";
+    homepage = "https://git.linfan.moe/chiyokolinux/deppa";
+    license = lib.licenses.agpl3Plus;
+    platforms = lib.platforms.linux;
+    maintainers = with lib.maintainers; [ void ];
+  };
+}