depot/third_party/nixpkgs/pkgs/development/python-modules/pyradios/default.nix

38 lines
738 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, appdirs
, requests
, setuptools
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyradios";
version = "1.0.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "0fd3b234c635d9e628bdadb9dc3a820405631b54977402719a641d2e1cc3f7b6";
};
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 ];
};
}