38 lines
725 B
Nix
38 lines
725 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, appdirs
|
|
, requests
|
|
, setuptools
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyradios";
|
|
version = "1.0.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-O30ExmvWu4spwDytFVPWGjR8w3XSTaWd2Z0LGQibq9g=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
appdirs
|
|
requests
|
|
setuptools
|
|
];
|
|
|
|
# Tests and pythonImportsCheck require network access
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Python client for the https://api.radio-browser.info";
|
|
homepage = "https://github.com/andreztz/pyradios";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ infinisil ];
|
|
};
|
|
}
|