rtmpdump: remove ? null from inputs, format, fix version number

This commit is contained in:
Sandro Jäckel 2021-07-17 22:42:54 +02:00
parent dbed958bf2
commit f271ec3880
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -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 ];
};
}