9 python3.pkgs.buildPythonApplication rec {
14 src = fetchFromGitHub {
15 owner = "sherlock-project";
17 rev = "refs/tags/v${version}";
18 hash = "sha256-+fQDvvwsLpiEvy+vC49AzlOA/KaKrhhpS97sZvFbpLA=";
22 # Avoid hardcoding sherlock
23 ./fix-sherlock-bin-test.patch
27 substituteInPlace tests/sherlock_interactives.py \
28 --replace @sherlockBin@ "$out/bin/sherlock"
31 nativeBuildInputs = [ makeWrapper ];
33 propagatedBuildInputs = with python3.pkgs; [
47 mkdir -p $out/bin $out/share
48 cp -R ./sherlock_project $out/share
54 makeWrapper ${python3.interpreter} $out/bin/sherlock \
56 --add-flags "sherlock_project" \
57 --prefix PYTHONPATH : "$PYTHONPATH:$out/share"
60 nativeCheckInputs = with python3.pkgs; [
69 pythonRelaxDeps = [ "stem" ];
77 homepage = "https://sherlockproject.xyz/";
78 description = "Hunt down social media accounts by username across social networks";
79 license = lib.licenses.mit;
80 mainProgram = "sherlock";
81 maintainers = with lib.maintainers; [ applePrincess ];