diff --git a/pkgs/development/python-modules/pyemby/default.nix b/pkgs/development/python-modules/pyemby/default.nix index 5f09e2e78bcc..5f73af3f9b25 100644 --- a/pkgs/development/python-modules/pyemby/default.nix +++ b/pkgs/development/python-modules/pyemby/default.nix @@ -4,26 +4,32 @@ async-timeout, buildPythonPackage, fetchFromGitHub, + pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "pyemby"; version = "1.10"; - format = "setuptools"; + pyproject = true; + + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "mezz64"; - repo = pname; - rev = version; + repo = "pyemby"; + rev = "refs/tags/${version}"; hash = "sha256-+A/SNMCUqo9TwWsQXwOKJCqmYhbilIdHYazLNQY+NkU="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ aiohttp async-timeout ]; - # Project has no tests + # Module has no tests doCheck = false; pythonImportsCheck = [ "pyemby" ]; @@ -31,7 +37,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python library to interface with the Emby API"; homepage = "https://github.com/mezz64/pyemby"; - license = with licenses; [ mit ]; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }