1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 aiohttp,
6}:
7
8buildPythonPackage {
9 pname = "pysabnzbd";
10 version = "1.1.1";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "jeradM";
15 repo = "pysabnzbd";
16 rev = "8e6cd1869c8cc99a4560ea1b178f0a1efd89e460"; # tag is missing
17 hash = "sha256-Ubl+kdcjMm1A7pa3Q5G+fFBwPIxA375Ci04/vVyUl+A=";
18 };
19
20 propagatedBuildInputs = [ aiohttp ];
21
22 # upstream has no tests
23 doCheck = false;
24
25 pythonImportsCheck = [ "pysabnzbd" ];
26
27 meta = {
28 description = "Python wrapper for SABnzbd API";
29 homepage = "https://github.com/jeradM/pysabnzbd";
30 license = lib.licenses.mit;
31 maintainers = with lib.maintainers; [ dotlambda ];
32 };
33}