1
0
Fork 0
nix-overlay/packages/redlib.nix
Daniel Kempkens b6d2d2b7d4
All checks were successful
Update Flake / update-flake (push) Successful in 1m13s
Build / build-amd64-linux (push) Successful in 1m27s
Build / build-arm64-linux (push) Successful in 11m41s
redlib: switch to releases
2024-01-03 01:57:47 +01:00

31 lines
764 B
Nix

{ pkgs, lib }:
let
inherit (pkgs.stdenv) isDarwin;
in
pkgs.rustPlatform.buildRustPackage rec {
pname = "redlib";
version = "0.31.0";
src = pkgs.fetchFromGitHub {
owner = "redlib-org";
repo = pname;
rev = "v${version}";
sha256 = "sha256-d3Jjs/a2EgdqRBTjXKwDDRnU6orb7RQGl1CVz9b9SdI=";
};
cargoSha256 = "sha256-2MugS0/MO85lQvDbiFwnsX4LYdk7TACDFR8OOLEFGUQ=";
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" ];
};
}