blob: b41c3c18a799ca72b725937ed5275d65138f70b9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
sabnzbd,
}:
buildPythonPackage rec {
pname = "sabctools";
version = "8.2.0"; # needs to match version sabnzbd expects, e.g. https://github.com/sabnzbd/sabnzbd/blob/4.0.x/requirements.txt#L3
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-dOMNZoKWQxHJt6yHiNKVtpnYvLJkK8nktOm+djsSTcM=";
};
nativeBuildInputs = [ setuptools ];
pythonImportsCheck = [ "sabctools" ];
passthru.tests = {
inherit sabnzbd;
};
meta = with lib; {
description = "C implementations of functions for use within SABnzbd";
homepage = "https://github.com/sabnzbd/sabctools";
license = licenses.gpl2Only;
maintainers = with maintainers; [ adamcstephens ];
};
}
|