summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2014-05-30 20:51:14 +0200
committerVladimír Čunát <vcunat@gmail.com>2014-05-30 20:51:14 +0200
commitf6f95c94e4ea682b8bea6c36041a5fccfcee7e1c (patch)
tree39f2dcf3c4922e27cf82abb2c9c2401cbdd88a15 /pkgs
parent4d269593d21035ee243671267902ad9da887ec03 (diff)
downloadnixlib-f6f95c94e4ea682b8bea6c36041a5fccfcee7e1c.tar
nixlib-f6f95c94e4ea682b8bea6c36041a5fccfcee7e1c.tar.gz
nixlib-f6f95c94e4ea682b8bea6c36041a5fccfcee7e1c.tar.bz2
nixlib-f6f95c94e4ea682b8bea6c36041a5fccfcee7e1c.tar.lz
nixlib-f6f95c94e4ea682b8bea6c36041a5fccfcee7e1c.tar.xz
nixlib-f6f95c94e4ea682b8bea6c36041a5fccfcee7e1c.tar.zst
nixlib-f6f95c94e4ea682b8bea6c36041a5fccfcee7e1c.zip
libshout: propagate inputs that need to
Missing pkgconfig-deps were preventing detection by mpd, for example.
This only started to occur after pkgconfig update (maybe a bug fixed?).
CC #2769.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/libshout/default.nix17
1 files changed, 9 insertions, 8 deletions
diff --git a/pkgs/development/libraries/libshout/default.nix b/pkgs/development/libraries/libshout/default.nix
index 760b8ecce09f..956b3148ad79 100644
--- a/pkgs/development/libraries/libshout/default.nix
+++ b/pkgs/development/libraries/libshout/default.nix
@@ -1,17 +1,18 @@
-{stdenv, fetchurl, pkgconfig 
-, libvorbis, libtheora, speex}:
+{ stdenv, fetchurl, pkgconfig
+, libvorbis, libtheora, speex }:
 
 # need pkgconfig so that libshout installs ${out}/lib/pkgconfig/shout.pc
 
 stdenv.mkDerivation rec {
-	name = "libshout-2.3.1";
+  name = "libshout-2.3.1";
 
-	src = fetchurl {
-		url = "http://downloads.xiph.org/releases/libshout/${name}.tar.gz";
-		sha256 = "cf3c5f6b4a5e3fcfbe09fb7024aa88ad4099a9945f7cb037ec06bcee7a23926e";
-	};
+  src = fetchurl {
+    url = "http://downloads.xiph.org/releases/libshout/${name}.tar.gz";
+    sha256 = "cf3c5f6b4a5e3fcfbe09fb7024aa88ad4099a9945f7cb037ec06bcee7a23926e";
+  };
 
-  buildInputs = [ libvorbis libtheora speex pkgconfig ];
+  nativeBuildInputs = [ pkgconfig ];
+  propagatedBuildInputs = [ libvorbis libtheora speex ];
 
   meta = {
     description = "icecast 'c' language bindings";