Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 pkg-config, 6 ucommon, 7 openssl, 8 libgcrypt, 9}: 10 11stdenv.mkDerivation rec { 12 pname = "ccrtp"; 13 version = "2.1.2"; 14 15 src = fetchurl { 16 url = "mirror://gnu/ccrtp/ccrtp-${version}.tar.gz"; 17 sha256 = "17ili8l7zqbbkzr1rcy4hlnazkf50mds41wg6n7bfdsx3c7cldgh"; 18 }; 19 20 nativeBuildInputs = [ pkg-config ]; 21 propagatedBuildInputs = [ 22 ucommon 23 openssl 24 libgcrypt 25 ]; 26 27 configureFlags = [ 28 "--disable-demos" 29 ]; 30 31 doCheck = true; 32 33 meta = { 34 description = "Implementation of the IETF real-time transport protocol (RTP)"; 35 homepage = "https://www.gnu.org/software/ccrtp/"; 36 license = lib.licenses.gpl2; 37 maintainers = with lib.maintainers; [ marcweber ]; 38 platforms = lib.platforms.linux; 39 }; 40}