1
0
Fork 0

Compare commits

...

2 commits

Author SHA1 Message Date
e2395cf307
tg-archive: fix build
All checks were successful
Build / build-amd64-linux (push) Successful in 59s
Build / build-arm64-linux (push) Successful in 1m0s
2024-02-04 22:45:24 +01:00
c260c7b5d3
discord-downloader-go: add 2024-02-04 22:45:11 +01:00
5 changed files with 37 additions and 0 deletions

View file

@ -26,6 +26,10 @@ jobs:
run: |
nix build '.#bulk-downloader-for-reddit'
attic push ${{ secrets.ATTIC_CACHE }} ./result
- name: Build discord-downloader-go
run: |
nix build '.#discord-downloader-go'
attic push ${{ secrets.ATTIC_CACHE }} ./result
- name: Build fennel-ls
run: |
nix build '.#fennel-ls'
@ -58,6 +62,10 @@ jobs:
run: |
nix build '.#rexit'
attic push ${{ secrets.ATTIC_CACHE }} ./result
- name: Build tg-archive
run: |
nix build '.#tg-archive'
attic push ${{ secrets.ATTIC_CACHE }} ./result
- name: Build vuetorrent
run: |
nix build '.#vuetorrent'

View file

@ -20,9 +20,11 @@ jobs:
run: |
nix-update --flake anonymous-overflow
nix-update --flake --version development bulk-downloader-for-reddit
nix-update --flake discord-downloader-go
nix-update --flake q
nix-update --flake redlib
env NIX_PATH=nixpkgs=$(nix flake metadata github:nixos/nixpkgs/nixos-unstable-small --json | jq -r .path) nix-shell ./packages/tabnine/update.sh
nix-update --flake tg-archive
nix-update --flake vuetorrent
- uses: https://github.com/stefanzweifel/git-auto-commit-action@v5
with:

View file

@ -38,6 +38,7 @@
{
anonymous-overflow = import ./packages/anonymous-overflow.nix { inherit pkgs lib; };
bulk-downloader-for-reddit = import ./packages/bulk-downloader-for-reddit.nix { inherit pkgs lib; };
discord-downloader-go = import ./packages/discord-downloader-go.nix { inherit pkgs lib; };
fennel-ls = import ./packages/fennel-ls.nix { inherit pkgs lib; };
headscale-ui = import ./packages/headscale-ui.nix { inherit pkgs lib; };
lexical = import ./packages/lexical.nix { inherit pkgs lib; };

View file

@ -0,0 +1,24 @@
{ pkgs, lib }:
pkgs.buildGo121Module rec {
pname = "discord-downloader-go";
version = "2.4.0";
src = pkgs.fetchFromGitHub {
owner = "get-got";
repo = pname;
rev = "v${version}";
hash = "sha256-83B+sFnDE3tDdDT+4C1Sqf3zNN4J+gz0g55yDiV5ngg=";
};
vendorHash = "sha256-2czUty8sh2CJxukIE77RrlCHNfhB3qUYmFAUy/ehz6s=";
doCheck = false;
meta = with lib; {
description = "A Discord bot program to download and otherwise handle files sent in Discord channels with extensive configuration.";
homepage = "https://github.com/get-got/discord-downloader-go";
license = [ licenses.mit ];
platforms = [ "x86_64-darwin" "aarch64-darwin" "aarch64-linux" "x86_64-linux" ];
};
}

View file

@ -28,4 +28,6 @@ pkgs.python3.pkgs.buildPythonApplication rec {
pytz
pyyaml
];
dontCheckRuntimeDeps = true;
}