Compare commits
No commits in common. "436c19b46748517770357c0131f35c10f800a638" and "10aed6216d435d41c8b1423a548f86812b11abe0" have entirely different histories.
436c19b467
...
10aed6216d
3 changed files with 43 additions and 0 deletions
|
@ -46,6 +46,10 @@ jobs:
|
|||
run: |
|
||||
nix build '.#q'
|
||||
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
||||
- name: Build rexit
|
||||
run: |
|
||||
nix build '.#rexit'
|
||||
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
||||
- name: Build tg-archive
|
||||
run: |
|
||||
nix build '.#tg-archive'
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
fennel-ls = callPackage ./packages/fennel-ls.nix { };
|
||||
headscale-ui = callPackage ./packages/headscale-ui.nix { };
|
||||
q = callPackage ./packages/q.nix { };
|
||||
rexit = callPackage ./packages/rexit.nix { };
|
||||
tg-archive = callPackage ./packages/tg-archive.nix { };
|
||||
vuetorrent = callPackage ./packages/vuetorrent.nix { };
|
||||
weewx = callPackage ./packages/weewx.nix { inherit poetry2nix; };
|
||||
|
|
38
packages/rexit.nix
Normal file
38
packages/rexit.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ pkgs, lib }:
|
||||
|
||||
let
|
||||
inherit (pkgs.stdenv) isDarwin;
|
||||
in
|
||||
pkgs.rustPlatform.buildRustPackage {
|
||||
pname = "rexit";
|
||||
version = "1.3.0-unstable";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "nifoc";
|
||||
repo = "Rexit";
|
||||
rev = "8bc9c9f74cf08ee74b701f86f4bc46c04404dd25";
|
||||
hash = "sha256-Q8LsbwHeiBm9Gld6d1c58YM6k62FPSPOjNChVA3R1ns=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-GivHp/+YNGnxo9Sz4XiHEm1F685Rq+9SRcxL0Gz5Qjo=";
|
||||
|
||||
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" ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue