nixpkgs-suyu/pkgs/applications/audio/pyradio/default.nix

25 lines
565 B
Nix
Raw Normal View History

2020-03-02 07:00:08 +01:00
{ lib, python3Packages, fetchFromGitHub }:
python3Packages.buildPythonApplication rec {
pname = "pyradio";
2021-09-14 23:35:47 +02:00
version = "0.8.9.9";
2020-03-02 07:00:08 +01:00
src = fetchFromGitHub {
owner = "coderholic";
repo = pname;
rev = version;
2021-09-14 23:35:47 +02:00
sha256 = "04asw5alkkf2q5iixswarj6ddb0y4a6ixm7cckl6204jiyxpv6kc";
2020-03-02 07:00:08 +01: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 ];
};
}