tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ruby: fixup mpdcron
Charles Strahan
11 years ago
034488ec
8085f088
+45
-8
6 changed files
expand all
collapse all
unified
split
pkgs
applications
networking
mailreaders
sup
.bundle
config
development
interpreters
ruby
bundler-env
default-gem-config.nix
tools
audio
mpdcron
Gemfile
Gemfile.lock
default.nix
gemset.nix
-2
pkgs/applications/networking/mailreaders/sup/.bundle/config
···
1
-
---
2
-
BUNDLE_NO_INSTALL: true
···
0
0
+1
-2
pkgs/development/interpreters/ruby/bundler-env/default-gem-config.nix
···
63
"--with-xslt-include=${libxslt}/include"
64
"--with-exslt-lib=${libxslt}/lib"
65
"--with-exslt-include=${libxslt}/include"
66
-
"--with-iconv-dir=${libiconv}"
67
-
];
68
};
69
70
pg = attrs: {
···
63
"--with-xslt-include=${libxslt}/include"
64
"--with-exslt-lib=${libxslt}/lib"
65
"--with-exslt-include=${libxslt}/include"
66
+
] ++ lib.optional stdenv.isDarwin "--with-iconv-dir=${libiconv}";
0
67
};
68
69
pg = attrs: {
+2
pkgs/tools/audio/mpdcron/Gemfile
···
0
0
···
1
+
source "https://rubygems.org"
2
+
gem "nokogiri"
+12
pkgs/tools/audio/mpdcron/Gemfile.lock
···
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
GEM
2
+
remote: https://rubygems.org/
3
+
specs:
4
+
mini_portile (0.6.2)
5
+
nokogiri (1.6.5)
6
+
mini_portile (~> 0.6.0)
7
+
8
+
PLATFORMS
9
+
ruby
10
+
11
+
DEPENDENCIES
12
+
nokogiri
+11
-4
pkgs/tools/audio/mpdcron/default.nix
···
1
{ stdenv, fetchgit, autoconf, automake, libtool, pkgconfig, glib, libdaemon, buildRubyGem
2
-
, mpd_clientlib, curl, sqlite, ruby, rubyPackages, libnotify, pandoc }:
3
4
-
stdenv.mkDerivation rec {
0
0
0
0
0
0
0
5
version = "20130809";
6
name = "mpdcron-${version}";
7
···
20
};
21
22
buildInputs =
23
-
[ autoconf automake libtool pkgconfig glib libdaemon haskellPackages.pandoc
24
-
mpd_clientlib curl sqlite ruby /*nokogiri*/ libnotify ];
25
26
preConfigure = ''
27
./autogen.sh
···
1
{ stdenv, fetchgit, autoconf, automake, libtool, pkgconfig, glib, libdaemon, buildRubyGem
2
+
, mpd_clientlib, curl, sqlite, ruby, bundlerEnv, libnotify, pandoc }:
3
4
+
let
5
+
gemEnv = bundlerEnv {
6
+
name = "mpdcron-bundle";
7
+
gemfile = ./Gemfile;
8
+
lockfile = ./Gemfile.lock;
9
+
gemset = ./gemset.nix;
10
+
};
11
+
in stdenv.mkDerivation rec {
12
version = "20130809";
13
name = "mpdcron-${version}";
14
···
27
};
28
29
buildInputs =
30
+
[ autoconf automake libtool pkgconfig glib libdaemon pandoc
31
+
mpd_clientlib curl sqlite ruby gemEnv libnotify ];
32
33
preConfigure = ''
34
./autogen.sh
+19
pkgs/tools/audio/mpdcron/gemset.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{
2
+
"mini_portile" = {
3
+
version = "0.6.2";
4
+
source = {
5
+
type = "gem";
6
+
sha256 = "0h3xinmacscrnkczq44s6pnhrp4nqma7k056x5wv5xixvf2wsq2w";
7
+
};
8
+
};
9
+
"nokogiri" = {
10
+
version = "1.6.5";
11
+
source = {
12
+
type = "gem";
13
+
sha256 = "1xmxz6fa0m4p7c7ngpgz6gjgv65lzz63dsf0b6vh7gs2fkiw8j7l";
14
+
};
15
+
dependencies = [
16
+
"mini_portile"
17
+
];
18
+
};
19
+
}