1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 appdirs,
6 httpx,
7 setuptools,
8 pythonOlder,
9}:
10
11buildPythonPackage rec {
12 pname = "pyradios";
13 version = "2.1.1";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.6";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-FRAd1M8JZIsogLa/W78IQddMxG0Z8tAP+IiVtHU9fp4=";
21 };
22
23 propagatedBuildInputs = [
24 appdirs
25 httpx
26 setuptools
27 ];
28
29 # Tests and pythonImportsCheck require network access
30 doCheck = false;
31
32 meta = with lib; {
33 description = "Python client for the https://api.radio-browser.info";
34 homepage = "https://github.com/andreztz/pyradios";
35 license = licenses.mit;
36 maintainers = [ ];
37 };
38}