summary refs log tree commit diff
path: root/pkgs/applications/audio/pifi/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/pifi/default.nix')
-rw-r--r--pkgs/applications/audio/pifi/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/applications/audio/pifi/default.nix b/pkgs/applications/audio/pifi/default.nix
new file mode 100644
index 00000000000..856807608d7
--- /dev/null
+++ b/pkgs/applications/audio/pifi/default.nix
@@ -0,0 +1,18 @@
+{ lib, bundlerEnv, ruby }:
+
+bundlerEnv rec {
+  pname = "pifi";
+
+  version = (import ./gemset.nix).pifi.version;
+  inherit ruby;
+  # expects Gemfile, Gemfile.lock and gemset.nix in the same directory
+  gemdir = ./.;
+
+  meta = with lib; {
+    description = "MPD web client to listen to radio, written in React and Sinatra";
+    homepage = "https://github.com/rccavalcanti/pifi-radio";
+    license = with licenses; gpl3Only;
+    maintainers = with maintainers; [ kmein ];
+    platforms = platforms.unix;
+  };
+}