37 lines
727 B
Nix
37 lines
727 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pynzbgetapi";
|
|
version = "0.4.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-ONwrlHEljiDa+/vRbSsHAEly+8Q3z87CwEzIiWedrm4=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
];
|
|
|
|
# No tests available in the repository
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"pynzbgetapi"
|
|
];
|
|
|
|
meta = {
|
|
description = "Basic Python NZBGet API client";
|
|
homepage = "https://github.com/voltron4lyfe/pynzbgetapi";
|
|
changelog = "https://github.com/voltron4lyfe/pynzbgetapi/releases/tag/v${version}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = [ lib.maintainers.jamiemagee ];
|
|
};
|
|
}
|