1
0
Fork 0

redlib: remove
Some checks failed
Build / build-amd64-linux (push) Failing after 42s
Build / build-arm64-linux (push) Has been cancelled

This commit is contained in:
Daniel Kempkens 2024-09-26 23:43:16 +02:00
parent 4ffb7604e8
commit 10aed6216d
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
5 changed files with 0 additions and 60 deletions

View file

@ -46,10 +46,6 @@ jobs:
run: |
nix build '.#q'
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
- name: Build redlib
run: |
nix build '.#redlib'
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
- name: Build rexit
run: |
nix build '.#rexit'

View file

@ -23,7 +23,6 @@ jobs:
nix-update --flake controld
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

View file

@ -47,7 +47,6 @@
fennel-ls = callPackage ./packages/fennel-ls.nix { };
headscale-ui = callPackage ./packages/headscale-ui.nix { };
q = callPackage ./packages/q.nix { };
redlib = callPackage ./packages/redlib.nix { };
rexit = callPackage ./packages/rexit.nix { };
tg-archive = callPackage ./packages/tg-archive.nix { };
vuetorrent = callPackage ./packages/vuetorrent.nix { };

View file

@ -1,35 +0,0 @@
{ pkgs, lib }:
let
inherit (pkgs.stdenv) isDarwin;
in
pkgs.rustPlatform.buildRustPackage rec {
pname = "redlib";
version = "0.35.1";
src = pkgs.fetchFromGitHub {
owner = "redlib-org";
repo = pname;
rev = "v${version}";
sha256 = "sha256-W1v7iOE60/6UyZSHQW+L+wHCoKnKUNb3kpm4LVLPZ6c=";
};
# cargoPatches = [
# ../patches/redlib_cargo-lock.patch
# ];
cargoSha256 = "sha256-3NQWiu/nTtHrivYL1pgxqQxEuIW0xfjxwK0ZEa2y1Kk=";
buildInputs = lib.optionals isDarwin (with pkgs.darwin.apple_sdk.frameworks; [
Security
]);
doCheck = false;
meta = with lib; {
description = "Private front-end for Reddit";
homepage = "https://github.com/redlib-org/redlib";
license = [ licenses.agpl3Only ];
platforms = [ "x86_64-darwin" "aarch64-darwin" "aarch64-linux" "x86_64-linux" ];
};
}

View file

@ -1,19 +0,0 @@
Subject: Fix Cargo.lock
---
Cargo.lock | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1047,7 +1047,7 @@ checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
[[package]]
name = "redlib"
-version = "0.31.0"
+version = "0.31.2"
dependencies = [
"askama",
"base64",
--
2.43.2