2020-03-02 06:00:08 +00:00
|
|
|
{ lib, python3Packages, fetchFromGitHub }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "pyradio";
|
2020-04-01 18:05:07 +00:00
|
|
|
version = "0.8.7.2";
|
2020-03-02 06:00:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "coderholic";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-04-01 18:05:07 +00:00
|
|
|
sha256 = "0h2sxaqpmc1d1kpvpbcs9wymgzhx25x0x9p7dbyfw9r90i6123q1";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|