1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "pynzbgetapi";
10 version = "0.4.0";
11 pyproject = true;
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-ONwrlHEljiDa+/vRbSsHAEly+8Q3z87CwEzIiWedrm4=";
16 };
17
18 build-system = [
19 setuptools
20 ];
21
22 # No tests available in the repository
23 doCheck = false;
24
25 pythonImportsCheck = [
26 "pynzbgetapi"
27 ];
28
29 meta = {
30 description = "Basic Python NZBGet API client";
31 homepage = "https://github.com/voltron4lyfe/pynzbgetapi";
32 changelog = "https://github.com/voltron4lyfe/pynzbgetapi/releases/tag/v${version}";
33 license = lib.licenses.asl20;
34 maintainers = [ lib.maintainers.jamiemagee ];
35 };
36}