Skip to content

Commit

Permalink
slackdump: init at 2.5.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Bot-wxt1221 committed Nov 4, 2024
1 parent 8724706 commit 3efb30d
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions pkgs/by-name/sl/slackdump/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
buildGoModule,
lib,
fetchFromGitHub,
stdenv,
apple-sdk_15,
}:

buildGoModule rec {
pname = "slackdump";
version = "2.5.11";

src = fetchFromGitHub {
owner = "rusq";
repo = "slackdump";
rev = "refs/tags/v${version}";
hash = "sha256-othSIR+KyekUt+/LWhaM5Y6LGsujDCZTfLJotTcPXc0=";
};

doCheck = !stdenv.hostPlatform.isDarwin; # need ioreg for darwin test. Need help from darwin maintainers

checkFlags =
let
skippedTests = [
"TestSession_saveUserCache"
"TestSession_GetUsers"
];
in
[
"-skip=^${builtins.concatStringsSep "$|^" skippedTests}$"
];

vendorHash = "sha256-6GVXzaJ5Lrt4fF0c9cbx6AqpgCwlYgKf6jUJkUyxc0s=";

meta = {
homepage = "https://github.com/rusq/slackdump";
changelog = "https://github.com/rusq/slackdump/releases/tag/v${version}";
description = "Tools for saving Slack's data without admin privileges";
maintainers = with lib.maintainers; [ bot-wxt1221 ];
mainProgram = "slackdump";
license = lib.licenses.gpl3Plus;
};
}

0 comments on commit 3efb30d

Please sign in to comment.