Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python3Packages.jellyfin-apiclient-python: 1.9.2 -> 1.10.0

+14 -9
+14 -9
pkgs/development/python-modules/jellyfin-apiclient-python/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 certifi, 5 - fetchPypi, 5 + fetchFromGitHub, 6 6 pythonOlder, 7 + setuptools, 7 8 requests, 8 9 urllib3, 9 10 websocket-client, 11 + pytestCheckHook, 10 12 }: 11 13 12 14 buildPythonPackage rec { 13 15 pname = "jellyfin-apiclient-python"; 14 - version = "1.9.2"; 15 - format = "setuptools"; 16 + version = "1.10.0"; 17 + pyproject = true; 16 18 17 19 disabled = pythonOlder "3.6"; 18 20 19 - src = fetchPypi { 20 - inherit pname version; 21 - hash = "sha256-vMzZeoiWli3HjM8Dqr5RhNfR7gcjPqoXG3b/aNNlx2Q="; 21 + src = fetchFromGitHub { 22 + owner = "jellyfin"; 23 + repo = "jellyfin-apiclient-python"; 24 + rev = "refs/tags/v${version}"; 25 + hash = "sha256-H1FqypNuVIZ17cFdNDEmmKICswxJkUGq2LhlingbCVk="; 22 26 }; 23 27 24 - propagatedBuildInputs = [ 28 + build-system = [ setuptools ]; 29 + 30 + dependencies = [ 25 31 certifi 26 32 requests 27 33 urllib3 28 34 websocket-client 29 35 ]; 30 36 31 - # Module has no test 32 - doCheck = false; 37 + nativeCheckInputs = [ pytestCheckHook ]; 33 38 34 39 pythonImportsCheck = [ "jellyfin_apiclient_python" ]; 35 40