sherlock: 0.16.0 -> 0.16.0-unstable-2026-05-09

This commit is contained in:
Lein Matsumaru
2026-05-29 05:22:01 +00:00
parent 483b760e9a
commit 0a69a399aa
+14 -10
View File
@@ -7,14 +7,14 @@
python3.pkgs.buildPythonApplication (finalAttrs: {
pname = "sherlock";
version = "0.16.0";
version = "0.16.0-unstable-2026-05-09";
pyproject = true;
src = fetchFromGitHub {
owner = "sherlock-project";
repo = "sherlock";
tag = "v${finalAttrs.version}";
hash = "sha256-MP/INeD/dkS0lwACa9g3JqROuOinfr3LKmxjHnVUOdk=";
rev = "206068dc7842665130c87e16e1535572d3d1a907";
hash = "sha256-QM0vHvZ1w9FtM0bGPGvMhhobPKOGQNPacVWB0caoPTw=";
};
patches = [
@@ -24,20 +24,28 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
postPatch = ''
substituteInPlace tests/sherlock_interactives.py \
--replace @sherlockBin@ "$out/bin/sherlock"
--replace-fail @sherlockBin@ "$out/bin/sherlock"
substituteInPlace sherlock_project/__init__.py \
--replace-fail "__version__ = get_version()" "__version__ = \"${finalAttrs.version}\""
'';
nativeBuildInputs = [ makeWrapper ];
propagatedBuildInputs = with python3.pkgs; [
dependencies = with python3.pkgs; [
certifi
colorama
openpyxl
pandas
pysocks
requests
requests-futures
stem
torrequest
tomli
];
build-system = with python3.pkgs; [
poetry-core
];
installPhase = ''
@@ -59,15 +67,11 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
nativeCheckInputs = with python3.pkgs; [
rstr
pytestCheckHook
poetry-core
jsonschema
openpyxl
stem
];
pythonRelaxDeps = [ "stem" ];
disabledTestMarks = [
# tests require internet access
"online"
];