1
0
Fork 0

Compare commits

...

2 commits

Author SHA1 Message Date
225fee6375
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
2023-11-02 16:32:26 +01:00
91428e6e07
Update deps 2023-11-02 16:05:36 +01:00
5 changed files with 45 additions and 49 deletions

View file

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

24
flake.lock generated
View file

@ -5,11 +5,11 @@
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1698579227,
"narHash": "sha256-KVWjFZky+gRuWennKsbo6cWyo7c/z/VgCte5pR9pEKg=",
"lastModified": 1698882062,
"narHash": "sha256-HkhafUayIqxXyHH1X8d9RDl1M2CkFgZLjKD3MzabiEo=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "f76e870d64779109e41370848074ac4eaa1606ec",
"rev": "8c9fa2545007b49a5db5f650ae91f227672c3877",
"type": "github"
},
"original": {
@ -45,11 +45,11 @@
},
"locked": {
"dir": "contrib",
"lastModified": 1698833855,
"narHash": "sha256-J7Nvy+RmhBKx+d2XOzePVmVo6qXARoxe730J4UV1RV0=",
"lastModified": 1698918956,
"narHash": "sha256-MHzTGarPtreBBT4gz+k45oneJxs2auwybvAC1Q5+9pc=",
"owner": "neovim",
"repo": "neovim",
"rev": "20dd9f3a26e45a1b4c95ba33d6c9f300184fc361",
"rev": "363e029e7ae295d2f9c711b9387da43aaf692b9a",
"type": "github"
},
"original": {
@ -61,11 +61,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1698800439,
"narHash": "sha256-SrAwRi266j7U9XqCl0qPwsvcFiQ55iPXEK36ZX6QPjE=",
"lastModified": 1698913020,
"narHash": "sha256-Mwi5FsSubJfxp1LJK1g99EEoZpeArGSqI3zsIbjjaUw=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "0ac7840a74c53b62f124e86fcde8cdd45f2bc131",
"rev": "8b1d659c6bda61723b373a4ea74a76c35c2af552",
"type": "github"
},
"original": {
@ -78,11 +78,11 @@
"nixpkgs-lib": {
"locked": {
"dir": "lib",
"lastModified": 1696019113,
"narHash": "sha256-X3+DKYWJm93DRSdC5M6K5hLqzSya9BjibtBsuARoPco=",
"lastModified": 1698611440,
"narHash": "sha256-jPjHjrerhYDy3q9+s5EAsuhyhuknNfowY6yt6pjn9pc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "f5892ddac112a1e9b3612c39af1b72987ee5783a",
"rev": "0cbe9f69c234a7700596e943bfae7ef27a31b735",
"type": "github"
},
"original": {

View file

@ -36,6 +36,7 @@
in
{
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; };
headscale-ui = import ./packages/headscale-ui.nix { inherit pkgs lib; };
lexical = import ./packages/lexical.nix { inherit pkgs lib; };
@ -46,7 +47,6 @@
rimgo = import ./packages/rimgo.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; };
} // 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
];
}