diff options
Diffstat (limited to 'pkgs/development/python-modules/pyemby/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pyemby/default.nix | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/pkgs/development/python-modules/pyemby/default.nix b/pkgs/development/python-modules/pyemby/default.nix index 2646744d0bf8..5f73af3f9b25 100644 --- a/pkgs/development/python-modules/pyemby/default.nix +++ b/pkgs/development/python-modules/pyemby/default.nix @@ -1,28 +1,35 @@ -{ lib -, aiohttp -, async-timeout -, buildPythonPackage -, fetchFromGitHub +{ + lib, + aiohttp, + async-timeout, + buildPythonPackage, + fetchFromGitHub, + pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "pyemby"; - version = "1.9"; - format = "setuptools"; + version = "1.10"; + pyproject = true; + + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "mezz64"; - repo = pname; - rev = version; - hash = "sha256-4mOQLfPbRzZzpNLvekJHVKiqdGGKPhW6BpKkyRfk2Pc="; + 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" ]; @@ -30,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 ]; }; } |