diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/audio/pyradio/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/audio/pyradio/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/audio/pyradio/default.nix b/nixpkgs/pkgs/applications/audio/pyradio/default.nix new file mode 100644 index 000000000000..ec937565aa24 --- /dev/null +++ b/nixpkgs/pkgs/applications/audio/pyradio/default.nix @@ -0,0 +1,24 @@ +{ 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 ]; + }; +} |