Merge pull request from SuperSandro2000/rtmpdump

This commit is contained in:
Sandro 2021-07-18 23:45:03 +02:00 committed by GitHub
commit 853d235a47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,17 +1,21 @@
{ lib, stdenv, fetchgit, fetchpatch, zlib { lib
, gnutlsSupport ? false, gnutls ? null, nettle ? null , stdenv
, opensslSupport ? true, openssl ? null , fetchgit
, fetchpatch
, zlib
, gnutlsSupport ? false
, gnutls
, nettle
, opensslSupport ? true
, openssl
}: }:
# Must have an ssl library enabled
assert (gnutlsSupport || opensslSupport); assert (gnutlsSupport || opensslSupport);
assert gnutlsSupport -> gnutlsSupport != null && nettle != null && !opensslSupport;
assert opensslSupport -> openssl != null && !gnutlsSupport;
with lib; with lib;
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "rtmpdump"; pname = "rtmpdump";
version = "2019-03-30"; version = "unstable-2019-03-30";
src = fetchgit { src = fetchgit {
url = "git://git.ffmpeg.org/rtmpdump"; url = "git://git.ffmpeg.org/rtmpdump";
@ -44,9 +48,9 @@ stdenv.mkDerivation {
meta = { meta = {
description = "Toolkit for RTMP streams"; description = "Toolkit for RTMP streams";
homepage = "http://rtmpdump.mplayerhq.hu/"; homepage = "https://rtmpdump.mplayerhq.hu/";
license = licenses.gpl2; license = licenses.gpl2;
platforms = platforms.unix; platforms = platforms.unix;
maintainers = with maintainers; [ codyopel ]; maintainers = with maintainers; [ codyopel ];
}; };
} }