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 3, 2024
1 parent 06d251b commit 2b82feb
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
45 changes: 45 additions & 0 deletions pkgs/by-name/sl/slackdump/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
buildGoModule,
lib,
fetchFromGitHub,
stdenv,
darwin,
}:

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

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

nativeCheckInputs = lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.IOKit
];

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;
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38488,4 +38488,8 @@ with pkgs;
dillo = callPackage ../by-name/di/dillo/package.nix {
fltk = fltk13;
};

slackdump = callPackage ../by-name/sl/slackdump/package.nix {
buildGoModule = buildGo123Module;
};
}

0 comments on commit 2b82feb

Please sign in to comment.