nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, pythonOlder
4, fetchPypi
5, certifi
6, requests
7, six
8, websocket-client
9}:
10
11buildPythonPackage rec {
12 pname = "jellyfin-apiclient-python";
13 version = "1.8.1";
14 disabled = pythonOlder "3.6";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "t2XmZ7rsrZq943lzRDrqzsY/djFNjFbkEYeHeA2AViI=";
19 };
20
21 propagatedBuildInputs = [
22 certifi
23 requests
24 six
25 websocket-client
26 ];
27
28 doCheck = false; # no tests
29 pythonImportsCheck = [ "jellyfin_apiclient_python" ];
30
31 meta = with lib; {
32 homepage = "https://github.com/jellyfin/jellyfin-apiclient-python";
33 description = "Python API client for Jellyfin";
34 license = licenses.gpl3Only;
35 maintainers = with maintainers; [ jojosch ];
36 };
37}