Skip to content

Commit

Permalink
chore: update stt-ad-client to latest commit
Browse files Browse the repository at this point in the history
  • Loading branch information
diogotcorreia committed Nov 30, 2024
1 parent c013c3a commit 8b2ac8d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions packages/cybersec/stt-ad-client.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,15 @@ python3Packages.buildPythonApplication {
pname = "stt-ad-client";
version = "0.0";

src = requireFile {
src = requireFile rec {
name = "ad-client.tar.gz";
message = "The team captain should send you the ad-client tarball for the specific CTF";
hash = "sha256-mUzCCZvcb3HEYXE1+GLyipg5sY+am/9Mqmzdz44Hv5I=";
message = ''
The team captain should send you the ad-client tarball for the specific CTF.
The file can be imported with `nix-store --add-fixed sha256 ${name}`.
It is important that the file is named '${name}', otherwise it will not work.
'';
# get hash with `nix hash file ad-client.tar.gz`
hash = "sha256-Pl/z5y2975oe31tABkNXFMoDK01VkpBj9bD8rYqVTj8=";
};

propagatedBuildInputs = with python3Packages; [
Expand Down

0 comments on commit 8b2ac8d

Please sign in to comment.