2020-04-24 23:36:52 +00:00
|
|
|
{ lib, python3Packages, fetchFromGitHub }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "pyradio";
|
2022-01-22 01:22:15 +00:00
|
|
|
version = "0.8.9.10";
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
requests
|
|
|
|
psutil
|
|
|
|
dnspython
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "coderholic";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-01-22 01:22:15 +00:00
|
|
|
sha256 = "1cvrvy5ll97yyrzakxr8lb25qxmzk9fvcabsgc98jf89ikxgax4w";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
$out/bin/pyradio --help
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "http://www.coderholic.com/pyradio/";
|
|
|
|
description = "Curses based internet radio player";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ contrun ];
|
|
|
|
};
|
|
|
|
}
|