depot/third_party/nixpkgs/pkgs/applications/radio/pyradio/default.nix

25 lines
565 B
Nix
Raw Normal View History

{ lib, python3Packages, fetchFromGitHub }:
python3Packages.buildPythonApplication rec {
pname = "pyradio";
version = "0.8.7.2";
src = fetchFromGitHub {
owner = "coderholic";
repo = pname;
rev = version;
sha256 = "0h2sxaqpmc1d1kpvpbcs9wymgzhx25x0x9p7dbyfw9r90i6123q1";
};
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 ];
};
}