about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/ccrtp/default.nix
blob: 3fdbbd23ecdc53a8161b473a894e0b3faf5a85cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib, stdenv, fetchurl, pkg-config, ucommon, openssl, libgcrypt }:

stdenv.mkDerivation rec {
  pname = "ccrtp";
  version = "2.1.2";

  src = fetchurl {
    url = "mirror://gnu/ccrtp/ccrtp-${version}.tar.gz";
    sha256 = "17ili8l7zqbbkzr1rcy4hlnazkf50mds41wg6n7bfdsx3c7cldgh";
  };

  nativeBuildInputs = [ pkg-config ];
  propagatedBuildInputs = [ ucommon openssl libgcrypt ];

  configureFlags = [
    "--disable-demos"
  ];

  doCheck = true;

  meta = {
    description = "An implementation of the IETF real-time transport protocol (RTP)";
    homepage = "https://www.gnu.org/software/ccrtp/";
    license = lib.licenses.gpl2;
    maintainers = with lib.maintainers; [ marcweber ];
    platforms = lib.platforms.linux;
  };
}