2020-03-02 06:00:08 +00:00
|
|
|
{ lib, python3Packages, fetchFromGitHub }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "pyradio";
|
2022-02-17 12:32:01 +00:00
|
|
|
version = "0.8.9.12";
|
2022-01-19 10:29:43 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
requests
|
|
|
|
psutil
|
|
|
|
dnspython
|
|
|
|
];
|
2020-03-02 06:00:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "coderholic";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-02-17 12:32:01 +00:00
|
|
|
sha256 = "sha256-ZBlb0wpw5/s3JuyV2OpGZwlY1UcQzLHP1/VhGlEr6Zo=";
|
2020-03-02 06:00:08 +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 ];
|
|
|
|
};
|
|
|
|
}
|