1
0
Fork 0
nix-overlay/packages/rimgo.nix
Daniel Kempkens 74da09a319
All checks were successful
Update Flake / update-flake (push) Successful in 1m18s
Build / build-amd64-linux (push) Successful in 1m26s
Build / build-arm64-linux (push) Successful in 12m23s
all: switch to vendorHash
2023-12-26 12:59:53 +01:00

29 lines
803 B
Nix

{ pkgs, lib }:
pkgs.buildGoModule rec {
pname = "rimgo";
version = "2023-08-16";
src = pkgs.fetchFromGitea {
domain = "codeberg.org";
owner = "video-prize-ranch";
repo = pname;
rev = "877ee7faa935aa1073dd21260f19952e018df416";
sha256 = "sha256-M40YS3T69sUzbEclr9jIl/6cJWmlvKYAsNcafaakWmg=";
};
vendorHash = "sha256-u5N7aI9RIQ3EmiyHv0qhMcKkvmpp+5G7xbzdQcbhybs=";
nativeBuildInputs = [ pkgs.nodePackages.tailwindcss ];
preBuild = ''
tailwindcss -i static/tailwind.css -o static/app.css -m
'';
meta = with lib; {
description = "An alternative frontend for Imgur.";
homepage = "https://codeberg.org/video-prize-ranch/rimgo";
license = [ licenses.agpl3 ];
platforms = [ "x86_64-darwin" "aarch64-darwin" "aarch64-linux" "x86_64-linux" ];
};
}