mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
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:
commit
d570cfb5b0
@ -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")
|
||||
'';
|
||||
})
|
||||
|
@ -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"];
|
||||
|
Loading…
Reference in New Issue
Block a user