Compare commits
2 commits
688586eba1
...
e2395cf307
Author | SHA1 | Date | |
---|---|---|---|
e2395cf307 | |||
c260c7b5d3 |
5 changed files with 37 additions and 0 deletions
|
@ -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'
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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; };
|
||||
|
|
24
packages/discord-downloader-go.nix
Normal file
24
packages/discord-downloader-go.nix
Normal 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" ];
|
||||
};
|
||||
}
|
|
@ -28,4 +28,6 @@ pkgs.python3.pkgs.buildPythonApplication rec {
|
|||
pytz
|
||||
pyyaml
|
||||
];
|
||||
|
||||
dontCheckRuntimeDeps = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue