sherlock: 0-unstable-2024-06-09 -> 0.15.0

This commit is contained in:
Ryan Omasta
2024-08-07 17:45:27 -06:00
parent 3d5d66522b
commit 8caad59a02
+5 -9
View File
@@ -8,14 +8,14 @@
python3.pkgs.buildPythonApplication rec {
pname = "sherlock";
version = "0-unstable-2024-06-09";
version = "0.15.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "sherlock-project";
repo = "sherlock";
rev = "d678908c00f16c7f6c44efc0357cef713fa96739";
hash = "sha256-XAXDqbdHQta9OiupbPmmyp3TK1VLtDQ7CadsOei/6rs=";
rev = "refs/tags/v${version}";
hash = "sha256-+fQDvvwsLpiEvy+vC49AzlOA/KaKrhhpS97sZvFbpLA=";
};
patches = [
@@ -45,7 +45,7 @@ python3.pkgs.buildPythonApplication rec {
runHook preInstall
mkdir -p $out/bin $out/share
cp -R ./sherlock $out/share
cp -R ./sherlock_project $out/share
runHook postInstall
'';
@@ -53,7 +53,7 @@ python3.pkgs.buildPythonApplication rec {
postFixup = ''
makeWrapper ${python3.interpreter} $out/bin/sherlock \
--add-flags "-m" \
--add-flags "sherlock" \
--add-flags "sherlock_project" \
--prefix PYTHONPATH : "$PYTHONPATH:$out/share"
'';
@@ -76,10 +76,6 @@ python3.pkgs.buildPythonApplication rec {
"'not online'"
];
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";