mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 12:53:54 +00:00
sherlock: unstable-2023-10-06 -> unstable-2024-05-12
sherlock: add update script sherlock: set explicit repo
This commit is contained in:
parent
e4e7a43a9d
commit
c8e99f0d10
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user