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

39 lines
957 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.3.0-unstable";
2023-08-14 23:08:03 +00:00
2023-08-18 10:32:31 +00:00
src = pkgs.fetchFromGitHub {
2023-08-28 21:38:55 +00:00
owner = "MPult";
2023-08-18 10:32:31 +00:00
repo = "Rexit";
rev = "4d0bbc84f21113d0741d8bee813e4437aded44ca";
sha256 = "sha256-isPrJ0BizVA03E57iJzlWiJhHNRfyaYkw4BupDtpvao=";
2023-08-14 23:08:03 +00:00
};
cargoSha256 = "sha256-5NYzCYm8Aq7/aP1oEdE0dWssaxFPb6IOBQMol1F3heg=";
2023-08-14 23:08:03 +00:00
nativeBuildInputs = with pkgs; [ pkg-config ];
2023-08-18 10:32:31 +00:00
buildInputs = with pkgs; [
libiconv
openssl
2023-08-18 10:32:31 +00:00
] ++ 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
};
}