summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/audio
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-01-26 00:23:17 +0100
committerGitHub <noreply@github.com>2021-01-26 00:23:17 +0100
commit54fa151ab82babfc67c051a01c3c80b3ed17d2f6 (patch)
tree2959a08680c11f47a5223d650a836bf37feea1a0 /pkgs/applications/audio
parent080e13d54b3852ea7f450ab91d8ec1a6062e3551 (diff)
parentb8a347db93fc0183b1a2e3b3226220d9ca5d8f2e (diff)
Merge pull request #110814 from kmein/feature/pifi
pifi: init at 0.4.11
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r--pkgs/applications/audio/pifi/Gemfile2
-rw-r--r--pkgs/applications/audio/pifi/Gemfile.lock39
-rw-r--r--pkgs/applications/audio/pifi/default.nix18
-rw-r--r--pkgs/applications/audio/pifi/gemset.nix137
4 files changed, 196 insertions, 0 deletions
diff --git a/pkgs/applications/audio/pifi/Gemfile b/pkgs/applications/audio/pifi/Gemfile
new file mode 100644
index 000000000000..da7d26e3760f
--- /dev/null
+++ b/pkgs/applications/audio/pifi/Gemfile
@@ -0,0 +1,2 @@
+source 'https://rubygems.org'
+gem 'pifi'
diff --git a/pkgs/applications/audio/pifi/Gemfile.lock b/pkgs/applications/audio/pifi/Gemfile.lock
new file mode 100644
index 000000000000..ddcdb537e6a4
--- /dev/null
+++ b/pkgs/applications/audio/pifi/Gemfile.lock
@@ -0,0 +1,39 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ daemons (1.3.1)
+ eventmachine (1.2.7)
+ json (2.5.1)
+ mustermann (1.1.1)
+ ruby2_keywords (~> 0.0.1)
+ optimist (3.0.1)
+ pifi (0.4.11)
+ json (~> 2.2)
+ optimist (~> 3.0)
+ ruby-mpd (~> 0.3)
+ sinatra (~> 2.0)
+ thin (~> 1.7)
+ rack (2.2.3)
+ rack-protection (2.1.0)
+ rack
+ ruby-mpd (0.3.3)
+ ruby2_keywords (0.0.4)
+ sinatra (2.1.0)
+ mustermann (~> 1.0)
+ rack (~> 2.2)
+ rack-protection (= 2.1.0)
+ tilt (~> 2.0)
+ thin (1.8.0)
+ daemons (~> 1.0, >= 1.0.9)
+ eventmachine (~> 1.0, >= 1.0.4)
+ rack (>= 1, < 3)
+ tilt (2.0.10)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ pifi
+
+BUNDLED WITH
+ 2.1.4
diff --git a/pkgs/applications/audio/pifi/default.nix b/pkgs/applications/audio/pifi/default.nix
new file mode 100644
index 000000000000..856807608d7d
--- /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;
+ };
+}
diff --git a/pkgs/applications/audio/pifi/gemset.nix b/pkgs/applications/audio/pifi/gemset.nix
new file mode 100644
index 000000000000..77dd8c55289e
--- /dev/null
+++ b/pkgs/applications/audio/pifi/gemset.nix
@@ -0,0 +1,137 @@
+{
+ daemons = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0l5gai3vd4g7aqff0k1mp41j9zcsvm2rbwmqn115a325k9r7pf4w";
+ type = "gem";
+ };
+ version = "1.3.1";
+ };
+ eventmachine = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0wh9aqb0skz80fhfn66lbpr4f86ya2z5rx6gm5xlfhd05bj1ch4r";
+ type = "gem";
+ };
+ version = "1.2.7";
+ };
+ json = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0lrirj0gw420kw71bjjlqkqhqbrplla61gbv1jzgsz6bv90qr3ci";
+ type = "gem";
+ };
+ version = "2.5.1";
+ };
+ mustermann = {
+ dependencies = ["ruby2_keywords"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0ccm54qgshr1lq3pr1dfh7gphkilc19dp63rw6fcx7460pjwy88a";
+ type = "gem";
+ };
+ version = "1.1.1";
+ };
+ optimist = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1vg2chy1cfmdj6c1gryl8zvjhhmb3plwgyh1jfnpq4fnfqv7asrk";
+ type = "gem";
+ };
+ version = "3.0.1";
+ };
+ pifi = {
+ dependencies = ["json" "optimist" "ruby-mpd" "sinatra" "thin"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0xwjaql852m0p7himc3pak1ibc8lfxi29bbgic153wp713xc2cga";
+ type = "gem";
+ };
+ version = "0.4.11";
+ };
+ rack = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0i5vs0dph9i5jn8dfc6aqd6njcafmb20rwqngrf759c9cvmyff16";
+ type = "gem";
+ };
+ version = "2.2.3";
+ };
+ rack-protection = {
+ dependencies = ["rack"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "159a4j4kragqh0z0z8vrpilpmaisnlz3n7kgiyf16bxkwlb3qlhz";
+ type = "gem";
+ };
+ version = "2.1.0";
+ };
+ ruby-mpd = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0l80gbnma009pfcqgz4azbngkr5jn9nm46fflx5p7c4vz4kwshpc";
+ type = "gem";
+ };
+ version = "0.3.3";
+ };
+ ruby2_keywords = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "15wfcqxyfgka05v2a7kpg64x57gl1y4xzvnc9lh60bqx5sf1iqrs";
+ type = "gem";
+ };
+ version = "0.0.4";
+ };
+ sinatra = {
+ dependencies = ["mustermann" "rack" "rack-protection" "tilt"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0dd53rzpkxgs697pycbhhgc9vcnxra4ly4xar8ni6aiydx2f88zk";
+ type = "gem";
+ };
+ version = "2.1.0";
+ };
+ thin = {
+ dependencies = ["daemons" "eventmachine" "rack"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0g5p3r47qxxfmfagdf8wb68pd24938cgzdfn6pmpysrn296pg5m5";
+ type = "gem";
+ };
+ version = "1.8.0";
+ };
+ tilt = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0rn8z8hda4h41a64l0zhkiwz2vxw9b1nb70gl37h1dg2k874yrlv";
+ type = "gem";
+ };
+ version = "2.0.10";
+ };
+}