1
0
Fork 0
nix-overlay/packages/redlib.nix
Daniel Kempkens adbe463277
Some checks failed
Build / build-amd64-linux (push) Successful in 3m11s
Build / build-arm64-linux (push) Failing after 9m32s
redlib: update
2024-05-30 18:25:06 +02:00

36 lines
834 B
Nix

{ pkgs, lib }:
let
inherit (pkgs.stdenv) isDarwin;
in
pkgs.rustPlatform.buildRustPackage rec {
pname = "redlib";
version = "0.34.0";
src = pkgs.fetchFromGitHub {
owner = "redlib-org";
repo = pname;
rev = "v${version}";
sha256 = "sha256-JpuCX2ae9me+zHxQj5jqQlgDci2NV+TEVUAqnuTn3cA=";
};
# cargoPatches = [
# ../patches/redlib_cargo-lock.patch
# ];
cargoSha256 = "sha256-gkRblCHUFiprZeYtu43GIGBZqCq5l/HEGaQN91XbfSs=";
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" ];
};
}