1
0
Fork 0

bulk-downloader-for-reddit: init
All checks were successful
Build / build-amd64-linux (push) Successful in 9m15s
Build / build-arm64-linux (push) Successful in 15m58s

This commit is contained in:
Daniel Kempkens 2023-11-02 16:32:26 +01:00
parent 91428e6e07
commit 225fee6375
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
4 changed files with 33 additions and 37 deletions

View file

@ -25,6 +25,7 @@ jobs:
cache: ${{ secrets.ATTIC_CACHE }} cache: ${{ secrets.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }} token: ${{ secrets.ATTIC_TOKEN }}
- run: nix build '.#anonymous-overflow' - run: nix build '.#anonymous-overflow'
- run: nix build '.#bulk-downloader-for-reddit'
- run: nix build '.#fennel-ls' - run: nix build '.#fennel-ls'
- run: nix build '.#headscale-ui' - run: nix build '.#headscale-ui'
- run: nix build '.#lexical' - run: nix build '.#lexical'
@ -34,7 +35,6 @@ jobs:
- run: nix build '.#rimgo' - run: nix build '.#rimgo'
- run: nix build '.#rexit' - run: nix build '.#rexit'
- run: nix build '.#vuetorrent' - run: nix build '.#vuetorrent'
- run: nix build '.#bdfr-browser'
build-arm64-linux: build-arm64-linux:
runs-on: ubuntu-latest-arm64 runs-on: ubuntu-latest-arm64

View file

@ -36,6 +36,7 @@
in in
{ {
anonymous-overflow = import ./packages/anonymous-overflow.nix { inherit pkgs lib; }; anonymous-overflow = import ./packages/anonymous-overflow.nix { inherit pkgs lib; };
bulk-downloader-for-reddit = import ./packages/bulk-downloader-for-reddit.nix { inherit pkgs lib; };
fennel-ls = import ./packages/fennel-ls.nix { inherit pkgs lib; }; fennel-ls = import ./packages/fennel-ls.nix { inherit pkgs lib; };
headscale-ui = import ./packages/headscale-ui.nix { inherit pkgs lib; }; headscale-ui = import ./packages/headscale-ui.nix { inherit pkgs lib; };
lexical = import ./packages/lexical.nix { inherit pkgs lib; }; lexical = import ./packages/lexical.nix { inherit pkgs lib; };
@ -46,7 +47,6 @@
rimgo = import ./packages/rimgo.nix { inherit pkgs lib; }; rimgo = import ./packages/rimgo.nix { inherit pkgs lib; };
vuetorrent = import ./packages/vuetorrent.nix { inherit pkgs lib; }; vuetorrent = import ./packages/vuetorrent.nix { inherit pkgs lib; };
bdfr-browser = import ./packages/bdfr-browser.nix { inherit pkgs lib; };
weewx-proxy = import ./packages/weewx-proxy.nix { inherit pkgs lib; }; weewx-proxy = import ./packages/weewx-proxy.nix { inherit pkgs lib; };
} // darwinPackages; } // darwinPackages;

View file

@ -1,35 +0,0 @@
{ pkgs, lib, ... }:
let
erlang = pkgs.beam.interpreters.erlangR26;
beamPackagesPrev = pkgs.beam.packagesWith erlang;
elixir = beamPackagesPrev.elixir_1_15;
beamPackages = beamPackagesPrev // rec {
inherit erlang elixir;
hex = beamPackagesPrev.hex.override { inherit elixir; };
buildMix = beamPackagesPrev.buildMix.override { inherit elixir erlang hex; };
mixRelease = beamPackagesPrev.mixRelease.override { inherit erlang elixir; };
};
in
beamPackages.mixRelease rec {
pname = "bdfr-browser";
version = "0.0.1";
src = pkgs.fetchFromGitea {
domain = "git.kempkens.io";
owner = "daniel";
repo = pname;
rev = "7359b6f84910d2742fef0f8ce45fdd6e3cd39594";
hash = "sha256-scR7DWDpUdtt74IHLuJzaRbwAtdqscVEVBfOiGRuxZY=";
};
mixNixDeps = import "${src}/mix.nix" { inherit lib beamPackages; };
meta = with lib; {
description = "Bulk Downloader for Reddit Web UI";
homepage = "https://git.kempkens.io/daniel/bdfr-browser";
license = [ licenses.isc ];
platforms = [ "x86_64-darwin" "aarch64-darwin" "aarch64-linux" "x86_64-linux" ];
};
}

View file

@ -0,0 +1,31 @@
{ pkgs, lib }:
pkgs.python3.pkgs.buildPythonApplication rec {
pname = "bulk-downloader-for-reddit";
version = "2023-10-02";
pyproject = true;
src = pkgs.fetchFromGitHub {
owner = "aliparlakci";
repo = pname;
rev = "8e6103952c4be3ccadfe29d3a0cae7a4d0b2c426";
hash = "sha256-kxCDtOywDSMxI+h8Ad2eziAGcZLbZHJFpDD/87BIbZY=";
};
nativeBuildInputs = with pkgs.python3.pkgs; [
setuptools
wheel
];
propagatedBuildInputs = with pkgs.python3.pkgs; [
appdirs
beautifulsoup4
cachetools
click
dict2xml
praw
pyyaml
requests
yt-dlp
];
}