summary refs log tree commit diff
path: root/pkgs/tools/video/rtmpdump
diff options
context:
space:
mode:
authorSpencer Whitt <sw@swhitt.me>2015-04-02 20:46:09 -0400
committerSpencer Whitt <sw@swhitt.me>2015-04-03 13:38:49 -0400
commita511157233d503dc307f32985e396981bf7cc417 (patch)
tree8b5e506d0dc236a0e8632e0550b9231d3c8d197f /pkgs/tools/video/rtmpdump
parent14602b8a43f695dbe8954ca76ee82d89b9f12b88 (diff)
downloadnixpkgs-a511157233d503dc307f32985e396981bf7cc417.tar
nixpkgs-a511157233d503dc307f32985e396981bf7cc417.tar.gz
nixpkgs-a511157233d503dc307f32985e396981bf7cc417.tar.bz2
nixpkgs-a511157233d503dc307f32985e396981bf7cc417.tar.lz
nixpkgs-a511157233d503dc307f32985e396981bf7cc417.tar.xz
nixpkgs-a511157233d503dc307f32985e396981bf7cc417.tar.zst
nixpkgs-a511157233d503dc307f32985e396981bf7cc417.zip
rtmpdump: build on Darwin
Diffstat (limited to 'pkgs/tools/video/rtmpdump')
-rw-r--r--pkgs/tools/video/rtmpdump/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/video/rtmpdump/default.nix b/pkgs/tools/video/rtmpdump/default.nix
index b64bedd720c..7a27f2ee1f9 100644
--- a/pkgs/tools/video/rtmpdump/default.nix
+++ b/pkgs/tools/video/rtmpdump/default.nix
@@ -22,7 +22,8 @@ stdenv.mkDerivation rec {
 
   makeFlags = [ ''prefix=$(out)'' ]
     ++ optional gnutlsSupport "CRYPTO=GNUTLS"
-    ++ optional opensslSupport "CRYPTO=OPENSSL";
+    ++ optional opensslSupport "CRYPTO=OPENSSL"
+    ++ optional stdenv.isDarwin "CC=clang SYS=darwin";
 
   buildInputs = [ zlib ]
     ++ optional gnutlsSupport gnutls
@@ -32,7 +33,7 @@ stdenv.mkDerivation rec {
     description = "Toolkit for RTMP streams";
     homepage    = http://rtmpdump.mplayerhq.hu/;
     license     = licenses.gpl2;
-    platforms   = platforms.linux;
+    platforms   = platforms.unix;
     maintainers = with maintainers; [ codyopel viric ];
   };
 }