Loading pkgs/by-name/sh/sherlock/package.nix +15 −21 Original line number Diff line number Diff line { lib , fetchFromGitHub , makeWrapper , python3 , unstableGitUpdater , poetry { lib, fetchFromGitHub, makeWrapper, python3, poetry, }: 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 = [ Loading Loading @@ -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 ''; Loading @@ -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" ''; Loading @@ -67,24 +67,18 @@ python3.pkgs.buildPythonApplication rec { pythonRelaxDepsHook ]; pythonRelaxDeps = [ "stem" ]; pythonRelaxDeps = [ "stem" ]; pytestFlagsArray = [ "-m" "'not online'" ]; passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; }; meta = with lib; { meta = { homepage = "https://sherlock-project.github.io/"; description = "Hunt down social media accounts by username across social networks"; license = licenses.mit; license = lib.licenses.mit; mainProgram = "sherlock"; maintainers = with maintainers; [ applePrincess ]; maintainers = with lib.maintainers; [ applePrincess ]; }; } Loading
pkgs/by-name/sh/sherlock/package.nix +15 −21 Original line number Diff line number Diff line { lib , fetchFromGitHub , makeWrapper , python3 , unstableGitUpdater , poetry { lib, fetchFromGitHub, makeWrapper, python3, poetry, }: 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 = [ Loading Loading @@ -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 ''; Loading @@ -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" ''; Loading @@ -67,24 +67,18 @@ python3.pkgs.buildPythonApplication rec { pythonRelaxDepsHook ]; pythonRelaxDeps = [ "stem" ]; pythonRelaxDeps = [ "stem" ]; pytestFlagsArray = [ "-m" "'not online'" ]; passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; }; meta = with lib; { meta = { homepage = "https://sherlock-project.github.io/"; description = "Hunt down social media accounts by username across social networks"; license = licenses.mit; license = lib.licenses.mit; mainProgram = "sherlock"; maintainers = with maintainers; [ applePrincess ]; maintainers = with lib.maintainers; [ applePrincess ]; }; }