about summary refs log tree commit diff
path: root/pkgs/applications/audio/pyradio
diff options
context:
space:
mode:
authorJST <steinbach_j@web.de>2021-09-18 13:46:29 +0200
committerJST <steinbach_j@web.de>2021-09-18 16:01:19 +0200
commit647a5f636b225ed996966d5c38763c43f6f40e8a (patch)
tree3a36f42bf1dddab99f44e5071fb27f68992050b0 /pkgs/applications/audio/pyradio
parentbc9b956714ed6eac5f8888322aac5bc41389defa (diff)
pyradio: moved package folder
pyradio is an end-user-application to listen to music and should be
placed in the 'audio' folder, where all the similar applications are
stored. It currently resides in the 'radio' folder, which mainly contains
applications in the realm of signal processing and software-radio.

See #137905.
Diffstat (limited to 'pkgs/applications/audio/pyradio')
-rw-r--r--pkgs/applications/audio/pyradio/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/audio/pyradio/default.nix b/pkgs/applications/audio/pyradio/default.nix
new file mode 100644
index 0000000000000..ec937565aa241
--- /dev/null
+++ b/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 ];
+  };
+}