1
0
Fork 0
nix-overlay/packages/rexit.nix

36 lines
886 B
Nix
Raw Normal View History

2023-08-14 23:08:03 +00:00
{ pkgs, lib }:
2023-08-18 10:32:31 +00:00
let
inherit (pkgs.stdenv) isDarwin;
in
pkgs.rustPlatform.buildRustPackage {
2023-08-14 23:08:03 +00:00
pname = "rexit";
version = "1.2.0";
2023-08-18 10:32:31 +00:00
src = pkgs.fetchFromGitHub {
owner = "nifoc";
repo = "Rexit";
rev = "a2c8979a9755e609adb618c6a10d740e73adff74";
sha256 = "sha256-6EiSwviHpmqBljTA3nqRIavpk7NbyMktUhxkpN7efq4=";
2023-08-14 23:08:03 +00:00
};
2023-08-18 10:32:31 +00:00
cargoSha256 = "sha256-HZJZ15bPV/CW6w2T5ALVsp2ngLU/5B0Vjn5n/kSatp4=";
2023-08-14 23:08:03 +00:00
2023-08-18 10:32:31 +00:00
buildInputs = with pkgs; [
libiconv
] ++ lib.optionals isDarwin (with pkgs.darwin.apple_sdk.frameworks; [
CoreFoundation
CoreServices
Security
]);
2023-08-14 23:08:03 +00:00
2023-08-18 10:32:31 +00:00
doCheck = false;
2023-08-14 23:08:03 +00:00
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 ];
2023-08-18 10:32:31 +00:00
platforms = [ "x86_64-darwin" "aarch64-darwin" "aarch64-linux" "x86_64-linux" ];
2023-08-14 23:08:03 +00:00
};
}