mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
647a5f636b
pyradio is an end-user-application to listen to music and should be placed in the 'audio' folder, where all the similar applications are stored. It currently resides in the 'radio' folder, which mainly contains applications in the realm of signal processing and software-radio. See #137905.
25 lines
565 B
Nix
25 lines
565 B
Nix
{ lib, python3Packages, fetchFromGitHub }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "pyradio";
|
|
version = "0.8.9.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "coderholic";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "04asw5alkkf2q5iixswarj6ddb0y4a6ixm7cckl6204jiyxpv6kc";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|