23b612e36f
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
37 lines
717 B
Nix
37 lines
717 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, appdirs
|
|
, httpx
|
|
, setuptools
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyradios";
|
|
version = "2.1.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-XTpw8bgFZo35PJngr9oweU6fY3KAphJsrEhkKzWHLIA=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
appdirs
|
|
httpx
|
|
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 ];
|
|
};
|
|
}
|