mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 19:15:39 +00:00
25 lines
565 B
Nix
25 lines
565 B
Nix
{ 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 ];
|
|
};
|
|
}
|