Unverified Commit 9750dce1 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #311087 from AwesomeQubic/update-sherlock

sherlock: unstable-2023-10-06 -> unstable-2024-05-12
parents 7e75e86d c8e99f0d
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -2,18 +2,19 @@
, fetchFromGitHub
, makeWrapper
, python3
, unstableGitUpdater
}:

python3.pkgs.buildPythonApplication rec {
  pname = "sherlock";
  version = "unstable-2023-10-06";
  version = "unstable-2024-05-12";
  format = "other";

  src = fetchFromGitHub {
    owner = "sherlock-project";
    repo = pname;
    rev = "7ec56895a37ada47edd6573249c553379254d14a";
    hash = "sha256-bK5yEdh830vgKcsU3gLH7TybLncnX6eRIiYPUiVWM74=";
    repo = "sherlock";
    rev = "3e978d774b428dce6eed7afbb6606444e7a74924";
    hash = "sha256-wa32CSQ9+/PJPep84Tqtzmr6EjD1Bb3guZe5pTOZVnA=";
  };

  nativeBuildInputs = [ makeWrapper ];
@@ -59,6 +60,10 @@ python3.pkgs.buildPythonApplication rec {
    runHook postCheck
  '';

  passthru.updateScript = unstableGitUpdater {
    hardcodeZeroVersion = true;
  };

  meta = with lib; {
    homepage = "https://sherlock-project.github.io/";
    description = "Hunt down social media accounts by username across social networks";