1
0
Fork 0
nix-overlay/packages/rexit.nix
Daniel Kempkens a3fa62dfb0
Some checks failed
Build / build-amd64-linux (push) Failing after 49s
Build / build-arm64-linux (push) Successful in 1m2s
ci: auto-update rexit
2023-12-17 00:22:24 +01:00

38 lines
922 B
Nix

{ pkgs, lib }:
let
inherit (pkgs.stdenv) isDarwin;
in
pkgs.rustPlatform.buildRustPackage rec {
pname = "rexit";
version = "1.2.1";
src = pkgs.fetchFromGitHub {
owner = "MPult";
repo = "Rexit";
rev = "v${version}";
sha256 = "sha256-KnwyyMC/uUcOlrCMofMjN7F6FAkUGFQ9m7COUaGDGdE=";
};
cargoSha256 = "sha256-69vqfut2uRReZXT+ILFlaCZ3mTtr0yhKgFSv1wZgZVI=";
nativeBuildInputs = with pkgs; [ pkg-config ];
buildInputs = with pkgs; [
libiconv
openssl
] ++ lib.optionals isDarwin (with pkgs.darwin.apple_sdk.frameworks; [
CoreFoundation
CoreServices
Security
]);
doCheck = false;
meta = with lib; {
description = "This tool will export your reddit chats into a plethora of formats";
homepage = "https://github.com/MPult/Rexit/";
license = [ licenses.gpl3Only ];
platforms = [ "x86_64-darwin" "aarch64-darwin" "aarch64-linux" "x86_64-linux" ];
};
}