commit 1f9161a409718030346aeb0a5cbf3d21e26e4f39
parent 477205e11678a18121594094882c82092011e1c6
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Thu, 11 Apr 2024 23:45:35 +0400
Move tootik to nixpkgs
Diffstat:
2 files changed, 0 insertions(+), 33 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -190,7 +190,6 @@ lib.makeScope newScope (
stagit-gemini-milotier = callPackage ./gemini/stagit-gemini/milotier.nix { };
stagit-gemini-sloum = callPackage ./gemini/stagit-gemini/sloum.nix { };
tom = callPackage ./gemini/tom { };
- tootik = callPackage ./gemini/tootik { };
### GEOSPATIAL
diff --git a/pkgs/gemini/tootik/default.nix b/pkgs/gemini/tootik/default.nix
@@ -1,32 +0,0 @@
-{ lib, buildGoModule, fetchFromGitHub, openssl }:
-
-buildGoModule rec {
- pname = "tootik";
- version = "0.9.6";
-
- src = fetchFromGitHub {
- owner = "dimkr";
- repo = "tootik";
- rev = version;
- hash = "sha256-RcuioFb0+mvZupwgaCN6qbcOy7gHp9KjJxRwaPI55yo=";
- };
-
- vendorHash = "sha256-/52VjfoecXaML1cDRIEe1EQPYU8xeP9lu4lY3cMV3VE=";
-
- nativeBuildInputs = [ openssl ];
-
- preBuild = ''
- go generate ./migrations
- '';
-
- ldflags = [ "-X github.com/dimkr/tootik/buildinfo.Version=${version}" ];
-
- tags = [ "netgo" "sqlite_omit_load_extension" "fts5" ];
-
- meta = with lib; {
- description = "A federated nanoblogging service with a Gemini frontend";
- inherit (src.meta) homepage;
- license = licenses.asl20;
- maintainers = [ maintainers.sikmir ];
- };
-}