Merge pull request #260433 from adamcstephens/sabctools/7.1.2

python311Packages.sabctools: 7.0.2 -> 7.1.2, fix sabnzbd
This commit is contained in:
OTABI Tomoya 2023-10-12 14:26:48 +09:00 committed by GitHub
commit d570cfb5b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -18,5 +18,8 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
machine.wait_until_succeeds(
"curl --fail -L http://localhost:8080/"
)
_, out = machine.execute("grep SABCTools /var/lib/sabnzbd/logs/sabnzbd.log")
machine.log(out)
machine.fail("grep 'SABCTools disabled: no correct version found!' /var/lib/sabnzbd/logs/sabnzbd.log")
'';
})

View File

@ -6,12 +6,12 @@
}:
buildPythonPackage rec {
pname = "sabctools";
version = "7.0.2"; # needs to match version sabnzbd expects, e.g. https://github.com/sabnzbd/sabnzbd/blob/4.0.x/requirements.txt#L3
version = "7.1.2"; # needs to match version sabnzbd expects, e.g. https://github.com/sabnzbd/sabnzbd/blob/4.0.x/requirements.txt#L3
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-AB5/McuOIDkhu7rtb3nFaqOTx3zwm92+3NEnH5HjzBo=";
hash = "sha256-wDgFXuxclmqMlRXyr9qpruJJcOXfOiOWTZXX53uYEB8=";
};
pythonImportsCheck = ["sabctools"];