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

31 lines
659 B
Nix
Raw Normal View History

2020-03-02 06:00:08 +00:00
{ lib, python3Packages, fetchFromGitHub }:
python3Packages.buildPythonApplication rec {
pname = "pyradio";
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;
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 ];
};
}