Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchFromGitHub, requests 2, websocket_client, pythonOlder }: 3 4buildPythonPackage rec { 5 pname = "jellyfin-apiclient-python"; 6 version = "1.6.1"; 7 disabled = pythonOlder "3.6"; 8 9 src = fetchFromGitHub { 10 owner = "iwalton3"; 11 repo = "jellyfin-apiclient-python"; 12 rev = "v${version}"; 13 sha256 = "0f7czq83ic22fz1vnf0cavb7l3grcxxd5yyw9wcjz3g1j2d76735"; 14 }; 15 16 propagatedBuildInputs = [ requests websocket_client ]; 17 18 pythonImportsCheck = [ "jellyfin_apiclient_python" ]; 19 20 meta = with lib; { 21 homepage = "https://github.com/iwalton3/jellyfin-apiclient-python"; 22 description = "Python API client for Jellyfin"; 23 license = licenses.gpl3; 24 maintainers = with maintainers; [ jojosch ]; 25 }; 26}