summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pyradios/default.nix
blob: a434fbae16643f983afe888ba12322f9ebe12590 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  lib,
  buildPythonPackage,
  fetchPypi,
  appdirs,
  httpx,
  setuptools,
}:

buildPythonPackage rec {
  pname = "pyradios";
  version = "2.1.1";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-FRAd1M8JZIsogLa/W78IQddMxG0Z8tAP+IiVtHU9fp4=";
  };

  propagatedBuildInputs = [
    appdirs
    httpx
    setuptools
  ];

  # Tests and pythonImportsCheck require network access
  doCheck = false;

  meta = {
    description = "Python client for the https://api.radio-browser.info";
    homepage = "https://github.com/andreztz/pyradios";
    license = lib.licenses.mit;
    maintainers = [ ];
  };
}