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