summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-07-18 23:45:03 +0200
committerGitHub <noreply@github.com>2021-07-18 23:45:03 +0200
commit853d235a4767141707591723b21d8604958df230 (patch)
treec035368f6f6b5b333a294de9edaf41f466aa024f /pkgs
parent8b40036d6001980e9521b0e5f6a3b63a1e365169 (diff)
parentf271ec3880550606f41d1cd09cf13d6d04c8887b (diff)
downloadnixpkgs-853d235a4767141707591723b21d8604958df230.tar
nixpkgs-853d235a4767141707591723b21d8604958df230.tar.gz
nixpkgs-853d235a4767141707591723b21d8604958df230.tar.bz2
nixpkgs-853d235a4767141707591723b21d8604958df230.tar.lz
nixpkgs-853d235a4767141707591723b21d8604958df230.tar.xz
nixpkgs-853d235a4767141707591723b21d8604958df230.tar.zst
nixpkgs-853d235a4767141707591723b21d8604958df230.zip
Merge pull request #130493 from SuperSandro2000/rtmpdump
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/video/rtmpdump/default.nix24
1 files changed, 14 insertions, 10 deletions
diff --git a/pkgs/tools/video/rtmpdump/default.nix b/pkgs/tools/video/rtmpdump/default.nix
index 3f71f8abc5a..664866f7f2d 100644
--- a/pkgs/tools/video/rtmpdump/default.nix
+++ b/pkgs/tools/video/rtmpdump/default.nix
@@ -1,17 +1,21 @@
-{ lib, stdenv, fetchgit, fetchpatch, zlib
-, gnutlsSupport ? false, gnutls ? null, nettle ? null
-, opensslSupport ? true, openssl ? null
+{ lib
+, stdenv
+, fetchgit
+, fetchpatch
+, zlib
+, gnutlsSupport ? false
+, gnutls
+, nettle
+, opensslSupport ? true
+, openssl
 }:
 
-# Must have an ssl library enabled
 assert (gnutlsSupport || opensslSupport);
-assert gnutlsSupport -> gnutlsSupport != null && nettle != null && !opensslSupport;
-assert opensslSupport -> openssl != null && !gnutlsSupport;
 
 with lib;
 stdenv.mkDerivation {
   pname = "rtmpdump";
-  version = "2019-03-30";
+  version = "unstable-2019-03-30";
 
   src = fetchgit {
     url = "git://git.ffmpeg.org/rtmpdump";
@@ -44,9 +48,9 @@ stdenv.mkDerivation {
 
   meta = {
     description = "Toolkit for RTMP streams";
-    homepage    = "http://rtmpdump.mplayerhq.hu/";
-    license     = licenses.gpl2;
-    platforms   = platforms.unix;
+    homepage = "https://rtmpdump.mplayerhq.hu/";
+    license = licenses.gpl2;
+    platforms = platforms.unix;
     maintainers = with maintainers; [ codyopel ];
   };
 }