diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4c3d146..babc3d1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,6 +24,7 @@ jobs: - run: nix build '.#luarocks-jsregexp' - run: nix build '.#nitter-unstable' - run: nix build '.#q' + - run: nix build '.#rimgo' - run: nix build '.#website-docs-nifoc-pw' build-x86_64-darwin: diff --git a/README.md b/README.md index 95e62a3..bc79b39 100644 --- a/README.md +++ b/README.md @@ -10,3 +10,4 @@ * [nitter](https://github.com/zedeus/nitter) * [phantomjs](https://github.com/ariya/phantomjs) * [q](https://github.com/natesales/q) +* [rimgo](https://codeberg.org/video-prize-ranch/rimgo) diff --git a/overlay.nix b/overlay.nix index a95fc51..53894c8 100644 --- a/overlay.nix +++ b/overlay.nix @@ -12,5 +12,6 @@ in inherit (custom) nitter-unstable; inherit (custom) phantomjs; inherit (custom) q; + inherit (custom) rimgo; inherit (custom) website-docs-nifoc-pw; } diff --git a/packages.nix b/packages.nix index 26a2692..79a70c6 100644 --- a/packages.nix +++ b/packages.nix @@ -9,5 +9,6 @@ nitter-unstable = import ./packages/nitter-unstable.nix { inherit system lib pkgs; }; phantomjs = import ./packages/phantomjs.nix { inherit system lib pkgs; }; q = import ./packages/q.nix { inherit system lib pkgs; }; + rimgo = import ./packages/rimgo.nix { inherit system lib pkgs; }; website-docs-nifoc-pw = import ./packages/website-docs-nifoc-pw.nix { inherit system lib pkgs; }; } diff --git a/packages/rimgo.nix b/packages/rimgo.nix new file mode 100644 index 0000000..8817432 --- /dev/null +++ b/packages/rimgo.nix @@ -0,0 +1,23 @@ +{ system, lib, pkgs }: + +pkgs.buildGoModule rec { + pname = "rimgo"; + version = "2023-02-25"; + + src = pkgs.fetchFromGitea { + domain = "codeberg.org"; + owner = "video-prize-ranch"; + repo = pname; + rev = "c6a9ca3443e5ab9b9794c99cd349112c926462a1"; + hash = "sha256-vHOITcSrGNz+1lw+9RIBssi0RjqOTpVb7Z+Yvj3AD0I="; + }; + + vendorSha256 = "sha256-T2zcQB9jOldnB+0rYsTSAhjrL77Hk+oHpKecS7h2U2c="; + + 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" ]; + }; +}